[patch] ioperm/iopl redefinition on arm

Mike Frysinger vapier at gentoo.org
Tue Mar 27 01:45:22 UTC 2012


On Tuesday 07 February 2012 19:10:44 Jason Woodward wrote:
> Attached patch fixes this:
> 
>   LD libuClibc-0.9.33.so
> libc/libc_so.a(stubs.os): In function `sync_file_range':
> stubs.c:(.text+0x0): multiple definition of `ioperm'
> libc/libc_so.a(ioperm.os):ioperm.c:(.text+0x260): first defined here
> libc/libc_so.a(stubs.os): In function `sync_file_range':
> stubs.c:(.text+0x0): multiple definition of `iopl'
> libc/libc_so.a(iopl.os):iopl.c:(.text+0x0): first defined here
> collect2: ld returned 1 exit status
> make[1]: *** [lib/libc.so] Error 1

i don't think this is correct.  the arm-specific ioperm.c code should always be 
used.  the stubs code should not attempt to provide one.  if you read the arm 
code you'd see that it doesn't use the syscall anywhere.
-mike
-------------- 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: <http://lists.busybox.net/pipermail/uclibc/attachments/20120326/be7c4b82/attachment.asc>


More information about the uClibc mailing list