public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug target/11609] New: testcase gcc.dg/cleanup-5.c fails to link, undefined reference to `__gcc_personality_sj0'
@ 2003-07-20 21:21 dank at kegel dot com
  2003-07-20 21:25 ` [Bug target/11609] " pinskia at physics dot uc dot edu
  2003-07-24 15:35 ` pinskia at physics dot uc dot edu
  0 siblings, 2 replies; 3+ messages in thread
From: dank at kegel dot com @ 2003-07-20 21:21 UTC (permalink / raw)
  To: gcc-bugs

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.


^ permalink raw reply	[flat|nested] 3+ messages in thread

* [Bug target/11609] testcase gcc.dg/cleanup-5.c fails to link, undefined reference to `__gcc_personality_sj0'
  2003-07-20 21:21 [Bug target/11609] New: testcase gcc.dg/cleanup-5.c fails to link, undefined reference to `__gcc_personality_sj0' dank at kegel dot com
@ 2003-07-20 21:25 ` pinskia at physics dot uc dot edu
  2003-07-24 15:35 ` pinskia at physics dot uc dot edu
  1 sibling, 0 replies; 3+ messages in thread
From: pinskia at physics dot uc dot edu @ 2003-07-20 21:25 UTC (permalink / raw)
  To: gcc-bugs

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


pinskia at physics dot uc dot edu changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|                            |1
   Last reconfirmed|0000-00-00 00:00:00         |2003-07-20 21:25:03
               date|                            |


------- Additional Comments From pinskia at physics dot uc dot edu  2003-07-20 21:25 -------
The reason why it passes under powerpc and not sh4 is that powerpc supports dwarf exceptions.


I think the fix is to add __gcc_personality_sj0 and __gcc_personality_v0
into libgcc-std.ver under GCC_3.3.1 (new), like the patch does except the patch is not right.


^ permalink raw reply	[flat|nested] 3+ messages in thread

* [Bug target/11609] testcase gcc.dg/cleanup-5.c fails to link, undefined reference to `__gcc_personality_sj0'
  2003-07-20 21:21 [Bug target/11609] New: testcase gcc.dg/cleanup-5.c fails to link, undefined reference to `__gcc_personality_sj0' dank at kegel dot com
  2003-07-20 21:25 ` [Bug target/11609] " pinskia at physics dot uc dot edu
@ 2003-07-24 15:35 ` pinskia at physics dot uc dot edu
  1 sibling, 0 replies; 3+ messages in thread
From: pinskia at physics dot uc dot edu @ 2003-07-24 15:35 UTC (permalink / raw)
  To: gcc-bugs

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


pinskia at physics dot uc dot edu changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
 GCC target triplet|sh4-unknown-linux-gnu       |sh4-*-linux-gnu
         Resolution|                            |FIXED
   Target Milestone|3.4                         |3.3.1


------- Additional Comments From pinskia at physics dot uc dot edu  2003-07-24 15:35 -------
Fixed on both 3.3.1 and the mainline. Check out <http://gcc.gnu.org/cgi-bin/cvsweb.cgi/
gcc/gcc/libgcc-std.ver>.


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2003-07-24 15:35 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-07-20 21:21 [Bug target/11609] New: testcase gcc.dg/cleanup-5.c fails to link, undefined reference to `__gcc_personality_sj0' dank at kegel dot com
2003-07-20 21:25 ` [Bug target/11609] " pinskia at physics dot uc dot edu
2003-07-24 15:35 ` pinskia at physics dot uc dot edu

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).