mmap64: use INLINE_SYSCALL() helper fails for ppc

Mike Frysinger vapier at
Thu Apr 12 23:43:44 UTC 2012

On Thursday 12 April 2012 19:38:08 Khem Raj wrote:
> I am seeing build failure on ppc
> | libc/libc_so.a(mmap64.os): In function `mmap64':
> | /home/kraj/work/openembedded-core/build/tmp-uclibc/work/ppc603e-oe-linux-
> undefined reference to `__illegally_sized_syscall_arg6'
> | collect2: error: ld returned 1 exit status
> It could be related to
> Author: Mike Frysinger <vapier at>
> Date:   Wed Apr 11 16:05:08 2012 -0400
>     mmap64: use INLINE_SYSCALL() helper

i was assuming INLINE_SYSCALL() would implicitly cast down the sizes, but i 
guess this is kind of better ... it forces you to add casts when you know it's 
ok, but errors out when you missed something.

i'll commit a fix shortly (just to case it down to 32bits).
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: This is a digitally signed message part.
URL: <>

More information about the uClibc mailing list