Skip to content

Verify platform TLS linkage without weakening package ABI checks - #363

Merged
chen21019 merged 2 commits into
mainfrom
fix/ubuntu-backport-tls-abi-20261025
Oct 24, 2026
Merged

chen21019 merged 2 commits into
mainfrom
fix/ubuntu-backport-tls-abi-20261025

Conversation

@chen21019

@chen21019 chen21019 commented Oct 24, 2026 •

Copy link
Copy Markdown

The consumer preflight rejected stable jq 1.8.2 because its new thread-local sort state adds the amd64 loader dependency. Real installation also found the minimal Ubuntu image's deliberate message-catalog exclusions.

Keep full archive/SHA, payload and ABI verification. Accept only the exact platform TLS import, require its versioned export in installed and qualified loaders, and reject removed dependencies, other additions, lost export versions or changed SONAMEs. Preserve dpkg settings while restoring only exact SHA-bound documentation/message catalogs; executable or ELF-disguised catalogs remain rejected. No public payload schema changes.

A test-only C probe dynamically loads libjq with RTLD_NOW and checks exact sorted output in four independent threads, plus normal/error end-of-stream. Its compiler/headers/executable remain outside product images. Both GNU and uutils publication receipts must include this control.

Validation: isolated QA VM passed Go 1.27.3 format/unit/static-build gates and both complete GNU/uutils consumer flows: real batch installation, strict post-verification, provider/package-set/configuration preservation, documentation/catalog restoration, loader/cache and CLI controls, and RTLD_NOW plus 4×128 runtime sorts. The static binary is ca5202850ec65c6bd58b9fd307405c611bcccb7808f931324e70c9adbe350fe9. Qualifier tests (25) pass. A separate read-only review compared all 34 library pairs and found no dropped versioned exports. Prior failed pipeline/fixture evidence is retained. Unchanged native package suites are reused, not rerun. Normal required PR checks remain mandatory before merge.

@chen21019
chen21019 requested a review from a team as a code owner October 24, 2026 21:38
@chen21019
chen21019 merged commit 28f3a58 into main Oct 24, 2026
7 checks passed
@chen21019
chen21019 deleted the fix/ubuntu-backport-tls-abi-20261025 branch October 24, 2026 21:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant