The test code which fails to compile with g++ on both 4.4.3 and 4.5.0: #include <iostream>
int main(void) { std::cout << "Hello." << std::endl; return 0; } $ gcc test.c++ /usr/lib/gcc/powerpc-gnu-linux-uclibc/4.5.0/../../../libstdc++.so: undefined reference to `_Unwind_GetIPInfo' collect2: ld returned 1 exit status ---- 4.4.2 (last working version with good g++) ---- Target: powerpc-gnu-linux-uclibc Configured with: ./configure --prefix=/usr --build=powerpc-gnu-linux-uclibc --host=powerpc-gnu-linux-uclibc --target=powerpc-gnu-linux-uclibc --disable-nls --with-system-zlib --disable-checking --disable-werror --disable-multilib --disable-libssp --enable-languages=c,c++ --enable-shared --enable-threads=posix --disable-__cxa_atexit Thread model: posix ---- 4.4.3 (doesn't work) ---- Configured with: ./configure --prefix=/usr --sysconfdir=/etc --mandir=/usr/share/man --build=powerpc-gnu-linux-uclibc --host=powerpc-gnu-linux-uclibc --target=powerpc-gnu-linux-uclibc --disable-nls --with-system-zlib --disable-checking --disable-werror --disable-multilib --disable-libssp --enable-languages=c,c++ --enable-shared --enable-threads=posix --disable-__cxa_atexit Thread model: posix ---- 4.5.0 (doesn't work too) ---- COLLECT_GCC=gcc COLLECT_LTO_WRAPPER=/usr/libexec/gcc/powerpc-gnu-linux-uclibc/4.5.0/lto-wrapper Target: powerpc-gnu-linux-uclibc Configured with: ./configure --prefix=/usr --sysconfdir=/etc --mandir=/usr/share/man --build=powerpc-gnu-linux-uclibc --host=powerpc-gnu-linux-uclibc --target=powerpc-gnu-linux-uclibc --with-system-zlib --enable-languages=c,c++,fortran --disable-nls --disable-werror --disable-multilib --disable-libssp --enable-checking=assert --enable-shared --enable-threads=posix --disable-__cxa_atexit Thread model: posix I also tried to bootstrap with "--disable-libunwind-exceptions" appended to ./configure params no success. Here are problem binaries of 4.4.3 and 4.5.0: http://ftp.osuosl.org/pub/manulix/binpkg/buggy/gcc-4.4.3-powerpc-gnu-linux-uclibc.b2.binpkg.tar.bz2 http://ftp.osuosl.org/pub/manulix/binpkg/buggy/gcc-4.5.0-powerpc-gnu-linux-uclibc.binpkg.tar.bz2 md5sums: 4b964382b69440491aaf982816d244c5 gcc-4.4.3-powerpc-gnu-linux-uclibc.b2.binpkg.tar.bz2 3264685eb6a9e7cb1a87070a478ae0c4 gcc-4.5.0-powerpc-gnu-linux-uclibc.binpkg.tar.bz2 They have been built with GMP 5.0.0 and MPFR 2.4.2-p3 (and MPC 0.8.1 for 4.5.0). If you don't have an access to real powerpc hardware, you can test them in some emulator (like qemu), I think. Also to reproduce you can try to bootstrap native gcc > 4.4.2 on some real/emulated powerpc host (*not* i386 nor i486 nor i586 nor i586mmx nor i686 nor x86_64 etc.). -- Summary: [4.4.3/4.5.0 regression] g++ can't compile any even trivial c++ source: undefined reference to `_Unwind_GetIPInfo' Product: gcc Version: unknown Status: UNCONFIRMED Severity: major Priority: P3 Component: c++ AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: dougmencken at gmail dot com GCC build triplet: powerpc-gnu-linux-uclibc GCC host triplet: powerpc-gnu-linux-uclibc GCC target triplet: powerpc-gnu-linux-uclibc http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43911