[BUG] Main boot consumers still use V1 after handoff moved to V2 #25

Open
opened 2026-11-12 19:09:46 +01:00 by erikinkinen · 0 comments
Owner

Summary

Bootloader and Kernel main still consume the V1 boot handoff, but lib-handoff main now exports V2. A build using their declared main dependencies cannot compile these consumers.

Reproduction

Use Bootloader 1d234d9148c5183c552a3c0964d9a1bbbdbd9ff6, Kernel 9b120c8703c85001bfaacbcaa6e996b8d4fd98c6 and lib-handoff a96a35ddb9208cd6a2d66b1351c9282f817797d3.

Build the Bootloader tests with actual main providers. Its handoff builder imports BL_KERNEL_HEADER_V1_SIZE, BL_KERNEL_MAGIC_V1 and BlKernelHandoffHeaderV1; the selected provider exports the V2 replacements. Kernel ingress and its entry boundary have the same V1 dependency.

Expected and actual behavior

Current consumers should serialize and validate the V2 contract, retaining complete counted names and their original store bounds. The observed compiler run fails with nine errors for missing V1 items and resulting type inference failures.

Environment and identity

  • x86-64 Linux; Rust 1.93.1; Integration helper 41930448e25d4e188895871db66f73610ada4a83.
  • Source compilation only; no runtime input or boot image is needed.
  • Last working ordinary-main build has not been established.

Evidence and prior checks

Bootloader run 289 compiles a handoff builder byte-identical to Bootloader main against the V2 provider and records the missing items. Main's green CI selects an older companion, so it does not prove compatibility with the declared main provider.

Tracking

Related implementations: Bootloader #24 and Kernel #127. Current-main replacements must be qualified together before an actual boot or release claim.

## Summary Bootloader and Kernel main still consume the V1 boot handoff, but lib-handoff main now exports V2. A build using their declared main dependencies cannot compile these consumers. ## Reproduction Use Bootloader `1d234d9148c5183c552a3c0964d9a1bbbdbd9ff6`, Kernel `9b120c8703c85001bfaacbcaa6e996b8d4fd98c6` and lib-handoff `a96a35ddb9208cd6a2d66b1351c9282f817797d3`. Build the Bootloader tests with actual main providers. Its handoff builder imports `BL_KERNEL_HEADER_V1_SIZE`, `BL_KERNEL_MAGIC_V1` and `BlKernelHandoffHeaderV1`; the selected provider exports the V2 replacements. Kernel ingress and its entry boundary have the same V1 dependency. ## Expected and actual behavior Current consumers should serialize and validate the V2 contract, retaining complete counted names and their original store bounds. The observed compiler run fails with nine errors for missing V1 items and resulting type inference failures. ## Environment and identity - x86-64 Linux; Rust 1.93.1; Integration helper `41930448e25d4e188895871db66f73610ada4a83`. - Source compilation only; no runtime input or boot image is needed. - Last working ordinary-main build has not been established. ## Evidence and prior checks [Bootloader run 289](https://git.erikinkinen.fi/erix/bootloader/actions/runs/289) compiles a handoff builder byte-identical to Bootloader main against the V2 provider and records the missing items. Main's green CI selects an older companion, so it does not prove compatibility with the declared main provider. ## Tracking Related implementations: [Bootloader #24](https://git.erikinkinen.fi/erix/bootloader/pulls/24) and [Kernel #127](https://git.erikinkinen.fi/erix/kernel/pulls/127). Current-main replacements must be qualified together before an actual boot or release claim.
erikinkinen added this to the Alpha 1 milestone 2026-11-12 19:09:46 +01:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
erix/bootloader#25
No description provided.