This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: disabling tls in glibc-2.3.2
- From: Daniel Jacobowitz <drow at false dot org>
- To: Nix <nix at esperi dot org dot uk>
- Cc: igor at txc dot com, libc-alpha at sourceware dot org
- Date: Tue, 21 Mar 2006 16:09:05 -0500
- Subject: Re: disabling tls in glibc-2.3.2
- References: <20060318105218.GC8696@txc.com> <87r74vech0.fsf@hades.wkstn.nix>
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