Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 128656

Summary: no NPTL support - kernel version (<=2.6.6) - can't compile glibc-2.3.5-r3
Product: Gentoo Linux Reporter: Morten Christensen <friesgaard>
Component: [OLD] Core systemAssignee: Gentoo Linux bug wranglers <bug-wranglers>
Status: VERIFIED INVALID    
Severity: normal    
Priority: High    
Version: 2006.0   
Hardware: x86   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Morten Christensen 2006-04-03 09:38:35 UTC
emerge -up gentoo-sources
.
.
>>> md5 src_uri ;-) glibc-infopages-2.3.5.tar.bz2
>>> md5 src_uri ;-) glibc-fedora-20041219T2331.tar.bz2
 * Warning! Gentoo's GLIBC with NPTL enabled now behaves like the
 * glibc from almost every other distribution out there. This means
 * that glibc is compiled -twice-, once with linuxthreads and once
 * with nptl. The NPTL version is installed to lib/tls and is still
 * used by default. If you do not need nor want the linuxthreads
 * fallback, you can disable this behavior by adding nptlonly to
 * USE to save yourself some compile time.
>>> Unpacking source...

 * Checking gcc for __thread support ... yes
 * Checking kernel version (>=2.6.6) ... no

 * You need a kernel of at least version 2.6.6
 * for NPTL support!

!!! ERROR: sys-libs/glibc-2.3.5-r3 failed.
!!! Function check_nptl_support, Line 726, Exitcode 0
!!! Kernel version too low!


**************************
Generally I'm in a deadlock, I can't update to a new kernel because a got a to old kernel. Should I compile glic without NPTL? like:
USE="-NPTL"; emerge ... 
then comile the new kernel and afterward compile glic again?... 

**************************

emerge --info:
Portage 2.0.54 (default-linux/x86/2006.0, gcc-3.3.6, glibc-2.3.4.20040808-r1, 2.4.20-gentoo-r9 i686)rge --help | less
=================================================================
System uname: 2.4.20-gentoo-r9 i686 Celeron (Mendocino)
Gentoo Base System version 1.4.16
dev-lang/python:     2.2.3-r5, 2.3.4-r1
sys-apps/sandbox:    1.2.12
sys-devel/autoconf:  2.13, 2.59-r6
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.4
sys-devel/binutils:  2.16.1
sys-devel/libtool:   1.5.10-r4
virtual/os-headers:  2.4.19-r1, 2.6.11-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i486-pc-linux-gnu"
CFLAGS="-O3 -mcpu=i686 -funroll-loops -pipe"
CHOST="i486-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/share/config /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /var/qmail/alias /var/qmail/control /var/vpopmail/domains /var/vpopmail/etc"
CONFIG_PROTECT_MASK="/etc/eselect/compiler /etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O3 -mcpu=i686 -funroll-loops -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://ftp.linux.ee/pub/gentoo/distfiles/ ftp://ftp.du.se/pub/os/gentoo http://www.gigaload.org/gentoo.org/ http://gd.tuwien.ac.at/opsys/linux/gentoo/"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 X Xaw3d alsa apache2 apm arts audiofile avi berkdb bitmap-fonts bzip2 cli crypt ctype cups curl dba dri eds emboss encode esd exif expat fam fastbuild foomaticdb force-cgi-redirect fortran ftp gd gdbm gif glut gnome gpm gstreamer gtk gtk2 gtkhtml imlib ipv6 isdnlog java jpeg kde lcms libg++ libwww mad memlimit mhash mikmod mng motif mp3 mpeg mysql ncurses nls nptl ogg opengl oss pam pcre pdflib perl php png posix pppd python qt quicktime readline samba sdl session simplexml slang soap sockets spell spl ssl svga tcpd tetex tiff tokenizer truetype truetype-fonts type1-fonts udev vorbis xml xml2 xmms xsl xv zlib userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS, MAKEOPTS, PORTDIR_OVERLAY
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2006-04-03 09:41:53 UTC
Nothing in comment w/ portage.
Comment 2 Jakub Moc (RETIRED) gentoo-dev 2006-04-03 09:43:14 UTC
You can upgrade to new kernel just fine, just emerge it and compile it. Doesn't depend on glibc version at all.
Comment 3 Morten Christensen 2006-04-03 09:57:20 UTC
Sorry, didn't know where to post what!?
I'm compiling the kernel, so I guess I'm good!

thanks
Comment 4 Jakub Moc (RETIRED) gentoo-dev 2006-04-03 10:51:18 UTC
(In reply to comment #3)

Thanks for reporting back, closing. Next time, rather ask at forums.gentoo.org or #gentoo or #gentoo-bugs on freenode, bugzilla is not a support forum.