Problems with pthreads in a chroot?
Timo Teräs
timo.teras at iki.fi
Tue Oct 19 05:56:49 UTC 2010
On 10/19/2010 01:41 AM, Ed W wrote:
> LD libuClibc-0.9.32-git.so
> libc/libc_so.a(sigaction.os): In function `sigaction':
> sigaction.c:(.text.__sigaction+0x20): undefined reference to
> `__emutls_get_address'
> libc/libc_so.a(close.oS): In function `__GI___close_nocancel':
> (.text+0x55): undefined reference to `__libc_errno'
> collect2: ld returned 1 exit status
> make: *** [lib/libc.so] Error 1
>
> Software versions:
> gcc version 4.4.4 (Gentoo Hardened 4.4.4-r2 p1.2, pie-0.4.5)
> GNU Make 3.81
> build root running uclibc-0.9.31
>
> I think this is a gcc specific issue right? Or is it related to trying
> to build uclibc on uclibc?
Did you configure gcc with -enable-tls and --enable-threads?
What does "gcc -v" say?
- Timo
More information about the uClibc
mailing list