Repository navigation
Fix #2390: cross embedded sets define the empty wo-wasm32 bundle slots - #2391
Conversation
|
Fix verified locally: seed-driven release build green, then |
The generated EmbeddedBundlesData is shared by every compiler build
and names the wasm32 bundle slots (wo_<name>_wasm32_{o,manifest,wi});
the bootstrap embedding defines them empty, but the three cross
embedded sets — linux (add_cross_rt_targets), windows x86_64 and
windows aarch64 — never did, so cross-compiling the compiler failed
to link (undefined with_embedded_wo_zlib_wasm32_wi_end and kin) on
every commit since the wasm32 bundle embedding landed. Proven before
the fix by :cross-arm-compiler failing to link at e4861e1 on
eric-5090 and by windows CI run 38390412010 failing on the same
symbols. Mirror the bootstrap treatment with the existing
add_empty_wo_blob_targets/target_with_empty_wo_blobs helpers; an
empty manifest is a slot this binary does not fill.
d4062fa to
433ad0b
Compare
|
Stack battery GREEN at |
|
Per Eric: windows-aarch64 verification is out of scope for now (Mac, Linux-x64, Windows-x64 only), so the eric-5090 emit proof is stopped and its uncommitted workflow draft discarded — this stack merges on the GREEN battery at |
Stacked on #2389; part of D118 (#2305). The generated
EmbeddedBundlesDatais shared by every compiler build and names the wasm32 bundle slots (wo_<name>_wasm32_{o,manifest,wi}); the bootstrap embedding defines them empty, but the three cross embedded sets — linux (add_cross_rt_targets), windows x86_64, windows aarch64 — never did, so cross-compiling the compiler has failed to link since the wasm32 bundle embedding landed.Failure-first evidence:
:cross-arm-compilerat e4861e1 on eric-5090 and windows CI run 38390412010 both fail only on these symbols (nmconfirms the crossembedded_objects.odefines none while the native defines them). Fix mirrors the bootstrap treatment via the existingadd_empty_wo_blob_targets/target_with_empty_wo_blobshelpers; an empty manifest is a slot this binary does not fill.Ceremony: move-arg in build rises 163 → 169 and is granted in build/ceremony-allowances.tsv — the six new moves thread Build/Target through the existing consuming helpers at the three cross sites, spelling the ownership transfer those signatures declare, as every neighboring call does.
Verification: seed-driven release build green;
:cross-arm-compilerrc=0 and the ARM aarch64 ELF runs natively in Docker (with v0.15.3.0); gate and the stack's single battery follow on this PR.