Gentoo Archives: gentoo-user

From: Jean-Marc Beaune <jm.beaune@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] CHOST recursive problem
Date: Tue, 05 Sep 2006 05:39:02
Message-Id: 8349216a0609042233m58d16ce4t1cf4ce9a34b9741c@mail.gmail.com
In Reply to: Re: [gentoo-user] CHOST recursive problem by Paul Varner
1 Hi,
2
3 Just a stupid question : What is bootstrap.sh used for ?
4
5 Thanks
6 /JM
7
8
9 On 9/5/06, Paul Varner <fuzzyray@g.o> wrote:
10 >
11 > On Tue, 2006-09-05 at 05:18 +0200, Meino Christian Cramer wrote:
12 > > Hi,
13 > >
14 > > due to my installation fault half a year ago, I have to change CHOST
15 > > from i386* to i686* to be able to install gcc-4.1 & Co. since a
16 > > better CPU as i386* is needed. I am running an
17 > > AMD Athlon(tm) 64 X2 Dual Core Processor 3800+.
18 > >
19 > > As discussed previously it was suggested to change CHOST and do
20 > > a emerge -e system; emerge -e world then following the gcc-upgrade-
21 > > and gentoo-upgrade-guide.
22 > >
23 > > I tried that (after doing a backup of my whole system), but failed as
24 > > soon gcc was needed, cause the corrected CHOST implies, that there is
25 > > gcc already there, which supports (at least by its name...) the "new"
26 > > CPU. But my old ( == current, not upgraded) gcc is named after the
27 > > wrong CHOST nameing (i386-pc-linux-gnu).
28 > >
29 > > Naturally none of the tools was able to find the "new" gcc -- or
30 > > using the old one instead.
31 > >
32 > > The situation now is:
33 > > To upgrade to the new gcc-4.1 I & Co. have to change CHOST in
34 > > beforehand. After changing CHOST no compiler will be found and I
35 > > will no longer be able to upgrade to gcc-4.1 & Co.
36 > >
37 > > Recursive doom ?
38 >
39 > I have no guarantee that this will work, but try the following:
40 >
41 > 0. Make sure backup is up to date
42 > 1. Change CHOST in /etc/make.conf
43 > 2. cd /usr/portage/scripts
44 > 3. ./bootstrap.sh
45 > 4. emerge -e system
46 > 5. emerge -e world
47 >
48 > Regards,
49 > Paul
50 >
51 > --
52 > gentoo-user@g.o mailing list
53 >
54 >

Replies

Subject Author
Re: [gentoo-user] CHOST recursive problem Zac Slade <krakrjak@××××××××××.net>