Gentoo Archives: gentoo-amd64

From: Branko Badrljica <brankob@××××××××××.com>
To: gentoo-amd64@l.g.o
Subject: Re: [gentoo-amd64] ebuild for gcc-4.4.0 ?
Date: Sat, 02 May 2009 19:08:20
Message-Id: 49FCA81D.4040104@avtomatika.com
In Reply to: Re: [gentoo-amd64] ebuild for gcc-4.4.0 ? by Volker Armin Hemmann
1 Volker Armin Hemmann wrote:
2 >
3 > install the gcc-porting and toolchain overlays. Have fun. Or feel the pain.
4 > look at this first:
5 > http://bugs.gentoo.org/show_bug.cgi?id=249226
6 >
7 >
8
9 Thanks for the answer. I emerged it and it seems to be working, even
10 though I am using pretty aggressive flags:
11
12 CFLAGS="-march=native -O3 -pipe -fgcse-sm -fgcse-las -fivopts
13 -ftree-loop-linear -floop-interchange -floop-strip-mine -floop-block
14 -ftree-loop-distribution -ftracer -funroll-loops -fprefetch-loop-arrays
15 -freorder-blocks-and-partition -funswitch-loops -fsee -ftree-loop-im
16 -ftree-loop-ivcanon -fvariable-expansion-in-unroller"
17
18
19 I tried also using -ftree-parallelize-loops=4, but with it compiler
20 fails when I try to compile practically anything.
21
22
23 BTW: How much of a performance gain would be if one could compile
24 everything with -profile-generate, run resulting program on some
25 representative test data and then use profile files to generate final
26 binary with -fprofile-use ?

Replies

Subject Author
[gentoo-amd64] Re: ebuild for gcc-4.4.0 ? Duncan <1i5t5.duncan@×××.net>