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

From: <bugzilla-noreply_at_freebsd.org>
Date: Thu, 21 Apr 2022 16:52:26 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=261977

--- Comment #47 from Matthias Andree <mandree@FreeBSD.org> ---
(In reply to Piotr Kubaj from comment #45)
Piotr, it seems we are talking past each other. You "defend" the bootstrap
feature's existence and motivation, and I am aiming at "why are we doing this
in FreeBSD". So, my plea, explicitly, is: why do the FreeBSD GCC ports default
to bootstrap builds as opposed to the single-stage one-shot cross builds?

The other question that newly comes to my mind is: unless we are already doing
it, do we have a way inside FreeBSD to parallelize the LTO "link" stage (which
is in fact the optimizer and code generation and linker stage unified) if it
runs as a single thread in the current state?

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