Description
The bundled rust-lld
linker seems to be broken on macOS on the latest nightly (2020-09-13). The following error occurs:
error: linking with `rust-lld` failed: signal: 6
|
= note: "rust-lld" "-flavor" "gnu" "--eh-frame-hdr" […]
= note: dyld: Library not loaded: @rpath/libLLVM.dylib
Referenced from: /Users/runner/work/x86_64/x86_64/testing/target/sysroot/lib/rustlib/x86_64-apple-darwin/bin/rust-lld
Reason: image not found
It worked fine with yesterdays nightly (2020-09-12). The exact version numbers are listed below.
Judging from the diff between these two nightlies, this might be caused by #76349. cc @Mark-Simulacrum
Meta
Failed on:
rustc 1.48.0-nightly (7402a39 2020-09-13)
binary: rustc
commit-hash: 7402a39
commit-date: 2020-09-13
host: x86_64-apple-darwin
release: 1.48.0-nightly
LLVM version: 11.0
cargo 1.48.0-nightly (875e01232 2020-09-08)
release: 1.48.0
commit-hash: 875e0123259b0b6299903fe4aea0a12ecde9324f
commit-date: 2020-09-08
Worked on:
rustc 1.48.0-nightly (dbb73f8 2020-09-12)
binary: rustc
commit-hash: dbb73f8
commit-date: 2020-09-12
host: x86_64-apple-darwin
release: 1.48.0-nightly
LLVM version: 11.0
cargo 1.48.0-nightly (875e01232 2020-09-08)
release: 1.48.0
commit-hash: 875e0123259b0b6299903fe4aea0a12ecde9324f
commit-date: 2020-09-08