-
-
Notifications
You must be signed in to change notification settings - Fork 823
Closed
Labels
Description
The current binary releases require glibc >= 2.31, which excludes:
- RHEL/Rocky/Alma 8 (glibc 2.28) — supported until 2029
- RHEL/CentOS 7 (glibc 2.17) — still in use in many production environments
- Ubuntu 18.04 (glibc 2.27) — still common in production
- Debian 10 (glibc 2.28) — still in LTS support
Would you consider adding a glibc 2.17 build target to CI?
I've confirmed Borg 1.4.3 builds and runs correctly on CentOS 7 / Alma & Rocky 8 with the following adjustments:
- Add
-std=c99to CFLAGS (required for GCC 4.8's default C89 mode) - Build Python 3.10 and OpenSSL 1.1.1 locally for the build environment
- Use PyInstaller to produce the single-file binary
The resulting binary works on all glibc 2.17+ systems, which would cover the entire enterprise Linux ecosystem from CentOS 7 through current releases.
A single glibc 2.17 build would provide backward compatibility without requiring multiple build targets.
Example build using glibc 2.1.7 which covers many more older Linux.
https://github.com/marcpope/borgbackupserver/tree/main/public/borg/1.4.3
Reactions are currently unavailable