[PATCH] cdtest: Restrict exceptions during sysinit

Chris Johns chrisj at rtems.org
Thu Jul 14 08:33:44 UTC 2022


On 14/7/2022 4:08 pm, Sebastian Huber wrote:
> On 14/07/2022 02:36, Chris Johns wrote:
>>> Exceptions during system initialization work only on targets which do not need
>>> a registration of exception frames during the global construction.  In
>>> particular, targets which use the DWARF2 unwinder cannot use exceptions during
>>> system initialization.
>> I would like to complete the discussion on the other thread about this issue
>> before we work around the issue like this.
>>
>> If this patch masks a failure that the standard expects to work we should not
>> hide it.
> 
> Don't shoot the messenger. This is a fundamental limitation of the DWARF2 unwinder.
> 

I am sorry, I did not mean to say it was your fault.

So this has been an issue for while? I have been through this area of code a
while back when adding support for libdl.

If exceptions work post construction is the issue the ordering of a call somewhere?

Chris


More information about the devel mailing list