git: bd1b6e25efb3 - 2023Q2 - games/veloren-weekly: disable LTO on i386 after 6f656934f1aa
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sat, 06 May 2023 23:09:53 UTC
The branch 2023Q2 has been updated by jbeich:
URL: https://cgit.FreeBSD.org/ports/commit/?id=bd1b6e25efb334a42248afc81510e2c39aa46de7
commit bd1b6e25efb334a42248afc81510e2c39aa46de7
Author: Jan Beich <jbeich@FreeBSD.org>
AuthorDate: 2023-05-06 22:21:00 +0000
Commit: Jan Beich <jbeich@FreeBSD.org>
CommitDate: 2023-05-06 23:09:48 +0000
games/veloren-weekly: disable LTO on i386 after 6f656934f1aa
thread '<unnamed>fatal runtime error: Rust cannot catch foreign exceptions
' panicked at '/wrkdirs/usr/ports/lang/rust/work/rustc-1.69.0-src/compiler/rustc_codegen_ssa/src/back/write.rs:1534:21: worker thread panicked', compiler/rustc_middle/src/util/bug.rs:36:26
(signal: 6, SIGABRT: process abort signal)
Reported by: pkg-fallout
(cherry picked from commit 57487937f313091ba223fd3fc3a2b5ca33d0b7be)
---
games/veloren-weekly/Makefile | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/games/veloren-weekly/Makefile b/games/veloren-weekly/Makefile
index fa64b0967fda..d97a6a457ebf 100644
--- a/games/veloren-weekly/Makefile
+++ b/games/veloren-weekly/Makefile
@@ -38,6 +38,10 @@ PORTDATA= *
CONFLICTS_INSTALL= ${PORTNAME}
+.if ${MACHINE_ARCH} == i386
+# Fixes error "Rust cannot catch foreign exceptions"
+CARGO_ENV+= CARGO_PROFILE_RELEASE_LTO=false
+.endif
# Fixes error "Instruction does not dominate all uses!"
LTO_UNSAFE= yes