Gentoo Archives: gentoo-dev

From: Paul de Vrieze <pauldv@g.o>
To: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] Re: Re: bootstrapping since gcc 3.4 is stable
Date: Fri, 27 Jan 2006 10:20:37
Message-Id: 200601271118.02386.pauldv@gentoo.org
In Reply to: [gentoo-dev] Re: Re: bootstrapping since gcc 3.4 is stable by MIkey
1 On Thursday 26 January 2006 17:17, MIkey wrote:
2 > Paul de Vrieze wrote:
3 > > The "way around this" would be to change bootstrap.sh back to building a
4 > > minimal version of the current version that is then used to compile the
5 > > rest of the system, including the C library and gcc itself. Between this
6 > > however the original bootstrap compiler could be removed.
7 > >
8 > > This however goes deep into bootstrapping a linux system. A complicated
9 > > matter that is not for the weak of heart.
10 >
11 > The bootstrap.sh script, with minor bugfixes and perhaps a pause after the
12 > gcc build, is a perfectly working method of bootstrapping gentoo.
13 >
14 > Another small fact has been glossed over. The stage3 method first upgrades
15 > gcc-3.3.5 to gcc-3.3.6, then gcc-3.4.4. An incredible waste of time that
16 > easily avoided by installing from a stage1 instead of a stage3. Yes, you
17 > could run bootstrap.sh on a stage3 tarball, but that is not what the
18 > documentation tells the users to do.
19
20 Running a bootstrap when not bootstrapping is also completely unsupported and
21 may give you very strange results. Doing it with less compilation is
22 possible, but requires some portage overriding with --nodeps. The
23 documentation is mainly supposed to work always, not be the most efficient
24 way to do things.
25
26 > As a process to get gentoo installed the stage3 method sucks, period.
27 > There is absolutely no advantage to it over a stage1 whatsoever. At
28 > certain times when the stage3 tarball was only released one week previous
29 > and there have been no major upgrades, you might save time. That is a very
30 > limited window of advantage. Installing from stage1 narrows down what
31 > problems can happen considerably and would be much easier to support in the
32 > long run.
33
34 First of all, the object to be as fast as possible has been dropped as main
35 gentoo goal years ago. Stage 3 is indeed based on an old base. It however
36 starts you with a working system in which all assumptions made by ebuilds
37 about the system are true. This means one should expect a stage 3 to have no
38 problems emerging any package. This is not true for a stage 1 or stage 2.
39
40 Paul
41
42 --
43 Paul de Vrieze
44 Gentoo Developer
45 Mail: pauldv@g.o
46 Homepage: http://www.devrieze.net

Replies

Subject Author
[gentoo-dev] Re: Re: Re: bootstrapping since gcc 3.4 is stable MIkey <mikey@×××××××××××.com>