This is the mail archive of the
libstdc++@gcc.gnu.org
mailing list for the libstdc++ project.
Re: Undefined symbol __gxx_personality_sj0 (data) from stdexcept.o
- To: "John David Anglin" <dave at hiauly1 dot hia dot nrc dot ca>
- Subject: Re: Undefined symbol __gxx_personality_sj0 (data) from stdexcept.o
- From: law at redhat dot com
- Date: Thu, 17 May 2001 08:02:09 -0700
- cc: gcc-bugs at gcc dot gnu dot org, libstdc++ at gcc dot gnu dot org
- Reply-To: law at redhat dot com
In message <200105170445.AAA28253@hiauly1.hia.nrc.ca>you write:
> The following error occurs trying to build groff with the new exceptions:
> /xxx/gnu/gcc-3.0/objdir/gcc/g++ -B/xxx/gnu/gcc-3.0/objdir/gcc/ -O3 -s -o gr
> off g
> roff.o pipeline.o /xxx/gnu/groff-1.16.1/objdir/src/libs/libgroff/libgroff.a
> -lst
> dc++ -lm
> /usr/ccs/bin/ld: Unsatisfied symbols:
> __gxx_personality_sj0 (data)
>
> This is under hpux 10.20 with the 3.0 branch. This symbol comes from
> the stdexcept.o module in libstdc++. Note that the symbol is `data'.
> I believe that this should be a text symbol. This symbol reference
> is generated in cp/except.c.
Yea. Tracking this down is at the top of my gcc3 list for today. Most
likely we've got an incorrect or missing .import statement which in turn
causes the wrong symbol type to be used.
jeff