Skip to content

fix: build Linux binaries in ubuntu:22.04 container for glibc 2.35 compatibility#70

Merged
thisnick merged 3 commits intomainfrom
claude/glibc-version-compatibility-kF56O
Feb 26, 2026
Merged

fix: build Linux binaries in ubuntu:22.04 container for glibc 2.35 compatibility#70
thisnick merged 3 commits intomainfrom
claude/glibc-version-compatibility-kF56O

Conversation

@thisnick
Copy link
Copy Markdown
Owner

No description provided.

…ibility

The release workflow was building on ubuntu-latest (Ubuntu 24.04), which
produced binaries requiring glibc 2.39+. This made the binaries incompatible
with most Linux distributions (only Ubuntu 24.04+ and Fedora 40+ worked).

Switch Linux builds to use the `cross` tool, which compiles inside Docker
containers with an older glibc (2.31). This makes the binaries compatible
with Ubuntu 20.04+, Debian 11+, RHEL 9+, Fedora 33+, and most other
modern Linux distributions.

https://claude.ai/code/session_01PgK6kkizuvPvv6oq1Ku2QW
…mpatibility

Replace the `cross` tool approach (which failed on arm64 runners) with a
dedicated `build-linux` job that runs inside an `ubuntu:22.04` container.
This targets glibc 2.35 for both x86_64 and arm64 Linux builds, making
binaries compatible with Ubuntu 22.04+, Debian 12+, RHEL 9+, and most
modern Linux distributions.

The previous approach using `cross` failed on the arm64 runner because
cross tried to install an x86_64 Rust toolchain inside the arm64
environment.

https://claude.ai/code/session_01PgK6kkizuvPvv6oq1Ku2QW
@thisnick thisnick force-pushed the claude/glibc-version-compatibility-kF56O branch 2 times, most recently from eec58dd to 57d30f4 Compare February 26, 2026 05:09
@thisnick thisnick merged commit 0672991 into main Feb 26, 2026
5 checks passed
@thisnick thisnick deleted the claude/glibc-version-compatibility-kF56O branch February 26, 2026 05:09
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.

2 participants