https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63777
Bug ID: 63777 Summary: bootstrap failure under x86_64 Fedora 15 in the linkage of libstdc++.so.6.0.21 Product: gcc Version: 5.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: bootstrap Assignee: unassigned at gcc dot gnu.org Reporter: howarth at bromo dot med.uc.edu The bootstrap of gcc trunk at r217234 on x86_64 Fedora 15 against binutils-2.21.51.0.6-6.fc15, configured with "../gcc-trunk/configure --disable-lto --enable-languages=c,c++,fortran", fails at the linkage of libstdc++.so.6.0.21 with the ld error... Making all in c++11 make[6]: Entering directory `/home/howarth/build/x86_64-unknown-linux-gnu/libstdc++-v3/src/c++11' make[6]: Nothing to be done for `all'. make[6]: Leaving directory `/home/howarth/build/x86_64-unknown-linux-gnu/libstdc++-v3/src/c++11' make[6]: Entering directory `/home/howarth/build/x86_64-unknown-linux-gnu/libstdc++-v3/src' /bin/sh ../libtool --tag CXX --mode=link /home/howarth/build/./gcc/xgcc -shared-libgcc -B/home/howarth/build/./gcc -nostdinc++ -L/home/howarth/build/x86_64-unknown-linux-gnu/libstdc++-v3/src -L/home/howarth/build/x86_64-unknown-linux-gnu/libstdc++-v3/src/.libs -L/home/howarth/build/x86_64-unknown-linux-gnu/libstdc++-v3/libsupc++/.libs -B/home/howarth/dist/x86_64-unknown-linux-gnu/bin/ -B/home/howarth/dist/x86_64-unknown-linux-gnu/lib/ -isystem /home/howarth/dist/x86_64-unknown-linux-gnu/include -isystem /home/howarth/dist/x86_64-unknown-linux-gnu/sys-include -Wl,-O1 -Wl,-z,relro -Wl,--gc-sections -fPIC -DPIC -fno-implicit-templates -Wall -Wextra -Wwrite-strings -Wcast-qual -Wabi -fdiagnostics-show-location=once -ffunction-sections -fdata-sections -frandom-seed=libstdc++.la -o libstdc++.la -version-info 6:21:0 -Wl,--version-script=libstdc++-symbols.ver -lm -rpath /home/howarth/dist/lib/../lib64 compatibility.lo compatibility-debug_list.lo compatibility-debug_list-2.lo compatibility-c++0x.lo compatibility-atomic-c++0x.lo compatibility-thread-c++0x.lo compatibility-chrono.lo compatibility-condvar.lo ../libsupc++/libsupc++convenience.la ../src/c++98/libc++98convenience.la ../src/c++11/libc++11convenience.la libtool: link: /home/howarth/build/./gcc/xgcc -shared-libgcc -B/home/howarth/build/./gcc -nostdinc++ -L/home/howarth/build/x86_64-unknown-linux-gnu/libstdc++-v3/src -L/home/howarth/build/x86_64-unknown-linux-gnu/libstdc++-v3/src/.libs -L/home/howarth/build/x86_64-unknown-linux-gnu/libstdc++-v3/libsupc++/.libs -B/home/howarth/dist/x86_64-unknown-linux-gnu/bin/ -B/home/howarth/dist/x86_64-unknown-linux-gnu/lib/ -isystem /home/howarth/dist/x86_64-unknown-linux-gnu/include -isystem /home/howarth/dist/x86_64-unknown-linux-gnu/sys-include -shared -nostdlib /usr/lib/../lib64/crti.o /home/howarth/build/./gcc/crtbeginS.o .libs/compatibility.o .libs/compatibility-debug_list.o .libs/compatibility-debug_list-2.o .libs/compatibility-c++0x.o .libs/compatibility-atomic-c++0x.o .libs/compatibility-thread-c++0x.o .libs/compatibility-chrono.o .libs/compatibility-condvar.o -Wl,--whole-archive ../libsupc++/.libs/libsupc++convenience.a ../src/c++98/.libs/libc++98convenience.a ../src/c++11/.libs/libc++11convenience.a -Wl,--no-whole-archive -L/home/howarth/build/x86_64-unknown-linux-gnu/libstdc++-v3/libsupc++/.libs -L/home/howarth/build/x86_64-unknown-linux-gnu/libstdc++-v3/src -L/home/howarth/build/x86_64-unknown-linux-gnu/libstdc++-v3/src/.libs -lm -L/home/howarth/build/./gcc -L/lib/../lib64 -L/usr/lib/../lib64 -lc -lgcc_s /home/howarth/build/./gcc/crtendS.o /usr/lib/../lib64/crtn.o -Wl,-O1 -Wl,-z -Wl,relro -Wl,--gc-sections -Wl,--version-script=libstdc++-symbols.ver -Wl,-soname -Wl,libstdc++.so.6 -o .libs/libstdc++.so.6.0.21 `_.stapsdt.base' referenced in section `.note.stapsdt' of ../libsupc++/.libs/libsupc++convenience.a(eh_catch.o): defined in discarded section `.stapsdt.base[.stapsdt.base]' of ../libsupc++/.libs/libsupc++convenience.a(eh_catch.o) `_.stapsdt.base' referenced in section `.note.stapsdt' of ../libsupc++/.libs/libsupc++convenience.a(eh_throw.o): defined in discarded section `.stapsdt.base[.stapsdt.base]' of ../libsupc++/.libs/libsupc++convenience.a(eh_catch.o) `_.stapsdt.base' referenced in section `.note.stapsdt' of ../libsupc++/.libs/libsupc++convenience.a(eh_throw.o): defined in discarded section `.stapsdt.base[.stapsdt.base]' of ../libsupc++/.libs/libsupc++convenience.a(eh_catch.o) collect2: error: ld returned 1 exit status make[6]: *** [libstdc++.la] Error 1 make[6]: Leaving directory `/home/howarth/build/x86_64-unknown-linux-gnu/libstdc++-v3/src' make[5]: *** [all-recursive] Error 1 make[5]: Leaving directory `/home/howarth/build/x86_64-unknown-linux-gnu/libstdc++-v3/src' make[4]: *** [all-recursive] Error 1 make[4]: Leaving directory `/home/howarth/build/x86_64-unknown-linux-gnu/libstdc++-v3' make[3]: *** [all] Error 2 make[3]: Leaving directory `/home/howarth/build/x86_64-unknown-linux-gnu/libstdc++-v3' make[2]: *** [all-stage1-target-libstdc++-v3] Error 2 make[2]: Leaving directory `/home/howarth/build' make[1]: *** [stage1-bubble] Error 2 make[1]: Leaving directory `/home/howarth/build' make: *** [bootstrap] Error 2