Skip to content

Update to LLVM 21 #143684

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

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open

Update to LLVM 21 #143684

wants to merge 3 commits into from

Conversation

nikic
Copy link
Contributor

@nikic nikic commented Jul 9, 2025

@rustbot rustbot added A-LLVM Area: Code generation parts specific to LLVM. Both correctness bugs and optimization-related issues. S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. T-compiler Relevant to the compiler team, which will review and decide on the PR/issue. labels Jul 9, 2025
@rustbot
Copy link
Collaborator

rustbot commented Jul 9, 2025

These commits modify compiler targets.
(See the Target Tier Policy.)

@nikic
Copy link
Contributor Author

nikic commented Jul 9, 2025

@bors2 try @rust-timer queue

@rust-timer
Copy link
Collaborator

Awaiting bors try build completion.

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

rust-bors bot added a commit that referenced this pull request Jul 9, 2025
Update to LLVM 21

r? `@ghost`
@rust-bors
Copy link

rust-bors bot commented Jul 9, 2025

⌛ Trying commit ebb63b9 with merge c3e645b

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

@rustbot rustbot added the S-waiting-on-perf Status: Waiting on a perf run to be completed. label Jul 9, 2025
@rust-log-analyzer

This comment has been minimized.

@rust-bors
Copy link

rust-bors bot commented Jul 9, 2025

💔 Test failed

@nikic
Copy link
Contributor Author

nikic commented Jul 9, 2025

