Gentoo Archives: gentoo-alt

From: Alan Hourihane <alanh@×××××××××××.uk>
To: gentoo-alt@l.g.o
Subject: Re: [gentoo-alt] Bootstrap stage3 fails because CHOST not set
Date: Tue, 18 Dec 2012 21:03:39
Message-Id: 50D0B6D5.2050508@fairlite.co.uk
In Reply to: Re: [gentoo-alt] Bootstrap stage3 fails because CHOST not set by Fabian Groffen
On 12/18/12 15:14, Fabian Groffen wrote:
> On 18-12-2012 12:42:49 +0000, Alan Hourihane wrote: >> On 12/18/12 11:42, Alan Hourihane wrote: >>> Hi all, >>> >>> When coming to the end of the stage3 I see we try to do a gcc-config >>> but this fails as CHOST isn't yet set with.... >>> >>> * gcc-config: Could not get portage CHOST! >>> * gcc-config: You should verify that CHOST is set in one of these places: >>> * gcc-config: - /export/home/alanh/gentoo//etc/portage/make.conf >>> * gcc-config: - active environment >>> >>> I see in the bootstrap guide, it mentions setting CHOST for getting >>> 64bit native, but nothing about needing to set it in the environment. >>> >>> Is this required ? >> Funny, that gcc-config has all sorts of stuff trying to figure out the >> REAL_CHOST, whereas binutils-config doesn't and gets it right. >> >> Anyway, I had to set REAL_CHOST to sparc-sun-solaris2.10 for things to >> continue correctly. > and what /was/ your CHOST? >
I didn't set it. Alan.