NPTL & ARM

Will Wagner will_wagner at carallon.com
Thu Dec 13 18:08:30 UTC 2007


Thanks for the reply. So I am trying to build uClibc through buildroot 
on arm with nptl.

It fails with this error:

./libpthread/linuxthreads/sysdeps/arm/pt-machine.h:39: warning: C99
inline functions are not supported; using GNU89
./libpthread/linuxthreads/sysdeps/arm/pt-machine.h:39: warning: to
disable this warning use -fgnu89-inline or the gnu_inline function
attribute
In file included from
libpthread/linuxthreads/sysdeps/pthread/errno-loc.c:22:
./libpthread/linuxthreads/internals.h:538: warning: C99 inline functions
are not supported; using GNU89
libpthread/linuxthreads/sysdeps/pthread/errno-loc.c:23:27: error:
sysdep-cancel.h: No such file or directory
make[1]: *** [libpthread/linuxthreads/sysdeps/pthread/errno-loc.os]
Error 1
make[1]: Leaving directory
`/home/willw/buildroot/toolchain_build_arm/uClibc-0.9.29'
make: ***
[/home/willw/buildroot/toolchain_build_arm/uClibc-0.9.29/lib/libc.a]
Error 2


Looking at uClibc (0.2.29) it does indeed seem that there is no arm 
folder in uClibc-0.9.29\libpthread\linuxthreads\sysdeps\unix\sysv\linux 
which is where sysdep-cancel.h appears it should be located for other 
architectures.

Any help on fixing this would be great.

Thanks,

Will.

Khem Raj wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> Will Wagner wrote:
>> Is NPTL supported under ARM?
> 
> yes.
> 
>> Have seen a few posts suggesting that it is not but also seen a patch 
>> from CodeSourcery that is a little old and I wondered if it had been 
>> applied?
> 
> Not yet. This patch will be merged with rest of nptl work for other
> arches which Steven has initiated.
> 
>> Thanks,
>>
>> Will.
> 
> 
> - --
> Khem Raj
> MontaVista Software Inc.
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.7 (MingW32)
> Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
> 
> iD8DBQFHYVpJUjbQJxVzeZQRAkgbAKCHR13SgHOiOnl3JVJ25kjDEhz30ACggEIG
> r5jV8Zdj9YQsDgGpezaFOtk=
> =SLJZ
> -----END PGP SIGNATURE-----

-- 
------------------------------------------------------------------------
Will Wagner                                     will_wagner at carallon.com
Senior Project Engineer                  Office Tel: +44 (0)20 7371 2032
Carallon Ltd, Studio G20, Shepherds Building, Rockley Rd, London W14 0DA
------------------------------------------------------------------------





More information about the uClibc mailing list