Noooo, a crash while profiling with the bolt instrumentation.

    process didn't exit successfully: `/tmp/tmp-multistage/opt-artifacts/rustc-perf/target/debug/rustc-fake --crate-name regex_automata --edition=2021 /cargo/registry/src/index.crates.io-1949cf8c6b5b557f/regex-automata-0.4.9/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C opt-level=3 -C embed-bitcode=no --cfg 'feature="alloc"' --cfg 'feature="dfa-onepass"' --cfg 'feature="dfa-search"' --cfg 'feature="hybrid"' --cfg 'feature="meta"' --cfg 'feature="nfa"' --cfg 'feature="nfa-backtrack"' --cfg 'feature="nfa-pikevm"' --cfg 'feature="nfa-thompson"' --cfg 'feature="perf"' --cfg 'feature="perf-inline"' --cfg 'feature="perf-literal"' --cfg 'feature="perf-literal-multisubstring"' --cfg 'feature="perf-literal-substring"' --cfg 'feature="std"' --cfg 'feature="syntax"' --cfg 'feature="unicode"' --cfg 'feature="unicode-age"' --cfg 'feature="unicode-bool"' --cfg 'feature="unicode-case"' --cfg 'feature="unicode-gencat"' --cfg 'feature="unicode-perl"' --cfg 'feature="unicode-script"' --cfg 'feature="unicode-segment"' --cfg 'feature="unicode-word-boundary"' --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("alloc", "default", "dfa", "dfa-build", "dfa-onepass", "dfa-search", "hybrid", "internal-instrument", "internal-instrument-pikevm", "logging", "meta", "nfa", "nfa-backtrack", "nfa-pikevm", "nfa-thompson", "perf", "perf-inline", "perf-literal", "perf-literal-multisubstring", "perf-literal-substring", "std", "syntax", "unicode", "unicode-age", "unicode-bool", "unicode-case", "unicode-gencat", "unicode-perl", "unicode-script", "unicode-segment", "unicode-word-boundary"))' -C metadata=29004f3d2c23a6dc -C extra-filename=-acaa9aabb4aa769d --out-dir /tmp/.tmpSoAMdr/target/release/deps -C linker=clang -C strip=debuginfo -L dependency=/tmp/.tmpSoAMdr/target/release/deps --extern aho_corasick=/tmp/.tmpSoAMdr/target/release/deps/libaho_corasick-f3f82c9a60cf08f9.rmeta --extern memchr=/tmp/.tmpSoAMdr/target/release/deps/libmemchr-e5f42c55eae6f759.rmeta --extern regex_syntax=/tmp/.tmpSoAMdr/target/release/deps/libregex_syntax-7bce46b340cd2bfa.rmeta --cap-lints allow` (signal: 11, SIGSEGV: invalid memory reference)

@rust-log-analyzer

This comment has been minimized.

@Kobzol
Copy link
Member

Kobzol commented Jul 9, 2025

Noooo, a crash while profiling with the bolt instrumentation.

    process didn't exit successfully: `/tmp/tmp-multistage/opt-artifacts/rustc-perf/target/debug/rustc-fake --crate-name regex_automata --edition=2021 /cargo/registry/src/index.crates.io-1949cf8c6b5b557f/regex-automata-0.4.9/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C opt-level=3 -C embed-bitcode=no --cfg 'feature="alloc"' --cfg 'feature="dfa-onepass"' --cfg 'feature="dfa-search"' --cfg 'feature="hybrid"' --cfg 'feature="meta"' --cfg 'feature="nfa"' --cfg 'feature="nfa-backtrack"' --cfg 'feature="nfa-pikevm"' --cfg 'feature="nfa-thompson"' --cfg 'feature="perf"' --cfg 'feature="perf-inline"' --cfg 'feature="perf-literal"' --cfg 'feature="perf-literal-multisubstring"' --cfg 'feature="perf-literal-substring"' --cfg 'feature="std"' --cfg 'feature="syntax"' --cfg 'feature="unicode"' --cfg 'feature="unicode-age"' --cfg 'feature="unicode-bool"' --cfg 'feature="unicode-case"' --cfg 'feature="unicode-gencat"' --cfg 'feature="unicode-perl"' --cfg 'feature="unicode-script"' --cfg 'feature="unicode-segment"' --cfg 'feature="unicode-word-boundary"' --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("alloc", "default", "dfa", "dfa-build", "dfa-onepass", "dfa-search", "hybrid", "internal-instrument", "internal-instrument-pikevm", "logging", "meta", "nfa", "nfa-backtrack", "nfa-pikevm", "nfa-thompson", "perf", "perf-inline", "perf-literal", "perf-literal-multisubstring", "perf-literal-substring", "std", "syntax", "unicode", "unicode-age", "unicode-bool", "unicode-case", "unicode-gencat", "unicode-perl", "unicode-script", "unicode-segment", "unicode-word-boundary"))' -C metadata=29004f3d2c23a6dc -C extra-filename=-acaa9aabb4aa769d --out-dir /tmp/.tmpSoAMdr/target/release/deps -C linker=clang -C strip=debuginfo -L dependency=/tmp/.tmpSoAMdr/target/release/deps --extern aho_corasick=/tmp/.tmpSoAMdr/target/release/deps/libaho_corasick-f3f82c9a60cf08f9.rmeta --extern memchr=/tmp/.tmpSoAMdr/target/release/deps/libmemchr-e5f42c55eae6f759.rmeta --extern regex_syntax=/tmp/.tmpSoAMdr/target/release/deps/libregex_syntax-7bce46b340cd2bfa.rmeta --cap-lints allow` (signal: 11, SIGSEGV: invalid memory reference)

Oh no, the day has finally come 😆

@nikic
Copy link
Contributor Author

nikic commented Jul 9, 2025

llvm/llvm-project#147781 for pr-check-1 assertion failure.

@bors
Copy link
Collaborator

bors commented Jul 10, 2025

☔ The latest upstream changes (presumably #143703) made this pull request unmergeable. Please resolve the merge conflicts.

@nikic
Copy link
Contributor Author

nikic commented Jul 10, 2025

llvm/llvm-project#147935 for armhf-gnu test failure.

@nikic
Copy link
Contributor Author

nikic commented Jul 10, 2025

llvm/llvm-project#139443 for musl build failure.

@nikic
Copy link
Contributor Author

nikic commented Jul 11, 2025

llvm/llvm-project#148207 for x86_64-gnu-nopt assertion failure.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-LLVM Area: Code generation parts specific to LLVM. Both correctness bugs and optimization-related issues. S-waiting-on-perf Status: Waiting on a perf run to be completed. S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. T-compiler Relevant to the compiler team, which will review and decide on the PR/issue.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants