Skip to content

release: build Linux binaries against glibc 2.28 - #17

Merged
thistehneisen merged 2 commits into
mainfrom
release-glibc-2.28
Nov 14, 2026
Merged

thistehneisen merged 2 commits into
mainfrom
release-glibc-2.28

Conversation

@thistehneisen

Copy link
Copy Markdown
Contributor

Linux release binaries were built on ubuntu-latest / ubuntu-24.04-arm and required glibc 2.39, so they failed on Debian 12 and Ubuntu 22.04 with GLIBC_2.38 not found (affects the release downloads, cargo binstall and BlackArch on older hosts).

The two Linux targets now build with cargo-zigbuild against glibc 2.28 (x86_64-unknown-linux-gnu.2.28, aarch64-unknown-linux-gnu.2.28). upload-rust-binary-action strips the .2.28 suffix from $target, so archive names, the binstall pkg-url and the Homebrew bump step are unchanged. macOS and Windows still build with plain cargo.

Tested locally: built both targets with cargo zigbuild --release --locked in rust:1-bookworm, then ran threat-finder --version (prints threat-finder 0.4.1) on amd64 and arm64 of:

Image amd64 arm64
debian:10 ok ok
debian:12 ok ok
ubuntu:20.04 ok ok
ubuntu:22.04 ok ok
ubuntu:24.04 ok ok
rockylinux:8 ok ok

actionlint is clean. Takes effect with the next tag.

@thistehneisen
thistehneisen merged commit 0720592 into main Nov 14, 2026
8 checks passed
@thistehneisen
thistehneisen deleted the release-glibc-2.28 branch November 14, 2026 19:42
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