This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

undefined symbol: DW.ref.__gxx_personality_v0


Hi,

I'm having trouble with an undefined reference to
DW.ref.__gxx_personality_v0 when loading a C++ Python extension module.
I did some digging through the archives, and as far as I can tell, I'm
doing everything alright.

This is what I did:

-install binutils 2.12.1
-install gcc 3.1.1
-use these to recompile python and all the libraries I depend upon (e.g.
BPL V2)
-link my own library with 'c++ -shared ...." rather than with 'cc
-shared'

This is the output of ldd on my library:

ldd _camfr.so
        libbpl.so.1.29.0 => /home/pbienst/local/lib/libbpl.so.1.29.0
(0x4021e000)
        libatlas.so.2 => /usr/lib/libatlas.so.2 (0x4024e000)
        libblas.so.2 => /usr/lib/libblas.so.2 (0x4045b000)
        libg2c.so.0 => /home/pbienst/local/lib/libg2c.so.0 (0x404ac000)
        libstdc++.so.4 => /home/pbienst/local/lib/libstdc++.so.4
(0x404ca000)
        libm.so.6 => /lib/libm.so.6 (0x40534000)
        libc.so.6 => /lib/libc.so.6 (0x40551000)
        libgcc_s.so.1 => /home/pbienst/local/lib/libgcc_s.so.1
(0x4062f000)
        /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x80000000)

So it should pick up __gxx_personality_v0 in libstdc++, but for some
reason it doesn't...

Any ideas?

Thanks,

Peter





Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]