[PATCH] libstdc++: Hide TLS variables in `std::call_once`

Jonathan Wakely jwakely@redhat.com
Fri Nov 29 15:50:19 GMT 2024


On Fri, 29 Nov 2024 at 15:49, Jonathan Wakely <jwakely@redhat.com> wrote:
>
> On Fri, 29 Nov 2024 at 15:31, LIU Hao <lh_mouse@126.com> wrote:
> >
> > 在 2024-11-29 23:08, Jonathan Wakely 写道:
> > > The change seems reasonable but this needs a change to
> > > config/abi/pre/gnu.ver to export the new symbol in the GLIBCXX_3.4.34
> > > version.
> >
> > I have added it in the attached patch. However it exists only if `_GLIBCXX_HAVE_TLS` is defined, so
> > seems to require an #if.. ?
>
> It looks like your patch is against gcc-14 not trunk, the
> GLIBCXX_15.1.0 version is already there.

Sorry, I mean GLIBCXX_3.4.34 for 15.1.0



More information about the Libstdc++ mailing list