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

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

Dimitry Andric <dim@FreeBSD.org> changed:

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

--- Comment #24 from Dimitry Andric <dim@FreeBSD.org> ---
The full 3 stage bootstrap is really only useful for:
* gcc developers (daily use, making releases etc)
* when you are bringing it up on a system with a crappy/ancient host compiler
* when you are compiling a random gcc trunk snapshot

For most of our gcc ports, these should not apply, as the ports (hopefully) use
curated, i.e. release or stable-snapshot tarballs.

LTO is completely orthogonal to all the above. My suggestion is to enable it
for the official package builders, and let everybody else opt-in?

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