You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
SDK release run 39211095782 (source 4f3a60e9a) completed with darwin-aarch64, linux-aarch64 and linux-x86_64 green, but both Windows SDK jobs failed. This issue is the windows-x86_64 failure (job 117924434463); the windows-aarch64 job in that run failed separately at a stage1 dllimport-UCRT link on the pre-#2470/#2471 source and old seed, and should simply be re-run on current main.
Exact failure, at the nested cross-compile-host configure (NATIVE/NATIVE) while building native llvm-tblgen:
FAILED: [code=1] NATIVE/CMakeCache.txt .../NATIVE/NATIVE/CMakeCache.txt
... cmake.exe -G Ninja ... -DLLVM_TARGET_IS_CROSSCOMPILE_HOST=TRUE -DLLVM_DEFAULT_TARGET_TRIPLE="x86_64-w64-windows-gnu" ...
-- Detecting C compiler ABI info - failed
Check for working C compiler: "D:/a/with/with/.deps/llvm-22.1.6-windows-x86_64-msvc/bin/clang.exe" is not able to compile a simple test program.
lld: error: unable to find library -lunwind
lld: error: unable to find library -lunwind
clang: error: linker command failed with exit code 1
FAILED: NATIVE/bin/llvm-tblgen.exe
ninja: build stopped: subcommand failed.
; reached through run_sdk_llvm_action -> sdk_run_capture -> sdk_fail
Notable: the first :sdk-llvm configure and the first :sdk-llvm-installNATIVE configure both detect the C compiler ABI successfully with the same clang.exe; only the nested NATIVE/NATIVE configure fails, which points at state the nested configure inherits (driver config / library search path naming an unwind library that is not on the nested link's search path yet) rather than at the host compiler itself — the earlier --rtlib=compiler-rt --unwindlib=libunwind diagnostic suppression in this same job is probably the same seam.
Expected: SDK windows-x86_64 builds to the same green as the other SDK jobs. Reproduce by re-running the SDK release workflow on current main; do not recut blind — capture the nested configure's effective clang config/search paths first.
Triage 2026-10-25, with v0.15.3.0 (main a261b65): could not be reproduced here. No SDK release run has happened since run 39211095782 (2026-10-19), and reproducing the nested NATIVE configure locally means a full windows-x86_64 SDK build (hours) on win10.
The question: re-dispatch sdk-release.yml on current main, or run the Windows SDK build on win10, to see whether -lunwind still fails?
Lead from the capture (no new run yet): the Windows SDK's LLVM is built for x86_64-w64-windows-gnu by design (#1915: clang++ against the SDK's own libc++), so the nested NATIVE/NATIVE configure's triple is right; what it lacks is the link search path. The outer configure and the first NATIVE configure find -lunwind because their cache carries the SDK's library dir; the nested cross-compile-host configure (LLVM_TARGET_IS_CROSSCOMPILE_HOST=TRUE) starts a fresh cache with the same clang.exe and no -L<sdk>/lib, and the mingw-flavoured driver links -lunwind by default. The fix would be passing the SDK's lib dir (or -DCMAKE_EXE_LINKER_FLAGS=-L…, or LLVM_ENABLE_LIBUNWIND's path) through CROSS_TOOLCHAIN_FLAGS_NATIVE so the nested configure inherits it. Still your call whether to re-dispatch sdk-release.yml (the only place the nested configure runs) before v0.16.0 or take windows-x86_64's SDK off this release.
Fix proven: SDK run 44427897780 on branch sdk-windows-native-not-cross (PR #3447) built SDK windows-x86_64 green, with darwin-aarch64, linux-x86_64 and linux-aarch64. The nested NATIVE configure no longer exists: the NATIVE tools sub-build is told -DCMAKE_CROSSCOMPILING=FALSE. The assets are on the scratch pre-release sdk-2473-test and are not pinned.
Activity
ehartford commentedon Oct 25, 2026
Triage 2026-10-25,
with v0.15.3.0(main a261b65): could not be reproduced here. No SDK release run has happened since run 39211095782 (2026-10-19), and reproducing the nested NATIVE configure locally means a full windows-x86_64 SDK build (hours) on win10.The question: re-dispatch
sdk-release.ymlon current main, or run the Windows SDK build on win10, to see whether-lunwindstill fails?ehartford commentedon Nov 1, 2026
Lead from the capture (no new run yet): the Windows SDK's LLVM is built for
x86_64-w64-windows-gnuby design (#1915: clang++ against the SDK's own libc++), so the nestedNATIVE/NATIVEconfigure's triple is right; what it lacks is the link search path. The outer configure and the firstNATIVEconfigure find-lunwindbecause their cache carries the SDK's library dir; the nested cross-compile-host configure (LLVM_TARGET_IS_CROSSCOMPILE_HOST=TRUE) starts a fresh cache with the sameclang.exeand no-L<sdk>/lib, and the mingw-flavoured driver links-lunwindby default. The fix would be passing the SDK's lib dir (or-DCMAKE_EXE_LINKER_FLAGS=-L…, orLLVM_ENABLE_LIBUNWIND's path) throughCROSS_TOOLCHAIN_FLAGS_NATIVEso the nested configure inherits it. Still your call whether to re-dispatchsdk-release.yml(the only place the nested configure runs) before v0.16.0 or take windows-x86_64's SDK off this release.ehartford commentedon Nov 19, 2026
Ruled, 2026-11-18: dispatch the SDK release workflow with the fix. The change is small and the workflow is its only test.
ehartford commentedon Nov 19, 2026
Fix proven: SDK run 44427897780 on branch
sdk-windows-native-not-cross(PR #3447) built SDK windows-x86_64 green, with darwin-aarch64, linux-x86_64 and linux-aarch64. The nested NATIVE configure no longer exists: the NATIVE tools sub-build is told-DCMAKE_CROSSCOMPILING=FALSE. The assets are on the scratch pre-releasesdk-2473-testand are not pinned.SDK (windows): the NATIVE tools sub-build is not a cross build, so it…
SDK (windows): the NATIVE tools sub-build is not a cross build, so it…