#4668 closed enhancement (fixed)

Use thread-local storage in libstdc++

Reported by: Sebastian Huber Owned by: Sebastian Huber
Priority: normal Milestone: 6.1
Component: tool/gcc Version: 6
Severity: normal Keywords: qualification
Cc: Blocked By: #4672
Blocking:

Description

Fix the libstdc++ configuration so that TLS is used on targets with TLS support. Using TLS is more robust against shortages of system resources which lead to unexpected behaviour.

Attachments (3)

Change History (8)

comment:1 Changed on 07/01/22 at 09:52:49 by Sebastian Huber

Blocked By: 4672 added

comment:2 Changed on 07/04/22 at 06:03:20 by Sebastian Huber <sebastian.huber@…>

In d07d6498/rtems:

samples/cdtest: Test exceptions during system init

Update #4668.
Update #4672.

comment:3 Changed on 08/17/22 at 04:55:33 by Sebastian Huber <sebastian.huber@…>

In 4fd9fbd/rtems-source-builder:

6: Enable some libstdc++ features

Enable TLS support for all RTEMS targets except bfin, lm32, m68k, mips, moxie,
or1k, and v850. For all RTEMS targets, define HAVE_ALIGNED_ALLOC,
HAVE_AT_QUICK_EXIT, HAVE_LINK, HAVE_QUICK_EXIT, HAVE_READLINK, HAVE_SETENV,
HAVE_SLEEP, HAVE_STRERROR_L, HAVE_SYMLINK, HAVE_TRUNCATE, and HAVE_USLEEP.

Update #4668.

comment:4 Changed on 09/08/22 at 05:24:43 by Sebastian Huber

Resolution: fixed
Status: assignedclosed

Integrated in GCC master branch and RSB for GCC 10 and 12 as patches.

comment:5 Changed on 10/11/23 at 09:30:13 by Sebastian Huber

Keywords: qualification added
Note: See TracTickets for help on using tickets.