Skip to content

Ship with old GLIBC version #33

Description

@viferga

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions