Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 6 May 2023 23:09:14 GMT
From:      Jan Beich <jbeich@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: 57487937f313 - main - games/veloren-weekly: disable LTO on i386 after 6f656934f1aa
Message-ID:  <202305062309.346N9Epw045047@gitrepo.freebsd.org>

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

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

commit 57487937f313091ba223fd3fc3a2b5ca33d0b7be
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:06:51 +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
---
 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
 



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