Conversation
* LLVM 22.1.3 -> 23.1.2 LLVM toolchain is now built using a sysroot to target older glibc versions rather than using an older base Debian image. The toolchain includes lld. See https://github.com/astral-sh/llvm-build for details.
LLVM 23 is not provided for this platform. Rather than using an older LLVM release this architecture should be cross-compiled on a aarch64 macOS host.
lld from LLVM 23 does not support these stubs that were added to Clang 23.
Disable tests from profiling that segfault when run under BOLT instrumentation. See: llvm/llvm-project#225479
jjhelmus
force-pushed
the
jjh/update_llvm_23
branch
from
September 26, 2026 00:03
eb4a633 to
85842d6
Compare
Contributor
Author
|
c.f. python/cpython#157062 for the BOLT segfault in instrumented tests which cause high stack usage. |
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Update to the LLVM 23.1.2 toolchain from astral-sh/llvm-build.
This toolchain includes
lldand is built using a sysroot with an older glibc.Drop the x86-64 macOS toolchain and support for building on x86-64 macOS hosts. Distributions for x86-64 macOS should be cross-compiled using the aarch64 toolchain on an Apple Silicon host.
Disable clang from emitting objective-C class selector stubs when building
tkas lld from with LLVM 23 does not support these stubs.Disable tests in the profile task that segfault under BOLT instrumentation. This has been reported upstream in llvm/llvm-project#225479. A fit available that could be included in the LLVM if it is not included in future LLVM 23 releases.