git: d00f19675f28 - main - games/jumpy: disable LTO on armv7 (similar to games/punchy)
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Thu, 30 May 2024 14:36:39 UTC
The branch main has been updated by jbeich:
URL: https://cgit.FreeBSD.org/ports/commit/?id=d00f19675f28e63aefed456dc34eb415a3ac1c1b
commit d00f19675f28e63aefed456dc34eb415a3ac1c1b
Author: Jan Beich <jbeich@FreeBSD.org>
AuthorDate: 2024-05-30 14:32:41 +0000
Commit: Jan Beich <jbeich@FreeBSD.org>
CommitDate: 2024-05-30 14:34:43 +0000
games/jumpy: disable LTO on armv7 (similar to games/punchy)
thread 'coordinator' panicked at compiler/rustc_middle/src/util/bug.rs:36:26:
/wrkdirs/usr/ports/lang/rust/work/rustc-1.77.0-src/compiler/rustc_codegen_ssa/src/back/write.rs:1588:29: worker thread panicked
stack backtrace:
fatal runtime error: Rust cannot catch foreign exceptions
(signal: 6, SIGABRT: process abort signal)
Reported by: pkg-fallout
---
games/jumpy/Makefile | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/games/jumpy/Makefile b/games/jumpy/Makefile
index 5f48faa986e5..070d5c208894 100644
--- a/games/jumpy/Makefile
+++ b/games/jumpy/Makefile
@@ -24,7 +24,7 @@ WITHOUT_LTO= yes # XXX bug 277333 # bevy_dylib
PLIST_FILES= bin/${PORTNAME}
PORTDATA= *
-.if ${MACHINE_ARCH} == i386
+.if ${MACHINE_ARCH} == i386 || "${MACHINE_ARCH:Marmv?}" != ""
# https://github.com/rust-lang/rust/issues/85598
CARGO_ENV+= CARGO_PROFILE_RELEASE_LTO=false
# https://github.com/briansmith/ring/issues/1793#issuecomment-1793243725