[patch] ioperm/iopl redefinition on arm

Mike Frysinger vapier at gentoo.org
Tue Mar 27 02:35:21 UTC 2012


On Monday 26 March 2012 21:45:22 Mike Frysinger wrote:
> 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.

i've pushed a fix that should disable the stubs for arm.  please verify.
-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/dafd9ef5/attachment.asc>


More information about the uClibc mailing list