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

Sebastian Huber sebastian.huber at embedded-brains.de
Wed Jun 22 06:05:28 UTC 2022


On 22/06/2022 05:34, Chris Johns wrote:
> 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?

https://devel.rtems.org/ticket/4668

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

The patch works also for GCC 12. I only did a test run of the RTEMS tests.

-- 
embedded brains GmbH
Herr Sebastian HUBER
Dornierstr. 4
82178 Puchheim
Germany
email: sebastian.huber at embedded-brains.de
phone: +49-89-18 94 741 - 16
fax:   +49-89-18 94 741 - 08

Registergericht: Amtsgericht München
Registernummer: HRB 157899
Vertretungsberechtigte Geschäftsführer: Peter Rasmussen, Thomas Dörfler
Unsere Datenschutzerklärung finden Sie hier:
https://embedded-brains.de/datenschutzerklaerung/


More information about the devel mailing list