The time has come again, LLVM is releasing 5.0 soon and Rust wants to / needs to follow.
I have started work on the upgrade in these branches:
Open tasks
Completed tasks
Next steps:
Current issues:
All but the first issues seem straight forward to fix, so I'll try to send PRs for those soon.
The time has come again, LLVM is releasing 5.0 soon and Rust wants to / needs to follow.
I have started work on the upgrade in these branches:
rust-lang/rust: https://github.com/alexcrichton/rust/tree/llvm50rust-lang/llvm: https://github.com/rust-lang/llvm/tree/rust-llvm-2017-07-20rust-lang/compiler-rt: https://github.com/rust-lang/compiler-rt/tree/rust-2017-07-20rust-lang-nursery/compiler-builtins: https://github.com/rust-lang-nursery/compiler-builtins/tree/llvm50Open tasks
JSBackendas a targetCompleted tasks
Next steps:
rustllvmto compile (error log)Current issues:
SynchronizationScopechanged / was renamed? (Update Rust LLVM bindings for LLVM 5.0 #43387)LLVMMetadataRefwas added, this can / should likely replaceLLVMRustMetadataRef(Update Rust LLVM bindings for LLVM 5.0 #43387)createPointerTypegained a new parameter (Update Rust LLVM bindings for LLVM 5.0 #43387)createNameSpacelost some parameters (Update Rust LLVM bindings for LLVM 5.0 #43387)DebugLocwas replaced byDiagnosticLocationin LLVMDiagnosticInfo(Update Rust LLVM bindings for LLVM 5.0 #43387)x86_64-gnuimagetemporary workaround) - commit1, commit2upstream buglocal fix/workaroundupstream fixupstream buglocal workaroundupstream fixcodegen/issue-37945.rs- info belowignore it)std::to_stringreferencesrun-make/sanitizer-leak- apparently hit a fatal error when run locally?--privilegedneeded when running the docker container Flag docker invocations as --privileged on CI #43536run-make/simd-ffidebuginfo-gdbtest failures - LLVM5: Update DW_OP_plus to DW_OP_plus_uconst #47610All but the first issues seem straight forward to fix, so I'll try to send PRs for those soon.