ada/9911: gnatmake fails to link when GCC configured with --w
John David Anglin
dave@hiauly1.hia.nrc.ca
Mon Mar 3 04:26:00 GMT 2003
The following reply was made to PR ada/9911; it has been noted by GNATS.
From: "John David Anglin" <dave@hiauly1.hia.nrc.ca>
To: dannysmith@users.sourceforge.net
Cc: 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
Subject: Re: ada/9911: gnatmake fails to link when GCC configured with --w
Date: Sun, 2 Mar 2003 23:25:16 -0500 (EST)
> 2003-03-03 Danny Smith <dannysmith@users.sourceforge.net>
>
> * raise.c (_Unwind_RaiseException): New function to wrap
> _Unwind_SjLj_RaiseException
> for sjlj eh model.
Based on the comment in raise.c, I don't think the fix is
correct although there probably does need to be a stub for
_Unwind_SjLj_RaiseException in raise.c. We also need to fix the
call issued from a-except.adb. This is actually what caused the
link failure in the PR. raise.o isn't in libgnat.a.
I hacked a-except.adb and raise.c use to use _Unwind_SjLj_RaiseException
but not being familiar with ada I'm not sure how to conditionalize the ada
code. I'm also not set up to test the exception support in it.
I suspect the same problem affects the hpux ports which use sjlj
exceptions by default.
Dave
--
J. David Anglin dave.anglin@nrc-cnrc.gc.ca
National Research Council of Canada (613) 990-0752 (FAX: 952-6605)
--
J. David Anglin dave.anglin@nrc-cnrc.gc.ca
National Research Council of Canada (613) 990-0752 (FAX: 952-6605)
More information about the Gcc-prs
mailing list