about summary refs log tree commit diff
path: root/compiler/rustc_codegen_llvm/src/llvm_util.rs
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2021-01-30 04:16:20 +0000
committerbors <bors@rust-lang.org>2021-01-30 04:16:20 +0000
commitcb6787ae82d388045cdf6b5dc73787d828d91feb (patch)
tree1b5bc5c9b1a61383ef6f72e723efc253de214c86 /compiler/rustc_codegen_llvm/src/llvm_util.rs
parent0248c6f178ab3a4d2ec702b7d418ff8375ab0515 (diff)
parenta84ff2b6d4b6f1e5a315cc043bb8e2b730f254f4 (diff)
downloadrust-cb6787ae82d388045cdf6b5dc73787d828d91feb.tar.gz
rust-cb6787ae82d388045cdf6b5dc73787d828d91feb.zip
Auto merge of #81489 - nikic:x86-64-dist-update, r=Mark-Simulacrum
Update Python and Clang on x86 dist images

LLVM 12 no longer builds with Python 2, so install Python 3 in
preparation for the upgrade (#81451).

However, Clang 10 does not build with Python 3, so we need update
to Clang 11 as well, which supports both.

Unfortunately, doing so results in errors while linking the
libLLVM.so into other binaries:
> __morestack: invalid needed version 2

This is fixed by using LLD instead. Possibly this is due to a binutils
linker bug, but updating to the latest binutils version does not fix
it.

r? `@Mark-Simulacrum`
cc `@cuviper`
Diffstat (limited to 'compiler/rustc_codegen_llvm/src/llvm_util.rs')
0 files changed, 0 insertions, 0 deletions