Does uclibc support TLS

raymond zhao raymond.zhao.ml at gmail.com
Wed Feb 23 18:24:43 UTC 2011


Hi, There
I am building some application with uclibc. and got an error:

uclibc/sysroot/lib/libstdc++.so: undefined reference to `__tls_get_addr'

Does this mean uclibc doesn't support TLS? My uclibc is 0.90.30.3, and I
enabled thread support in config file.
# HAS_NO_THREADS is not set
UCLIBC_HAS_THREADS=y
# PTHREADS_DEBUG_SUPPORT is not set
LINUXTHREADS_OLD=y
UCLIBC_HAS_SYSLOG=y
UCLIBC_HAS_LFS=y

Is there some trick to solve the problem?

Thanks and best regard,

raymond


More information about the uClibc mailing list