I emerged glibc-2.3.2-r6 and decided to try out NPTL.. (added "nptl" to use flags via ufed). Upon doing this, none of the programs that used the nvidia libGL would run, immediately segfaulting with similar backtraces: #0 0x403fb92b in calloc () from /lib/libc.so.6 #1 0x40155ed7 in __nvsym18242 () from /usr/lib/opengl/nvidia/lib/libGL.so.1 #2 0x00000001 in ?? () #3 0x0009c244 in ?? () #4 0x4068d766 in __nvsym07509 () from /usr/lib/opengl/nvidia/lib/libGLcore.so.1 After re-emerging the same ebuild without NPTL, it works fine. Reproducible: Always Steps to Reproduce: 1.USE="nptl" emerge glibc-2.3.2-r6 2.run any opengl program. (first spotted with a gl screensaver) Actual Results: Segfault Portage 2.0.49-r9 (default-x86-1.4, gcc-3.3.1, glibc-2.3.2-r6, 2.6.0-test6) ================================================================= System uname: 2.6.0-test6 i686 AMD Athlon(TM) XP 2100+ Gentoo Base System version 1.4.3.10p1 ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CFLAGS="-O3 -march=athlon-xp -funroll-loops -fprefetch-loop-arrays -pipe" CHOST="i686-pc-linux-gnu" COMPILER="gcc3" CONFIG_PROTECT="/etc /var/qmail/control /usr/kde/2/share/config /usr/kde/3/share/config /usr/X11R6/lib/X11/xkb /usr/kde/3.1/share/config /usr/share/config" CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d" CXXFLAGS="-O3 -march=athlon-xp -funroll-loops -fprefetch-loop-arrays -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="sandbox ccache autoaddcvs" GENTOO_MIRRORS="http://www.ibiblio.org/gentoo ftp://ftp.ussg.iu.edu/pub/linux/gentoo http://www.mirror.ac.uk/sites/www.ibiblio.org/gentoo/ ftp://ftp.gtlib.cc.gatech.edu/pub/gentoo" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="x86 oss apm avi crypt cups encode foomaticdb gif jpeg kde libg++ libwww mad mikmod mmx mpeg ncurses nls pdflib png quicktime spell truetype xml2 xmms xv zlib alsa gdbm berkdb slang readline arts aalib bonobo svga java ruby X sdl gpm tcpd pam ssl perl python esd imlib oggvorbis gnome gtk qt motif opengl mozilla cdr scanner 3dnow acpi apache2 dga dvd gtk2 gtkhtml ipv6 nptl sse tiff xvid"
works fine over here ... what if you re-emerge nvidia-glx and restart X ?
Yes. Re-emerging nvidia-glx and restarting x/gdm fixed it. I wouldn't have thought to try this since I thought nvidia-glx were binaries and didn't matter. I guess the x/gdm restart was the solution.
nvidia is partly binary partly source