uClibc 0.9.29 build problem on powerpc (issue 1289)

Wade Berrier wberrier at gmail.com
Mon Aug 11 18:32:46 UTC 2008


On Thu, Aug 7, 2008 at 9:38 AM, Wade Berrier <wberrier at gmail.com> wrote:
> Hi,
>
> I'm still seeing this on 0.9.29 (gcc 4.1 on ppc):
>
> http://busybox.net/bugs/view.php?id=1289
>
>  AS lib/crti.o
>  AS lib/crtn.o
>  STRIP -x -R .note -R .comment lib/libc.a
>  AR cr lib/libc.a
>  STRIP -x -R .note -R .comment lib/uclibc_nonshared.a
>  AR cr lib/uclibc_nonshared.a
>  AR cr libc/libc_so.a
>  LD libuClibc-0.9.29.so
> libc/libc_so.a(pread_write.os):(.text+0x14): undefined reference to
> `__illegally_sized_syscall_arg4'
> make[2]: *** [lib/libc.so] Error 1
> make[1]: *** [lib/libc.so.0] Error 2
>
> If this has been fixed already, any pointers to where that fix is?
>
> Some other references to this:
>
> http://www.busybox.net/lists/uclibc/2007-March/017682.html

I ended up applying the attached patch.  Things seem to work fine on
ppc32, but it appears that other 32/64 architectures specify both 32
and 64 offset values in there syscalls.

I'm not sure of the correct way to fix.  Anyone more familiar with
this like to chime in?

Wade
-------------- next part --------------
A non-text attachment was scrubbed...
Name: uClibc-0.9.29-powerpc_pread_write_syscall.patch
Type: text/x-diff
Size: 1198 bytes
Desc: not available
Url : http://lists.busybox.net/pipermail/uclibc/attachments/20080811/d49c768c/attachment.bin 


More information about the uClibc mailing list