[build] Upgrade @llvm to 0.8.10 - #17780
Merged
Merged
Conversation
Bumps the hermetic @llvm toolchain from 0.8.9 to 0.8.10, picking up recent linker/toolchain fixes (dSYM strip via rules_cc env, per-version COFF ThinLTO patch split, 3-stage FDO bootstrap). 0.8.10 rather than the latest 0.8.11: 0.8.11's macOS sysroot changes (passing a relative -isysroot alongside --sysroot) break the hermetic macOS C build of the bzip2-sys crate ("'stdlib.h' file not found"). 0.8.10 is the latest version that builds cleanly. Trunk pins @llvm as a plain bazel_dep with no patch/override, so this is a straight version bump. Validated locally on macOS: full compile+link of //rust:selenium-manager against @llvm 0.8.10 and the binary runs.
This was referenced Aug 10, 2026
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.
Summary
Bumps the hermetic
@llvmtoolchain from 0.8.9 → 0.8.10, picking up recent linker/toolchain fixes (dSYM strip via rules_cc env, per-version COFF ThinLTO patch split, 3-stage FDO bootstrap). Trunk pins@llvmas a plainbazel_depwith no patch/override, so this is a straight one-line version bump.Why 0.8.10 and not the latest 0.8.11
0.8.11's macOS sysroot changes (#642 "Pass
-isysrooton macOS as well as--sysroot", #652 "Link Clang Darwin sysroot precedence") break the hermetic macOS C build: thebzip2-syscrate fails with'stdlib.h' file not foundbecause a relative-isysroot external/llvm++osx+macos_sdk/sysrootis passed and the SDK's C headers aren't resolved. 0.8.10 is the latest version that builds cleanly for us.Validation
Built locally on macOS (arm64) against
@llvm0.8.10:bazel build //rust:selenium-managercompiles + links the full crate graph (including thebzip2-sys/lzma-sys/zstd-sysC build scripts that exercise the@llvmC toolchain).selenium-manager 0.4.47-nightly).CI exercises the full Linux/macOS/Windows matrix.