Skip to content

Commit 19608ee

Browse files
etrclaude
andcommitted
CI: fix msan libc++ build — LIBCXXABI_USE_LLVM_UNWINDER=OFF
The msan lane rebuilds an MSan-instrumented libc++ from LLVM 18.1.8 source when the cache misses. LLVM 18 defaults LIBCXXABI_USE_LLVM_UNWINDER=ON, which now hard-errors at libcxxabi/CMakeLists.txt:51 unless libunwind is also in LLVM_ENABLE_RUNTIMES: LIBCXXABI_USE_LLVM_UNWINDER is set to ON, but libunwind is not specified in LLVM_ENABLE_RUNTIMES. The prior green runs hit the libc++ cache and never re-ran this config, so the latent breakage only surfaced on cache eviction. Set the flag OFF (the instrumented libc++ uses the system unwinder, sufficient for running the test suite) rather than pulling libunwind into the instrumented runtimes build. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01NpysYDDJac63yz2mZKKiDf
1 parent d963b9f commit 19608ee

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

.github/workflows/verify-build.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -699,6 +699,7 @@ jobs:
699699
-DCMAKE_C_COMPILER=clang-18 \
700700
-DCMAKE_CXX_COMPILER=clang++-18 \
701701
-DLLVM_ENABLE_RUNTIMES="libcxx;libcxxabi" \
702+
-DLIBCXXABI_USE_LLVM_UNWINDER=OFF \
702703
-DLLVM_USE_SANITIZER=MemoryWithOrigins \
703704
-DCMAKE_BUILD_TYPE=RelWithDebInfo \
704705
-DCMAKE_INSTALL_PREFIX="${{ github.workspace }}/libcxx-msan" ;

0 commit comments

Comments
 (0)