Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 30625 - glibc 2.3.2-r6 + NPTL breaks nvidia-glx
Summary: glibc 2.3.2-r6 + NPTL breaks nvidia-glx
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: x86 Linux
: High major (vote)
Assignee: Martin Schlemmer (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-10-07 21:00 UTC by Matt Eaton
Modified: 2003-10-08 19:17 UTC (History)
2 users (show)

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 Matt Eaton 2003-10-07 21:00:47 UTC
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"
Comment 1 SpanKY gentoo-dev 2003-10-07 22:43:45 UTC
works fine over here ...
what if you re-emerge nvidia-glx and restart X ?
Comment 2 Matt Eaton 2003-10-08 09:52:33 UTC
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.
Comment 3 SpanKY gentoo-dev 2003-10-08 19:17:42 UTC
nvidia is partly binary partly source