On 22 March 2017 at 02:20, P Levine <plevine...@gmail.com> wrote:

> A while back I decided to try my hand at including " -flto" in my
> C{XX}FLAGS and do `emerge -e @world`.  Needless to say, by the end of it my
> "/etc/portage/package.env" was filled with a list of packages that had to
> disable the flag either because it failed to build or broke other builds.
> I never reported them as bugs because I always assumed the flag was unsafe
> and unsupported by Gentoo.
>
> Lately, I have been trying to fix some GCC-6 related bugs and have come
> across some bug reports that seem possibly more "-flto" related than GCC-6
> related.  Doing a search for "-flto", Gentoo bugtracker, a number of open
> bugreports clearly show them to be "-flto" bugs in their titles.
>
> Does Gentoo support the "-flto" flag and are "-flto" related bugreports
> valid?
>

See this Gentoo forum thread on the subject that I've read/followed with
interest ... https://forums.gentoo.org/viewtopic-t-1052716.html
I haven't tried any LTO building since gcc 4.9.x - it was a bit of pain in
the bum as I recall :-)

Bob

Reply via email to