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
1 On 12/18/12 15:14, Fabian Groffen wrote:
2 > On 18-12-2012 12:42:49 +0000, Alan Hourihane wrote:
3 >> On 12/18/12 11:42, Alan Hourihane wrote:
4 >>> Hi all,
5 >>>
6 >>> When coming to the end of the stage3 I see we try to do a gcc-config
7 >>> but this fails as CHOST isn't yet set with....
8 >>>
9 >>> * gcc-config: Could not get portage CHOST!
10 >>> * gcc-config: You should verify that CHOST is set in one of these places:
11 >>> * gcc-config: - /export/home/alanh/gentoo//etc/portage/make.conf
12 >>> * gcc-config: - active environment
13 >>>
14 >>> I see in the bootstrap guide, it mentions setting CHOST for getting
15 >>> 64bit native, but nothing about needing to set it in the environment.
16 >>>
17 >>> Is this required ?
18 >> Funny, that gcc-config has all sorts of stuff trying to figure out the
19 >> REAL_CHOST, whereas binutils-config doesn't and gets it right.
20 >>
21 >> Anyway, I had to set REAL_CHOST to sparc-sun-solaris2.10 for things to
22 >> continue correctly.
23 > and what /was/ your CHOST?
24 >
25
26 I didn't set it.
27
28 Alan.