Guix uses the latest version of GLIBC, this is problematic because it does not work on old Linux versions. The idea is that is that old versions work on new ones, but not the opposite.
For doing this, here's how:
https://stackoverflow.com/questions/66063337/build-against-an-old-glibc-with-guix
(use-modules (gnu packages base)
(gnu packages commencement)
(gnu packages gcc)
(gnu packages version-control))
(define-public gcc-glibc-2.29-toolchain
(make-gcc-toolchain gcc glibc-2.29))
(list gcc-glibc-2.29-toolchain git coreutils)
guix environment --pure --ad-hoc --load=development-environment.scm
We need to see how to do this for the whole build.
Guix uses the latest version of GLIBC, this is problematic because it does not work on old Linux versions. The idea is that is that old versions work on new ones, but not the opposite.
For doing this, here's how:
https://stackoverflow.com/questions/66063337/build-against-an-old-glibc-with-guix
(use-modules (gnu packages base) (gnu packages commencement) (gnu packages gcc) (gnu packages version-control)) (define-public gcc-glibc-2.29-toolchain (make-gcc-toolchain gcc glibc-2.29)) (list gcc-glibc-2.29-toolchain git coreutils)We need to see how to do this for the whole build.