public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/43911]  New: [4.4.3/4.5.0 regression] g++ can't compile any even trivial c++ source: undefined reference to `_Unwind_GetIPInfo'
@ 2010-04-27 17:06 dougmencken at gmail dot com
  2010-04-27 17:15 ` [Bug c++/43911] " redi at gcc dot gnu dot org
                   ` (28 more replies)
  0 siblings, 29 replies; 30+ messages in thread
From: dougmencken at gmail dot com @ 2010-04-27 17:06 UTC (permalink / raw)
  To: gcc-bugs

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 3304 bytes --]

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


^ permalink raw reply	[flat|nested] 30+ messages in thread

end of thread, other threads:[~2010-05-16  9:15 UTC | newest]

Thread overview: 30+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-04-27 17:06 [Bug c++/43911] New: [4.4.3/4.5.0 regression] g++ can't compile any even trivial c++ source: undefined reference to `_Unwind_GetIPInfo' dougmencken at gmail dot com
2010-04-27 17:15 ` [Bug c++/43911] " redi at gcc dot gnu dot org
2010-04-27 17:16 ` redi at gcc dot gnu dot org
2010-04-27 17:18 ` dougmencken at gmail dot com
2010-04-27 17:20 ` dougmencken at gmail dot com
2010-04-27 17:29 ` dougmencken at gmail dot com
2010-04-27 19:15 ` dougmencken at gmail dot com
2010-04-27 19:17 ` pinskia at gcc dot gnu dot org
2010-04-27 19:22 ` dougmencken at gmail dot com
2010-04-27 20:36 ` dougmencken at gmail dot com
2010-04-27 20:48 ` dougmencken at gmail dot com
2010-04-28  9:14 ` [Bug c++/43911] [4.4/4.5 Regression] " rguenth at gcc dot gnu dot org
2010-04-28  9:24 ` rguenth at gcc dot gnu dot org
2010-04-28 19:36 ` dougmencken at gmail dot com
2010-04-28 19:57 ` dougmencken at gmail dot com
2010-04-28 20:09 ` redi at gcc dot gnu dot org
2010-04-28 20:46 ` dougmencken at gmail dot com
2010-04-29  9:57 ` rguenth at gcc dot gnu dot org
2010-04-29 20:40 ` dougmencken at gmail dot com
2010-04-30  9:25 ` jakub at gcc dot gnu dot org
2010-05-02 13:30 ` dougmencken at gmail dot com
2010-05-10 14:03 ` dougmencken at gmail dot com
2010-05-10 16:24 ` dougmencken at gmail dot com
2010-05-10 16:31 ` pluto at agmk dot net
2010-05-10 17:28 ` redi at gcc dot gnu dot org
2010-05-11  5:53 ` dougmencken at gmail dot com
2010-05-11  6:51 ` mikpe at it dot uu dot se
2010-05-11 11:32 ` dougmencken at gmail dot com
2010-05-12 22:29 ` dougmencken at gmail dot com
2010-05-16  9:15 ` dougmencken at gmail dot com

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).