So the NPTL versions of i686 and arm-eabi build with the same invocation pthreads.old used, but none of the other targets I've tried do. Instead those fail with:
libpthread/nptl/libpthread_so.a(pthread_once.oS): In function `__pthread_once_internal': pthread_once.c:(.text+0x78): undefined reference to `_Unwind_SjLj_Register' libpthread/nptl/libpthread_so.a(pthread_once.oS): In function `.L15': pthread_once.c:(.text+0x164): undefined reference to `_Unwind_SjLj_Resume' pthread_once.c:(.text+0x16c): undefined reference to `_Unwind_SjLj_Unregister' pthread_once.c:(.text+0x180): undefined reference to `__gcc_personality_sj0' collect2: ld returned 1 exit status Those symbols live in libgcc_eh.a so I tried adding that to the end of the build command line. Now it dies with: /home/landley/play/aboriginal/build/simple-cross-compiler-armv4l/bin/../cc/lib/libgcc_eh.a(unwind-sjlj.o): In function `_Unwind_GetCFA': unwind-sjlj.c:(.text+0x54): multiple definition of `_Unwind_GetCFA' libpthread/nptl/libpthread_so.a(unwind-forcedunwind.oS):unwind-forcedunwind.c:(.text+0x108): first defined here /home/landley/play/aboriginal/build/simple-cross-compiler-armv4l/lib/../armv4l-unknown-linux/bin/ld: Warning: size of symbol `_Unwind_GetCFA' changed from 64 in libpthread/nptl/libpthread_so.a(unwind-forcedunwind.oS) to 16 in /home/landley/play/aboriginal/build/simple-cross-compiler-armv4l/bin/../cc/lib/libgcc_eh.a(unwind-sjlj.o) collect2: ld returned 1 exit status I am kind of amused that the uClibc version is 64 bytes and the gcc version is 16... Rob _______________________________________________ uClibc mailing list [email protected] http://lists.busybox.net/mailman/listinfo/uclibc
