Date: Sun, 27 Mar 2022 15:47:14 +0000 From: bugzilla-noreply@freebsd.org To: toolchain@FreeBSD.org Subject: [Bug 261977] lang/gcc12-devel: enable LTO Message-ID: <bug-261977-29464-2ZPGNQzGSO@https.bugs.freebsd.org/bugzilla/> In-Reply-To: <bug-261977-29464@https.bugs.freebsd.org/bugzilla/> References: <bug-261977-29464@https.bugs.freebsd.org/bugzilla/>
next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D261977 --- Comment #8 from Mark Millard <marklmi26-fbsd@yahoo.com> --- (In reply to Mark Millard from comment #6) Just for reference: I tested the build time for reverting the code in my context: # git -C /usr/ports/ diff lang/gcc12-devel/Makefile diff --git a/lang/gcc12-devel/Makefile b/lang/gcc12-devel/Makefile index 644abf2cbb86..fab28c952f80 100644 --- a/lang/gcc12-devel/Makefile +++ b/lang/gcc12-devel/Makefile @@ -83,7 +83,7 @@ CONFIGURE_OUTSOURCE=3D yes .if empty(PORT_OPTIONS:MBOOTSTRAP) CONFIGURE_ARGS+=3D--disable-bootstrap .else -CONFIGURE_ARGS+=3D--with-build-config=3Dbootstrap-lto-noplugin +CONFIGURE_ARGS+=3D--with-build-config=3Dbootstrap-debug ALL_TARGET=3D bootstrap-lean .endif INSTALL_TARGET=3D install-strip The result was 01:38:45 for using bootstrap-debug: [01:39:00] [01] [01:38:45] Finished lang/gcc12-devel | gcc12-devel-12.0.1.s20220306_1: Success instead of the earlier 04:06:27 for using bootstrap-lto-noplugin : [04:33:13] [01] [04:06:27] Finished lang/gcc12-devel | gcc12-devel-12.0.1.s20220306_1: Success --=20 You are receiving this mail because: You are on the CC list for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-261977-29464-2ZPGNQzGSO>