Commit Graph

8 Commits

Author SHA1 Message Date
Andi Kleen e04733ee53 Support slim LTO bootstrap
Change the bootstrap-lto config file to use slim (non fat) LTO..
Speeds up the LTO bootstrap by ~18% on a 4 core system.

This requires using gcc-ar/ranlib in post stage 1 builds, so these
are passed to all sub builds.

config/:

2014-09-01  Andi Kleen  <ak@linux.intel.com>

	* bootstrap-lto.mk: Implement slim bootstrap.

/:
2014-09-01  Andi Kleen  <ak@linux.intel.com>

	* Makefile.tpl (POSTSTAGE1_HOST_EXPORTS): Add LTO_EXPORTS.
	POSTSTAGE1_FLAGS_TO_PASS):  Add LTO_FLAGS_TO_PASS.
	* Makefile.in: Regenerate.

From-SVN: r214801
2014-09-01 16:41:28 +00:00
Jan Hubicka 0ab6c9a9bb * config/bootstrap-lto.mk: Use -ffat-lto-objects.
From-SVN: r205064
2013-11-19 23:51:28 +00:00
Eric Botcazou 0b2ddd9ce3 * bootstrap-lto.mk: Remove obsolete requirement.
From-SVN: r172761
2011-04-20 09:24:48 +00:00
Jan Hubicka 3e76bf2c82 bootstrap-lto.mk: -fuse-linker-plugin is default now; pass -fno-lto to STAGEprofile.
* config/bootstrap-lto.mk: -fuse-linker-plugin is default now;
	pass -fno-lto to STAGEprofile.

From-SVN: r168645
2011-01-10 23:43:54 +00:00
Eric Botcazou 559d60552c bootstrap-lto.mk (BOOT_ADAFLAGS): Delete.
config/
	* bootstrap-lto.mk (BOOT_ADAFLAGS): Delete.
gcc/
	* tree-nested.c (remap_vla_decls): Fully expand value expressions of
	VLA variables.
gcc/ada/
	* gnatvsn.adb (Version_String): Change type to C-like array of chars.
	(Gnat_Version_String): Adjust to above change.

From-SVN: r167201
2010-11-27 15:53:23 +00:00
Jan Hubicka dc09b1077d * config/bootstrap-lto: Use -flto.
From-SVN: r166630
2010-11-11 23:06:25 +00:00
Andi Kleen c961549127 bootstrap-lto.mk (STAGE2_CFLAGS, [...]): Change to -fwhopr=jobserver -fuse-linker-plugin -frandom-seed=1.
2010-09-01  Andi Kleen  <ak@linux.intel.com>

        * bootstrap-lto.mk (STAGE2_CFLAGS, STAGE3_CFLAGS): Change
        to -fwhopr=jobserver -fuse-linker-plugin -frandom-seed=1.

From-SVN: r163725
2010-09-01 11:47:41 +00:00
Alexandre Oliva 339325b303 compare-debug: Drop LTO sections.
contrib/ChangeLog:
* compare-debug: Drop LTO sections.
config/ChangeLog:
* bootstrap-lto.mk: New.
gcc/ChangeLog:
* doc/install.texi: Document bootstrap-lto.

From-SVN: r161061
2010-06-21 00:23:06 +00:00