Does uclibc support TLS

raymond zhao raymond.zhao.ml at gmail.com
Wed Feb 23 20:30:25 UTC 2011


> add --disable-tls to your configure commandline

Unfortunately, we do not use auto config in this package. What will be put
into makefile if apply --disable-tls in configure?

thanks,
raymond


On Wed, Feb 23, 2011 at 2:31 PM, Khem Raj <raj.khem at gmail.com> wrote:

> On Wed, Feb 23, 2011 at 11:29 AM, raymond zhao
> <raymond.zhao.ml at gmail.com> wrote:
> > Hi, Mike
> > Thanks for making it clear.
> > Do you know which version of uclibc has TLS support?
>
> currently master. It will be in the next release.
>
> > And, could you give me more detail information on how to disable TLS in
> GCC?
>
> add --disable-tls to your configure commandline
>
> > Did not get the answer from Google and 'man gcc'. :-(
> >
> > Thanks very much,
> >
> > Raymond
> >
> > On Wednesday, February 23, 2011 13:24:43 raymond zhao wrote:
> >> I am building some application with uclibc. and got an error:
> >>
> >> uclibc/sysroot/lib/libstdc++.so: undefined reference to `__tls_get_addr'
> >>
> >> Does this mean uclibc doesn't support TLS? My uclibc is 0.90.30.3
> >
> > TLS isnt in that version
> >
> >> Is there some trick to solve the problem?
> >
> > disable tls in your gcc
> > -mike
> > _______________________________________________
> > uClibc mailing list
> > uClibc at uclibc.org
> > http://lists.busybox.net/mailman/listinfo/uclibc
> >
>


More information about the uClibc mailing list