Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 135203 - emerge will not enable NPTL
Summary: emerge will not enable NPTL
Status: RESOLVED DUPLICATE of bug 106556
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: x86 Linux
: Normal normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-06-01 14:32 UTC by Michael C. Wu
Modified: 2006-06-02 02:32 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Michael C. Wu 2006-06-01 14:32:14 UTC
emerge keeps trying to compile glibc with linuxthreads.
make.profile is set correctly.
make.conf has "nptl nptlonly"
Whether using "emerge --newuse --update --deep world" or "emerge glibc"
or "emerge --update --newuse glibc"
The ebuild would still configure using linuxthreads.
It would show:
...
 * Configuring GLIBC for linuxthreads with:
...

# ls -al  /etc/make.profile
lrwxrwxrwx 1 root root 46 Jun  1 16:51 /etc/make.profile -> /usr/portage/profiles/default-linux/x86/2006.0

==============
 # /lib/libc.so.6
GNU C Library stable release version 2.3.6, by Roland McGrath et al.
Copyright (C) 2005 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.6 (Gentoo 3.4.6-r1, ssp-3.4.5-1.0, pie-8.7.9).
Compiled on a Linux 2.6.11 system on 2006-05-30.
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
For bug reporting instructions, please see:
<http://www.gnu.org/software/libc/bugs.html>.


===============
# emerge --info
Portage 2.0.54-r2 (default-linux/x86/2006.0, gcc-3.4.6, glibc-2.3.6-r3, 2.6.16-gentoo-r7 i686)
=================================================================
System uname: 2.6.16-gentoo-r7 i686 Intel(R) Pentium(R) 4 CPU 3.00GHz
Gentoo Base System version 1.6.14
ccache version 2.3 [enabled]
dev-lang/python:     2.4.2
dev-python/pycrypto: [Not Present]
dev-util/ccache:     2.3
dev-util/confcache:  [Not Present]
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.59-r7
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1
sys-devel/binutils:  2.16.1-r2
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i386-pc-linux-gnu"
CFLAGS="-O2 -mtune=pentium4 -pipe -march=pentium4"
CHOST="i386-pc-linux-gnu"
CONFIG_PROTECT="/etc"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
CXXFLAGS="-O2 -mtune=pentium4 -pipe -march=pentium4"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig ccache distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LDFLAGS="-Wl,-O1"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 acpi alsa apache2 apm arts avi bash-completion berkdb bitmap-fonts bzip2 cd cjk cli crypt cscope cups dri dvd eds emboss encode esd expat foomaticdb fortran gif gpm gstreamer imlib ipv6 isdnlog jpeg libg++ libwww mad mikmod mmx motif mp3 mpeg mysql ncurses nis nls nptl nptlonly ogg opengl oss pam pcre pdflib perl png pppd python quicktime readline reflection sdl session spell spl sse sse2 ssl tcpd threads truetype truetype-fonts type1-fonts udev usb vorbis xml xmms xorg xv zlib userland_GNU kernel_linux elibc_glibc"
Unset:  CTARGET, INSTALL_MASK, LANG, LC_ALL, LINGUAS, PORTAGE_RSYNC_EXTRA_OPTS, PORTAGE_RSYNC_OPTS, PORTDIR_OVERLAY
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2006-06-01 14:35:50 UTC
(In reply to comment #0)
> It would show:
> ...
>  * Configuring GLIBC for linuxthreads with:
> ...

Thanks for cutting the important part, that shows the checks... :/ Try again, please.
Comment 2 Michael C. Wu 2006-06-01 15:41:55 UTC
 * Configuring GLIBC for linuxthreads with:
                --disable-dev-erandom
                --without-tls
                --without-__thread
                --enable-add-ons=linuxthreads,c_stubs,libidn
                --enable-kernel=2.4.1
                --without-selinux
                --without-cvs
                --enable-bind-now
                --build=i386-pc-linux-gnu
                --host=i386-pc-linux-gnu
                --disable-profile
                --without-gd
                --with-headers=/usr/include
                --prefix=/usr
                --mandir=/usr/share/man
                --infodir=/usr/share/info
                --libexecdir=/usr/lib/misc/glibc
Comment 3 Jakub Moc (RETIRED) gentoo-dev 2006-06-01 15:51:29 UTC
Not exactly what I meant. Right when unpacking (see the last 3 lines)

<snip>
No... Please, post the actual check output, like this:

Would you like to merge these packages? [Yes/No] y
>>> Emerging (1 of 1) sys-libs/glibc-2.3.6-r3 to /
>>> checking ebuild checksums ;-)
>>> checking auxfile checksums ;-)
>>> checking miscfile checksums ;-)
>>> checking glibc-2.3.6.tar.bz2 ;-)
>>> checking glibc-linuxthreads-2.3.6.tar.bz2 ;-)
>>> checking glibc-libidn-2.3.6.tar.bz2 ;-)
>>> checking glibc-2.3.6-patches-1.8.tar.bz2 ;-)
>>> checking glibc-manpages-2.3.6-1.tar.bz2 ;-)
>>> checking glibc-infopages-2.3.6.tar.bz2 ;-)
>>> checking glibc-fedora-20041219T2331.tar.bz2 ;-)
>>> Unpacking source...

 * Checking gcc for __thread support ... yes
 * Checking kernel version (>=2.6.9) ... yes
 * Checking linux-headers version (>=2.6.9) ... yes
</snip>
Comment 4 Jakub Moc (RETIRED) gentoo-dev 2006-06-02 02:32:24 UTC
Nevermind.

> CHOST="i386-pc-linux-gnu"

Won't ever work w/ NTPL. Sorry.

*** This bug has been marked as a duplicate of 106556 ***