From ddcfdab7d77b05020a129ad7b624e0c599346dfc Mon Sep 17 00:00:00 2001 From: diviocity Date: Mon, 30 Nov 2026 03:18:07 +0100 Subject: [PATCH] Raise the ARM desktop SDK floor past the overridden linker default --- BOOTSTRAP.md | 2 +- vinix-release-desktop/PKGBUILD.vile | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/BOOTSTRAP.md b/BOOTSTRAP.md index 5a4d3dd..463e3a3 100644 --- a/BOOTSTRAP.md +++ b/BOOTSTRAP.md @@ -42,7 +42,7 @@ The released arm64 kernel uses 16 KiB pages. For every nonempty ELF load segment The initial arm64 survey covered 22 distinct archive names. Thirteen contained an incompatible load segment, affecting 28 of 53 packaged executables and shared objects. BusyBox 1.38.0-4 and both initial musl releases were affected. The Linux UAPI and fortify headers contained no executable or shared object. Earlier arm64 installation and ownership receipts predate this kernel check. The worker stores the source archive hashes and segment offsets in `arm/abi16/previous-02`, receipt SHA-256 `676679a285a3ccd67bbd85ea2415fbc46e0e79b4f6bfc9bb5e9a12c310bd54f6`. The wrong-machine, historical BusyBox, header-only and x86_64 musl controls are in `arm/abi16/archive-controls-01`, receipt SHA-256 `cc8e171dc5febc3ec75a7a3c30a008c9e49bd7bbc8e9d7ace465c576dee762e1`. -The desktop metapackage requires musl 1.2.6-3 or later on arm64 and 1.2.6-2 or later on x86_64. A vpac metadata check on each architecture accepted the intended minimum and rejected the obsolete ARM loader version for arm64. See `foundation/release-musl-floor-01`, receipt SHA-256 `8ebf28b531b0db68fd393028c3205df6edb719d0675875b6f7a0442077a2621f`. +The desktop metapackage requires musl 1.2.6-4 or later on arm64 and 1.2.6-2 or later on x86_64. The test-signed ARM 1.2.6-3 loader itself had 16 KiB load segments. Its GCC specs let the cross toolchain override that setting for a newly linked shared library. The expected ARM minimum excludes this SDK. The worker checked the architecture-specific version constraints with native vpac metadata in `foundation/release-musl-floor-02`, receipt SHA-256 `2d6886c3bc9fdc7ef38945d303c92cb3b877eba9d67c2fa25b49f46d73019e8a`. Run `python3 tests/exec-linkage.py x86_64 "$client" "$auditor" --proot "$(command -v proot)"` on an x86_64 worker to exercise the installed loader against each dynamic executable in an audited root. For a Vinix guest, use `--fixture "$work/linkage.sh"` and pass that script to the boot harness. Packaged musl 1.2.6 applies relocations before returning from `--list`. It resolved all 109 dynamic executables in the signed 106-package x86_64 root. Renaming the exported `OPENSSL_init_ssl` symbol in an isolated copy of libssl caused the loader to reject `/usr/bin/openssl` with status 127. See `foundation/exec-linkage-01`, receipt SHA-256 `cb2fdec09f4b9e7c873ec82d672af576e9e0c26484f9496744588323a01ed3a0`. diff --git a/vinix-release-desktop/PKGBUILD.vile b/vinix-release-desktop/PKGBUILD.vile index e60dba2..b17c441 100644 --- a/vinix-release-desktop/PKGBUILD.vile +++ b/vinix-release-desktop/PKGBUILD.vile @@ -2,7 +2,7 @@ ; The Vinix image builder adds the kernel, compositor and native services. selected := get-environment-variable("VPAC_TARGET_ARCH") arch := if string?(selected) { selected } else if memq(string->symbol("aarch64"), features()) { "aarch64" } else { "x86_64" } -musl := if string=?("aarch64", arch) { "musl>=1.2.6-3" } else { "musl>=1.2.6-2" } +musl := if string=?("aarch64", arch) { "musl>=1.2.6-4" } else { "musl>=1.2.6-2" } common := list(musl, "busybox>=1.38.0-5", "musl-utils", "ssl-client", "netbase", "vinix-release", "vinix-filesystem>=0.1.0-2", "vinix-accounts", "vinix-keyring", "ca-certificates", "curl", "git", "openssh-client", "vpac", "xbps", -- 2.56.1