ci(release): build linux arm64 gnu on ubuntu-22.04-arm (lower glibc floor)#42
Merged
Merged
Conversation
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.
What
Build the
aarch64-unknown-linux-gnurelease leg onubuntu-22.04-arminstead ofubuntu-24.04-arm.Why
The arm64 gnu binary was built on
ubuntu-24.04-arm(glibc 2.39) while the amd64 gnu leg already builds onubuntu-22.04(glibc 2.35). So the published linux arm64 binary fails on common LTS bases:i.e. it won't run on Ubuntu 22.04, Debian 12, etc. This pins the arm64 leg to the same glibc 2.35 floor as amd64.
Verification
Found via BOP-385 cross-platform validation of published
v1.1.0-rc.19: the arm64 gnu binary PASSED on Ubuntu 24.04 (glibc 2.39) but failed to load on Ubuntu 22.04 (glibc 2.35). Takes effect on the next release; a re-cut republishes a 22.04-compatible arm64 binary.Note:
base/base's ownbase-anvil-package.yml/build-release.ymlbuild arm64 onubuntu-24.04-armand likely share this floor — out of scope here.