Gentoo Archives: gentoo-user

From: Paul Hartman <paul.hartman+gentoo@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] GCC compilation disk space
Date: Wed, 08 Oct 2008 16:23:24
Message-Id: 58965d8a0810080923v3714373ag89c522f19bedd9c4@mail.gmail.com
In Reply to: Re: [gentoo-user] GCC compilation disk space by Alan McKinnon
1 On Wed, Oct 8, 2008 at 3:34 AM, Alan McKinnon <alan.mckinnon@×××××.com> wrote:
2 > On Wednesday 08 October 2008 09:35:25 Heiko Wundram wrote:
3 >> Am Wednesday 08 October 2008 06:50:47 schrieb Willie Wong:
4 >> > I don't remember gcc-3 being such a resource hog when building. So I
5 >> > wonder: is this the expected behaviour or is something wrong with my
6 >> > box?
7 >>
8 >> Expected behaviour. >=gcc-4.2 compiles about three times longer than
9 >> <gcc-4.2 (IIRC 4.1.2 was the last gcc that I could compile in under 30
10 >> minutes; the current one takes about 1.5 hours), and requires loads of
11 >> disk.
12 >
13 > gcc is getting like ooO :-)
14 >
15 > On a 2.5GHz Core 2 Duo notebook with 4G RAM:
16 >
17 > * sys-devel/gcc
18 >
19 > Sun Aug 3 20:05:36 2008 >>> sys-devel/gcc-4.3.1-r1
20 > merge time: 51 minutes and 7 seconds.
21 >
22 > Mon Aug 4 21:54:42 2008 >>> sys-devel/gcc-4.3.1-r1
23 > merge time: 42 minutes and 19 seconds.
24 >
25 > Mon Oct 6 10:36:58 2008 >>> sys-devel/gcc-4.3.2
26 > merge time: 1 hour, 26 minutes and 29 seconds.
27 >
28 > The machine is being used while those compiles are running so it takes longer
29 > than if left alone. But the relative times are still valid.
30
31 You can see the merge time getting longer with each version (I'm using
32 x86_64 so it may do some extra compiles for 32/64 stuff):
33
34 Wed Jun 20 17:24:25 2007 >>> sys-devel/gcc-3.3.6-r1
35 merge time: 6 minutes and 43 seconds.
36
37 Tue Jun 12 22:34:39 2007 >>> sys-devel/gcc-4.1.2
38 merge time: 25 minutes and 25 seconds.
39
40 Fri Jul 20 21:15:31 2007 >>> sys-devel/gcc-4.2.0
41 merge time: 36 minutes and 2 seconds.
42
43 Mon Jun 9 11:39:41 2008 >>> sys-devel/gcc-4.3.1
44 merge time: 48 minutes and 9 seconds.
45
46 Mon Oct 6 12:56:57 2008 >>> sys-devel/gcc-4.3.2
47 merge time: 1 hour, 7 minutes and 53 seconds.
48
49
50 It still has a way to go if it wants to beat OpenOffice (the king):
51
52 Tue Aug 19 20:47:26 2008 >>> app-office/openoffice-2.4.1
53 merge time: 2 hours, 43 minutes and 43 seconds.
54
55 Paul