GCC brokenness (venting)

David Daney ddaney at avtrex.com
Mon Mar 27 17:06:48 UTC 2006


Garrett Kajmowicz wrote:

> As previously noted, there is an undefined reference to the symbol 
> ___tls_get_addr which can be resolved by linking against /lib/ld-linux.so.2
> This is not something I should have to force to do with any compiler and I've 
> been told that it doesn't work with uClibc.  I'm trying to put out another 
> release which works with gcc-4.1 and is compatible with uClibc.  I would ask 
> the uClibc developer community for suggestions or advice on how to work 
> around the gcc ...eccentricities.
> 

Try adding: --disable-tls

I am assuming that you don't want tls support of course.

I could not figure out if you were trying to use uClibc or glibc.  If 
the former, there may be uClibc specific target specifiers that would 
yeild better results than i686-pc-linux-gnu, as the -gnu part specifies 
glibc.

David Daney



More information about the uClibc mailing list