This is the mail archive of the
mailing list for the libc-ports project.
glibc basic informations
- From: Gildas Bayard <gildas dot bayard at gmail dot com>
- To: libc-ports at sources dot redhat dot com
- Date: Fri, 16 Dec 2005 14:27:17 +0100
- Subject: glibc basic informations
- Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=PYyLXx8J7Ko3EPu+NP9PkL0xB901ifkVGxqu9mzzb+Azh1fg+X+Xw61PLpBLqv0giSl8jque5hmhS2H0o6Wufw3JJBXr0lWv4Z/1oIKGQBEhttuYe233gqM5cflYubFgPfy1NHC5zQ1aejoQfFltqkYOKmv/KrI7s0Nga6PcWeM=
I've got a compile problem with glibc 2.3.6 using powerpc-linux-gcc
3.3.3 and cross compiling from x86 to powerpc.
What I'd like to talk about first is access to glibc information.
I'm experiencing difficulties to get very basic informations about
glibc which does not appear to be anywhere on the site (maybe I don't
know how to search well)
Here it is: what is the current pthread library used in glibc?
It seems like it's NPTL since there's a nptl directory in the sources.
But the documentation keeps on telling me I must install the
linuxthreads add-on to get thread support. Is the documentation simply
out of date?
I presumed the previous question to have a positive answer and tried
to move forward.
Then compilation fails with an error telling me to install
Hum... Isn't NPTL supposed to replace linuxthreads? The glibc
'INSTALL' document talks about "--enable-add-ons" option that should
be set. Since nptl seems to be in the base package I don't think it
would help but retry with this option and gets the same error.
Then I downloaded and installed linuxthreads anyway. I launched
./configure again with the "--enable-add-ons" option and then got
stuck with a "configure: error: "compiler support for __thread is
Searching on google I found that I should just delete the nptl
directory. Hum... I'm really puzzled at this point!
I think the documentation should include a pthread section (in the
'INSTALL' doc or in the 'FAQ' doc or on the web page, better would be
both on the web page and 'INSTALL' or 'FAQ' doc) to answer these
- Is nptl development taking place here, in the glibc?
If it's true then the doc should say something about this and stop
only talking about linuxthreads
If it's not true then where is it?
- Is the option "--enable-add-ons" needed to compile nptl? Or is there
a kind of "--use-nptl" option somewhere? (./configure --help mentions
'nptl' nowhere, whereas there's a nptl directory)
Of course if someone has an answer to my "compiler support for
__thread is required" which does not imply to forget about nptl I
would appreciate (Isn't gcc 3.3.3 supporting this __thread option? And
well, what is the __thread support about?)
Have a nice day