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

Bug#361221: libstdc++ test packages



On Sat, Apr 08, 2006 at 12:57:58AM +0200, Matthias Klose wrote:
> please check with the (i386) libstdc++6 test package at 
> 
>   http://people.debian.org/~doko/tmp/
> 
> 

I have made some more tests. First the package looks ok, but it does 
not work because the /usr/lib/tls directory is used inconditionnaly.
This is because ld.so actually does not actually check for TLS hwcap
(which does not really exists), but only check the OS ABI. All libc6
libraries in this directory are tagged "OS ABI: Linux 2.6.0".

I will try to have a look for a patch to add this note to libstdc6++


Then I have made some more tests on all Debian architectures:

Architecture    MIN_KERNEL      NPTL flavour    TLS status
-----------------------------------------------------------------
amd64           2.6.0           No              TLS working
alpha           2.2.0           No              TLS working
arm             2.2.0           No              TLS not supported
hppa            2.2.0           No              TLS not supported
i386            2.2.0           Yes             TLS fails on 2.4 kernels
ia64            2.2.0           Yes             TLS working
m68k            2.2.0           No              TLS not supported
mips            2.2.0           No              TLS not supported
mipsel          2.2.0           No              TLS not supported
powerpc         2.2.0           NPTL flavour    TLS working
s390            2.4.1           NPTL flavour    TLS working
sparc           2.4.18          No              TLS working


On 2.4 kernels, the linuxthread flavour which does not support TLS on 
i386 is used. On 2.6 kernels, the NPTL flavour is used. So it looks 
like this flavour is actually only needed on i386.

Bye,
Aurelien

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



Reply to: