Repository navigation
fix(release): build Linux on Ubuntu 22.04's glibc, 0.1.1 - #8
Merged
Merged
Conversation
Built on Ubuntu 24.04, std's weak pidfd_spawnp and pidfd_getpid carried GLIBC_2.39, so on an older glibc (Ubuntu 22.04, Debian 12) the loader printed "weak version `GLIBC_2.39' not found" at every start of lawh 0.1.0 and of each math worker. The Linux builds now run in an ubuntu:22.04 container, the glibc floor counts weak references and fails above 2.35, and the smoke test fails on any stderr output. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
lawh 0.1.0's Linux binaries print a loader warning at every start on glibc older than 2.39 (Ubuntu 22.04, Debian 12), and once more for each math worker:
lawh still runs and exports there. The cause: built on Ubuntu 24.04, Rust std's weak
pidfd_spawnpandpidfd_getpidcarry theGLIBC_2.39version. Built against glibc 2.35 they carry none (checked with a test program built inubuntu:22.04).ubuntu:22.04container (pinned by digest) on the same runners. An image doesn't retire with a runner, unlikeubuntu-22.04(2027-04-17).--versionor the export, which runs on glibc 2.35 in the container.🤖 Generated with Claude Code