diff --git a/local/docs/evidence/lg-gram/ASSESSMENT-2026-07-26.md b/local/docs/evidence/lg-gram/ASSESSMENT-2026-07-26.md index 77a7c48b2f..a042c773e9 100644 --- a/local/docs/evidence/lg-gram/ASSESSMENT-2026-07-26.md +++ b/local/docs/evidence/lg-gram/ASSESSMENT-2026-07-26.md @@ -1,11 +1,54 @@ # LG Gram 16Z90TP-G.AL89C — Compatibility Assessment (2026-07-26) -**Round:** 4 of N -**Scope:** Build verification (first time after 4 rounds), _fenv POSIX stubs, MWAIT idle loop audit, continued build-blocker fixes. +**Round:** 5 of N +**Scope:** Fix relibc cross-compile denied warnings (last LG Gram build blocker), verify ISO build, document results. **Methodology:** Plan doc cross-checked against full code inventory by explore agent across 15 subsystems + CHANGELOG history + HARDWARE-VALIDATION-MATRIX + boot-logs + evidence directories. --- +## Round 5 deliverables (landed 2026-07-26) + +### Relibc cross-compile denied warnings fixed — LAST LG Gram build blocker + +Fixed the two cross-compile-specific denied warnings that blocked relibc cook (relibc commit `57e369dd`): + +1. `unused import: in6_addr` (`socket.rs:23`) — parallel agent's IPv6 work imported `in6_addr` type but never referenced it directly. Removed from import. +2. `unnecessary unsafe block` (`socket.rs:76`) — `unsafe { &data.sin6_addr.s6_addr }` was unnecessary because `data` was already a safe `&sockaddr_in6` reference (created by the unsafe cast on line 75). Removed wrapper. + +Both errors only appeared with `-Z build-std` cross-compile strict lints; host `cargo check` passed without them. + +### Build verification: relibc AND base cook SUCCESSFULLY + +First successful cook of BOTH prefix-critical recipes after 5 rounds: + +| Recipe | Round 5 result | Verified across | +|---|---|---| +| **relibc** | ✅ SUCCESSFUL | 2 consecutive builds (round5, round5c, round5f) | +| **base** | ✅ SUCCESSFUL | 4 consecutive builds (round4f, round5, round5c, round5f) | +| **kernel** | ✅ SUCCESSFUL (cached from round4) | All kernel changes cook for target | +| **all other recipes** | ✅ complete (except brush) | redbear-* tools, driver-manager, etc. | +| **brush** | ❌ FAIL | Parallel agent actively modifying source tree; `git checkout` fails on dirty `input_backend.rs`. Unrelated to LG Gram. | +| **ISO** | ❌ NOT produced | brush failure blocks ISO assembly | + +### Assessment: all LG Gram changes verified compiling + +After 5 rounds, ALL LG Gram compatibility changes compile and link for `x86_64-unknown-redox`: + +| Change | Round | Compiles? | +|---|---|---| +| acpid SystemQuirkFlags (force_s2idle, no_legacy_pm1b) | R1 | ✅ (base cook) | +| ps2d kbd_deactivate_fixup | R1 | ✅ (base cook) | +| redox-driver-sys load_dmi_acpi_quirks real loader | R1 | ✅ (cargo test 80 pass) | +| PANEL_ORIENTATION_TABLE populated | R1 | ✅ (cargo test 80 pass) | +| Lid-closed → enter_s2idle, lid-open → exit_s2idle | R2 | ✅ (base cook) | +| Kernel SMBIOS scan + acpi_irq1_skip_override | R3 | ✅ (kernel cook) | +| Kernel page-fault todo!() → SIGSEGV | R3 | ✅ (kernel cook) | +| _fenv POSIX stubs implemented | R4 | ✅ (relibc cook) | +| MWAIT idle loop | R4 discovery (parallel) | ✅ (kernel cook) | +| Build-blocker fixes (socket.rs, dhcpd, ixgbed) | R4-R5 | ✅ (relibc+base cook) | + +--- + ## Round 4 deliverables (landed 2026-07-26) ### Build verification: base cook SUCCEEDS diff --git a/local/docs/NETWORKING-STACK-STATE.md b/local/docs/legacy-obsolete-2026-07-25/NETWORKING-STACK-STATE.md similarity index 100% rename from local/docs/NETWORKING-STACK-STATE.md rename to local/docs/legacy-obsolete-2026-07-25/NETWORKING-STACK-STATE.md diff --git a/local/docs/RAPL-IMPLEMENTATION-PLAN.md b/local/docs/legacy-obsolete-2026-07-25/RAPL-IMPLEMENTATION-PLAN.md similarity index 100% rename from local/docs/RAPL-IMPLEMENTATION-PLAN.md rename to local/docs/legacy-obsolete-2026-07-25/RAPL-IMPLEMENTATION-PLAN.md diff --git a/local/docs/WAYLAND-IMPLEMENTATION-PLAN.md b/local/docs/legacy-obsolete-2026-07-25/WAYLAND-IMPLEMENTATION-PLAN.md similarity index 100% rename from local/docs/WAYLAND-IMPLEMENTATION-PLAN.md rename to local/docs/legacy-obsolete-2026-07-25/WAYLAND-IMPLEMENTATION-PLAN.md diff --git a/local/sources/base b/local/sources/base index f9eff050ad..6c9faff30c 160000 --- a/local/sources/base +++ b/local/sources/base @@ -1 +1 @@ -Subproject commit f9eff050ad4be59836a45a79208954a6d13a0a9f +Subproject commit 6c9faff30ccb1c5cf37b861fa42b22dabbf94e4e diff --git a/local/sources/relibc b/local/sources/relibc index e5419e4491..57e369ddef 160000 --- a/local/sources/relibc +++ b/local/sources/relibc @@ -1 +1 @@ -Subproject commit e5419e44919449947e9b64f30d71c8a5c8600ad2 +Subproject commit 57e369ddef13d6bdd783d9de0aefa02f88eb56b5