[Bug 261977] lang/gcc12-devel: enable LTO
- In reply to: bugzilla-noreply_a_freebsd.org: "[Bug 261977] lang/gcc12-devel: enable LTO"
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sun, 27 Mar 2022 15:47:14 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=261977 --- Comment #8 from Mark Millard <email@example.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= yes .if empty(PORT_OPTIONS:MBOOTSTRAP) CONFIGURE_ARGS+=--disable-bootstrap .else -CONFIGURE_ARGS+=--with-build-config=bootstrap-lto-noplugin +CONFIGURE_ARGS+=--with-build-config=bootstrap-debug ALL_TARGET= bootstrap-lean .endif INSTALL_TARGET= install-strip The result was 01:38:45 for using bootstrap-debug: [01:39:00]  [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]  [04:06:27] Finished lang/gcc12-devel | gcc12-devel-12.0.1.s20220306_1: Success -- You are receiving this mail because: You are on the CC list for the bug.