Gentoo Archives: gentoo-user

From: Nikos Chantziaras <realnc@×××××.com>
To: gentoo-user@l.g.o
Subject: [gentoo-user] Re: GCC 4.7 and LTO: it works
Date: Tue, 05 Jun 2012 15:57:15
Message-Id: jqla4u$rcm$1@dough.gmane.org
In Reply to: Re: [gentoo-user] GCC 4.7 and LTO: it works by "Stefan G. Weichinger"
1 On 05/06/12 17:28, Stefan G. Weichinger wrote:
2 > Am 04.06.2012 22:19, schrieb Nikos Chantziaras:
3 >> I've emerged system and world with gcc-4.7.0 and LTO. I'm posting from
4 >> it right now :-) It's a KDE system with 1043 packages installed.
5 >>
6 >> I've posted details on how to do this (including info on how to disable
7 >> LTO for specific packages that don't work with it) here:
8 >>
9 >> http://realnc.blogspot.com/2012/06/building-gentoo-linux-with-gcc-47-and.html
10 >
11 > Gave it a try out of curiosity ... got @system emerged OK now ...
12 >
13 > Did you also apply it to compiling the kernel?
14 > Worth it?
15
16 Kernel builds and runs fine with 4.7. But I didn't try to use LTO on
17 it. I actually never try to force any custom CFLAGS on the kernel
18 build. I trust upstream to pick safe and fast ones.

Replies

Subject Author
Re: [gentoo-user] Re: GCC 4.7 and LTO: it works "Stefan G. Weichinger" <lists@×××××.at>