Problems with pthreads in a chroot?
Ed W
lists at wildgooses.com
Mon Oct 18 22:41:14 UTC 2010
On 18/10/2010 20:28, Natanael Copa wrote:
> fwiw, for us the nptl from git have been better/more stable than any
> other threading implementation before. Infact, for x86, uclibc git
> master have been better than any previous release, ever. (at least up
> to the point config parser stuff got committed - but i think those
> issues are fixed to now)
>
Any chance of a little help here please:
Grabbed latest git, compiled using the .config from Natanael's alpine
git, I get near the end the following compile error:
(http://git.alpinelinux.org/cgit/aports/plain/main/libc0.9.32/uclibcconfig.x86)
....
CC libpthread/nptl/sysdeps/unix/sysv/linux/jmp-unwind.os
libpthread/nptl/sysdeps/unix/sysv/linux/jmp-unwind.c:29: warning: no
previous prototype for '_longjmp_unwind'
AS libpthread/nptl/sysdeps/unix/sysv/linux/close.os
AS libpthread/nptl/sysdeps/unix/sysv/linux/open.os
AS libpthread/nptl/sysdeps/unix/sysv/linux/write.os
AS libpthread/nptl/sysdeps/unix/sysv/linux/read.os
AS libpthread/nptl/sysdeps/unix/sysv/linux/waitpid.os
CC libpthread/nptl/alloca_cutoff.os
libpthread/nptl/alloca_cutoff.c:27: warning: no previous prototype for
'__libc_alloca_cutoff'
CC libpthread/nptl/libc-cancellation.os
CC libpthread/nptl/sysdeps/generic/libc-tls.os
libpthread/nptl/sysdeps/generic/libc-tls.c:114: warning: no previous
prototype for '__libc_setup_tls'
libpthread/nptl/sysdeps/generic/libc-tls.c:249: warning: no previous
prototype for '__pthread_initialize_minimal'
CC libpthread/nptl/sysdeps/generic/dl-tls.os
libpthread/nptl/sysdeps/generic/dl-tls.c:69: warning: no previous
prototype for '_dl_memalign'
libpthread/nptl/sysdeps/generic/dl-tls.c:840: warning: no previous
prototype for '_dl_add_to_slotinfo'
CC libc/sysdeps/linux/common/ssp-local.os
CC libc/misc/elf/dl-support.os
CC libc/misc/elf/dl-core.os
CC libc/misc/elf/dl-iterate-phdr.os
CC libc/misc/internals/__uClibc_main.os
libc/misc/internals/__uClibc_main.c: In function '__uClibc_main':
libc/misc/internals/__uClibc_main.c:484: warning: nested extern
declaration of '__nptl_deallocate_tsd'
libc/misc/internals/__uClibc_main.c:494: warning: nested extern
declaration of '__nptl_nthreads'
CC libc/inet/rpc/rpc_thread.os
CC libc/stdlib/atexit.os
CC libc/stdlib/system.os
AR cr lib/libc.a
STRIP -x -R .note -R .comment lib/libc.a
AR cr lib/uclibc_nonshared.a
STRIP -x -R .note -R .comment lib/uclibc_nonshared.a
AR cr libc/libc_so.a
STRIP -x -R .note -R .comment libc/libc_so.a
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?
Grateful for any pointers
Thanks
Ed W
More information about the uClibc
mailing list