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

Bug#226716: Confirmed TLS broken on 2.4 kernels



GOTO Masanori <gotom@debian.or.jp> writes:

> At Wed, 9 Jun 2004 12:56:45 +0100,
> Mark Brown wrote:
>> I can confirm that this bug is reproducible on 2.4 kernels,
>> including the Debian 2.4.26-1-686.  Is there any ETA on a fix for
>> this?
>
> IIRC Daniel Jacobowitz decided that we didn't support TLS stuff on
> 2.4 kernel, so we need to use 2.6 kernel.

Right, but this is not the problem!
The code should either work correctly or fail right when loading
programs/libraries that need TLS support.  Silently failing is the
worst option.

If some glibc/kernel combination doesn't support TLS, it should refuse
to load code that requires TLS support.  You can probably implement
this by checking for the ELF "TLS" program header.


        Juergen

-- 
Juergen Kreileder, Blackdown Java-Linux Team
http://www.blackdown.org/java-linux/java2-status/



Reply to: