Stephan Raue wrote: > Am 23.04.2009 23:29, schrieb Austin Foxley: >> 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 >> >> > and why it is compiling with gcc-4.3.3 and not with 4.4.0?
probably because libstdc++ was configured, correctly, without tls support. carmelo > > -- > ### OpenELEC.tv ### > The free and open Mediacenter Distribution 4 you > http://www.openelec.tv > > > ------------------------------------------------------------------------ > > _______________________________________________ > uClibc mailing list > [email protected] > http://lists.busybox.net/mailman/listinfo/uclibc _______________________________________________ uClibc mailing list [email protected] http://lists.busybox.net/mailman/listinfo/uclibc
