Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 20 Apr 2022 19:16:12 +0000
From:      bugzilla-noreply@freebsd.org
To:        toolchain@FreeBSD.org
Subject:   [Bug 261977] lang/gcc12-devel: enable LTO
Message-ID:  <bug-261977-29464-1B9FsWO7u8@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-261977-29464@https.bugs.freebsd.org/bugzilla/>
References:  <bug-261977-29464@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D261977

--- Comment #45 from Piotr Kubaj <pkubaj@FreeBSD.org> ---
(In reply to Matthias Andree from comment #44)
1. I assume it's to build GCC in a way that is as safe as possible, so that=
 the
bootstrapped compiler will work fine. When you combine that with LTO and us
using clang to build, it's definitely much safer than plain building.
2. LTO is used only for stage 2 and stage 3 (you can see that in
config/bootstrap-lto-noplugin.mk). IMO that is reasonable, since using LTOi=
zed
GCC from stage 2 in stage 3 lets us make sure that the compiler works fine.

(In reply to Robert Clausecker from comment #43)
OK, I will disable bootstrap there according to your instructions. Regarding
riscv64, we currently don't support GCC there.
Regarding your earlier question for a capable ARM hardware, I'd consider
getting something like
https://www.ipi.wiki/products/ampere-altra-developer-platform.

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-261977-29464-1B9FsWO7u8>