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

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

--- Comment #26 from Gerald Pfeifer <gerald@FreeBSD.org> ---
(In reply to Piotr Kubaj from comment #16)
> So please just add an option (enabled by default) to use LTO and
> disable it on your own builders if that causes issues.

I believe what you are seeing is backlash to your unilaterally switching
to LTO without providing an option for users.

IMnsHO you have received sufficient feedback to warrant adding such an
LTO option (and the default can then be easily tweaked).

(In reply to Dimitry Andric from comment #14)
> That said, I would say the safe, conservative choice is to make use
> of LTO an opt-in (either global, or per port), instead of an opt-out?

Well, first of all it should be an option to begin with. :-)

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