Has anybody actually tested x86-64 with NPTL in 0.9.33.1?

Bernhard Reutner-Fischer rep.dot.nop at gmail.com
Tue May 15 17:16:12 UTC 2012


On Mon, May 14, 2012 at 06:04:41PM -0500, Rob Landley wrote:
>Attempting to build NPTL on x86-64 does this:
>
>  LD libpthread-0.9.33.2-git.so
>/home/landley/aboriginal/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/aboriginal/aboriginal/build/simple-cross-compiler-x86_64/lib/../x86_64-unknown-linux/bin/ld:
>final link failed: Bad value

Old toolchain, maybe? Please mail me that .config.

>make[1]: Leaving directory `/home/perl/dist/threads-shared'
>LD_LIBRARY_PATH=/home/perl  ./perl -f -Ilib pod/buildtoc --build-toc -q
>./perl: Can't resolve symbol '__pthread_mutex_lock'

IIRC that one comes from f69319d5a7d3a3ccb46b28ee2b0fd9053c6415ac
so you might just revert it or have a closer look in order to suggest a
fix (i don't remember offhand if this behaves in 0.9.33.2).


More information about the uClibc mailing list