Repository navigation
engines: build Linux binaries in manylinux_2_28 so they run on glibc < 2.38 - #1805
Merged
Merged
Conversation
…ld on a glibc above 2.28 Every Linux engine since the first release needed GLIBC_2.38: they were compiled on ubuntu-24.04 (glibc 2.39), and a binary runs only where its build machine's glibc or a newer one is installed. They would not start on Ubuntu 22.04, Debian 12, RHEL/Rocky 9 or Amazon Linux 2023: the official python and node Docker images, most CI and most servers. `axiomcode index` there parsed the whole tree and then failed with "GLIBC_2.38 not found". The compile now runs inside manylinux_2_28 (glibc 2.28, GCC 14) on the same runners, and a new step fails the build if any Linux binary asks for a newer glibc. Built this way the engines need glibc 2.25, link no libstdc++, and run on Ubuntu 20.04, Debian 11, Rocky 8 and Ubuntu 22.04. The cache key already hashes this file, so no binary built on the old runner is restored. Co-authored-by: axiomcode-bot[bot] <334110751+axiomcode-bot[bot]@users.noreply.github.com>
swapnilpaliwal-sd
requested review from
JaredHLZhang,
Whua689 and
suyashpaliwal26
as code owners
September 30, 2026 02:52
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.
Every Linux engine binary since the first release needs
GLIBC_2.38, because it is compiled onubuntu-24.04. A binary only runs where the glibc it was built against, or a newer one, is installed. Soaxiomcode indexfails withGLIBC_2.38 not foundafter parsing the tree on:pythonandnodeDocker imagesBoth linux-x64 and linux-arm64 are affected, in 0.1.3, 0.1.6, 0.1.7 and 0.1.8.
Change
manylinux_2_28(glibc 2.28, GCC 14) on the same runners.Verified