[Aboriginal] Aboriginal post from dahalls at gmail.com requires approval
David Halls
dahalls at gmail.com
Sun Nov 2 23:18:15 PST 2014
Sure:
(x86_64:1) /home/source/go/src # cat test.c
__thread int foo;
int main(int argc, char**argv)
{
}
(x86_64:1) /home/source/go/src # gcc test.c
(x86_64:1) /home/source/go/src # ./a.out
On 1 November 2014 23:54, Rob Landley <rob at landley.net> wrote:
> On 11/01/14 17:03, David Halls wrote:
> > Thanks Rob.
> >
> > Regarding the TLS problem, I added:
> >
> > UCLIBC_HAS_TLS=y
> >
> > to baseconfig-uClibc but am still getting:
> >
> > Program uses unsupported TLS data!
> >
> > It seems the code in ldso.c which does this checks for USE_TLS, which
> > should be set because native threads are configured, right?
>
> Ah, the old "has" vs "use" nonsense uClibc kept doing:
>
> http://lists.uclibc.org/pipermail/uclibc/2009-July/042818.html
>
> Is there a reasonably small tls test program I can use to check if I've
> enabled it right? I can take another crack at it, but don't currently
> know what success looks like so can't tell when I've done it.
>
> Rob
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.landley.net/pipermail/aboriginal-landley.net/attachments/20141103/d7bdf26e/attachment-0001.htm>
More information about the Aboriginal
mailing list