This is the mail archive of the crossgcc@sourceware.org mailing list for the crossgcc project.

See the CrossGCC FAQ for lots more information.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: uclibc + tls / mysql build fail


On Wed, Feb 24, 2010 at 11:10 PM, Enrico Weigelt <weigelt@metux.de> wrote:
> Hi folks,
>
>
> I've just tried to compile mysql, but it breaks w/ missing
> __tls_get_addr on linking the clients (which involve c++).
>
> Seems that the compiler creates tls code, which isn't supported
> by uclibc.
>
> Does anyone have an idea how to fix this ?

uclibc does not support TLS yet but gcc gets it configured wrongly because it
tests if binutils support TLS and not the libc. You should
specifically add --disable-tls to
gcc configure options when building uclibc toolchains. It will not be
needed when nptl is
available in uclibc.

-Khem

--
For unsubscribe information see http://sourceware.org/lists.html#faq


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]