This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: Enale -fno-fat-lto-objects by default
- From: Jan Hubicka <hubicka at ucw dot cz>
- To: Markus Trippelsdorf <markus at trippelsdorf dot de>
- Cc: Jan Hubicka <hubicka at ucw dot cz>, gcc-patches at gcc dot gnu dot org, bonzini at gnu dot org, dj at redhat dot com
- Date: Mon, 18 Nov 2013 20:09:40 +0100
- Subject: Re: Enale -fno-fat-lto-objects by default
- Authentication-results: sourceware.org; auth=none
- References: <20131118180458 dot GH11338 at kam dot mff dot cuni dot cz> <20131118184331 dot GA10148 at x4>
> On 2013.11.18 at 19:04 +0100, Jan Hubicka wrote:
> > Hi,
> > this patch switches the default for fat-lto-objects as was documented for a while.
> > -ffat-lto-objects doubles compilation time and often makes users to not notice that
> > LTO was not used at all (because they forgot to use gcc-ar/gcc-nm plugins).
> >
> > Sadly I had to add -ffat-lto-objects to bootstrap. This is because I do not know
> > how to convince our build machinery to use gcc-ar/gcc-nm during the stage2+
>
> I've posted a minimal patch set for slim-lto-bootstrap last year, see:
> http://thread.gmane.org/gmane.comp.gcc.patches/270842
>
> If there's interest I could repost it.
It would be really nice to have it in indeed. I think we do not really need
lto-bootstrap.mk and slim-lto-bootstrap.mk, but otherwise the patch seems easy
enough and would save quite some of lto bootstrap testing time...
Paolo, DJ, can you take a look, please?
Honza
>
> --
> Markus