Bootstrapping in a unified tree, LAST_UPDATED "Fri Jan 14 01:28:39 UTC 2005" (together with gas and ld) with srcdir/configure --disable-nls (because without that, I get missing NLS-related symbols, but that's another story), from a gcc-2.95.2 installation and using GNU make, I get this error (cut-n-pasted):
... mkdir .libs /tmp/hptmp/obj/gcc/g++ -shared-libgcc -B/tmp/hptmp/obj/gcc/ -nostdinc++ -B/usr/local/sparc-sun-solaris2.8/bin/ -B/usr/local/sparc\ -sun-solaris2.8/lib/ -isystem /usr/local/sparc-sun-solaris2.8/include -isystem /usr/local/sparc-sun-solaris2.8/sys-include -g -O2\ -D_GLIBCXX_ASSERT -ffunction-sections -fdata-sections -fmessage-length=0 -DLOCALEDIR=/tmp/hptmp/obj/sparc-sun-solaris2.8/libstdc\ ++-v3/po/share/locale -g -O2 -o abi_check abi_check.o -L/tmp/hptmp/obj/sparc-sun-solaris2.8/libstdc++-v3/src -L/tmp/hptmp/obj/sp\ arc-sun-solaris2.8/libstdc++-v3/src/.libs -L/tmp/hptmp/obj/ld -lv3test -L/tmp/hptmp/obj/sparc-sun-solaris2.8/libstdc++-v3/testsui\ te -lm -Wl,--rpath -Wl,/tmp/hptmp/obj/gcc -Wl,--rpath -Wl,/tmp/hptmp/obj/sparc-sun-solaris2.8/libstdc++-v3/src/.libs /tmp/hptmp/obj/gcc/collect-ld: abi_check: hidden symbol `__eprintf' in /tmp/hptmp/obj/gcc/libgcc.a(_eprintf.o) is referenced by D\ SO /tmp/hptmp/obj/gcc/collect-ld: final link failed: Nonrepresentable section on output collect2: ld returned 1 exit status make[4]: *** [abi_check] Error 1 make[4]: Leaving directory `/tmp/hptmp/obj/sparc-sun-solaris2.8/libstdc++-v3/testsuite' This might very well be a binutils bug, but better start at the top. I need a bug-report I can point to, that explains why I test a patch for *another* bug without c++/libstdc++. -- Summary: hidden __eprintf referenced by DSO, gas+gld Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal Priority: P2 Component: bootstrap AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: hp at gcc dot gnu dot org CC: gcc-bugs at gcc dot gnu dot org GCC build triplet: sparc-sun-solaris2.8 GCC host triplet: sparc-sun-solaris2.8 GCC target triplet: sparc-sun-solaris2.8 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19461