Repository navigation
build graph: zero-fill the linux_aarch64 runtime slot in embedded objects (windows-aarch64 cross seed) - #1089
Merged
Merged
Conversation
…ects Every platform slot src/compiler/Link.w declares (with_embedded_rt_<p>_o_ start/_end) must exist in every embedded-objects blob. The native targets pass each other platform's zero-length blob as an explicit input; the cross-rt-windows-* targets pass only their own platform object and rely on the embed action's zero-fill for the rest -- and that list in BuildGraphOps.w stopped at four platforms. The windows-aarch64 cross seed (seed-windows-aarch64.yml) therefore died at the COFF link: lld-link: error: undefined symbol: with_embedded_rt_linux_aarch64_o_start lld-link: error: undefined symbol: with_embedded_rt_linux_aarch64_o_end (run 34055417973, source 4e6666d). Fifth slot added; the comment names the two other copies of the list (build.w embedded_platform_symbols, Link.w externs) so the next platform lands in all three. Refs #1081
ehartford
added a commit
that referenced
this pull request
Sep 7, 2026
v0.15.2.1 now carries with-windows-aarch64.exe: cross-built (aarch64-pc-windows-msvc) on the native windows-x86_64 box from ea37727 -- v0.15.2.1 plus the #1089 embedded-slot fix the cross link needs -- with the published sdk-windows-aarch64 SDK and xwin's arm64 import libs; llvm-readobj: IMAGE_FILE_MACHINE_ARM64. An intermediate seed, not fixpoint-verified: this pin's own windows-aarch64 lane is the native stage1 -> stage2 -> stage3 bootstrap that verifies it. Both aarch64 pins follow the lock (tools/bump_seed_pins.w).
…compiler The `:cross-rt-windows-aarch64` step ran under WITH=with-seed, the downloaded host seed. The embed action (EmbedObjectFiles, src/BuildGraphOps.w) executes inside whichever driver runs that target, so the platform-slot zero-fill was the seed's list, not this tree's -- which is why run 34058556059 still failed at the COFF link on with_embedded_rt_linux_aarch64_o_start after ea37727 added the slot. The cross-emit step already uses out/release/bin/with; the cross-rt step now does too.
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.
The embed action's zero-fill list stopped at four platforms; the cross-rt-windows-* targets rely on it for every platform but their own, so the windows-aarch64 cross seed failed at the COFF link on with_embedded_rt_linux_aarch64_o_start/_end (run 34055417973). Fifth slot added. Verification: seed-windows-aarch64.yml dispatched from this branch's SHA. Refs #1081.