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

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


  • To: Nils Toedtmann <xen-devel@xxxxxxxxxxxxxxxxxx>
  • 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=
  • List-id: Xen developer discussion <xen-devel.lists.xensource.com>

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


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.