Skip to content

glibc: 2.42-84 -> 2.44-25 - #557451

Merged
vcunat merged 82 commits into
NixOS:stagingfrom
Ma27:bump-glibc
Sep 23, 2026
Merged

vcunat merged 82 commits into
NixOS:stagingfrom
Ma27:bump-glibc

Conversation

@Ma27

@Ma27 Ma27 commented Aug 28, 2026

Copy link
Copy Markdown
Member

Announcements:

cc @vcunat please create a Hydra jobset :)
cc @philiptaron I gave attribution to the things I took from #502924. If you feel like I've missed something, let me know!

Things done

@nixpkgs-ci nixpkgs-ci Bot added 8.has: package (update) This PR updates a package to a newer version 10.rebuild-linux: 501+ This PR causes many rebuilds on Linux and should normally target the staging branches. 10.rebuild-darwin: 501+ This PR causes many rebuilds on Darwin and should normally target the staging branches. 10.rebuild-linux-stdenv This PR causes stdenv to rebuild on Linux and must target a staging branch. 10.rebuild-darwin: 5001+ This PR causes many rebuilds on Darwin and must target the staging branches. 10.rebuild-linux: 5001+ This PR causes many rebuilds on Linux and must target the staging branches. 10.rebuild-nixos-tests This PR causes rebuilds for all NixOS tests and should normally target the staging branches. 6.topic: python Python is a high-level, general-purpose programming language. labels Aug 28, 2026
@nixpkgs-ci
nixpkgs-ci Bot requested a review from bjornfor August 31, 2026 19:26
@vcunat

vcunat commented Sep 2, 2026

Copy link
Copy Markdown
Member

I wonder if /etc/tunables.conf will cause trouble with the Nix model where many different versions share the same filesystem.

Specific tunable settings and the /etc/tunables.conf file format and path are not part of the stable library interfaces and may change between releases.

@Ma27

Ma27 commented Sep 4, 2026

Copy link
Copy Markdown
Member Author

@vcunat @Gskartwii your feedback is acknowledged and I'll look into it later. Right now I'm trying to reduce regressions and thus I'm trying to avoid rebases or low-level changes to not stress Hydra too much while at it.

@nixpkgs-ci nixpkgs-ci Bot added the 2.status: merge conflict This PR has merge conflicts with the target branch label Sep 4, 2026
@Ma27 Ma27 mentioned this pull request Sep 8, 2026
Ma27 added 10 commits September 19, 2026 16:44
`struct open_how` is actually defined now, even though the value is set
to false.

Failing Hydra build: https://hydra.nixos.org/build/344143757
Failing Hydra build: https://hydra.nixos.org/build/344163800

The full commit[1] doesn't apply on 6.1, so I ported the only relevant
portion to it.

Backport is currently pending[2] (as I've noticed after hand-rolling
this patch), so for now we're only applying what we actually need.

[1] https://lore.kernel.org/r/[email protected]
[2] https://lore.kernel.org/all/2026051315-engorge-agreed-39cb@gregkh/
Failing Hydra build: https://hydra.nixos.org/build/344146127

Electron 43+ have a Chromium codebase that is new enough to contain the
patch in question.
@nixpkgs-ci nixpkgs-ci Bot added 6.topic: kernel The Linux kernel and removed 2.status: merge conflict This PR has merge conflicts with the target branch labels Sep 19, 2026
@vcunat

vcunat commented Sep 19, 2026

Copy link
Copy Markdown
Member

Oh, a mass rebuild? Intended for Hydra? (it does have free capacity now)

@Ma27

Ma27 commented Sep 19, 2026

Copy link
Copy Markdown
Member Author

A note on regressions: last Hydra eval with binaries had 277 regressions.
I did some fixes after that that likely reduced the number by quite a lot, most notably fixing electron_42 and linux_6_1.

IMHO the rest can be done on staging or the next ZHF.
Short of a few leaf-packages this affects two ecosystems:


@vcunat cool! I guess if this doesn't reveal no major blockers, we should also look into aarch64? Once this is done, I don't see anything blocking this.

Re. tunables.conf: this isn't read directly, but from ld.so.cache which we've hardcoded to be PREFIX "/etc/ld.so.cache, so this issue doesn't apply to us.

@NickCao

NickCao commented Sep 21, 2026

Copy link
Copy Markdown
Member

This is upstream bug JuliaLang/julia#62683, already fixed and backported to stable branches, we can carry these patches.

@taranarmo

Copy link
Copy Markdown
Contributor

This is upstream bug JuliaLang/julia#62683, already fixed and backported to stable branches, we can carry these patches

I created a PR fetching those patches #565771
not sure whether julia-bin is affected or whether it should be included in this PR

@vcunat

vcunat commented Sep 22, 2026

Copy link
Copy Markdown
Member

The jobset doesn't look like a disaster even with both *-linux, at a glance. So it should be OK to merge? Being in the same cycle as gcc upgrade is perhaps not ideal, but stable 26.11 is not so much far off, so I'd say it's good to get such significant upgrades early (if at all).

@nixpkgs-ci nixpkgs-ci Bot added 12.approvals: 1 This PR was reviewed and approved by one person. 12.approved-by: package-maintainer This PR was reviewed and approved by a maintainer listed in any of the changed packages. labels Sep 22, 2026
@vcunat
vcunat added this pull request to the merge queue Sep 23, 2026
Merged via the queue into NixOS:staging with commit db3a3c0 Sep 23, 2026
30 checks passed
@whispersofthedawn whispersofthedawn mentioned this pull request Sep 23, 2026
23 of 36 tasks
@reckenrode reckenrode mentioned this pull request Sep 23, 2026
7 of 13 tasks
iniw added a commit to iniw/helix that referenced this pull request Oct 1, 2026
glibc 2.44 makes `bsearch` a macro. tree-sitter-perl has its own
`bsearch` function in `src/bsearch.c`, so the build fails. Remove that
file and use the glibc `bsearch`, as nixpkgs does in its helix package.

See NixOS/nixpkgs#557451
LuckShiba pushed a commit to LuckShiba/helix that referenced this pull request Oct 3, 2026
glibc 2.44 makes `bsearch` a macro. tree-sitter-perl has its own
`bsearch` function in `src/bsearch.c`, so the build fails. Remove that
file and use the glibc `bsearch`, as nixpkgs does in its helix package.

See NixOS/nixpkgs#557451
@philiptaron

Copy link
Copy Markdown
Contributor

Thanks @Ma27 for the attribution.

@Ma27
Ma27 deleted the bump-glibc branch October 22, 2026 19:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

6.topic: kernel The Linux kernel 6.topic: python Python is a high-level, general-purpose programming language. 8.has: package (update) This PR updates a package to a newer version 10.rebuild-darwin: 501+ This PR causes many rebuilds on Darwin and should normally target the staging branches. 10.rebuild-darwin: 5001+ This PR causes many rebuilds on Darwin and must target the staging branches. 10.rebuild-linux: 501+ This PR causes many rebuilds on Linux and should normally target the staging branches. 10.rebuild-linux: 5001+ This PR causes many rebuilds on Linux and must target the staging branches. 10.rebuild-linux-stdenv This PR causes stdenv to rebuild on Linux and must target a staging branch. 10.rebuild-nixos-tests This PR causes rebuilds for all NixOS tests and should normally target the staging branches. 12.approvals: 1 This PR was reviewed and approved by one person. 12.approved-by: package-maintainer This PR was reviewed and approved by a maintainer listed in any of the changed packages.

Projects

Archived in project

Development

Successfully merging this pull request may close these issues.

6 participants