Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

glibc: 2.35-224 -> 2.37-8 #188492

Merged
merged 21 commits into from
Apr 3, 2023
Merged

glibc: 2.35-224 -> 2.37-8 #188492

merged 21 commits into from
Apr 3, 2023

Commits on Mar 29, 2023

  1. Configuration menu
    Copy the full SHA
    b42ee8b View commit details
    Browse the repository at this point in the history
  2. gcc11: fix build w/glibc-2.36

    Ma27 committed Mar 29, 2023
    Configuration menu
    Copy the full SHA
    b2a1ac4 View commit details
    Browse the repository at this point in the history
  3. gcc: exclude malformed sys/mount.h from fixed headers directory

    Previously, builds such as `cmake` would fail with errors like this:
    
        In file included from /nix/store/injyphmxqgi028skp28fsmdvbdb57nvl-glibc-2.36-48-dev/include/linux/fs.h:19,
                         from /build/cmake-3.24.2/Utilities/cmlibarchive/libarchive/archive_read_disk_posix.c:56:
        /nix/store/injyphmxqgi028skp28fsmdvbdb57nvl-glibc-2.36-48-dev/include/linux/mount.h:95:6: error: redeclaration of 'enum fsconfig_command'
           95 | enum fsconfig_command {
              |      ^~~~~~~~~~~~~~~~
    
    The reason behind that is that the kernel exports `linux/mount.h` via
    kernel headers APIs that are also defined in `sys/mount.h` from glibc.
    To avoid clashes, safeguards were implemented in glibc to prevent this
    from happening[1][2].
    
    However, these `#ifndef`-safeguards are removed by `fixincludes` during
    gcc's build and the (broken) result is subsequently copied into
    `include-fixed/sys/mount.h` which is added to each build via the
    cc-wrapper. To work around this, I decided to simply drop the file: it
    also exists in glibc's output and our gcc12 doesn't seem to expose this
    anymore anyways.
    
    [1] Commit bb1e8b0ca99b5cbedfae3e6245528a87d95ff3e2
    [2] Commit 3bd3c612e98a53ce60ed972f5cd2b90628b3cba5
    Ma27 committed Mar 29, 2023
    Configuration menu
    Copy the full SHA
    019f605 View commit details
    Browse the repository at this point in the history
  4. gcc10: fix build w/glibc-2.36

    Failing Hydra build: https://hydra.nixos.org/build/193327405
    Same fix as for gcc11.
    Ma27 committed Mar 29, 2023
    Configuration menu
    Copy the full SHA
    b0265aa View commit details
    Browse the repository at this point in the history
  5. gcc9: fix build w/glibc-2.36

    Failing Hydra build: https://hydra.nixos.org/build/193342322
    Patch from gcc11 requires some minor adjustments to properly apply.
    Ma27 committed Mar 29, 2023
    Configuration menu
    Copy the full SHA
    531a196 View commit details
    Browse the repository at this point in the history
  6. gcc8: fix build w/glibc-2.36

    Ma27 committed Mar 29, 2023
    Configuration menu
    Copy the full SHA
    b0d673c View commit details
    Browse the repository at this point in the history
  7. gcc7: fix build w/glibc-2.36

    Ma27 committed Mar 29, 2023
    Configuration menu
    Copy the full SHA
    0ed55ff View commit details
    Browse the repository at this point in the history
  8. gcc6: fix build w/glibc-2.36

    Ma27 committed Mar 29, 2023
    Configuration menu
    Copy the full SHA
    9bb6dc1 View commit details
    Browse the repository at this point in the history
  9. gcc49: fix build w/glibc-2.36

    Ma27 committed Mar 29, 2023
    Configuration menu
    Copy the full SHA
    2a2cd02 View commit details
    Browse the repository at this point in the history
  10. libcdio: fix build w/glibc-2.36

    Ma27 committed Mar 29, 2023
    Configuration menu
    Copy the full SHA
    1e33e85 View commit details
    Browse the repository at this point in the history
  11. lxc: fix build w/glibc-2.36

    Failing Hydra build: https://hydra.nixos.org/build/193338640
    
    We don't need the `meson.build` fixes because (1) lxc4 doesn't use meson
    and (2) it contains some fixes to make sure it works both with newer and
    older glibc versions. Since we only ship glibc 2.36 from now on, we can
    skip that.
    Ma27 committed Mar 29, 2023
    Configuration menu
    Copy the full SHA
    7f06aa7 View commit details
    Browse the repository at this point in the history
  12. criu: fix build w/glibc-2.36

    Ma27 committed Mar 29, 2023
    Configuration menu
    Copy the full SHA
    ea13def View commit details
    Browse the repository at this point in the history
  13. spdk: fix build w/glibc-2.36

    Ma27 committed Mar 29, 2023
    Configuration menu
    Copy the full SHA
    2768c81 View commit details
    Browse the repository at this point in the history
  14. Configuration menu
    Copy the full SHA
    c5aabf6 View commit details
    Browse the repository at this point in the history
  15. lxcfs: fix build w/glibc-2.36

    The functions pidfd_open & pidfd_send_signal are now part of `glibc`,
    but defined in the header `sys/pidfd.h` which is not included in
    `bindings.c`.
    
    Failing Hydra build: https://hydra.nixos.org/build/193376808
    Ma27 committed Mar 29, 2023
    Configuration menu
    Copy the full SHA
    5f0b5cc View commit details
    Browse the repository at this point in the history
  16. xorg.xdm: fix build w/glibc-2.36

    Ma27 committed Mar 29, 2023
    Configuration menu
    Copy the full SHA
    7046f09 View commit details
    Browse the repository at this point in the history
  17. gccgo6: fix build w/glibc-2.36

    Ma27 committed Mar 29, 2023
    Configuration menu
    Copy the full SHA
    89fda21 View commit details
    Browse the repository at this point in the history
  18. Configuration menu
    Copy the full SHA
    667fac1 View commit details
    Browse the repository at this point in the history
  19. Configuration menu
    Copy the full SHA
    047f379 View commit details
    Browse the repository at this point in the history

Commits on Apr 1, 2023

  1. gamemode: fix build w/ glibc-2.36

    To correctly find the implementation of `pidfd_open` - which was
    introduced in glibc 2.36 - an additional `#include` is needed. The newly
    introduced patch adds that.
    
    Failing Hydra build: https://hydra.nixos.org/build/214432977
    Ma27 committed Apr 1, 2023
    Configuration menu
    Copy the full SHA
    cea8b33 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    26495c8 View commit details
    Browse the repository at this point in the history