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

From: <bugzilla-noreply_at_freebsd.org>
Date: Wed, 20 Apr 2022 14:52:52 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=261977

--- Comment #44 from Matthias Andree <mandree@FreeBSD.org> ---
I ask again: 

1. why do we bootstrap by default? 
2. why do we use LTO on disposable parts of the build?

- LTO is pointless in all non-installed stages of the bootstrap
- only the final stage gets installed and used at scale

Are our base system compilers still insufficient to build GCC in a single
"stage 3" build? If all supported Tier-1 and possibly Tier-2 base compilers can
build GCC, let's get rid of the three-stage bootstrap and build The Real Thing
That Gets Installed right away.

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