public inbox for gcc@gcc.gnu.org
 help / color / mirror / Atom feed
From: Peter Bienstman <pbienst@MIT.EDU>
To: gcc@gcc.gnu.org
Subject: undefined symbol: DW.ref.__gxx_personality_v0
Date: Tue, 30 Jul 2002 16:47:00 -0000	[thread overview]
Message-ID: <1028055153.15201.10.camel@hunsmac.mit.edu> (raw)

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




                 reply	other threads:[~2002-07-30 18:52 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1028055153.15201.10.camel@hunsmac.mit.edu \
    --to=pbienst@mit.edu \
    --cc=gcc@gcc.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).