http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58608
Bug ID: 58608 Summary: Bootstrap fails with rev 202897, undefined references in libstdc++.a Product: gcc Version: 4.9.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: bootstrap Assignee: unassigned at gcc dot gnu.org Reporter: pthaugen at gcc dot gnu.org CC: bergner at gcc dot gnu.org, tromey at gcc dot gnu.org Host: powerpc64-linux Target: powerpc64-linux Build: powerpc64-linux Bootstrap started failing in stage2 with given revision. Only appears to happen when I build default32 compiler (--with-cpu=default32). Following are sample of errors I see: /home/pthaugen/work/build/gcc/r202897/prev-powerpc64-linux/libstdc++-v3/src/.libs/libstdc++.a(eh_alloc.o): In function `__cxa_allocate_exception': /home/pthaugen/src/gcc/r202897/gcc/libstdc++-v3/libsupc++/eh_alloc.cc:129: undefined reference to `_Unwind_Resume' /home/pthaugen/work/build/gcc/r202897/prev-powerpc64-linux/libstdc++-v3/src/.libs/libstdc++.a(eh_alloc.o): In function `__gnu_cxx::__mutex::unlock()': /home/pthaugen/work/build/gcc/r202897/powerpc64-linux/libstdc++-v3/include/ext/concurrence.h:164: undefined reference to `_Unwind_Resume' /home/pthaugen/work/build/gcc/r202897/prev-powerpc64-linux/libstdc++-v3/src/.libs/libstdc++.a(eh_alloc.o): In function `__scoped_lock': /home/pthaugen/work/build/gcc/r202897/powerpc64-linux/libstdc++-v3/include/ext/concurrence.h:153: undefined reference to `_Unwind_Resume' /home/pthaugen/work/build/gcc/r202897/prev-powerpc64-linux/libstdc++-v3/src/.libs/libstdc++.a(eh_alloc.o): In function `__gnu_cxx::__mutex::unlock()': /home/pthaugen/work/build/gcc/r202897/powerpc64-linux/libstdc++-v3/include/ext/concurrence.h:164: undefined reference to `_Unwind_Resume' /home/pthaugen/work/build/gcc/r202897/prev-powerpc64-linux/libstdc++-v3/src/.libs/libstdc++.a(eh_throw.o): In function `__cxa_throw': /home/pthaugen/src/gcc/r202897/gcc/libstdc++-v3/libsupc++/eh_throw.cc:79: undefined reference to `_Unwind_RaiseException' /home/pthaugen/work/build/gcc/r202897/prev-powerpc64-linux/libstdc++-v3/src/.libs/libstdc++.a(eh_throw.o): In function `__cxa_rethrow': /home/pthaugen/src/gcc/r202897/gcc/libstdc++-v3/libsupc++/eh_throw.cc:115: undefined reference to `_Unwind_Resume_or_Rethrow' ... Configuration command: /home/pthaugen/src/gcc/r202897/gcc/configure --prefix=/home/pthaugen/install/gcc/r202897 --target=powerpc64-linux --host=powerpc64-linux --build=powerpc64-linux --enable-secureplt --enable-threads=posix --enable-shared --enable-__cxa_atexit --with-long-double-128 --enable-decimal-float --disable-alsa --enable-checking --with-lto --with-as=/opt/gcc-nightly/binutils-2.21.1/bin/as --with-ld=/opt/gcc-nightly/binutils-2.21.1/bin/ld --with-gmp=/opt/gcc-nightly/gcc-host-libs --with-mpfr=/opt/gcc-nightly/gcc-host-libs --with-mpc=/opt/gcc-nightly/gcc-host-libs --with-libelf=/opt/gcc-nightly/gcc-host-libs --without-ppl --without-cloog --with-cpu=default32 --enable-languages=c,c++