Answer to the Core Question
AlmaLinux 8 will not backport glibc 2.34 or later. The distribution follows the RHEL 8 upstream policy of preserving ABI stability and does not plan to ship a newer glibc version on the 8.x branch. Consequently, binaries compiled against glibc 2.34 may fail to start or exhibit undefined behavior on AlmaLinux 8 due to missing symbols or ABI changes.
For applications that require glibc 2.34, the recommended migration strategies on AlmaLinux 8 are:
- Rebuild the application against glibc 2.32 (the version shipped on AL8) if the code does not use features added after 2.32.
- Static‑link glibc (or use a static‑linked musl build) to embed the required symbols into the binary, keeping the runtime independent of the host glibc.
- Run the binary inside a container that uses a newer base image (e.g., AlmaLinux 9 or RHEL 9) and rely on the container runtime to provide the correct glibc version.
AlmaLinux 9, based on RHEL 9, ships with glibc 2.34 (or newer). A binary compiled against glibc 2.34 will run natively on AlmaLinux 9 without modification, provided it does not rely on any platform‑specific runtime hooks that changed between RHEL 8 and RHEL 9.
Why Backporting is Unlikely
Backporting a newer glibc to a RHEL‑derived distro is uncommon because it can break binary compatibility across the entire ecosystem. Downstream maintainers typically avoid such changes to preserve the ABI guarantees that many applications depend on. The AlmaLinux project has not announced any plan to backport glibc 2.34 to the 8.x branch, and repository searches show no glibc‑2.34 packages for AL8.
Verification Steps for Your Environment
Check the host glibc version: ldd --version should report 2.32 on a clean AlmaLinux 8 system.
Compile a minimal test program against glibc 2.34 (e.g., using a Docker image with glibc‑2.34) and attempt to run it on AlmaLinux 8. Observe any missing symbol errors or crashes.
On AlmaLinux 9, run the same binary. ldd --version should report 2.34 or newer, and the binary should execute without errors.
If you choose the container route, pull an AlmaLinux 9 image: podman pull almalinux:9 and test the binary inside the container.
Potential Edge Cases
If your application uses glibc features added after 2.32 (e.g., certain clock_gettime variants, new pthread extensions, or TLS‑related APIs), simply rebuilding against 2.32 may not be sufficient. In that scenario, containerization or static linking becomes the safer path.
Missing Diagnostic Detail
To fine‑tune the recommendation, could you confirm whether the application uses any glibc functionality introduced after version 2.32? This information will determine if a rebuild against 2.32 will work unchanged or if a container or static link is required.