[csw-users] 64bit g++ 4.7.2 exception handling ...

Dmitri Shubin sbn at tbricks.com
Thu Mar 21 10:51:19 CET 2013


On 03/21/13 13:28, James Lee wrote:
> Probably the packaging as I've built gcc 4.7.2 and don't have the 
> problem. I can't see a difference, ask me where to look.
>

Please check libstdc++.so

I have the following:

$ ldd /opt/csw/lib/amd64/libstdc++.so
         libm.so.2 =>     /lib/64/libm.so.2
         libc.so.1 =>     /lib/64/libc.so.1
         libgcc_s.so.1 =>         /opt/csw/lib/amd64/libgcc_s.so.1
$ elfdump -d /opt/csw/lib/amd64/libstdc++.so|grep NEEDED
        [1]  NEEDED            0x26bb7             libm.so.2
        [2]  NEEDED            0x26bca             libc.so.1
        [4]  NEEDED            0x26c1f             libgcc_s.so.1

So libc.so.1 comes before libgcc_s.so.1


More information about the users mailing list