[CentOS] Problem rebuilding glibc for xen

Johnny Hughes mailing-lists at hughesjr.com
Thu Oct 27 02:44:02 UTC 2005


On Wed, 2005-10-26 at 18:41 -0400, Ted Kaczmarek wrote:
> On Wed, 2005-10-26 at 14:13 +0100, Dave Hatton wrote:
> > I would like to rebuild glibc specifically with the -mno-tls-direct-seg-refs
> > to allow better performance with Xen.
> > 
> > I'm using Centos 4.2 x86_64 on an Athlon 3200+. I'm using the
> > 2.6.9-11.106.unsupported kernel for reiser support.
> > 
> > My thought was to download and install the SRPM and then rpmbuild with no
> > changes to make sure it works before adding the above flag.
> > 
> > Unfortunately, the rpmbuild hangs during tst-tls9.
> > 
> > Has anyone else managed this?
> > 
> > As an alternative suggestion is there a chance that a build of glibc with
> > this flag could be added to centosplus? 
> > This would be very useful until this change makes it into the main stream.
> > 
> > Thanks
> > 
> > Daveh
> > 
> Someone sent me a rebuilt glibc for 32 bit so it should be doable.
> Funny part is I haven't even tried it yet, the other user testing it
> said he had good preliminary results though.
> 
> Check the xen archives if you want to track it down.
> 
> 
> Ted
> 
> 

There is a bug with glibc that causes it not to build on the newer
kernels (actually the bug is in the kernels, not glibc).

To get glibc to build, use either of the 2.6.9-5.x kernels.  Once you
rebuild glibc, you can boot back to the unsupported kernel.

If you don't have either of those kernels, you can get them at:

http://vault.centos.org/4.0/

See this bug:
https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=166454

(there is an updated RHEL kernel source there that also should allow
glibc to build)

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : http://lists.centos.org/pipermail/centos/attachments/20051026/65b01eef/attachment.bin


More information about the CentOS mailing list