a 20091204 build on powerpc-linux-gnu with --enable-libstdcxx-debug and --enable-targets=powerpc-linux,powerpc64-linux --with-cpu=default32 fails to build the 64bit libstdc++ debug lib. all other three libstdc++ variants seem to build. Using the bfd or gold linker from the binutils 2.20 branch doesn't make a difference.
related to PR33871? Matthias --prefix=/usr/lib/gcc-snapshot --enable-shared --enable-linker-build-id --with-system-zlib --disable-nls --enable-clocale=gnu --enable-libstdcxx-debug --enable-plugin --disable-softfloat --enable-secureplt --enable-targets=powerpc-linux,powerpc64-linux --with-cpu=default32 --disable-werror --with-long-double-128 --build=powerpc-linux-gnu --host=powerpc-linux-gnu --target=powerpc-linux-gnu /bin/bash ../../libtool --tag CXX --mode=link /build/buildd/gcc-snapshot-20091204/build/./gcc/xgcc -shared-libgcc -B/build/buildd/gcc-snapshot-20091204/build/./gcc -nostdinc++ -L/build/buildd/gcc-snapshot-20091204/build/powerpc-linux-gnu/64/libstdc++-v3/src -L/build/buildd/gcc-snapshot-20091204/build/powerpc-linux-gnu/64/libstdc++-v3/src/.libs -B/usr/lib/gcc-snapshot/powerpc-linux-gnu/bin/ -B/usr/lib/gcc-snapshot/powerpc-linux-gnu/lib/ -isystem /usr/lib/gcc-snapshot/powerpc-linux-gnu/include -isystem /usr/lib/gcc-snapshot/powerpc-linux-gnu/sys-include -m64 -fPIC -mstrict-align -Wl,-O1 -Wl,-z,relro -Wl,--gc-sections -fno-implicit-templates -Wall -Wextra -Wwrite-strings -Wcast-qual -fdiagnostics-show-location=once -ffunction-sections -fdata-sections '-m64' -Xcompiler '-fPIC' '-mstrict-align' -o libstdc++.la -version-info 6:14:0 -Wl,--version-script=libstdc++-symbols.ver -lm -rpath /usr/lib/gcc-snapshot/lib/../lib64 atomic.lo bitmap_allocator.lo pool_allocator.lo mt_allocator.lo codecvt.lo compatibility.lo compatibility-c++0x.lo complex_io.lo ctype.lo debug.lo functexcept.lo hash_tr1.lo globals_io.lo hashtable_tr1.lo hashtable_c++0x.lo ios.lo ios_failure.lo ios_init.lo ios_locale.lo limits.lo limits_c++0x.lo list.lo debug_list.lo locale.lo locale_init.lo locale_facets.lo localename.lo math_stubs_float.lo math_stubs_long_double.lo stdexcept.lo strstream.lo system_error.lo tree.lo allocator-inst.lo concept-inst.lo fstream-inst.lo ext-inst.lo ios-inst.lo iostream-inst.lo istream-inst.lo istream.lo locale-inst.lo misc-inst.lo ostream-inst.lo sstream-inst.lo streambuf-inst.lo streambuf.lo string-inst.lo valarray-inst.lo wlocale-inst.lo wstring-inst.lo mutex.lo condition_variable.lo chrono.lo thread.lo future.lo atomicity.lo codecvt_members.lo collate_members.lo ctype_members.lo messages_members.lo monetary_members.lo numeric_members.lo time_members.lo basic_file.lo c++locale.lo compatibility-ldbl.lo parallel_list.lo parallel_settings.lo ../../libsupc++/libsupc++convenience.la libtool: link: /build/buildd/gcc-snapshot-20091204/build/./gcc/xgcc -shared-libgcc -B/build/buildd/gcc-snapshot-20091204/build/./gcc -nostdinc++ -L/build/buildd/gcc-snapshot-20091204/build/powerpc-linux-gnu/64/libstdc++-v3/src -L/build/buildd/gcc-snapshot-20091204/build/powerpc-linux-gnu/64/libstdc++-v3/src/.libs -B/usr/lib/gcc-snapshot/powerpc-linux-gnu/bin/ -B/usr/lib/gcc-snapshot/powerpc-linux-gnu/lib/ -isystem /usr/lib/gcc-snapshot/powerpc-linux-gnu/include -isystem /usr/lib/gcc-snapshot/powerpc-linux-gnu/sys-include -m64 -fPIC -mstrict-align -shared -nostdlib /usr/lib/../lib64/crti.o /build/buildd/gcc-snapshot-20091204/build/./gcc/64/crtbeginS.o .libs/atomic.o .libs/bitmap_allocator.o .libs/pool_allocator.o .libs/mt_allocator.o .libs/codecvt.o .libs/compatibility.o .libs/compatibility-c++0x.o .libs/complex_io.o .libs/ctype.o .libs/debug.o .libs/functexcept.o .libs/hash_tr1.o .libs/globals_io.o .libs/hashtable_tr1.o .libs/hashtable_c++0x.o .libs/ios.o .libs/ios_failure.o .libs/ios_init.o .libs/ios_locale.o .libs/limits.o .libs/limits_c++0x.o .libs/list.o .libs/debug_list.o .libs/locale.o .libs/locale_init.o .libs/locale_facets.o .libs/localename.o .libs/math_stubs_float.o .libs/math_stubs_long_double.o .libs/stdexcept.o .libs/strstream.o .libs/system_error.o .libs/tree.o .libs/allocator-inst.o .libs/concept-inst.o .libs/fstream-inst.o .libs/ext-inst.o .libs/ios-inst.o .libs/iostream-inst.o .libs/istream-inst.o .libs/istream.o .libs/locale-inst.o .libs/misc-inst.o .libs/ostream-inst.o .libs/sstream-inst.o .libs/streambuf-inst.o .libs/streambuf.o .libs/string-inst.o .libs/valarray-inst.o .libs/wlocale-inst.o .libs/wstring-inst.o .libs/mutex.o .libs/condition_variable.o .libs/chrono.o .libs/thread.o .libs/future.o .libs/atomicity.o .libs/codecvt_members.o .libs/collate_members.o .libs/ctype_members.o .libs/messages_members.o .libs/monetary_members.o .libs/numeric_members.o .libs/time_members.o .libs/basic_file.o .libs/c++locale.o .libs/compatibility-ldbl.o .libs/parallel_list.o .libs/parallel_settings.o -Wl,--whole-archive ../../libsupc++/.libs/libsupc++convenience.a -Wl,--no-whole-archive -L/build/buildd/gcc-snapshot-20091204/build/powerpc-linux-gnu/64/libstdc++-v3/src -L/build/buildd/gcc-snapshot-20091204/build/powerpc-linux-gnu/64/libstdc++-v3/src/.libs -lm -L/build/buildd/gcc-snapshot-20091204/build/./gcc/64 -L/lib/../lib64 -L/usr/lib/../lib64 -L/build/buildd/gcc-snapshot-20091204/build/./gcc -lc -lgcc_s /build/buildd/gcc-snapshot-20091204/build/./gcc/64/crtendS.o /usr/lib/../lib64/crtn.o -m64 -mstrict-align -Wl,-O1 -Wl,-z -Wl,relro -Wl,--gc-sections -m64 -fPIC -mstrict-align -Wl,--version-script=libstdc++-symbols.ver -Wl,-soname -Wl,libstdc++.so.6 -o .libs/libstdc++.so.6.0.14 `std::__codecvt_abstract_base<char, char, __mbstate_t>::~__codecvt_abstract_base()' referenced in section `.data.rel.ro._ZTVSt23__codecvt_abstract_baseIcc11__mbstate_tE[vtable for std::__codecvt_abstract_base<char, char, __mbstate_t>]' of .libs/locale-inst.o: defined in discarded section `.group' of .libs/locale-inst.o `std::__codecvt_abstract_base<wchar_t, char, __mbstate_t>::~__codecvt_abstract_base()' referenced in section `.data.rel.ro._ZTVSt23__codecvt_abstract_baseIwc11__mbstate_tE[vtable for std::__codecvt_abstract_base<wchar_t, char, __mbstate_t>]' of .libs/wlocale-inst.o: defined in discarded section `.group' of .libs/wlocale-inst.o `std::__ctype_abstract_base<wchar_t>::~__ctype_abstract_base()' referenced in section `.data.rel.ro._ZTVSt21__ctype_abstract_baseIwE[vtable for std::__ctype_abstract_base<wchar_t>]' of .libs/wlocale-inst.o: defined in discarded section `.group' of .libs/wlocale-inst.o collect2: ld returned 1 exit status make[11]: *** [libstdc++.la] Error 1 make[11]: Leaving directory `/build/buildd/gcc-snapshot-20091204/build/powerpc-linux-gnu/64/libstdc++-v3/src/debug' make[10]: *** [build_debug] Error 2 make[10]: Leaving directory `/build/buildd/gcc-snapshot-20091204/build/powerpc-linux-gnu/64/libstdc++-v3/src' make[9]: *** [all-recursive] Error 1 -- Summary: bootstrap error in libstdc++ powerpc biarch compiler, building 64bit libstdc++ debug lib Product: gcc Version: 4.5.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: target AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: debian-gcc at lists dot debian dot org GCC target triplet: powerpc64-linux-gnu http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42323