Skip to content

Commit 16d4868

Browse files
hanno-beckermkannwischer
authored andcommitted
CI: Build macOS FIPS202 sanitizer tests with clang 22
The macos-latest label has migrated to the macOS 26 (Tahoe) arm64 image, whose default-toolchain ASan runtime (nixpkgs clang 21.x) deadlocks at process startup: compiler-rt's shadow-memory init re-enters the uninitialized allocator. This made the AArch64 FIPS202 backend_tests job hang until the 6h job timeout, intermittently, depending on which image a matrix leg landed on. Same symptom as python/cpython#145199. The fix landed upstream in LLVM >= 22 (llvm/llvm-project#191039, backported as #192082). Point the macOS sanitizer job at the existing 'clang22' dev shell so it builds with clang 22 and can run on macos-latest again. Signed-off-by: Hanno Becker <beckphan@amazon.co.uk>
1 parent 13977d0 commit 16d4868

1 file changed

Lines changed: 6 additions & 1 deletion

File tree

.github/workflows/ci.yml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -157,7 +157,12 @@ jobs:
157157
- name: build + test
158158
uses: ./.github/actions/multi-functest
159159
with:
160-
nix-shell: 'ci'
160+
# clang 22 shell: the default `ci` shell's clang 21 ASan runtime
161+
# deadlocks at process startup on the macos-latest / macOS 26 (Tahoe)
162+
# image (compiler-rt shadow-memory init; same symptom as
163+
# python/cpython#145199), fixed in LLVM >= 22 by
164+
# llvm/llvm-project#191039 (backport #192082).
165+
nix-shell: 'clang22'
161166
nix-cache: 'false'
162167
gh_token: ${{ secrets.GITHUB_TOKEN }}
163168
compile_mode: 'native'

0 commit comments

Comments
 (0)