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]

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)


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