bug-hurd
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [RFC PATCH glibc 24/34] hurd: Only check for TLS initialization insi


From: Samuel Thibault
Subject: Re: [RFC PATCH glibc 24/34] hurd: Only check for TLS initialization inside rtld or in static builds
Date: Tue, 11 Apr 2023 21:18:01 +0200
User-agent: NeoMutt/20170609 (1.8.3)

Samuel Thibault, le mar. 11 avril 2023 20:57:05 +0200, a ecrit:
> Had you actually tested it on i386? It seems to be breaking the
> testsuite completely. I would expect that a submitted patch series has
> gone through the testsuite.
> 
> Sergey Bugaev, le dim. 19 mars 2023 18:10:07 +0300, a ecrit:
> > When glibc is built as a shared library, TLS is always initialized by
> > the call of TLS_INIT_TP () macro made inside the dynamic loader, prior
> > to running the main program (see dl-call_tls_init_tp.h).
> 
> Yes, but apparently we load libc.so before calling TLS_INIT_TP? (and
> thus start using its functions)

I'm thinking that we should as well just assume that the hardware is old
enough to support rdfsbase, that'll be *way* simpler to test for TLS.

Samuel



reply via email to

[Prev in Thread] Current Thread [Next in Thread]