Date: Tue, 26 Mar 2024 16:34:10 +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-9QSOFjb2sl@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 #13 from Jan Beich <jbeich@FreeBSD.org> --- (In reply to Gleb Popov from comment #11) > Since LTO is an off-by-default feature Not in USES=3Dcargo after ports 967022fd812c. The ports affected here expli= citly enable LTO via lto=3Dtrue in Cargo.toml but define LTO_UNSAFE due to incompatibility with CARGO_PROFILE_RELEASE_PANIC set by Mk/Features/lto.mk, leading to -C lto=3Dno causing desync between cargo and rustc. --=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-9QSOFjb2sl>