This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug target/11609] New: testcase gcc.dg/cleanup-5.c fails to link, undefined reference to `__gcc_personality_sj0'
- From: "dank at kegel dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 20 Jul 2003 21:21:48 -0000
- Subject: [Bug target/11609] New: testcase gcc.dg/cleanup-5.c fails to link, undefined reference to `__gcc_personality_sj0'
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=11609
Summary: testcase gcc.dg/cleanup-5.c fails to link, undefined
reference to `__gcc_personality_sj0'
Product: gcc
Version: 3.3.1
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: target
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: dank at kegel dot com
CC: gcc-bugs at gcc dot gnu dot org
GCC build triplet: i686-pc-linux-gnu
GCC host triplet: i686-pc-linux-gnu
GCC target triplet: sh4-unknown-linux-gnu
I'm building x86->sh4, x86->ppc cross-compilers using http://kegel.com/crosstool
When I build gcc-ss-3_3-20030714 targeting sh4, the test fails with
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
Oddly, targeting ppc doesn't fail.
cf. http://gcc.gnu.org/ml/gcc/2003-07/msg00008.html
Haven't tried that patch yet, I don't understand the issues enough to know if it
makes sense.