[Bug 292101] lang/rust: Mismatch between used versions of LLVM
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Thu, 01 Jan 2026 14:22:51 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=292101
Bug ID: 292101
Summary: lang/rust: Mismatch between used versions of LLVM
Product: Ports & Packages
Version: Latest
Hardware: Any
OS: Any
Status: New
Severity: Affects Only Me
Priority: ---
Component: Individual Port(s)
Assignee: rust@FreeBSD.org
Reporter: diizzy@FreeBSD.org
CC: mikael@FreeBSD.org, pkubaj@FreeBSD.org
Flags: maintainer-feedback?(rust@FreeBSD.org)
Assignee: rust@FreeBSD.org
Hi,
Trying to compile devel/gitoxide with LTO_UNSAFE enabled causes following
error.
= note: ld: error:
/usr/ports/devel/gitoxide/work/target/release/deps/libgitoxide-6a6cdd6b8580ab88.rlib(gitoxide-6a6cdd6b8580ab88.gitoxide.7d0a3410c478f3b9-cgu.00.rcgu.o):
Unknown attribute kind (102) (Producer: 'LLVM21.1.3-rust-1.92.0-stable' Reader:
'LLVM 19.1.7')
It succeeds with CARGO_PROFILE_RELEASE_PANIC="abort" however upstreams
recommends using unwind instead.
https://github.com/GitoxideLabs/gitoxide/blob/main/Cargo.toml#L200
I can't find any obvious reason why different versions of llvm is being used at
a quick glance.
Searching a bit I found this error report
https://github.com/rust-lang/rust/issues/145981 but it appears to be merged?
Best regards,
Daniel
--
You are receiving this mail because:
You are the assignee for the bug.