public inbox for gcc-prs@sourceware.org
help / color / mirror / Atom feed
* Re: ada/9911: gnatmake fails to link when GCC configured with --with-sjlj-exceptions=yes
@ 2003-03-04 20:21 bosch
  0 siblings, 0 replies; 3+ messages in thread
From: bosch @ 2003-03-04 20:21 UTC (permalink / raw)
  To: bosch, dave.anglin, gcc-bugs, gcc-prs, hainque, nobody

Synopsis: gnatmake fails to link when GCC configured with --with-sjlj-exceptions=yes

Responsible-Changed-From-To: unassigned->bosch
Responsible-Changed-By: bosch
Responsible-Changed-When: Tue Mar  4 20:21:18 2003
Responsible-Changed-Why:
    installed patch.
State-Changed-From-To: open->closed
State-Changed-By: bosch
State-Changed-When: Tue Mar  4 20:21:18 2003
State-Changed-Why:
    Fixed (both on 3.3 branch and mainline)

http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=9911


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

* Re: ada/9911: gnatmake fails to link when GCC configured with --with-sjlj-exceptions=yes
@ 2003-03-03  3:16 Danny Smith
  0 siblings, 0 replies; 3+ messages in thread
From: Danny Smith @ 2003-03-03  3:16 UTC (permalink / raw)
  To: nobody; +Cc: gcc-prs

The following reply was made to PR ada/9911; it has been noted by GNATS.

From: Danny Smith <dannysmith@clear.net.nz>
To: gcc-gnats@gcc.gnu.org, hainque@gnat.com, gcc-bugs@gcc.gnu.org,
 dave.anglin@nrc.ca, nobody@gcc.gnu.org, gcc-prs@gcc.gnu.org
Cc:  
Subject: Re: ada/9911: gnatmake fails to link when GCC configured with
 --with-sjlj-exceptions=yes
Date: Mon, 03 Mar 2003 03:12:36 +0000

 http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=g
 cc&pr=9911
 
 
 This patch (against 3.3 branch) fixes.
 
 2003-03-03  Danny Smith  <dannysmith@users.sourceforge.net>
 
        * raise.c (_Unwind_RaiseException): New function to wrap
 _Unwind_SjLj_RaiseException
        for sjlj eh model.
 
 
 Index: raise.c
 ===================================================================
 RCS file: /cvs/gcc/gcc/gcc/ada/raise.c,v
 retrieving revision 1.5
 diff -c -3 -p -r1.5 raise.c
 *** raise.c 23 Oct 2002 07:33:28 -0000 1.5
 --- raise.c 3 Mar 2003 03:02:55 -0000
 *************** __gnat_eh_personality (version, actions,
 *** 596,601 ****
 --- 596,611 ----
     return _URC_INSTALL_CONTEXT;
   }
 
 + /* If __USING_SJLJ_EXCEPTIONS__  _Unwind_SjLj_RaiseException is
 exported
 +    from libgcc.a */
 + #ifdef __USING_SJLJ_EXCEPTIONS__
 + _Unwind_Reason_Code
 + _Unwind_RaiseException (e)
 +      struct _Unwind_Exception *e;
 + {
 +   return _Unwind_SjLj_RaiseException (e);
 + }
 + #endif
 
   #else   /* IN_RTS - For eh personality routine   */
 
 


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

* ada/9911: gnatmake fails to link when GCC configured with --with-sjlj-exceptions=yes
@ 2003-03-03  1:46 dave.anglin
  0 siblings, 0 replies; 3+ messages in thread
From: dave.anglin @ 2003-03-03  1:46 UTC (permalink / raw)
  To: gcc-gnats; +Cc: hainque


>Number:         9911
>Category:       ada
>Synopsis:       gnatmake fails to link when GCC configured with --with-sjlj-exceptions=yes
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    unassigned
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Mon Mar 03 01:45:59 UTC 2003
>Closed-Date:
>Last-Modified:
>Originator:     Dave Anglin
>Release:        gcc-3.3
>Organization:
>Environment:
hppa-unknown-linux-gnu
>Description:
../../xgcc -B../../ -DIN_GCC   `echo -g -W -Wall -Wwrite-strings -Wstrict-protot
ypes -Wmissing-prototypes -Wtraditional -pedantic -Wno-long-long  |sed -e 's/-pe
dantic//g' -e 's/-Wtraditional//g'`   -o ../../gnatmake b_gnatm.o ali.o ali-util
.o alloc.o atree.o binderr.o butil.o casing.o csets.o debug.o einfo.o elists.o e
rrout.o fmap.o fname.o fname-uf.o fname-sf.o gnatmake.o gnatvsn.o hostparm.o kru
nch.o lib.o make.o makeusg.o mlib.o mlib-fil.o mlib-prj.o mlib-tgt.o mlib-utl.o
namet.o nlists.o opt.o osint.o osint-m.o output.o prj.o prj-attr.o prj-com.o prj
-dect.o prj-env.o prj-ext.o prj-nmsc.o prj-pars.o prj-part.o prj-proc.o prj-strt
.o prj-tree.o prj-util.o rident.o scans.o scn.o sdefault.o sfn_scan.o sinfo.o si
nfo-cn.o sinput.o sinput-l.o sinput-p.o snames.o stand.o stringt.o style.o style
sw.o validsw.o switch.o switch-m.o switch-c.o table.o targparm.o tree_io.o types
.o uintp.o uname.o urealp.o usage.o widechar.o \
      ../../prefix.o ../../version.o ../rts/libgnat.a  ../../../libiberty/libibe
rty.a
../rts/libgnat.a(a-except.o)(.text+0x175c): In function `ada__exceptions__propag
ate_exception_with_gcc_support':
ada__exceptions__sdp_table_build__L_7__T222b___XDL_1/a-except.adb:1607: undefine
d reference to `_Unwind_RaiseException'
../rts/libgnat.a(a-except.o)(.text+0x1790):ada__exceptions__sdp_table_build__L_7
__T222b___XDL_1/a-except.adb:1635: undefined reference to ` _Unwind_RaiseException'

Looking at a-except.adb, I see it has been changed from that
in the 3.2 branch to directly call _Unwind_RaiseException.
However, this routine is not available when using SJLJ
exceptions.

As ada builds sucessfully on the port using the 3.2 branch
with SJLJ exceptions, this would appear to be a regression.
>How-To-Repeat:

>Fix:

>Release-Note:
>Audit-Trail:
>Unformatted:


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

end of thread, other threads:[~2003-03-04 20:21 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-03-04 20:21 ada/9911: gnatmake fails to link when GCC configured with --with-sjlj-exceptions=yes bosch
  -- strict thread matches above, loose matches on Subject: below --
2003-03-03  3:16 Danny Smith
2003-03-03  1:46 dave.anglin

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