[Bug 261977] lang/gcc12-devel: enable LTO

From: <bugzilla-noreply_at_freebsd.org>
Date: Tue, 19 Apr 2022 16:58:45 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=261977

Brooks Davis <brooks@FreeBSD.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |brooks@FreeBSD.org

--- Comment #21 from Brooks Davis <brooks@FreeBSD.org> ---
A metric to consider when enabling LTO by default for a compiler: does enabling
LTO decrease the total build time for the full ports collection? If so, turn it
on (subject to memory constraints). If not, keep it off.

My assumption is that few users are installing most of our toolchain ports
because they want to use them directly. They are installing them because they
are dependencies. Obviously some people are using them directly, but I suspect
being pulled in as a dependency is more common.

-- 
You are receiving this mail because:
You are on the CC list for the bug.