Gentoo Archives: gentoo-alt

From: "François Bissey" <francois.bissey@×××××××××××××.nz>
To: gentoo-alt@l.g.o
Subject: Re: [gentoo-alt] Restructuring the bootstrap (or: getting rid of gcc 4.2)
Date: Mon, 03 Feb 2014 20:35:41
Message-Id: 1914805.X6e3JF6jAN@qcd-nzi3
In Reply to: Re: [gentoo-alt] Restructuring the bootstrap (or: getting rid of gcc 4.2) by Ruud Koolen
1 On Sun, 02 Feb 2014 21:41:13 Ruud Koolen wrote:
2 > On Sunday 02 February 2014 20:55:04 Francois Bissey wrote:
3 > > On 3/02/2014, at 6:34, Ruud Koolen <redlizard@g.o> wrote:
4 > > >But gcc and friends are specifically designed to be buildable on any
5 > > >ridiculous old system, and the use of other tools hasn't changed between
6 > > >
7 > > > my bootstrap process and the current one. Again, can you elaborate and
8 > > > give a concrete example?
9 > >
10 > > Ridiculously old systems? AIX will come with gcc 4.2 if you are lucky. I
11 > > never managed to compile a recent gcc with an IBM compiler.
12 >
13 > Interesting; this should be possible. I'll see whether I can test this.
14 >
15
16 The gcc page on the subject may be out of date. May be you can bootstrap
17 gcc-4.2 with xlc but I never tried that since I had it already.
18
19
20 > > gcc 4.8 has raised the bar significantly in terms of how new your compiler
21 > > needs to be.
22 >
23 > That is a very good point. My plans and tests so far were in terms of gcc
24 > 4.7, but gcc 4.8 and later require a C++ compiler to build, which is not
25 > something we want to rely on. Thus, upgrading the bootstrap compiler would
26 > upgrade to 4.7 only and no further, and I don't see a way to change that in
27 > the future.
28 > > In the case of AIX I had to build and use a more recent gcc (4.6.x or
29 > > 4.7.x
30 > > I don’t remember) before being able to gcc 4.8.1. I also manage some SLES
31 > > 11SP1 ppc64 boxes, gcc 4.8.1 will not build with the gcc 4.3.4 that come
32 > > as
33 > > default. I don’t think it even compile with the alternate gcc 4.5
34 > > toolchain
35 > > they provide.
36 > >
37 > > François
38 >
39 > What about gcc 4.7?
40 >
41
42 gcc-4.7 is not provided by SLES 11SP1 you may be thinking of SP2 or SP3.
43
44 Francois