Stephan Raue wrote:
> /home/stephan/projects/OpenELEC/build.OpenELEC.i386.uClibc/toolchain/lib/gcc/i686-linux-uclibc/4.4.0/../../../../i686-linux-uclibc/lib/libstdc++.so:
> undefined reference to `___tls_get_addr'
> 
> what must i do?

What this means is you are compiling code that is using variables marked with 
__thread, which gcc will generate accesses to by calling ___tls_get_addr ( the 
three leading underscore version is an x86 only TLS ABI function).

I'm fairly sure the main branch of uClibc does not have support for __thread in 
shared libraries. That work is being done on the NPTL branch which hasn't been 
merged. 

Unless you are up for trying in-progress/broken code, for now I would find and 
disable the code that is using __thread in your application.

-Austin
_______________________________________________
uClibc mailing list
[email protected]
http://lists.busybox.net/mailman/listinfo/uclibc

Reply via email to