x86 c++ exception handling

Joel Sherrill joel at rtems.org
Sat Sep 12 20:18:21 UTC 2020


On Sat, Sep 12, 2020, 3:14 PM Karel Gardas <karel.gardas at centrum.cz> wrote:

> On 9/12/20 10:00 PM, Joel Sherrill wrote:
> > Thanks. But in case you missed my comment on the ticket.
>
> Can't find any related ticket in rtems trac. Which one is it?
>
> > The multi-lib is
> > built with -mtune not -march so defaults to i386 code. The file
> > gcc/config/i386/t-rtems needs to be changed I think. When gcc changed
> from
> > -mcpu, we apparently picked the wrong replacement argument. At least
> that's
> > what I think explains this.
>
> Ah, and would you like first test it as a patch in RSB or would you go
> directly to gcc?
>

I won't get to it this weekend. But it will need a patch for the RSB for
the 5 branch for sure. For master, we may need one also until it is merged.

But I don't know for sure that it fixes the problem. That remains to be
demonstrated. But it certainly explains the behaviour.





> Thanks,
> Karel
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rtems.org/pipermail/devel/attachments/20200912/e407e913/attachment.html>


More information about the devel mailing list