1 |
On 18 August 2011 09:23, Norman Rieß <norman@×××××××××.org> wrote: |
2 |
> Am 08/18/11 09:11, schrieb Matthew Finkel: |
3 |
>> Just out of curiosity, how long does it take to compile gcc? |
4 |
>> |
5 |
>> - Matt |
6 |
> |
7 |
> Atom: |
8 |
> |
9 |
> genlop -t sys-devel/gcc-4.4.5 |
10 |
> * sys-devel/gcc |
11 |
> |
12 |
> Sat Feb 26 13:06:08 2011 >>> sys-devel/gcc-4.4.5 |
13 |
> merge time: 1 hour, 12 minutes and 27 seconds. |
14 |
> |
15 |
> Wed Mar 23 23:01:12 2011 >>> sys-devel/gcc-4.4.5 |
16 |
> merge time: 1 hour, 10 minutes and 22 seconds. |
17 |
|
18 |
I have an Atom 330 machine which is getting significantly worse |
19 |
build-times than you. What make.conf options are you using? (Or are |
20 |
you using something else to improve build times?) |
21 |
|
22 |
Wed Mar 16 04:49:09 2011 >>> sys-devel/gcc-4.4.5 |
23 |
merge time: 2 hours, 56 minutes and 20 seconds. |
24 |
|
25 |
Thu May 5 22:07:36 2011 >>> sys-devel/gcc-4.3.4 |
26 |
merge time: 2 hours, 14 minutes and 15 seconds. |
27 |
|
28 |
Fri May 6 00:35:53 2011 >>> sys-devel/gcc-4.4.5 |
29 |
merge time: 2 hours, 28 minutes and 17 seconds. |
30 |
|
31 |
Admittedly, my machine runs xbmc, which is a resource hog, and has a |
32 |
fair bit of disk activity. |
33 |
My CFLAGS are: |
34 |
CFLAGS="-O2 -march=core2 -mtune=generic -fomit-frame-pointer -pipe |
35 |
-mssse3 -mfpmath=sse" |
36 |
which date to before -march=atom, and having read a performance |
37 |
article suggesting these. I note that the only practical difference |
38 |
between the resultant gcc options is that setting -mtune to core2 adds |
39 |
"#define __tune_core2__ 1". I wonder what the practical difference is. |
40 |
echo | gcc -dM -E - -O2 -march=core2 -mtune=generic |
41 |
-fomit-frame-pointer -pipe -mssse3 -mfpmath=sse |
42 |
|
43 |
I suppose, having looked into it this far, I'll merge gcc-4.5 to see |
44 |
what effect -mtune=atom has. |
45 |
|
46 |
(I'm not particularly interested in build times, but whether they're a |
47 |
sign of poor overall performance ... ) |
48 |
|
49 |
JB |