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

Replies

Subject Author
Re: [gentoo-alt] Bootstrap stage3 fails because CHOST not set Fabian Groffen <grobian@g.o>