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

Chris Johns chrisj at rtems.org
Tue Jun 21 20:38:33 UTC 2022



> 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?

I think this is senseible. Has it been tested on real code?

> I would like to back port this patch to GCC 10, 11, and 12.

Does this imply rtems 5?

Chris
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rtems.org/pipermail/devel/attachments/20220622/aa16a963/attachment-0001.htm>


More information about the devel mailing list