Compiler error missing __attribute_tls_model_ie define
Peter S. Mazinger
ps.m at gmx.net
Thu Aug 24 04:17:07 PDT 2006
On Thu, 24 Aug 2006, Peter S. Mazinger wrote:
> On Thu, 24 Aug 2006, Khem Raj wrote:
>
> > 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'
>
> You should also tell me, that you somehow enabled TLS (USE___THREAD is
> on for you, I wonder how you managed that, are you maybe using some
> trunk-nptlbranch mixup?), that case will only be possible when at least
> the TLS related stuff is committed from nptl branch
>
> > 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
>
> maybe some other condition, we do not have autoconf ...
It is defined in include/libc-symbols.h already, guarded for NPTL only and
I dont think it should define an empty attribute_tls_model_ie, it should
fail as it fails for you until it can be supported correctly
Peter
>
> > # define attribute_tls_model_ie __attribute__ ((tls_model ("initial-exec")))
> > #else
> > # define attribute_tls_model_ie
> > #endif
> >
> > Thanks
> >
> > Khem
> >
> >
>
>
--
Peter S. Mazinger <ps dot m at gmx dot net> ID: 0xA5F059F2
Key fingerprint = 92A4 31E1 56BC 3D5A 2D08 BB6E C389 975E A5F0 59F2
More information about the uClibc
mailing list