Skip to content

Update dist-x86_64-linux host toolchain to LLVM 21 #144117

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 1 commit into from

Conversation

nikic
Copy link
Contributor

@nikic nikic commented Jul 18, 2025

This updates the host clang used to build LLVM, as well as llvm-bolt. This avoids the bolt miscompile encountered in #143684.

r? @ghost

@rustbot rustbot added A-testsuite Area: The testsuite used to check the correctness of rustc S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. T-infra Relevant to the infrastructure team, which will review and decide on the PR/issue. labels Jul 18, 2025
@nikic
Copy link
Contributor Author

nikic commented Jul 18, 2025

@bors2 try @rust-timer queue

@rust-timer
Copy link
Collaborator

Awaiting bors try build completion.

@rustbot label: +S-waiting-on-perf

@rust-bors
Copy link

rust-bors bot commented Jul 18, 2025

⌛ Trying commit 838cf2b with merge eeb3bdc

To cancel the try build, run the command @bors2 try cancel.

rust-bors bot added a commit that referenced this pull request Jul 18, 2025
Update dist-x86_64-linux host toolchain to LLVM 21

This updates the host clang used to build LLVM, as well as llvm-bolt. This avoids the bolt miscompile encountered in #144116.

r? `@ghost`
@rustbot rustbot added the S-waiting-on-perf Status: Waiting on a perf run to be completed. label Jul 18, 2025
@Kobzol
Copy link
Member

Kobzol commented Jul 18, 2025

You can r=me if the try build succeeds and perf is fine.

@rust-bors
Copy link

rust-bors bot commented Jul 18, 2025

💔 Test failed

@nikic
Copy link
Contributor Author

nikic commented Jul 18, 2025

    = note: rust-lld: error: /tmp/rustcCHWdg1/libtikv_jemalloc_sys-dd62f3b37b8a87ec.rlib(jemalloc.pic.o): Invalid record
            clang: error: linker command failed with exit code 1 (use -v to see invocation)

Looks like we can't actually update the host toolchain first, as we'll end up trying to link LLVM 21 bitcode with LLVM 20 lld. We'll have to update both at the same time...

@nikic nikic closed this Jul 18, 2025
@rustbot rustbot removed the S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. label Jul 18, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-testsuite Area: The testsuite used to check the correctness of rustc S-waiting-on-perf Status: Waiting on a perf run to be completed. T-infra Relevant to the infrastructure team, which will review and decide on the PR/issue.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants