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-
uclibc/uclibc-0.9.33+gitra7c4e889e9c36fc19198654ada229aaa11955ee6-
r6.0/git/libc/sysdeps/linux/common/mmap64.c:60:
> undefined reference to `__illegally_sized_syscall_arg6'
> 
> | collect2: error: ld returned 1 exit status
> 
> It could be related to
> 
> Author: Mike Frysinger <vap...@gentoo.org>
> 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).
-mike

Attachment: signature.asc
Description: This is a digitally signed message part.

_______________________________________________
uClibc mailing list
uClibc@uclibc.org
http://lists.busybox.net/mailman/listinfo/uclibc

Reply via email to