Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 17483 - Cannot set CHOST flag in stage1, want to compile for i586 on i686
Summary: Cannot set CHOST flag in stage1, want to compile for i586 on i686
Status: RESOLVED FIXED
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Unclassified (show other bugs)
Hardware: x86 Linux
: High major (vote)
Assignee: Gentoo Release Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-03-14 02:29 UTC by Jan-Erik Skata
Modified: 2011-10-30 22:17 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jan-Erik Skata 2003-03-14 02:29:29 UTC
I am installing Gentoo 1.4 rc3 for an old machine, Pentium MMX. Compiling on a
dual Celeron machine.
Now, it seems I can
Comment 1 Jan-Erik Skata 2003-03-14 02:29:29 UTC
I am installing Gentoo 1.4 rc3 for an old machine, Pentium MMX. Compiling on a
dual Celeron machine.
Now, it seems I can´t set the host flag, after starting bootstrap, it reinstalls
Portage and overwrites /etc/make.conf. So it starts compiling with
CHOST="i686-pc-linux-gnu" instead of CHOST="i586-pc-linux-gnu".

I also want to set CFLAGS="-march=pentium-mmx -O3 -pipe"

Is this a bug? Or will the produced code run on i586?
I´ve tried to change it again right after emerging Portage, but I see when it is
configuring packages it still uses the default value. 

Or do I have to get a stage2 tarball?

Reproducible: Always
Steps to Reproduce:
1.
2.
3.
Comment 2 Brad Cowan (RETIRED) gentoo-dev 2003-03-14 12:36:56 UTC
Seems to me that this is just the overwriting make.conf bug that has been discussed so many times and recently been addressed. Your flags are honored just they get overwritten and replaced later, but if you cntrl-c during bootstrap they will need re-configured...this has been addressed and will be fixed in later versions of portage.
Comment 3 Sven Vermeulen (RETIRED) gentoo-dev 2003-08-04 07:25:13 UTC
This has been fixed.