Building -rc3 x86-64 NPTL failed for me.

Rob Landley rob at landley.net
Sun Mar 20 00:45:43 UTC 2011


  LD libpthread-0.9.32-rc3.so
/home/landley/play/aboriginal/build/simple-cross-compiler-x86_64/lib/../x86_64-unknown-linux/bin/ld:
libpthread/nptl/libpthread_so.a(pthread_once.oS): relocation
R_X86_64_PC32 against `__fork_generation' can not be used when making a
shared object; recompile with -fPIC
/home/landley/play/aboriginal/build/simple-cross-compiler-x86_64/lib/../x86_64-unknown-linux/bin/ld:
final link failed: Bad value

Looks like libpthread_so.a was built without -fpic...?

This was using a toolchain and config that pthreads.old worked with...

Rob


More information about the uClibc mailing list