Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 583432 - toolchain.eclass: Adjust for cross-compilation in prefix
Summary: toolchain.eclass: Adjust for cross-compilation in prefix
Status: RESOLVED DUPLICATE of bug 531610
Alias: None
Product: Gentoo/Alt
Classification: Unclassified
Component: Prefix Support (show other bugs)
Hardware: All OS X
: Normal normal (vote)
Assignee: Gentoo Prefix
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-05-18 19:00 UTC by Michael Weiser
Modified: 2016-06-23 00:47 UTC (History)
0 users

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


Attachments
Adjust for cross-compilation in prefix (toolchain.eclass-prefix.patch,576 bytes, patch)
2016-05-18 19:00 UTC, Michael Weiser
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Michael Weiser 2016-05-18 19:00:21 UTC
The attached patch adjusts the --with-sysroot option to configure in toolchain.eclass so that cross-toolchains can be built inside prefixes. Otherwise compilation of libgcc will fail because libc.so.6 can not be found in /usr/$CTARGET/lib instead of $EPREFIX/usr/$CTARGET/lib.

Reproducible: Always
Comment 1 Michael Weiser 2016-05-18 19:00:59 UTC
Created attachment 434636 [details, diff]
Adjust for cross-compilation in prefix
Comment 2 Benda Xu gentoo-dev 2016-06-23 00:47:02 UTC
Thanks Michael, the patch is considered in bug 531610.

*** This bug has been marked as a duplicate of bug 531610 ***