uclibc + tls / mysql build fail
Fri Feb 26 00:09:00 GMT 2010
On Wed, Feb 24, 2010 at 11:10 PM, Enrico Weigelt <firstname.lastname@example.org> 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.
For unsubscribe information see http://sourceware.org/lists.html#faq
More information about the crossgcc