Repository navigation
windows-aarch64 lane roots: LF locks and the SDK libc parse - #2474
Conversation
Native lane run 39296788835 built stage2==stage3 on the new seed, then failed :test at two roots. seed-driver refused the pinned seed: a CRLF checkout leaves a trailing CR on every seed.lock digest, so the 64-hex check reads 65 chars; pin seed.lock/sdk.lock to LF in .gitattributes. And every c_import header failed to parse: link_stage_windows_c_target_uses_sdk_libc still gated the SDK-libc parse to x86_64, so a native aarch64 parse read mingw-w64 headers as the host MSVC target. aarch64 now uses the SDK libc when the SDK carries its crt (the windows-gnu SDK does; a Visual Studio-built one keeps the WITH_WINDOWS_*_INCDIR fallback), mirroring the link recipe. Extended link_windows_cross_sdk_test.w covers the gate.
|
Battery on 41039e9 is RED only at This reproduces outside the battery and outside this change: a fresh |
|
Fresh recheck: the battery blocker is unchanged. |
|
Battery re-run GREEN on 41039e9 ( |
Native lane run 39296788835 on the new seed built stage1→stage2→stage3, passed WebAssembly fixtures and the stage2==stage3 fixpoint, then failed
:test. Two root causes, fixed here:seed-driver refused the pinned seed on Windows only:
seed.lock has no version or no 64-hex digest for with-windows-aarch64.exe.lock_valuesplits on\n, so a CRLF checkout (autocrlf default on the Windows runners) leaves a trailing\ron every digest and the exact-64 check inret_require_pinned_driverreads 65 chars.seed.lock/sdk.lockare now pinned to LF in.gitattributes, the same treatment asdocs/with-abi.sha256.Every c_import header failed to parse on native aarch64 (
stdlib.h: expected ';' after top level declarator, 69 behavior files plus spec/compile-error cascades):link_stage_windows_c_target_uses_sdk_libcstill gated the SDK-libc parse to x86_64, so the parse read mingw-w64's headers as the host MSVC target with no SDK sysroot. aarch64 now uses the SDK libc when the SDK carries itscrt2.o— the windows-gnu SDK does; a Visual Studio-built SDK keeps theWITH_WINDOWS_*_INCDIRfallback — mirroring the link recipe from cross windows link: use the target SDK from llvm_ld.rsp #2470/cross windows metadata: mangle clang_main for the target SDK #2471. The pure gate is factored aslink_stage_windows_uses_sdk_libc_forand covered inlink_windows_cross_sdk_test.w.Evidence:
:dev+ fixture green, ceremony census diff ok, seed-driven:gategreen. Battery evidence before ready. Remaining lane failures from that run (internals timeouts, fn_abi source path, stdlib-complexity timing) are separate roots to triage on the re-run; #2305 stays open until the lane is fully green.