Repository navigation
SDK windows follow-ups: NATIVE tablegen args and libclang.a naming - #2466
Merged
Merged
Conversation
added 2 commits
October 18, 2026 22:38
SDK run 39180949033, windows-x86_64 job: past sdk-windows-libc, the LLVM build died configuring its NATIVE sub-build - bare clang could not find -lunwind. The gnu args name CMAKE_SYSTEM_NAME, so CMake calls the build crosscompiling and LLVM configures NATIVE for its tablegens; that configure inherits none of the sysroot/INIT flags. The same args now travel through CROSS_TOOLCHAIN_FLAGS_NATIVE, LLVM's own channel for exactly this.
…clang.lib (#2305) Lane run 39205559718 died at Fetch SDK: 'libclang.lib missing'. The sdk-release-built windows-aarch64 SDK is a windows-gnu build (#1915) whose archives are GNU-named; only the retired hand-built Visual Studio SDK shipped .lib. The :deps marker (compiler_default_libclang_archive_path), the libclang fallback, and both lane fetch checks now name libclang.a. Link already detects the gnu SDK by that name and needs no Visual Studio for it.
Contributor
Author
|
Battery green on edf4270 (two-commit top): |
ehartford
marked this pull request as ready for review
October 19, 2026 05:53
ehartford
pushed a commit
that referenced
this pull request
Oct 19, 2026
…2305) Run 39207158866's windows-aarch64 SDK job died at its own Fetch step on the libclang.lib presence test - the same naming #2466 fixed in the lane and nightly workflows, at its two remaining sites (sdk-release's fetch and the cross seed job's guard). The asset it fetches is the rebuilt gnu SDK, whose archives are .a.
ehartford
added a commit
that referenced
this pull request
Oct 19, 2026
#2467) * windows link: a gnu SDK links from its own libc on aarch64 too (#2305) Lane run 39207156698 linked stage1 through the Visual Studio recipe and died on dllimport UCRT symbols (_aligned_malloc, _setjmpex, lseek64, __cxa_thread_atexit): sdk_libc was gated to x86_64 from when the aarch64 SDK was Visual Studio-built. The rebuilt aarch64 SDK is a windows-gnu build carrying its own libc (crt2.o, libc++, builtins all in the manifest), detected by lib/libclang.a like x86_64's. The gate now reads (x86_64 or gnu SDK) and (program link or gnu SDK), so a VS-built aarch64 SDK keeps the old path and the pinned gnu one links from the SDK only. * SDK fetch checks: the rebuilt windows-aarch64 SDK ships libclang.a (#2305) Run 39207158866's windows-aarch64 SDK job died at its own Fetch step on the libclang.lib presence test - the same naming #2466 fixed in the lane and nightly workflows, at its two remaining sites (sdk-release's fetch and the cross seed job's guard). The asset it fetches is the rebuilt gnu SDK, whose archives are .a. --------- Co-authored-by: Eric Hartford <[email protected]>
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.
Two leftovers from SDK release run 39180949033 and lane run 39205559718, as two commits:
unable to find library -lunwind. The gnu args name CMAKE_SYSTEM_NAME, so CMake calls the build crosscompiling; the NATIVE configure inherits none of the sysroot/INIT flags. The same args now travel throughCROSS_TOOLCHAIN_FLAGS_NATIVE.libclang.lib missing. The :deps marker, the libclang fallback, and both fetch checks now namelibclang.a(Link already detects the gnu SDK by that name).Gate rc=0 on the two-commit top. Battery result posted before ready. After merge: SDK release re-dispatch (windows-x86_64 full green) and the windows-aarch64 lane re-dispatch for #2305.