RE: upgrading to nptl

"Hu, Boris" <[email protected]> Fri, 12 Dec 2003 09:54:44 +0800
Newsgroups gmane.comp.lib.phil
Message-ID <37FBBA5F3A361C41AB7CE44558C3448E02B1053E@PDSMSX403.ccr.corp.intel.com>
The simplest way is to install a RH9 or Fedora box. :P

Any 2.6 kernel has TLS capacity. If you'd like to play with glibc source:

$ cvs -z 9 -d :pserver:[email protected]:/cvs/glibc login
{enter "anoncvs" as the password}
$ cvs -z 9 -d :pserver:[email protected]:/cvs/glibc co libc
$ mkdir build
$ cd build
$ ../libc/configure --prefix=/tmp/install \  
            --disable-profile \
            --enable-add-ons=nptl --with-tls \
            --with-headers=/path/of/your/kernel/include
$ make -j2
$ make -j2 install

You can try the new glibc in /tmp/install first. If you'd like to update the whole system glibc, you can set --prefix=/ but you are in risk of some your applications perhaps couldn't run well any more. 

Good Luck !
 
Boris Hu
(Hu Jiangtao)
Software Engineer@ICSL
86-021-5257-4545#1277
************************************
There are my thoughts, not my employer's.
************************************

> -----Original Message-----
> From: [email protected] [mailto:[email protected]]
> On Behalf Of Rémi Cohen-Scali
> Sent: Friday, December 12, 2003 8:46 AM
> To: [email protected]
> Subject: upgrading to nptl
> 
> Hy
> 
> I'am looking for a comprehensive howto/guide/help to upgrade
> kernel/glibc to TLS/NPTL
> and also a description of what could be the pitfalls/risks to do so (if
> such doc exists).
> 
> Sorry for the out of band msg (if so) and thanks for any help.
> 
> Regards
> 
> 
> --
> Phil-list mailing list
> [email protected]
> https://www.redhat.com/mailman/listinfo/phil-list