Gentoo Archives: gentoo-alt

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

Replies

Subject Author
Re: [gentoo-alt] Restructuring the bootstrap (or: getting rid of gcc 4.2) "François Bissey" <francois.bissey@×××××××××××××.nz>