git: 03e850d1923a - main - x11-wm/cosmic-comp: unbreak build on 32-bit architectures
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sun, 25 Feb 2024 10:30:45 UTC
The branch main has been updated by jbeich: URL: https://cgit.FreeBSD.org/ports/commit/?id=03e850d1923aa4e01980ab51302122569c3f3694 commit 03e850d1923aa4e01980ab51302122569c3f3694 Author: Jan Beich <jbeich@FreeBSD.org> AuthorDate: 2024-02-25 04:52:05 +0000 Commit: Jan Beich <jbeich@FreeBSD.org> CommitDate: 2024-02-25 10:30:39 +0000 x11-wm/cosmic-comp: unbreak build on 32-bit architectures thread 'coordinator' panicked at compiler/rustc_middle/src/util/bug.rsfatal runtime error: Rust cannot catch foreign exceptions :36:26: /wrkdirs/usr/ports/lang/rust/work/rustc-1.76.0-src/compiler/rustc_codegen_ssa/src/back/write.rs:1586:29: worker thread panicked (signal: 6, SIGABRT: process abort signal) Reported by: pkg-fallout --- x11-wm/cosmic-comp/Makefile | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/x11-wm/cosmic-comp/Makefile b/x11-wm/cosmic-comp/Makefile index b95e9b006702..2180f3f8ca44 100644 --- a/x11-wm/cosmic-comp/Makefile +++ b/x11-wm/cosmic-comp/Makefile @@ -27,6 +27,12 @@ CARGO_FEATURES= --no-default-features # disable systemd PLIST_FILES= bin/${PORTNAME} \ share/wayland-sessions/${PORTNAME:S/-comp//}.desktop \ +.if ${MACHINE_ARCH} == i386 || ${MACHINE_ARCH:Marmv?} +# https://github.com/rust-lang/rust/issues/85598 +LTO_UNSAFE= yes +CARGO_ENV+= CARGO_PROFILE_RELEASE_LTO=false +.endif + post-patch: # XXX Strip double / to help "make cargo-crates" @${REINPLACE_CMD} -e 's,\(smithay\)//,\1/,' \