[gcc v2] Enable some features for RTEMS in libstdc++

Chris Johns chrisj at rtems.org
Wed Jun 22 03:34:20 UTC 2022


On 22/6/2022 6:38 am, Chris Johns wrote:
>> On 21 Jun 2022, at 5:39 pm, Sebastian Huber
>> <sebastian.huber at embedded-brains.de> wrote:
>>
>> On 09/06/2022 20:19, Sebastian Huber wrote:
>>> Remove RTEMS support from crossconfig.m4 since this code is not used due to
>>> "with_newlib" being "yes".
>>> libstdc++-v3/ChangeLog:
>>>    * configure: Regnerate.
>>>    * configure.ac (newlib, *-rtems*): Enable TLS support for all RTEMS
>>>    targets except bfin, lm32, mips, moxie, or1k, and v850.
>>>    For all RTEMS targets, define HAVE_ALIGNED_ALLOC, HAVE_AT_QUICK_EXIT,
>>>    HAVE_LINK, HAVE_POLL, HAVE_QUICK_EXIT, HAVE_READLINK, HAVE_SETENV,
>>>    HAVE_SLEEP, HAVE_SOCKATMARK, HAVE_STRERROR_L, HAVE_SYMLINK,
>>>    HAVE_TRUNCATE, and HAVE_USLEEP.
>>>    * crossconfig.m4 (*-rtems*): Remove.
>>
>> Any comments? 

Is there a ticket to track this change?

> I think this is sensible. Has it been tested on real code?
> 
>> I would like to back port this patch to GCC 10, 11, and 12.

I see this patch is for master. Is a gcc 12 patch available so I can test it?

Chris


More information about the devel mailing list