[Bug 258536] Mk/bsd.lto.mk: Add Link-Time Optimization (LTO) support

From: <bugzilla-noreply_at_freebsd.org>
Date: Mon, 14 Aug 2023 10:51:55 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=258536

Anton Saietskii <vsasjason@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |vsasjason@gmail.com

--- Comment #12 from Anton Saietskii <vsasjason@gmail.com> ---
I'm unsure if closed PR is the best fit for asking, but let's at least try as
LTO is really wanted feature for me:

1. When LTO enabled, is it still worth to use ccache?
2. Is there a way to enable LTO cache?
(https://clang.llvm.org/docs/ThinLTO.html#incremental)
3. Can one enable no. 3 in poudriere?
4. Can one set linker threads same way as MAKE_JOBS_NUMBER? (Especially for
poudriere since it's expected that each jail use only 1 CPU by default.)
5. And, finally, are there any plans to test/enable LTO for base system?

If this isn't right place for such questions — I would be grateful for a
suggestion where to ask.

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