This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/43911] [4.4/4.5 Regression] g++ can't compile any even trivial c++ source: undefined reference to `_Unwind_GetIPInfo'
- From: "dougmencken at gmail dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 10 May 2010 14:03:10 -0000
- Subject: [Bug c++/43911] [4.4/4.5 Regression] g++ can't compile any even trivial c++ source: undefined reference to `_Unwind_GetIPInfo'
- References: <bug-43911-18266@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #19 from dougmencken at gmail dot com 2010-05-10 14:03 -------
It works on powerpc-uclibc host, but if bootstrapped the following way:
----
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 --disable-shared
--enable-threads=posix --disable-__cxa_atexit
Thread model: posix
gcc version 4.5.0 (GCC)
----
I just changed --enable-shared to --disable-shared and got working g++.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43911