From 628886ee3e4364da8e389ba12b7c980073c6d656 Mon Sep 17 00:00:00 2001 From: Eli Schwartz Date: Tue, 3 Sep 2024 18:21:43 -0400 Subject: dev-lang/gprolog: mark as LTO-unsafe It is using global register variables, and there's a GCC bug that makes this not work with LTO. Closes: https://bugs.gentoo.org/855599 Signed-off-by: Eli Schwartz --- dev-lang/gprolog/gprolog-1.5.0-r1.ebuild | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/dev-lang/gprolog/gprolog-1.5.0-r1.ebuild b/dev-lang/gprolog/gprolog-1.5.0-r1.ebuild index bab7b4d79adb..cb842b4a31b1 100644 --- a/dev-lang/gprolog/gprolog-1.5.0-r1.ebuild +++ b/dev-lang/gprolog/gprolog-1.5.0-r1.ebuild @@ -32,6 +32,11 @@ src_prepare() { } src_configure() { + # src/EnginePl/wam_archi.h:64:33: error: global register variable follows a function definition + # https://bugs.gentoo.org/855599 + # https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68384 + filter-lto + CFLAGS_MACHINE="$(get-flag -march) $(get-flag -mcpu) $(get-flag -mtune)" use debug && append-flags -DDEBUG -- cgit v1.2.3-65-gdbad