WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

Re: [Xen-devel] glibc patch for TLS?

To: Nils Toedtmann <xen-devel@xxxxxxxxxxxxxxxxxx>
Subject: Re: [Xen-devel] glibc patch for TLS?
From: Michael Long <nikarul@xxxxxxxxx>
Date: Tue, 26 Apr 2005 09:53:12 -0500
Cc: Ian Pratt <m+Ian.Pratt@xxxxxxxxxxxx>, xen-devel <xen-devel@xxxxxxxxxxxxxxxxxxx>
Delivery-date: Tue, 26 Apr 2005 14:53:01 +0000
Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=fVMcRgnEMwSL9CV/NPAzvWf3Kp2zuSZP/MoX1lLDHsOI7A1VLz7UI0430h9/sKZYQw5MdCrdNxhqGmubmNuop187X9HhVpRXh92oIMjJkP6QUDjAmMAjRoXdNJGVUkgBUUMMoPDgecVY9IGxJij3lehZBWsAvzPnJzsFxCtrETA=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <1114500495.11017.6.camel@xxxxxxxxxxxxxxxxxxxxxxx>
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
References: <A95E2296287EAD4EB592B5DEEFCE0E9D1E3D4C@xxxxxxxxxxxxxxxxxxxxxxxxxxx> <1114500495.11017.6.camel@xxxxxxxxxxxxxxxxxxxxxxx>
Reply-to: Michael Long <nikarul@xxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
On 4/26/05, Nils Toedtmann <xen-devel@xxxxxxxxxxxxxxxxxx> 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.
> 
> 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

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel