Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 63329 - ARCH_WRAPPER support
Summary: ARCH_WRAPPER support
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Core - Ebuild Support (show other bugs)
Hardware: All All
: High enhancement (vote)
Assignee: Portage team
Depends on:
Reported: 2004-09-08 10:01 UTC by Travis Tilley (RETIRED)
Modified: 2007-01-11 13:38 UTC (History)
0 users

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


Note You need to log in before you can comment on or make changes to this bug.
Description Travis Tilley (RETIRED) gentoo-dev 2004-09-08 10:01:50 UTC
i need ARCH_WRAPPER support in portage for easily handling libdir and CC settings via profile.bashrc. this blocks adding glibc-multilib.

the linux32 wrapper on amd64 simply returns "i686" when running uname -m. running from a wrapper allows me to use uname -m output to determine sane defaults. here is an example chunk from my profile.bashrc:

[ "$(uname -m)" == "x86_64" ] && CONF_LIBDIR="${CONF_LIBDIR:=lib64}" || \

now when i emerge zlib normally, it gets installed to lib64. if i "linux32 emerge zlib", it gets installed to lib32.

another example of what i want to do with this:
[ "$(uname -m)" == "i686" ] && CC="gcc32"

etc, etc. amd64 isnt the only arch with a wrapper available to make things easy, so this plan of attack could be recycled and used on all multilib archs.

even when not using profile.bashrc this would be useful. certain apps such as openssl and helix player wont compile 32bit at all on amd64 unless run through the wrapper.
Comment 1 Travis Tilley (RETIRED) gentoo-dev 2004-09-08 10:17:23 UTC
errr... i forgot a few details in my description. heh.

so if an ebuild is to be non-main bitdepth only (like glibc-multilib), it could set USE_ARCH_WRAPPER="true" in global.
Comment 2 Travis Tilley (RETIRED) gentoo-dev 2004-09-08 12:35:28 UTC
i neglected to mention that linux32 is a standard tool present on all amd64 installations and is already used by catalyst to build x86 stages on amd64. sorry about the confusion.
Comment 3 Travis Tilley (RETIRED) gentoo-dev 2004-09-30 23:20:03 UTC
changing to enhancement request for when work is done on a multilib portage
Comment 4 Jason Stubbs (RETIRED) gentoo-dev 2005-07-28 07:25:28 UTC
Putting a hold on feature requests for portage as they are drowning out the 
bugs. Most of these features should be available in the next major version of 
portage. But for the time being, they are just drowning out the major bugs and 
delaying the next version's progress. 
Any bugs that contain patches and any bugs for etc-update or dispatch-conf can 
be reopened. Sorry, I'm just not good enough with bugzilla. ;) 
Comment 5 Marius Mauch (RETIRED) gentoo-dev 2007-01-11 13:38:13 UTC
Closin due to old age (pretty sure multilib stuff has been redesigned at least once since).