[patch] ioperm/iopl redefinition on arm

Jason Woodward jason.woodward at timesys.com
Mon Mar 26 14:18:04 UTC 2012


Bernhard,

> >> 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
> 
> Applied to master.
> Thanks!
 
Here is an update, reducing the code guarded by the #ifdef.  The
previous caused later usage errors with in* and out* not being
available.


take care,
jason
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-ioperm-reduce-code-guarded-by-ifdef-__NR_ioperm.patch
Type: text/x-diff
Size: 1224 bytes
Desc: not available
URL: <http://lists.busybox.net/pipermail/uclibc/attachments/20120326/1303f40e/attachment.bin>


More information about the uClibc mailing list