bootstrap failure: sparc-sun-solaris2.6, fix-header, xstrdup
Gerald Pfeifer
pfeifer@dbai.tuwien.ac.at
Tue Dec 15 16:22:00 GMT 1998
Sorry to bother you, but I'm afraid that you broke bootstrap on
sparc-sun-solaris2.6 again.
The following happens with current CVS (two tries, more than two hours
apart:
gcc -DIN_GCC -DSVR4 -g -W -Wall -DHAVE_CONFIG_H -DHAIFA -o fix-header fix-header.o \
scan-decls.o scan.o libcpp.a ` case "obstack.o" in ?*) echo obstack.o ;; esac ` ` case "alloca.o" in ?*) echo alloca.o ;; esac ` ` case "" in ?*) echo ;; esac ` ` case "" in ?*) echo ;; esac ` ` case "" in ?*) echo ;; esac `
ld: fatal: symbol `xstrdup' is multiply defined:
(file fix-header.o and file libcpp.a(cppalloc.o));
ld: fatal: File processing errors. No output written to fix-header
gmake[2]: *** [fix-header] Error 1
gmake[2]: Leaving directory `/files/pfeifer/OBJ-1612-00:22/gcc'
gmake[1]: *** [bootstrap] Error 2
gmake[1]: Leaving directory `/files/pfeifer/OBJ-1612-00:22/gcc'
gmake: *** [bootstrap] Error 2
and I believe this may be due to
1998-12-15 Zack Weinberg <zack@rabi.phys.columbia.edu>
* cppalloc.c: Add xstrdup here.
* cpplib.h: Remove savestring prototype.
* cpplib.c: Remove savestring function. s/savestring/xstrdup/
throughout.
* cppfiles.c: s/savestring/xstrdup/ throughout.
Gerald
--
Gerald Pfeifer (Jerry) Vienna University of Technology
pfeifer@dbai.tuwien.ac.at http://www.dbai.tuwien.ac.at/~pfeifer/
More information about the Gcc-bugs
mailing list