Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 117254 - catalyst may run {gcc,binutils}-config wrongly in prepping stage1
Summary: catalyst may run {gcc,binutils}-config wrongly in prepping stage1
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Hosted Projects
Classification: Unclassified
Component: Catalyst (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Catalyst Developers
URL:
Whiteboard:
Keywords: InVCS
Depends on:
Blocks:
 
Reported: 2005-12-30 23:46 UTC by SpanKY
Modified: 2006-01-04 12:36 UTC (History)
0 users

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


Attachments
catalyst-gcc-binutils-config-CHOST.patch (catalyst-gcc-binutils-config-CHOST.patch,1007 bytes, patch)
2005-12-30 23:47 UTC, SpanKY
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description SpanKY gentoo-dev 2005-12-30 23:46:00 UTC
if you're cross-building (i.e. the build CHOST you're running catalyst on is diff from the CHOST used in the stage files), then the gcc-config/binutils-config will think they're setting up cross-compilers instead of native-compilers

this is mostly a limitation in portage (portageq doesnt respect ROOT when gathering envvar's), but it can be workedaround quite easily in catalyst ... just run with CHOST=${clst_CHOST} like ROOT now
Comment 1 SpanKY gentoo-dev 2005-12-30 23:47:49 UTC
Created attachment 75853 [details, diff]
catalyst-gcc-binutils-config-CHOST.patch
Comment 2 Chris Gianelloni (RETIRED) gentoo-dev 2006-01-04 11:50:58 UTC
Added to CVS
Comment 3 Chris Gianelloni (RETIRED) gentoo-dev 2006-01-04 12:36:00 UTC
Fixed in 2.0_rc13