Hi I just done a build of glibc with NPTL on a 2.4.20-20.9 based kernel (RedHat9 NPTL enabled kernel). ebuild complained about kernel version (not beeing 2.6.0) but after modifying it I succeded in having a stable glibc. I run a mysql on that NPTL library/kernel and all seems fine. Reproducible: Always Steps to Reproduce: Portage 2.0.49-r15 (default-x86-1.4, gcc-3.2.3, glibc-2.3.2-r1, 2.6.0-test9) ================================================================= System uname: 2.6.0-test9 i686 Intel(R) Pentium(R) 4 CPU 2.00GHz Gentoo Base System version 1.4.3.10p1 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CFLAGS="-march=pentium3 -O3 -pipe -funroll-loops" CHOST="i686-pc-linux-gnu" COMPILER="gcc3" CONFIG_PROTECT="/etc /var/qmail/control /usr/share/config /usr/kde/2/share/config /usr/kde/3/share/config /usr/X11R6/lib/X11/xkb /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/" CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d" CXXFLAGS="-march=pentium3 -O3 -pipe -funroll-loops" DISTDIR="/usr/portage/distfiles" FEATURES="sandbox ccache autoaddcvs" GENTOO_MIRRORS="http://www.fhh.opensource-mirror.de/gentoo.org/ http://linux.rz.ruhr-uni-bochum.de/download/gentoo-mirror/ http://mirrors.sec.informatik.tu-darmstadt.de/gentoo" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="" SYNC="rsync://rsync.de.gentoo.org/gentoo-portage" USE="x86 apm avi crypt encode foomaticdb gif jpeg libg++ mad mikmod mpeg ncurses nls pdflib png quicktime spell truetype xml2 xmms xv zlib gdbm berkdb slang readline tetex java mysql tcpd pam libwww ssl perl python imlib oggvorbis motif opengl mozilla X gtk -gnome -kde alsa -oss sse mmx gpm -svga sdl -arts -esd dvd -cups -qt tcltk"
Problem currently is to ensure that we have the correct kernel headers ...
The check for the 2.6 headers is best for now. If you use redhat's kernel, then you can modify it yourself, but I don't think putting in extra cases for this fringe (and now dated) special case is worth it.