This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Re: gcc-7.1.0 fails to build with flto profiled bootstrap build (with gold linker) + graphite optimisations
- From: Brian Drummond <brian at shapes dot demon dot co dot uk>
- To: <gcc-help at gcc dot gnu dot org>
- Date: Sun, 16 Jul 2017 12:23:05 +0100
- Subject: Re: gcc-7.1.0 fails to build with flto profiled bootstrap build (with gold linker) + graphite optimisations
- Authentication-results: sourceware.org; auth=none
- Authentication-results: gcc.gnu.org; dkim=none (message not signed) header.d=none;gcc.gnu.org; dmarc=none action=none header.from=shapes.demon.co.uk;
- References: <a5a425f6-2446-5779-bfac-da7ef5fb85cf@s5tehnika.net> <da86ee0b-0f79-ebda-fc2c-3ea3d8f1cc41@s5tehnika.net>
- Spamdiagnosticmetadata: NSPM
- Spamdiagnosticoutput: 1:99
On Sun, 2017-07-16 at 09:47 +0000, Branko wrote:
> Eh, nevermind. I've found the link with hints how to do it properly. It
> seems to be building OK now. With graphite, LTO and PGO.
When following up, it would be useful to add the link you found so that
it becomes part of the public record, for anyone else with a similar
problem, who finds this thread through a search.
-- Brian
> On 14. 07. 2017 05:15, Branko wrote:
> > I have adapted existing gcc-7.1.0 ebuild and flag-o-matic eclass so
> > that it allows me to build gcc with my flags without filtering them.
> >
> > It works fine, when built with prefiltered flags, but I wanted to
> > compile it with flto and pgo steps ( and later do same with binutils)
> > to see if that would shorten long compile times.
...
> >
> > Has anyone tried to compile gcc-7 with such combination ?
> >
> > I used gcc-7.1.0 for compilation, along with binutils-2.28
> >