Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 14 Oct 2023 21:03:08 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 274471] lang/rust: doesn't build with devel/llvm15
Message-ID:  <bug-274471-7788@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D274471

            Bug ID: 274471
           Summary: lang/rust: doesn't build with devel/llvm15
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: ports-bugs@FreeBSD.org
          Reporter: vsasjason@gmail.com
                CC: brooks@FreeBSD.org, rust@FreeBSD.org
                CC: brooks@FreeBSD.org, rust@FreeBSD.org

Created attachment 245622
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D245622&action=
=3Dedit
poudriere build log

After 098de5bc2195a064523eb32e7db6071b2f8ed93a, I decided to try it, and
unfortunately that was unsuccessful:

  cargo:rustc-link-lib=3Dstatic=3Dllvm-wrapper
=20
cargo:rustc-link-search=3Dnative=3D/wrkdirs/usr/ports/lang/rust/work/_build=
/x86_64-unknown-freebsd/stage0-rustc/x86_64-unknown-freebsd/release/build/r=
ustc_llvm-2c553ed8f23341b3/out
  cargo:rerun-if-env-changed=3DLLVM_LINK_SHARED

  --- stderr
  llvm-config: error: missing: /usr/local/llvm15/lib/libLLVMDemangle.a
<SKIP>
  llvm-config: error: missing: /usr/local/llvm15/lib/libLLVMX86TargetMCA.a
  thread 'main' panicked at 'command did not execute successfully:
"/usr/local/bin/llvm-config15" "--link-static" "--libs" "--system-libs"
"amdgpu" "asmparser" "bitreader" "bitwriter" "coverage" "instrumentation" "=
ipo"
"linker" "lto" "webassembly" "x86"
  expected success, got: exit status: 1', compiler/rustc_llvm/build.rs:259:=
16
<SKIP>

I have nothing related to LLVM in configuration, so rust just pulled default
llvm15.

--=20
You are receiving this mail because:
You are the assignee for the bug.=



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