disabling tls in glibc-2.3.2

Daniel Jacobowitz drow@false.org
Wed Mar 22 03:07:00 GMT 2006


On Tue, Mar 21, 2006 at 09:04:27PM +0000, Nix wrote:
> >                2nd question, if I want to disable tls libraries
> > globally, how can I change the order of ld cache using ldconfig?  I
> > only came up with a brute chmod 0 /lib/tls, but there have to be a
> > better way.
> 
> For *every* other hwcap, there is. For TLS, I can't see one.

Generally you control this using LD_ASSUME_KERNEL.  Things built for
2.6.0 or higher will use TLS and otherwise not.  This is just a
convention among distributors.

-- 
Daniel Jacobowitz
CodeSourcery



More information about the Libc-alpha mailing list