arm oabi __NR_syscall undefined
Geerts Steven
Steven.Geerts at thomson.net
Fri Apr 20 09:43:12 UTC 2007
Hi
I'm trying to build a gcc 4.1.2 toolchain for arm oabi support, but it
fails because __NR_syscall is undefined.
This syscall gets undefined in include/asm-arm/unistd.h of the linux
kernel, but only when arm-eabi is selected.
#if defined(__ARM_EABI__) && !defined(__KERNEL__
<http://lxr.linux.no/ident?i=__KERNEL__> )
390 <http://lxr.linux.no/source/include/asm-arm/unistd.h#L390> #undef
__NR_time <http://lxr.linux.no/ident?i=__NR_time>
391 <http://lxr.linux.no/source/include/asm-arm/unistd.h#L391> #undef
__NR_umount <http://lxr.linux.no/ident?i=__NR_umount>
392 <http://lxr.linux.no/source/include/asm-arm/unistd.h#L392> #undef
__NR_stime <http://lxr.linux.no/ident?i=__NR_stime>
393 <http://lxr.linux.no/source/include/asm-arm/unistd.h#L393> #undef
__NR_alarm <http://lxr.linux.no/ident?i=__NR_alarm>
394 <http://lxr.linux.no/source/include/asm-arm/unistd.h#L394> #undef
__NR_utime <http://lxr.linux.no/ident?i=__NR_utime>
395 <http://lxr.linux.no/source/include/asm-arm/unistd.h#L395> #undef
__NR_getrlimit <http://lxr.linux.no/ident?i=__NR_getrlimit>
396 <http://lxr.linux.no/source/include/asm-arm/unistd.h#L396> #undef
__NR_select <http://lxr.linux.no/ident?i=__NR_select>
397 <http://lxr.linux.no/source/include/asm-arm/unistd.h#L397> #undef
__NR_readdir <http://lxr.linux.no/ident?i=__NR_readdir>
398 <http://lxr.linux.no/source/include/asm-arm/unistd.h#L398> #undef
__NR_mmap <http://lxr.linux.no/ident?i=__NR_mmap>
399 <http://lxr.linux.no/source/include/asm-arm/unistd.h#L399> #undef
__NR_socketcall <http://lxr.linux.no/ident?i=__NR_socketcall>
400 <http://lxr.linux.no/source/include/asm-arm/unistd.h#L400> #undef
__NR_syscall <http://lxr.linux.no/ident?i=__NR_syscall>
401 <http://lxr.linux.no/source/include/asm-arm/unistd.h#L401> #undef
__NR_ipc <http://lxr.linux.no/ident?i=__NR_ipc>
402 <http://lxr.linux.no/source/include/asm-arm/unistd.h#L402> #endif
So why does this gets undefined and how, where does it holds the .config
of the kernel (how does it come into this define) because ARM_EABI
should not be set during this configuration. Does it read out a default
kernel .configuration, can I fix this????
Best regards
Steven
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.busybox.net/pipermail/uclibc/attachments/20070420/94e594c6/attachment-0002.htm
More information about the uClibc
mailing list