gcc-3.3 CVS failing during libjava compile with:./.libs/libgcj.so: undefined reference to `__gcc_personality_v0'

Dan Kegel dank@kegel.com
Mon Jul 21 01:03:00 GMT 2003


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



More information about the Gcc mailing list