Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 30 May 2024 14:37:11 GMT
From:      Jan Beich <jbeich@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-branches@FreeBSD.org
Subject:   git: fa30281cc7c1 - 2024Q2 - games/jumpy: disable LTO on armv7 (similar to games/punchy)
Message-ID:  <202405301437.44UEbBH7032415@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch 2024Q2 has been updated by jbeich:

URL: https://cgit.FreeBSD.org/ports/commit/?id=fa30281cc7c1e42a11fd91379db7a38e08bbb17c

commit fa30281cc7c1e42a11fd91379db7a38e08bbb17c
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:37:05 +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
    
    (cherry picked from commit d00f19675f28e63aefed456dc34eb415a3ac1c1b)
---
 games/jumpy/Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/games/jumpy/Makefile b/games/jumpy/Makefile
index 52326cd6aead..d2434e5d78af 100644
--- a/games/jumpy/Makefile
+++ b/games/jumpy/Makefile
@@ -23,7 +23,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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202405301437.44UEbBH7032415>