From mboxrd@z Thu Jan 1 00:00:00 1970 From: Michael Long Subject: Re: glibc patch for TLS? Date: Tue, 26 Apr 2005 09:53:12 -0500 Message-ID: <95cbc489050426075336fc328b@mail.gmail.com> References: <1114500495.11017.6.camel@tpol.nils.toedtmann.net> Reply-To: Michael Long Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Return-path: In-Reply-To: <1114500495.11017.6.camel@tpol.nils.toedtmann.net> Content-Disposition: inline List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Nils Toedtmann Cc: Ian Pratt , xen-devel List-Id: xen-devel@lists.xenproject.org On 4/26/05, Nils Toedtmann wrote: > Am Montag, den 25.04.2005, 21:57 +0100 schrieb Ian Pratt: > > > > > Nope, that's what I forgot. I recompiled the patched glibc > > > with that flag and everything seems to be working fine. I > > > can post the ebuild if people are interested. It's pretty > > > straightforward, just adding the patch and making for the > > > CFLAGS get set properly. > > > > > > I'm now compiling all my packages with > > > -mno-tls-direct-seg-refs. Is this necessary/recommended? I > > > know some ebuild strip out CFLAGS it's unsure of, so if it's > > > necessary other packages may need to be modified. >=20 > Now it's really cool to run a source distro like gentoo. I wonder if you > can bootstrap it with that CFLAGS? I don't see why not. I was able to build the base system packages (using 'emerge system') on my build system without any apparent problems. Glibc strips out unknown CFLAGS though, so you have to have a modified ebuild that makes sure it uses it (bootstrapping or not). -Michael