You are not logged in.

#1 2005-02-05 04:19:00

Cron0
Member
Registered: 2005-01-25
Posts: 14

How to enable NPTL? (Wombat) 0.7

I have installed and updated (pacman -Syu) Arch 0.7 and when I do
/lib/libc.so.6
I get

GNU C Library stable release version 2.3.3, 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.4.3.
Compiled on a Linux 2.6.9 system on 2005-01-06.
Available extensions:
        GNU libio by Per Bothner
        crypt add-on version 2.1 by Michael Glad and others
        [b]linuxthreads-0.10 by Xavier Leroy[/b]
        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>.

Am I not supposed to see NPTL in here?

Offline

#2 2005-02-05 17:09:48

Gullible Jones
Member
Registered: 2004-12-29
Posts: 4,863

Re: How to enable NPTL? (Wombat) 0.7

Eh? I think you'd have to recompile it with NPTL support instead of linuxthreads...

(IIRC, glibc can't be compiled with both.)

Offline

#3 2005-02-05 18:40:38

kth5
Member
Registered: 2004-04-29
Posts: 657
Website

Re: How to enable NPTL? (Wombat) 0.7

the nptl ones go in /lib/tls

if you d o /lib/tls/libc.so.6 you should see that this is displayed:

GNU C Library stable release version 2.3.3, 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.4.3.
Compiled on a Linux 2.6.9 system on 2005-01-06.
Available extensions:
        GNU libio by Per Bothner
        crypt add-on version 2.1 by Michael Glad and others
        Native POSIX Threads Library by Ulrich Drepper et al
        BIND-8.2.3-T5B
        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>.

I recognize that while theory and practice are, in theory, the same, they are, in practice, different. -Mark Mitchell

Offline

#4 2005-02-05 22:45:13

JGC
Developer
Registered: 2003-12-03
Posts: 1,664

Re: How to enable NPTL? (Wombat) 0.7

Besides that, running /lib/libc.so.6 doesn't do anything useful. Detecting if you have something by running that lib is stupid. The GNU people introduced the getconf program for that a very long while ago:

[root@server ~]# getconf GNU_LIBPTHREAD_VERSION
NPTL 2.3.3

[root@server ~]# LD_ASSUME_KERNEL=2.4.20 getconf GNU_LIBPTHREAD_VERSION
linuxthreads-0.10

Offline

Board footer

Powered by FluxBB