Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 91137 - nvidia-glx-1.0.7174-r3 makes problem with tls and fonts.
Summary: nvidia-glx-1.0.7174-r3 makes problem with tls and fonts.
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Jeremy Huddleston (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-05-02 02:25 UTC by kaouete
Modified: 2005-05-02 16:19 UTC (History)
1 user (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 kaouete 2005-05-02 02:25:13 UTC
Hi, after i installed the last nvidia-glx-1.0.7174-r3 i got two problems.
The first one is mplayer who doesnt want to start anymore because of libnidia-tls.so, it told me that this lib didnt support tls.

The second one is the fonts, one i restarted my Xorg after i installed the -r3, i got liiiiiiittle fonts, really annoying to read :>

I just reinstalled the -r1 and all is back to normal :]

Something important i think, i'm on a ntpl system.

Reproducible: Always
Steps to Reproduce:
1.
2.
3.




Portage 2.0.51.19 (default-linux/x86/2005.0, gcc-3.3.5, glibc-2.3.4.20041102-r1,
2.6.11-gentoo-r3 i686)
=================================================================
System uname: 2.6.11-gentoo-r3 i686 Intel(R) Pentium(R) 4 CPU 2.80GHz
Gentoo Base System version 1.4.16
Python:              dev-lang/python-2.3.5 [2.3.5 (#1, Apr 27 2005, 16:52:03)]
distcc 2.16 i386-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
ccache version 2.3 [enabled]
dev-lang/python:     2.3.5
sys-apps/sandbox:    [Not Present]
sys-devel/autoconf:  2.13, 2.59-r6
sys-devel/automake:  1.5, 1.4_p6, 1.6.3, 1.8.5-r3, 1.7.9-r1, 1.9.4
sys-devel/binutils:  2.15.92.0.2-r7
sys-devel/libtool:   1.5.16
virtual/os-headers:  2.6.8.1-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-march=pentium4 -O3 -pipe -fomit-frame-pointer"
CHOST="i386-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.4/env
/usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3/share/ config
/usr/lib/X11/xkb /usr/lib/mozilla/defaults/pref /usr/share/config
/var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-march=pentium4 -O3 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig ccache distlocks sandbox sfperms strict"
GENTOO_MIRRORS="ftp://ftp.free.fr/mirrors2/ftp.gentoo.org/
http://ftp.easynet.nl/mirror/gentoo/ http://gentoo.inode.at/"
LANG="fr_FR@euro"
LC_ALL="fr_FR@euro"
LINGUAS="fr_FR@euro"
MAKEOPTS="-j1"
PKGDIR="/usr/portage/packages/"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.fr.gentoo.org/gentoo-portage"
USE="x86 3ds X a52 aac aalib acl acpi adns aim alsa apache2 audiofile avi
bash-completion berkdb bidi bitmap-fonts bonobo bzip2  bzlib canna ccache cdda
cddb cdio cdparanoia cdr crypt cups curl curlwrappers dba dga directfb
divx4linux dts dv dvb dvd dvdr  dvdread dxr3 edl eds emboss encode exif expat
f2c faac faad fam fame fbcon ffmpeg flac font-server foomaticdb fortran fpx
freet ype ftp gcj gd gdbm geoip ggi gif gimpprint gnome gnutls gphoto2 gpm
graphviz gstreamer gtk gtk2 gtkhtml guile hal howl icc ico nv imagemagick imap
imlib immqt immqt-bc insecure-drivers ipv6 jabber jack java javascript jbig jce
jikes joystick jpeg jpeg2k  junit jython kerberos krb4 lcms ldap libcaca libg++
libgda libwww lirc live lm_sensors logitech-mouse lzo m17n-lib mad matroska 
md5sum mikmod mime mjpeg mmx mmx2 mmxext mng mono motif mozilla moznomail mozsvg
mozxmlterm mp3 mpeg mpeg2 mpeg4 mpi mplayer m sn mysql nas ncurses net network
nls nntp nptl nvidia ode ogg oggvorbis openal openexr opengl oscar oss pam pcre
pdflib perl pe rlsuid php physfs plotutils png posix postgres ppds python qt
quicktime rar rdesktop readline real rhino rrdtool rtc ruby scann er sdl session
silc simplexml slang slp snmp soap sockets socks5 softmmu sox speex spell sqlite
sse sse2 ssl stream subtitles s vg svga sysfs sysvipc tcltk tcpd tga theora tiff
truetype truetype-fonts type1-fonts uim unicode usb utf8 v4l v4l2 vcd vidix vl m
vorbis win32codecs wmf wxwindows xanim xine xml xml2 xmlrpc xmms xosd xpm xrandr
xsl xv xvid xvmc yahoo yv12 zeroconf zlib li nguas_fr_FR@euro userland_GNU
kernel_linux libc_glibc"
Unset:  ASFLAGS, CBUILD, CTARGET, LDFLAGS
Comment 1 Jeremy Huddleston (RETIRED) gentoo-dev 2005-05-02 03:23:22 UTC
Please do the following:

ls -l /usr/lib/opengl/nvidia/lib
ls -l /usr/lib/tls
ls -l /usr/lib/libnvidia*

opengl-update --version
Comment 2 kaouete 2005-05-02 03:54:40 UTC
ok, i reemerged the -r3 version and there is the output of these commands :

pistache kkwet # ls -l /usr/lib/opengl/nvidia/lib 
total 7944
lrwxrwxrwx  1 root root      21 mai  2 12:51 libGLcore.so -> libGLcore.so.1.0.7174
lrwxrwxrwx  1 root root      21 mai  2 12:51 libGLcore.so.1 -> libGLcore.so.1.0.7174
-rwxr-xr-x  1 root root 7626156 mai  2 12:51 libGLcore.so.1.0.7174
-rw-r--r--  1 root root     727 mai  2 12:51 libGL.la
lrwxrwxrwx  1 root root      17 mai  2 12:51 libGL.so -> libGL.so.1.0.7174
lrwxrwxrwx  1 root root      17 mai  2 12:51 libGL.so.1 -> libGL.so.1.0.7174
-rwxr-xr-x  1 root root  485260 mai  2 12:51 libGL.so.1.0.7174
lrwxrwxrwx  1 root root      23 mai  2 12:51 libnvidia-tls.so -> ../tls/libnvidia-tls.so
lrwxrwxrwx  1 root root      25 mai  2 12:51 libnvidia-tls.so.1 -> ../tls/libnvidia-tls.so.1
lrwxrwxrwx  1 root root      32 mai  2 12:51 libnvidia-tls.so.1.0.7174 -> ../tls/libnvidia-tls.so.1.0.7174
pistache kkwet # ls -l /usr/lib/tls
ls: /usr/lib/tls: Aucun fichier ou r
Comment 3 kaouete 2005-05-02 03:54:40 UTC
ok, i reemerged the -r3 version and there is the output of these commands :

pistache kkwet # ls -l /usr/lib/opengl/nvidia/lib 
total 7944
lrwxrwxrwx  1 root root      21 mai  2 12:51 libGLcore.so -> libGLcore.so.1.0.7174
lrwxrwxrwx  1 root root      21 mai  2 12:51 libGLcore.so.1 -> libGLcore.so.1.0.7174
-rwxr-xr-x  1 root root 7626156 mai  2 12:51 libGLcore.so.1.0.7174
-rw-r--r--  1 root root     727 mai  2 12:51 libGL.la
lrwxrwxrwx  1 root root      17 mai  2 12:51 libGL.so -> libGL.so.1.0.7174
lrwxrwxrwx  1 root root      17 mai  2 12:51 libGL.so.1 -> libGL.so.1.0.7174
-rwxr-xr-x  1 root root  485260 mai  2 12:51 libGL.so.1.0.7174
lrwxrwxrwx  1 root root      23 mai  2 12:51 libnvidia-tls.so -> ../tls/libnvidia-tls.so
lrwxrwxrwx  1 root root      25 mai  2 12:51 libnvidia-tls.so.1 -> ../tls/libnvidia-tls.so.1
lrwxrwxrwx  1 root root      32 mai  2 12:51 libnvidia-tls.so.1.0.7174 -> ../tls/libnvidia-tls.so.1.0.7174
pistache kkwet # ls -l /usr/lib/tls
ls: /usr/lib/tls: Aucun fichier ou répertoire de ce type
pistache kkwet # ls -l /usr/lib/libnvidia*
ls: /usr/lib/libnvidia*: Aucun fichier ou répertoire de ce type
pistache kkwet # opengl-update --version
opengl-update 2.2.1
Comment 4 Jeremy Huddleston (RETIRED) gentoo-dev 2005-05-02 15:21:12 UTC
Well, first of all, you've got:
CHOST="i386-pc-linux-gnu"
Change that to i686-pc-linux-gnu and recompile glibc

but before you do, please run:
/lib/libc.so.6
/lib/tls/libc.so.6
Comment 5 kaouete 2005-05-02 15:29:07 UTC
when you say : "please run" you mean "what is the output of" ? :)

kkwet@pistache ~ $ /lib/libc.so.6 
GNU C Library 20041102 release version 2.3.4, by Roland McGrath et al.
Copyright (C) 2004 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.3.5  (Gentoo Linux 3.3.5-r1, ssp-3.3.2-3, pie-8.7.7                                 .1).
Compiled on a Linux 2.6.8 system on 2005-03-16.
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>.


kkwet@pistache ~ $ /lib/tls/libc.so.6
bash: /lib/tls/libc.so.6: Aucun fichier ou r
Comment 6 kaouete 2005-05-02 15:29:07 UTC
when you say : "please run" you mean "what is the output of" ? :)

kkwet@pistache ~ $ /lib/libc.so.6 
GNU C Library 20041102 release version 2.3.4, by Roland McGrath et al.
Copyright (C) 2004 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.3.5  (Gentoo Linux 3.3.5-r1, ssp-3.3.2-3, pie-8.7.7                                 .1).
Compiled on a Linux 2.6.8 system on 2005-03-16.
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>.


kkwet@pistache ~ $ /lib/tls/libc.so.6
bash: /lib/tls/libc.so.6: Aucun fichier ou répertoire de ce type


are you sure i have to do this ? glibc is the only thing to recompile if i change CHOST ?
Comment 7 Jeremy Huddleston (RETIRED) gentoo-dev 2005-05-02 15:33:23 UTC
ok, yeah... this case is now fixed in -r4, but the problem is that you don't have TLS or NPTL support because you have CHOST=i386.
Comment 8 Jeremy Huddleston (RETIRED) gentoo-dev 2005-05-02 15:34:46 UTC
well, you should also recompile gcc, binutils, and pretty much anything thread intensive that'd benefit from TLS such as qt.
Comment 9 kaouete 2005-05-02 15:43:41 UTC
So you are telling me that from the day i installed gentoo i didnt use my processor at the max of its capacity ? :))

and if i change to i686 my CHOST, first this problem will be resolved, and after, all will be better ?

i want to trust you, i will do like that.

Thanks
Comment 10 Jeremy Huddleston (RETIRED) gentoo-dev 2005-05-02 16:19:57 UTC
Right, you should set the CHOST to i686-*, then recompile glibc so it can use i686 assembly and add TLS support, then recompile binutils and gcc, then start rebuilding your system... I'd actually recommend going up to gcc-3.4.3.20050110 to kill two birds with one stone.  The main problem in makin that jump is you need to rebuild all your C++ applications and libraries 'revdep-rebuild --soname libstdc++.so.5'... might as well do it at the same time...