master build breakages wrt threads with x86_64/i386

Florian Fainelli florian at openwrt.org
Thu Jan 10 17:48:50 UTC 2013


Hello Bernhard,

I am hitting the following build failures on uclibc's master related to 
the threads backend:

linuxthreads.old for x86_64:
   LD libpthread-0.9.34-git.so
libpthread/linuxthreads.old/libpthread_so.a(wrapsyscall.oS): In function 
`fcntl64':
wrapsyscall.c:(.text+0xd8): undefined reference to `__libc_fcntl64'
libpthread/linuxthreads.old/libpthread_so.a(wrapsyscall.oS): In function 
`lseek64':
wrapsyscall.c:(.text+0x190): undefined reference to `__libc_lseek64'
libpthread/linuxthreads.old/libpthread_so.a(wrapsyscall.oS): In function 
`pread64':
wrapsyscall.c:(.text+0x39c): undefined reference to `__libc_pread64'
collect2: error: ld returned 1 exit status
make: *** [lib/libpthread.so] Error 1

nptl for both i386 and x86_64:
   LD libpthread-0.9.34-git.so
libpthread/nptl/libpthread_so.a(unwind-forcedunwind.oS): In function 
`pthread_cancel_init':
unwind-forcedunwind.c:(.text+0x1f): undefined reference to `dlopen'
unwind-forcedunwind.c:(.text+0x49): undefined reference to `dlsym'
libpthread/nptl/libpthread_so.a(unwind-forcedunwind.oS): In function 
`__unwind_freeres':
unwind-forcedunwind.c:(__libc_freeres_fn+0x18): undefined reference to 
`dlclose'
collect2: error: ld returned 1 exit status
make: *** [lib/libpthread.so] Error 1

--
Florian


More information about the uClibc mailing list