> > > Current glibc does not support TLS under 2.4 kernels (see #226716), > > > so this is probalby glibc bug (some people call it feature).
> > - provide TLS support for 2.4 kernels and an upgrade path? > 2.4 kernels does not have the necessary stuff to support TLS, > so that's not possible. This feature is also arch and toolchain specific. Current glibc on alpha, powerpc, sparc, ia64, s390, amd64 should work just now, someone (DD, of course) can verify it using test case from #226716 against sarge supported kernels. Unofficial architectures kfreebsd-i386, kfreebsd-amd64, ppc64 already support it. i386 can be easily fixed when - support for real i386 hardware is dropped (already done) - support for pre-2.4 kernels is dropped (seems planned, see #339827) glibc fix contains two steps: - add "libc_MIN_KERNEL_SUPPORTED=2.4.1" into debian/sysdeps/i386.mk - copy linuxthreads/sysdeps/i386/i686/pt-machine.h into linuxthreads/sysdeps/i386/i486/pt-machine.h Other architectures probably does not yet support __thread at all. Petr -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]