Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 26 Mar 2024 17:37:21 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 277333] Mk/Features/lto.mk: passing -C lto=no breaks LTO_UNSAFE ports
Message-ID:  <bug-277333-7788-QjB5zSfFhB@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-277333-7788@https.bugs.freebsd.org/bugzilla/>
References:  <bug-277333-7788@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=3D277333

--- Comment #15 from Jan Beich <jbeich@FreeBSD.org> ---
WITHOUT_<FEATURE> in ports' Makefile hasn't been made illegal yet, so ports
2b74e8c0ebd7 used it as a workaround due to 2024Q2 branching soon. As long =
as
you don't break my ports I ultimately don't care how this is fixed.

Alternatively, lang/rust needs to enable PORT_LLVM by default to help plain=
 LTO
like here or cross-LTO in www/firefox and graphics/mesa-devel. Doing so is a
lot of work: backport LLVM fixes to devel/llvm* ports, bump LLVM_DEFAULT (or
pin to avoid downgrade), prepare for extra maintenance on upgrades and split
devel/llvm* into subpackages (Rust only needs LLVM but llvm* packages also
include Clang/LLD/LLDB/Flang/etc which take more time to build).

--=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-277333-7788-QjB5zSfFhB>