On 09/21/14 11:45, Eugene Rudoy wrote:
Hi all,

just wanted to point out that since f99df0f182
<http://git.uclibc.org/uClibc/commit/?h=0.9.33&id=f99df0f182498402a1f267b3f419a5bda864ad85>
0.9.33-branch fails to compile with the following error:


libc/sysdeps/linux/common/fallocate64.c: In function '__libc_fallocate64':
libc/sysdeps/linux/common/fallocate64.c:29:1: error: macro
"internal_syscall6" requires 10 arguments, but only 8 given
    OFF64_HI_LO (offset), OFF64_HI_LO (len)));
  ^
In file included from ./include/sys/syscall.h:34:0,
                  from libc/sysdeps/linux/common/fallocate64.c:11:
./include/bits/syscalls.h:39:2: error: 'internal_syscall6' undeclared
(first use in this function)
   internal_syscall##nr (, "li\t$2, %2\t\t\t# " #name "\n\t", \
   ^
libc/sysdeps/linux/common/fallocate64.c:28:15: note: in expansion of macro
'INTERNAL_SYSCALL'
   ret = (int) (INTERNAL_SYSCALL(fallocate, err, 6, fd, mode,
                ^
./include/bits/syscalls.h:39:2: note: each undeclared identifier is
reported only once for each function it appears in
   internal_syscall##nr (, "li\t$2, %2\t\t\t# " #name "\n\t", \
   ^
libc/sysdeps/linux/common/fallocate64.c:28:15: note: in expansion of macro
'INTERNAL_SYSCALL'
   ret = (int) (INTERNAL_SYSCALL(fallocate, err, 6, fd, mode,
                ^
make[1]: *** [libc/sysdeps/linux/common/fallocate64.os] Error


The reason is that OFF64_HI_LO macro is not available in 0.9.33.

Fix: it's either f6a03f19cf
<http://git.uclibc.org/uClibc/commit?id=f6a03f19cf2807170717593b4de8056a1248b99b>
should also be merged to 0.9.33 (I would say the better and the easier
solution) or OFF64_HI_LO should be reimplemented in-place as it was before
f99df0f182.

Best,
Gene
_______________________________________________
uClibc mailing list
[email protected]
http://lists.busybox.net/mailman/listinfo/uclibc


I did a compile test but missed this because I was on amd64. I assume you are on x86 or some other 32-bit? I'll test with f6a03f19cf for both __WORDSIZE == 64 and 32.

--
Anthony G. Basile, Ph. D.
Chair of Information Technology
D'Youville College
Buffalo, NY 14201
(716) 829-8197
_______________________________________________
uClibc mailing list
[email protected]
http://lists.busybox.net/mailman/listinfo/uclibc

Reply via email to