[Bug libgcc/66212] Exception handling broken on powerpc

2015-05-21 Thread andri.yngvason at marel dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66212

Andri Yngvason andri.yngvason at marel dot com changed:

   What|Removed |Added

 Status|UNCONFIRMED |RESOLVED
 Resolution|--- |INVALID

--- Comment #4 from Andri Yngvason andri.yngvason at marel dot com ---
I downloaded everything again and started from scratch. I've no idea what was
wrong but now the problem is gone. Mea culpa.


[Bug libgcc/66212] Exception handling broken on powerpc

2015-05-20 Thread andri.yngvason at marel dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66212

--- Comment #1 from Andri Yngvason andri.yngvason at marel dot com ---
I've now compiled the same toolchain for i686 and I have the same issue there,
so I assume that I'm doing something wrong. It's hard to pin down what I'm
doing wrong though. Everything seems to be linked correctly:

# ldd stdexcept 
linux-gate.so.1 (0xb77ad000)
libstdc++.so.6 = /lib/libstdc++.so.6 (0xb7633000)
libm.so.6 = /lib/libm.so.6 (0xb75ea000)
libgcc_s.so.1 = /lib/glibc2.21/libgcc_s.so.1 (0xb75ce000)
libc.so.6 = /lib/libc.so.6 (0xb742)
/lib/ld-linux.so.2 (0xb77ae000)

# ls -l /lib/libstdc++.so.6 /lib/libm.so.6 /lib/libc.so.6
/lib/glibc2.21/libgcc_s.so.1 /lib/ld-linux.so.2 
-rw-r--r--1 root root397872 May 20 10:11
/lib/glibc2.21/libgcc_s.so.1
lrwxrwxrwx1 root root10 May 20 10:57 /lib/ld-linux.so.2 -
ld-2.21.so
lrwxrwxrwx1 root root12 May 20 10:57 /lib/libc.so.6 -
libc-2.21.so
lrwxrwxrwx1 root root12 May 20 10:57 /lib/libm.so.6 -
libm-2.21.so
lrwxrwxrwx1 root root19 May 20 10:57 /lib/libstdc++.so.6 -
libstdc++.so.6.0.21

I'll try 4.9...


[Bug libgcc/66212] Exception handling broken on powerpc

2015-05-20 Thread wilson at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66212

--- Comment #2 from Jim Wilson wilson at gcc dot gnu.org ---
libgcc should be built with debug info by default, but the one in /lib is
probably stripped.  Try setting LD_LIBRARY_PATH to point at the gcc-5.1
libraries that you built, instead of using the default ones provided by the OS
in /lib.


[Bug libgcc/66212] Exception handling broken on powerpc

2015-05-20 Thread andri.yngvason at marel dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66212

--- Comment #3 from Andri Yngvason andri.yngvason at marel dot com ---
This is the libgcc that I built. I put it there. However, it is entirely within
the realm of possibility that it may have been stripped on it's way there via
dpkg. I'll try copying it there directly. Thanks!