[Bug c++/60691] Build fails in libstdc++ with --enable-sjlj-exceptions on ARM
fabian@ritter-vogt.de
gcc-bugzilla@gcc.gnu.org
Wed Apr 2 16:55:00 GMT 2014
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60691
--- Comment #4 from Fabian Vogt <fabian@ritter-vogt.de> ---
(In reply to Andrew Pinski from comment #3)
> (In reply to Fabian Vogt from comment #2)
> > It crashes and produces weird results if linked to bFLT.
>
> Yes because EABI is an elf only abi, if it does not have a place for the
> unwind tables, then it is incompatible with the ABI :).
Is it enough to put it (sorted/ordered) anywhere in the binary and point
__exidx_start (IIRC) and __exidx_end to the correct positions?
> >If SJLJ isn't supported for ARM, why does --enable-sjlj-exceptions still exist?
>
> Because it is supported for some other targets, mainly windows based ones.
Hmm.. Windows RT? :P
Anyway, I had also reported the bug on binutils' bugzilla and the gas internal
error has been fixed. Nick even made a patch for gcc so it doesn't generate bad
asm anymore :-)
Bug report on gas: https://sourceware.org/bugzilla/show_bug.cgi?id=16765
Proposed patch: https://sourceware.org/bugzilla/attachment.cgi?id=7520
More information about the Gcc-bugs
mailing list