[gentoo-user] NPTL and glibc

2005-04-29 Thread Thomas T. Veldhouse
I have recently built a new Gentoo 2005.0 box with a stage3 tarball.  I 
set the NPTL flag (among others) and rebuilt the entire system.  It does 
not appear that NPTL is sticking and I am not at all sure why; instead 
it has pulled in the linuxthreads package.  Can anybody help out here?  
See below:

[EMAIL PROTECTED] glibc # /lib/libc.so.6
GNU C Library 20041102 release version 2.3.4, by Roland McGrath et al.
Copyright (C) 2004 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.
There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A
PARTICULAR PURPOSE.
Compiled by GNU CC version 3.3.5-20050130 (Gentoo Linux 
3.3.5.20050130-r1, ssp-3.3.5.20050130-1, pie-8.7.7.1).
Compiled on a Linux 2.6.8 system on 2005-04-28.
Available extensions:
   GNU libio by Per Bothner
   crypt add-on version 2.1 by Michael Glad and others
   linuxthreads-0.10 by Xavier Leroy
   The C stubs add-on version 2.1.2.
   GNU Libidn by Simon Josefsson
   BIND-8.2.3-T5B
   libthread_db work sponsored by Alpha Processor Inc
   NIS(YP)/NIS+ NSS modules 0.19 by Thorsten Kukuk
Thread-local storage support included.
For bug reporting instructions, please see:
http://www.gnu.org/software/libc/bugs.html.

[EMAIL PROTECTED] glibc # emerge -vp glibc
These are the packages that I would merge, in order:
Calculating dependencies ...done!
[ebuild   R   ] sys-libs/glibc-2.3.4.20041102-r1  -build -debug +erandom 
-hardened (-multilib) +nls -nomalloccheck +nptl -nptlonly +pic 
-userlocales 0 kB

[EMAIL PROTECTED] glibc # uname -a
Linux ekg 2.6.11-gentoo-r6 #1 Wed Apr 27 17:24:20 CDT 2005 i686 
AMD-K7(tm) Processor AuthenticAMD GNU/Linux

[EMAIL PROTECTED] glibc # emerge -s linux-headers
Searching...  
[ Results for search key : linux-headers ]
[ Applications found : 1 ]

*  sys-kernel/linux-headers
 Latest version available: 2.6.8.1-r2
 Latest version installed: 2.6.8.1-r2
 Size of downloaded files: 34,870 kB
 Homepage:http://www.kernel.org/ http://www.gentoo.org/
 Description: Linux system headers
 License: GPL-2
--
Thomas T. Veldhouse
Key Fingerprint: 07C7 BF05 4176 F50B A083  4542 0118 1315 761F D300
Spammers please contact me at [EMAIL PROTECTED]
--
gentoo-user@gentoo.org mailing list


RE: [gentoo-user] NPTL and glibc

2005-04-29 Thread Dave Nebinger
 I have recently built a new Gentoo 2005.0 box with a stage3 tarball.  I
 set the NPTL flag (among others) and rebuilt the entire system.  It does
 not appear that NPTL is sticking and I am not at all sure why; instead
 it has pulled in the linuxthreads package.  Can anybody help out here?

You probably have both.  If you look at the output of the glibc build you'll
see a note indicating that both NPTL and linuxthreads are built and
installed by gentoo.

All of my systems report linuxthreads although I too have NPTL installed.



-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] NPTL and glibc

2005-04-29 Thread Bastian Balthazar Bux
Dave Nebinger wrote:
I have recently built a new Gentoo 2005.0 box with a stage3 tarball.  I
set the NPTL flag (among others) and rebuilt the entire system.  It does
not appear that NPTL is sticking and I am not at all sure why; instead
it has pulled in the linuxthreads package.  Can anybody help out here?
 
 
 You probably have both.  If you look at the output of the glibc build you'll
 see a note indicating that both NPTL and linuxthreads are built and
 installed by gentoo.
 
 All of my systems report linuxthreads although I too have NPTL installed.
 
 
 
use the command

# getconf GNU_LIBPTHREAD_VERSION
NPTL 2.3.4

or check for the existence of /lib/tls directory, this one keep the
files when both are installed

-- 
 
. These pages are best viewed by coming to my house and looking at   .
. my monitor. [S. Lucas Bergman (on his website)].
 
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] NPTL and glibc

2005-04-29 Thread Richard Fish
Bastian Balthazar Bux wrote:

Dave Nebinger wrote:
  

I have recently built a new Gentoo 2005.0 box with a stage3 tarball.  I
set the NPTL flag (among others) and rebuilt the entire system.  It does
not appear that NPTL is sticking and I am not at all sure why; instead
it has pulled in the linuxthreads package.  Can anybody help out here?
  

You probably have both.  If you look at the output of the glibc build you'll
see a note indicating that both NPTL and linuxthreads are built and
installed by gentoo.

All of my systems report linuxthreads although I too have NPTL installed.





use the command

# getconf GNU_LIBPTHREAD_VERSION
NPTL 2.3.4

or check for the existence of /lib/tls directory, this one keep the
files when both are installed

  


You can also set the nptlonly flag for glibc, which will avoid using
linuxthreads at all (forces everything to use nptl).

-Richard

-- 
gentoo-user@gentoo.org mailing list



RE: [gentoo-user] NPTL and glibc

2005-04-29 Thread Dave Nebinger
 You can also set the nptlonly flag for glibc, which will avoid using
 linuxthreads at all (forces everything to use nptl).

If you look at the OP's message, it appeared that he did have the nptlonly
flag set...  There is the message about glibc/gcc masking off some use flags
for stability purposes, maybe that one is masked as well.



-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] NPTL and glibc

2005-04-29 Thread Thomas T. Veldhouse
Bastian Balthazar Bux wrote:
use the command
# getconf GNU_LIBPTHREAD_VERSION
NPTL 2.3.4
or check for the existence of /lib/tls directory, this one keep the
files when both are installed
 

Excellent:
[EMAIL PROTECTED] glibc # getconf GNU_LIBPTHREAD_VERSION
NPTL 2.3.4
So, why is the output for /lib/libc.so.6 different than it used to be.  
It used to state that Native POSIX threads were installed and 
linuxthreads was not listed there?

I guess I just hesitate to believe that everything is correct.
--
Thomas T. Veldhouse
Key Fingerprint: 07C7 BF05 4176 F50B A083  4542 0118 1315 761F D300
Spammers please contact me at [EMAIL PROTECTED]
--
gentoo-user@gentoo.org mailing list