c2rust icon indicating copy to clipboard operation
c2rust copied to clipboard

C2Rust fails to link against homebrew LLVM 10.0.1 on macOS

Open thedataking opened this issue 5 years ago • 1 comments

We seem to hit an upstream bug when LLVM 10.0.1 is installed on the host.

  = note: ld: library not found for -llibxml2.tbd
          clang: error: linker command failed with exit code 1 (use -v to see invocation)

Downgrading to LLVM 10.0.0 or LLVM 9 resolves the issue while we wait for the upstream fix. More info here: https://discourse.brew.sh/t/llvm-config-10-0-1-advertise-libxml2-tbd-as-system-libs/8593

thedataking avatar Sep 03 '20 09:09 thedataking

Homebrew updated the LLVM formula to 10.0.1_1 but issue seems to persist in that revision. Relevant issue https://github.com/Homebrew/homebrew-core/pull/61005

thedataking avatar Sep 14 '20 23:09 thedataking