me

/

vinix-ports Public
382 commits 0 issues 0 pull requests 1 contributor Discussions Projects Snippets LOC history Platform CI

Trace published GCC paths to the Vinix compiler packages

diviocity committed 4 days ago · 3ffd7b42cd3aa822f3b06bed8f8d5e44c9567a0a View patch
Unverified signature 3 files changed +24 -2
PROFILES.md +6 -0

@@ -148,6 +148,12 @@ python3 tools/release-files.py "$state/all.tsv" "$state/installed" \

148148

149149## Tracking replacement owners

150150

151+The refreshed candidate `vinix-ports-candidate-20261201` has 158 verified source outputs in 14 stages per architecture. The worker's `foundation/release-mode-migration-coverage-01` directory contains `order/order.tsv`, `order/edges.tsv` and `scan/coverage.tsv` under each target. Start with `receipts.sha256`, whose SHA-256 is `2d407931a4f769589cfe4ffb77d2e414524c2505278882345d51acec11acb2ea`. The two signed offline feeds contain 152 archives each. The corresponding closure tables under `foundation/release-mode-migration-cold-roots-01` record which versions are in the desktop, desktop-plus-X11 and offline seed profiles. [Feed and closure checks](tests/FEED.md#assemble-release-inputs)

152+

153+The refreshed candidate's cold clients also passed the required owner checks. The worker verified that `vinix-pkg` owns the installed permission migration, `vinix-accounts` owns `/etc/passwd`, and the Mesa and Xorg packages own the expected EGL, GLX and software DRI paths. It streamed both exact candidate initramfs files to confirm that the vpac database and permission migration are present and that the Alpine package manager, database and trust paths are absent. See `foundation/release-mode-migration-required-owners-01`, receipt SHA-256 `6cad45c35c5408d94f8f5dec22a2924a01b07e5f4079e10d9419ed5b16d3a494`.

154+

155+The refreshed comparison traces 696 published GCC paths on x86_64 and 588 on AArch64 to package-owned paths under the Vinix compiler triplet. It checks the driver links, headers and compiler internals against the signed installed database. All 165 amd64 and 161 arm64 reference input rows with matching published files have an installed provider backed by a verified source archive. See `foundation/release-mode-migration-gcc-owners-01`, receipt SHA-256 `6b8bd8c685f5386f1b33adedd89758d378281c5239e127e926325cc2ca310bb9`.

156+

151157Run the owner comparison against an installed vpac root on the build worker. It reruns the installed-root auditor, then joins each published path to its actual vpac owner. It retains the original Alpine binary, version, repository and image or sidecar layer. The summary gives the expected Vinix packages, their presence in the signed root and an outstanding check for each input. To inventory an architecture awaiting its first root, omit both client options.

152158

153159```sh

tests/FEED.md +2 -0

@@ -228,6 +228,8 @@ All 24 fixed-address GCC program paths started directly in each client. The vers

228228

229229The AArch64 desktop and desktop-plus-X11 clients also passed the loader check for 150 and 190 executables in QEMU user mode. The worker generated the program lists with `tests/exec-linkage.py --fixture` and ran each client’s musl loader with QEMU’s `-L` set to that client root. See `foundation/release-final-arm64-linkage-02`, receipt SHA-256 `2c27ea80fd2fe0978cb4a3eee7019f8655c44b519c92f46fa3c88cf1c3aa60a0`.

230230

231+On the refreshed signed roots, the same loader checks relocated 150 dynamic executables in each desktop profile and 190 in each desktop-plus-X11 profile. See `foundation/release-mode-migration-linkage-01`, receipt SHA-256 `f0156b485e0fe917d428559cdb89758c4da75605cd771c8d3f17641dd11dea79`.

232+

231233The final x86_64 desktop client passed the expanded `tests/toolchain/Makefile` LTO fixture. It ran `gcc-ar`, `gcc-ranlib` and `gcc-nm` on an archive containing an LTO-only object, verified the archive member and `fill_rows` symbol, then linked and ran the program. See `foundation/release-final-amd64-gcc-wrappers-01`, receipt SHA-256 `1586a6eb39c3ba58f141a1845bd9197cdf5f1afdee5e7b9cc5c9213041d957e6`.

232234

233235The AArch64 `gcc-ar` probe requires a full guest check. In QEMU user mode with `-L`, `newfstatat` found the packaged LTO plugin, then `faccessat` returned `ENOENT` for the same path. The probe saved both calls and the installed plugin checksum. See `foundation/release-final-arm64-gcc-wrapper-path-01`, receipt SHA-256 `7f906221129b4798c60f84052b0ef18f36e6ab25a138a735849555930ab0e576`.

tools/release-owners.py +16 -2

@@ -101,8 +101,22 @@ def relocated(row, path, arch, versions):

101101 return "usr/share/fonts/X11/misc/" + path.removeprefix("usr/share/fonts/misc/")

102102 if origin == "ncurses" and path.startswith("etc/terminfo/"):

103103 return "usr/share/terminfo/" + path.removeprefix("etc/terminfo/")

104- if origin == "binutils" and path.startswith(f"usr/{arch}-alpine-linux-musl/"):

105- return f"usr/{arch}-linux-musl/" + path.removeprefix(f"usr/{arch}-alpine-linux-musl/")

104+ old_target = f"{arch}-alpine-linux-musl"

105+ target = f"{arch}-linux-musl"

106+ if origin == "binutils" and path.startswith(f"usr/{old_target}/"):

107+ return f"usr/{target}/" + path.removeprefix(f"usr/{old_target}/")

108+ if origin == "gcc":

109+ for directory in ("usr/lib/gcc", "usr/libexec/gcc"):

110+ prefix = f"{directory}/{old_target}/"

111+ if path.startswith(prefix):

112+ return f"{directory}/{target}/" + path.removeprefix(prefix)

113+ prefix = f"usr/bin/{old_target}-"

114+ if path.startswith(prefix):

115+ driver = path.removeprefix(prefix)

116+ if driver == "cc":

117+ return "usr/bin/cc"

118+ if driver and "/" not in driver:

119+ return f"usr/bin/{target}-{driver}"

106120 return None

107121

108122