https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80556

--- Comment #6 from Tristan Gingold <gingold at adacore dot com> ---
On 29/04/2017 21:11, ebotcazou at gcc dot gnu.org wrote:
> https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80556
>
> Eric Botcazou <ebotcazou at gcc dot gnu.org> changed:
>
>            What    |Removed                     |Added
> ----------------------------------------------------------------------------
>              Status|WAITING                     |NEW
>                  CC|                            |gingold at gcc dot gnu.org
>
> --- Comment #4 from Eric Botcazou <ebotcazou at gcc dot gnu.org> ---
>> a bunch of similar errors
>> ...
>> * thread #1, queue = 'com.apple.main-thread', stop reason = signal SIGABRT
>>   * frame #0: 0x00007fffa7e8fd42 libsystem_kernel.dylib`__pthread_kill + 10
>>     frame #1: 0x00007fffa7f7d5bf libsystem_pthread.dylib`pthread_kill + 90
>>     frame #2: 0x00007fffa7df5420 libsystem_c.dylib`abort + 129
>>     frame #3: 0x0000000100ff88c1
>> gnat1`uw_init_context_1(context=<unavailable>, outer_cfa=<unavailable>,
>> outer_ra=<unavailable>) at unwind-dw2.c:1579
>>     frame #4: 0x0000000100ff8f2e
>> gnat1`_Unwind_RaiseException(exc=0x0000000144a022a0) at unwind.inc:88
>>     frame #5: 0x000000010006663f
>> gnat1`ada__exceptions__exception_propagation__propagate_gcc_exceptionXn(gcc_e
>> xception=0x0000000144a022a0) at a-exexpr.adb:322
>>     frame #6: 0x0000000100066683
>> gnat1`ada__exceptions__exception_propagation__propagate_exceptionXn(excep=<un
>> available>) at a-exexpr.adb:354
>>     frame #7: 0x0000000100066af9
>> gnat1`ada__exceptions__complete_and_propagate_occurrence(x=<unavailable>) at
>> a-except.adb:937
>>     frame #8: 0x0000000100066b2e
>> gnat1`__gnat_raise_exception(e=<unavailable>, message=<unavailable>) at
>> a-except.adb:978
>>     frame #9: 0x00000001001fbf9a gnat1`rtsfind__load_fail(s=const
>> string___XUP @ 0x00007fe1c0cf6f50, u_id=<unavailable>, id=<unavailable>) at
>> rtsfind.adb:851
>
> OK, thanks, there is a problem in exception propagation on the Darwin host.
> I'm not exactly a specialist here, so CCing Tristan.

It looks like gnat1 was compiled with libgcc, which is not able to 
handle unwinding on Darwin.
I suppose it must be linked without -static-libgcc

>

Reply via email to