Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 197720 - dev-libs/libaio-0.3.106-r1 fails for cross compile
Summary: dev-libs/libaio-0.3.106-r1 fails for cross compile
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-11-01 03:29 UTC by Aaron Carroll
Modified: 2008-09-15 02:53 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
Fix issues with libaio-0.3.106-r1 as described above. (libaio-0.3.106-r1.patch,742 bytes, patch)
2007-11-01 03:30 UTC, Aaron Carroll
Details | Diff
Fix issues with libaio-0.3.106-r1 as described above (libaio-0.3.106-r1.patch,1.46 KB, patch)
2007-11-01 03:33 UTC, Aaron Carroll
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Aaron Carroll 2007-11-01 03:29:14 UTC
When building libaio, the compiler defaults to `cc'.  This means an incorrect binary is produced if cross-compiling.

The attached patch fixes this, along with a bunch of other problems:
 - Missing quotes on $S and $D.
 - Non-cross-compile-safe setting of $ARCH (emerge seems to set this correctly).
 - Use of make instead of emake.
 - Redundant dodoc COPYING.
Comment 1 Aaron Carroll 2007-11-01 03:30:12 UTC
Created attachment 134861 [details, diff]
Fix issues with libaio-0.3.106-r1 as described above.
Comment 2 Aaron Carroll 2007-11-01 03:33:22 UTC
Created attachment 134863 [details, diff]
Fix issues with libaio-0.3.106-r1 as described above

Sorry, forgot -u on first patch.
Comment 3 Jeremy Olexa (darkside) (RETIRED) archtester gentoo-dev Security 2008-09-15 02:53:02 UTC
added as -r2. Better late than never, thanks for your contribution.