This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: gcc-3.3 CVS failing during libjava compile with:./.libs/libgcj.so:undefined reference to `__gcc_personality_v0'
- From: Dan Kegel <dank at kegel dot com>
- To: gcc at gcc dot gnu dot org
- Date: Sun, 20 Jul 2003 14:15:55 -0700
- Subject: Re: gcc-3.3 CVS failing during libjava compile with:./.libs/libgcj.so:undefined reference to `__gcc_personality_v0'
On 30 Sun 2003, Jeff Sturm wrote:
On 30 Jun 2003, Martin Schlemmer wrote:
> ./.libs/libgcj.so: undefined reference to `__gcc_personality_v0'
You'll see the same if you link a C program using cleanups with
-shared-libgcc -fexceptions. The symbol isn't exported by libgcc_s.so.
For what it's worth, I'm seeing a similar error trying to compile
the new test gcc.dg/cleanup-5.c in gcc-ss-3_3-20030714 on sh4
(though, for some reason, it compiles ok on powerpc):
FAIL: gcc.dg/cleanup-5.c (test for excess errors)
Excess errors:
: undefined reference to `__gcc_personality_sj0'
WARNING: gcc.dg/cleanup-5.c compilation failed to produce executable
I guess I'll file a bug report with gcc.dg/cleanup-5.c in the summary.
- Dan
--
Dan Kegel
http://www.kegel.com
http://counter.li.org/cgi-bin/runscript/display-person.cgi?user=78045