Compiler error missing __attribute_tls_model_ie define

Khem Raj kraj at mvista.com
Thu Aug 24 10:16:00 UTC 2006


Hi Peter

I am getting this error on trunk
./include/bits/uClibc_errno.h: At top level:
./include/bits/uClibc_errno.h:22: error: expected '=', ',', ';', 'asm' 
or '__attribute__' before '__attribute_tls_model_ie'


Which I tracked down to this commit.

http://uclibc.org/lists/uclibc-cvs/2006-August/010456.html

I think we need to define it in libc-symbols.h
something like what glibc has.

#ifdef HAVE_TLS_MODEL_ATTRIBUTE
# define attribute_tls_model_ie __attribute__ ((tls_model ("initial-exec")))
#else
# define attribute_tls_model_ie
#endif

Thanks

Khem

-- 
Khem Raj <kraj at mvista.com>
MontaVista Software Inc.




More information about the uClibc mailing list