[Bug bootstrap/62077] --with-build-config=bootstrap-lto fails
sven.c.dack at virginmedia dot com
gcc-bugzilla@gcc.gnu.org
Thu Aug 14 17:48:00 GMT 2014
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=62077
--- Comment #37 from Sven C. Dack <sven.c.dack at virginmedia dot com> ---
> ...
> trying
>
> Index: config/bootstrap-lto.mk
> ===================================================================
> --- config/bootstrap-lto.mk (revision 213899)
> +++ config/bootstrap-lto.mk (working copy)
> @@ -2,6 +2,6 @@
> # FIXME: Our build system is not yet able to use gcc-ar wrapper, so we need
> # to go with -ffat-lto-objects.
>
> -STAGE2_CFLAGS += -flto=jobserver -frandom-seed=1 -ffat-lto-objects
> -STAGE3_CFLAGS += -flto=jobserver -frandom-seed=1 -ffat-lto-objects
> +STAGE2_CFLAGS += -flto=jobserver -frandom-seed=1 -ffat-lto-objects --param
> ggc-min-expand=100 --param ggc-min-heapsize=131072
> +STAGE3_CFLAGS += -flto=jobserver -frandom-seed=1 -ffat-lto-objects --param
> ggc-min-expand=100 --param ggc-min-heapsize=131072
> STAGEprofile_CFLAGS += -fno-lto
It works for me, too. It has compiled 4.9.2-20140806
--with-build-config=bootstrap-lto and --with-boot-ldflags="-fuse-linker-plugin"
successfully. It is now running the testsuite.
More information about the Gcc-bugs
mailing list