arm-oabi and mips and such not building for me with NPTL.

Peter Mazinger ps.m at gmx.net
Fri Mar 18 14:51:14 UTC 2011


Hi Rob

> 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

if that is missing from libgcc*, you might want to compile gcc with
--enable-sjlj-exceptions

Peter
-- 
NEU: FreePhone - kostenlos mobil telefonieren und surfen!			
Jetzt informieren: http://www.gmx.net/de/go/freephone


More information about the uClibc mailing list