tech-toolchain archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
bootstrapping netbsd 9 using gcc 10?
I'm guessing no one has tried to bootstrap using gcc 10?
/usr/bin/ld: buf.o:(.bss+0x0): multiple definition of `debug_file';
arch.o:(.bss+0x0): first defined here
/usr/bin/ld: compat.o:(.bss+0x0): multiple definition of `debug_file';
arch.o:(.bss+0x0): first defined here
/usr/bin/ld: cond.o:(.bss+0x0): multiple definition of `debug_file';
arch.o:(.bss+0x0): first defined here
/usr/bin/ld: dir.o:(.bss+0x8): multiple definition of `debug_file';
arch.o:(.bss+0x0): first defined here
/usr/bin/ld: for.o:(.bss+0x0): multiple definition of `debug_file';
arch.o:(.bss+0x0): first defined here
/usr/bin/ld: hash.o:(.bss+0x0): multiple definition of `debug_file';
arch.o:(.bss+0x0): first defined here
/usr/bin/ld: job.o:(.bss+0x20): multiple definition of `debug_file';
arch.o:(.bss+0x0): first defined here
/usr/bin/ld: main.o:(.bss+0x1090): multiple definition of
`debug_file'; arch.o:(.bss+0x0): first defined here
/usr/bin/ld: make.o:(.bss+0x0): multiple definition of `debug_file';
arch.o:(.bss+0x0): first defined here
/usr/bin/ld: make_malloc.o:(.bss+0x0): multiple definition of
`debug_file'; arch.o:(.bss+0x0): first defined here
/usr/bin/ld: parse.o:(.bss+0x18): multiple definition of `debug_file';
arch.o:(.bss+0x0): first defined here
/usr/bin/ld: str.o:(.bss+0x0): multiple definition of `debug_file';
arch.o:(.bss+0x0): first defined here
/usr/bin/ld: suff.o:(.bss+0x0): multiple definition of `debug_file';
arch.o:(.bss+0x0): first defined here
/usr/bin/ld: targ.o:(.bss+0x0): multiple definition of `debug_file';
arch.o:(.bss+0x0): first defined here
/usr/bin/ld: trace.o:(.bss+0x8): multiple definition of `debug_file';
arch.o:(.bss+0x0): first defined here
/usr/bin/ld: util.o:(.bss+0x0): multiple definition of `debug_file';
arch.o:(.bss+0x0): first defined here
/usr/bin/ld: var.o:(.bss+0x28): multiple definition of `debug_file';
arch.o:(.bss+0x0): first defined here
Andrew
Index: ./usr.bin/make/main.c
===================================================================
RCS file: /cvsroot/src/usr.bin/make/main.c,v
retrieving revision 1.273
diff -u -r1.273 main.c
--- ./usr.bin/make/main.c 28 Oct 2017 21:54:54 -0000 1.273
+++ ./usr.bin/make/main.c 10 Oct 2020 14:16:54 -0000
@@ -163,6 +163,7 @@
static int maxJobTokens; /* -j argument */
Boolean compatMake; /* -B argument */
int debug; /* -d argument */
+FILE *debug_file; /* -F argument */
Boolean debugVflag; /* -dV */
Boolean noExecute; /* -n flag */
Boolean noRecursiveExecute; /* -N flag */
Index: ./usr.bin/make/make.h
===================================================================
RCS file: /cvsroot/src/usr.bin/make/make.h,v
retrieving revision 1.104
diff -u -r1.104 make.h
--- ./usr.bin/make/make.h 12 Feb 2018 21:38:09 -0000 1.104
+++ ./usr.bin/make/make.h 10 Oct 2020 14:16:54 -0000
@@ -448,7 +448,7 @@
* There is one bit per module. It is up to the module what debug
* information to print.
*/
-FILE *debug_file; /* Output written here - default stdout */
+extern FILE *debug_file; /* Output written here - default stdout */
extern int debug;
#define DEBUG_ARCH 0x00001
#define DEBUG_COND 0x00002
Home |
Main Index |
Thread Index |
Old Index