Gentoo Archives: gentoo-user

From: Bob Wya <bob.mt.wya@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Is "-flto" supported by Gentoo?
Date: Wed, 22 Mar 2017 22:31:46
Message-Id: CANH8R7_noTG=UpF6saKACGWzdU9qQ2vs2C-H7z7D8+e=Bo9bHQ@mail.gmail.com
In Reply to: [gentoo-user] Is "-flto" supported by Gentoo? by P Levine
1 On 22 March 2017 at 02:20, P Levine <plevine457@×××××.com> wrote:
2
3 > A while back I decided to try my hand at including " -flto" in my
4 > C{XX}FLAGS and do `emerge -e @world`. Needless to say, by the end of it my
5 > "/etc/portage/package.env" was filled with a list of packages that had to
6 > disable the flag either because it failed to build or broke other builds.
7 > I never reported them as bugs because I always assumed the flag was unsafe
8 > and unsupported by Gentoo.
9 >
10 > Lately, I have been trying to fix some GCC-6 related bugs and have come
11 > across some bug reports that seem possibly more "-flto" related than GCC-6
12 > related. Doing a search for "-flto", Gentoo bugtracker, a number of open
13 > bugreports clearly show them to be "-flto" bugs in their titles.
14 >
15 > Does Gentoo support the "-flto" flag and are "-flto" related bugreports
16 > valid?
17 >
18
19 See this Gentoo forum thread on the subject that I've read/followed with
20 interest ... https://forums.gentoo.org/viewtopic-t-1052716.html
21 I haven't tried any LTO building since gcc 4.9.x - it was a bit of pain in
22 the bum as I recall :-)
23
24 Bob