This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Re: ada/9911: gnatmake fails to link when GCC configured with --w
- From: "John David Anglin" <dave at hiauly1 dot hia dot nrc dot ca>
- To: dannysmith at users dot sourceforge dot net
- Cc: gcc-gnats at gcc dot gnu dot org, hainque at gnat dot com, gcc-bugs at gcc dot gnu dot org, dave dot anglin at nrc dot ca, nobody at gcc dot gnu dot org, gcc-prs at gcc dot gnu dot org
- Date: Sun, 2 Mar 2003 23:25:16 -0500 (EST)
- Subject: Re: ada/9911: gnatmake fails to link when GCC configured with --w
> 2003-03-03 Danny Smith <dannysmith at users dot sourceforge dot 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 dot anglin at nrc-cnrc dot gc dot ca
National Research Council of Canada (613) 990-0752 (FAX: 952-6605)
--
J. David Anglin dave dot anglin at nrc-cnrc dot gc dot ca
National Research Council of Canada (613) 990-0752 (FAX: 952-6605)