http://bugs.winehq.org/show_bug.cgi?id=20196
--- Comment #11 from S silas-wine@flatline.org.uk 2011-02-21 09:52:56 CST --- Debian Sarge's 2.4 kernel does not support TLS, see http://lists.debian.org/debian-glibc/2004/06/msg00125.html (Debian bug 226716). I can't find the 2.4 TLS patches :-(
I got the error message in WINE bug #24620 when compiling WINE 1.2 or 1.2.2 in a 2.6 kernel but with LD_ASSUME_KERNEL=2.4 (I cannot compile WINE on the destination hardware, so need to cross-compile somehow). As the 2.6 kernel has TLS, I guess the Debian Sarge glibc must itself have issues with LinuxThreads also :-(