This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

ada/9911: gnatmake fails to link when GCC configured with --with-sjlj-exceptions=yes


>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:


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]