Re: [RFC] Make 4-stage PGO bootstrap really working

2017-10-30 Thread Richard Biener
On Fri, Oct 27, 2017 at 4:31 PM, Markus Trippelsdorf wrote: > On 2017.10.27 at 15:03 +0200, Martin Liška wrote: >> > And BTW would it make sense to add -gtoggle to stage2 in bootstrap-lto? >> >> Why do you want to have it there? Am I right that we do not do a stage >>

Re: [RFC] Make 4-stage PGO bootstrap really working

2017-10-27 Thread Markus Trippelsdorf
On 2017.10.27 at 15:03 +0200, Martin Liška wrote: > > And BTW would it make sense to add -gtoggle to stage2 in bootstrap-lto? > > Why do you want to have it there? Am I right that we do not do a stage > comparison with LTO bootstrap? The idea was to trigger -g -flto at least during one stage,

Re: [RFC] Make 4-stage PGO bootstrap really working

2017-10-27 Thread Martin Liška
On 10/25/2017 02:19 PM, Markus Trippelsdorf wrote: On 2017.08.30 at 11:45 +0200, Martin Liška wrote: diff --git a/Makefile.in b/Makefile.in index 78db0982ba2..16b76906ad0 100644 --- a/Makefile.in +++ b/Makefile.in @@ -529,13 +529,14 @@ STAGE1_CONFIGURE_FLAGS = --disable-intermodule

Re: [RFC] Make 4-stage PGO bootstrap really working

2017-10-25 Thread Markus Trippelsdorf
On 2017.08.30 at 11:45 +0200, Martin Liška wrote: > diff --git a/Makefile.in b/Makefile.in > index 78db0982ba2..16b76906ad0 100644 > --- a/Makefile.in > +++ b/Makefile.in > @@ -529,13 +529,14 @@ STAGE1_CONFIGURE_FLAGS = --disable-intermodule > $(STAGE1_CHECKING) \ > --disable-coverage

Re: [RFC] Make 4-stage PGO bootstrap really working

2017-10-19 Thread Markus Trippelsdorf
On 2017.10.19 at 14:56 +0200, Martin Liška wrote: > PING^2 > So far so good with a small exception: conftest.gcda files that > trigger -Wcoverage-mismatch. Can we remove these before a stage? Do we > do a similar thing somewhere? I think you should simply remove all these conftest.gcda files

Re: [RFC] Make 4-stage PGO bootstrap really working

2017-10-19 Thread Martin Liška
PING^2 On 09/14/2017 02:20 PM, Martin Liška wrote: > PING^1 > > On 08/30/2017 11:45 AM, Martin Liška wrote: >> Hi. >> >> This is follow up which I've just noticed. Main problem we have is that >> an instrumented compiler w/ -fprofile-generate (built in $OBJDIR/gcc >> subfolder) >> will generate

Re: [RFC] Make 4-stage PGO bootstrap really working

2017-09-14 Thread Martin Liška
PING^1 On 08/30/2017 11:45 AM, Martin Liška wrote: > Hi. > > This is follow up which I've just noticed. Main problem we have is that > an instrumented compiler w/ -fprofile-generate (built in $OBJDIR/gcc > subfolder) > will generate all *.gcda files in a same dir as *.o files. That's

[RFC] Make 4-stage PGO bootstrap really working

2017-08-30 Thread Martin Liška
Hi. This is follow up which I've just noticed. Main problem we have is that an instrumented compiler w/ -fprofile-generate (built in $OBJDIR/gcc subfolder) will generate all *.gcda files in a same dir as *.o files. That's problematic because we then have *.gcda files spread in 'profile' subfolder