aboutsummaryrefslogtreecommitdiff
path: root/config/bootstrap-lto.mk
AgeCommit message (Collapse)AuthorFilesLines
2021-09-19Fix PR bootstrap/102389: --with-build-config=bootstrap-lto is brokenAndrew Pinski1-2/+4
So the problem here is that now the lto-plugin requires NM that works with LTO to work so we need to pass down NM just like we do for ranlib and ar. OK? Bootstrapped and tested with --with-build-config=bootstrap-lto on aarch64-linux-gnu. Note you need to use binutils 2.35 or later too due to ttps://sourceware.org/PR25355 (I will submit another patch to improve the installation instructions too). config/ChangeLog: PR bootstrap/102389 * bootstrap-lto-lean.mk: Handle NM like RANLIB AND AR. * bootstrap-lto.mk: Likewise.
2019-05-02re PR lto/85574 (LTO bootstapped binaries differ)Richard Biener1-0/+1
2019-05-02 Richard Biener <rguenther@suse.de> PR bootstrap/85574 * Makefile.tpl (compare target): Also compare extra-compare files. * Makefile.in: Regenerate. config/ * bootstrap-lto.mk (extra-compare): Set to gcc/lto1$(exeext). From-SVN: r270798
2018-05-08re PR bootstrap/85571 (non-bootstrap-debug miscompare with trunk)Richard Biener1-0/+2
2018-05-08 Richard Biener <rguenther@suse.de> PR bootstrap/85571 config/ * bootstrap-lto-noplugin.mk: Disable compare. * bootstrap-lto.mk: Supply contrib/compare-lto for do-compare. contrib/ * compare-lto: New script derived from compare-debug. From-SVN: r260026
2017-06-19Enable -flto in all PGO stages for bootstrap-lto-{,noplugin}.mk.Martin Liska1-1/+3
2017-06-19 Martin Liska <mliska@suse.cz> * bootstrap-lto-noplugin.mk: Enable -flto in all PGO stages. * bootstrap-lto.mk: Likewise. From-SVN: r249367
2014-09-01Support slim LTO bootstrapAndi Kleen1-5/+11
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
2013-11-19* config/bootstrap-lto.mk: Use -ffat-lto-objects.Jan Hubicka1-2/+4
From-SVN: r205064
2011-04-20* bootstrap-lto.mk: Remove obsolete requirement.Eric Botcazou1-3/+2
From-SVN: r172761
2011-01-10bootstrap-lto.mk: -fuse-linker-plugin is default now; pass -fno-lto to ↵Jan Hubicka1-2/+3
STAGEprofile. * config/bootstrap-lto.mk: -fuse-linker-plugin is default now; pass -fno-lto to STAGEprofile. From-SVN: r168645
2010-11-27bootstrap-lto.mk (BOOT_ADAFLAGS): Delete.Eric Botcazou1-3/+0
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-11* config/bootstrap-lto: Use -flto.Jan Hubicka1-2/+2
From-SVN: r166630
2010-09-01bootstrap-lto.mk (STAGE2_CFLAGS, [...]): Change to -fwhopr=jobserver ↵Andi Kleen1-2/+2
-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-06-21compare-debug: Drop LTO sections.Alexandre Oliva1-0/+8
contrib/ChangeLog: * compare-debug: Drop LTO sections. config/ChangeLog: * bootstrap-lto.mk: New. gcc/ChangeLog: * doc/install.texi: Document bootstrap-lto. From-SVN: r161061