[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#441975: libc6: Still present !!!



clone 441975 -1
reassign 441975 nvidia-glx
retitle 441975 nvidia-glx should only provide the TLS version
thanks

Gallien Matthieu a écrit :
> I have checked if my computer can boot with the libc6 installed in both 
> optimised and normal versions.
> There was only one problem : Xorg cannot start.
> It seems that there is some programs for which the behavior is different when 
> libc6 optimised is not here or if it is disabled with ld.so.nohwcap. This 
> include Qt binding for perl and Xorg.
> 

FYI the problem is that /etc/ld.so.nohwcaps disable all optimized
libraries and use the one from /usr/lib. NVidia had the idea to provide
a TLS version (in /usr/lib/tls) and a non-TLS version (in /usr/lib) of
their library. Disabling optimized libraries means that the non-TLS
version of the library is used. However, their code chose between TLS
and non-TLS code on a different way (a test code), which always succeed
on recent systems with NPTL library. This lead to a mix of TLS and
non-TLS code, leading to a crash.

I will workaround to the glibc to also use tls/ directory even when
optimized libraries are disabled, as TLS is alway available in lenny.

Anyway the NVidia code is buggy, and I think the nvidia-glx package
should only provide the TLS version of the library, as Lenny guarantee
that we have TLS available. A dependency on libc6 (>= 2.5-1) should
probably be added to make sure it is the case during an upgrade.

-- 
  .''`.  Aurelien Jarno	            | GPG: 1024D/F1BCDB73
 : :' :  Debian developer           | Electrical Engineer
 `. `'   aurel32@debian.org         | aurelien@aurel32.net
   `-    people.debian.org/~aurel32 | www.aurel32.net



Reply to: