> So looking at it again, this seems to be happening during stage3.
Yes, I should have realized it a while ago, you don't compile g-exptty.adb for
the compiler but only for the runtime... The backtrace seems to show that the
abort at libgcc/unwind-dw2.c:1386 is raised:
int size = dwarf_reg_size_table[__builtin_dwarf_sp_column ()];
if (size == sizeof(_Unwind_Ptr))
tmp_sp->ptr = (_Unwind_Ptr) cfa;
else
{
gcc_assert (size == sizeof(_Unwind_Word));
tmp_sp->word = (_Unwind_Ptr) cfa;
}
which is quite unexpected.
--
Eric Botcazou