I have just checked in some changes to make libc use TLS internally when __thread is available (along with some fixes to the TLS support code). All available tools that claim to support TLS have bugs that will louse up your libc build, so be sure to configure using --without-tls if you have tools that claim to support TLS and __thread.