Repository navigation
glibc: 2.27 -> 2.30 WIP - #66528
glibc: 2.27 -> 2.30 WIP#66528
Conversation
|
You're a madman, and i support you on your journey ❤️ However, such a universal package may cause a lot more heart-ache than it's worth. (don't want you to get burnt out) |
|
cc @LnL7 |
👍 - I talked with a few people at FOSDEM how we could improve the situation with bootstrap files (e.g. by using stuff from a binary cache by default), but this is something we should take care of after the branchoff.
Same here - I actually built the aarch64 bootstrap stuff with a gcc8 since the gcc9 changes weren't on master back then, so this should be fine :)
Unfortunately I'm not sure anymore - I only built the aarch64 stuff as it was broken with glibc before :/
Overall 👍 |
|
Oh, I missed one bit: i686-linux. I had re-tested glibc build but the next step of building the default compiler fails :-/ https://hydra.nixos.org/job/nixpkgs/glibc-230/wine.x86_64-linux |
|
I worked around that by OK, let's take the easier way: c5aabb0 from 19.09. This time I re-tested full stdenv bootstrap on these three platforms. @peti: I heard you have credentials for tarballs.nixos.org – can you upload these for us? We need to upload:EDIT: I forgot to mention (again) that you can directly
Evidence... that we're not switching to something suspicious. (Bootstrapping is sensitive; see e.g. classic "Trusting Trust".) ## It is official 19.09-included commit
git checkout c5aabb0d60
git branch --contains | grep release-19.09
## Verify that /nix/store paths match
for system in x86_64-linux i686-linux aarch64-linux; do
cat "$(nix-build pkgs/top-level/release.nix -Q -A stdenvBootstrapTools.${system}.dist)"/nix-support/hydra-build-products
done | grep tarball 2>/dev/null
# file tarball /nix/store/21zzaia2nca8p5vpcrklrdqlj843q2wf-stdenv-bootstrap-tools/on-server/bootstrap-tools.tar.xz
# file tarball /nix/store/l1r0lyzdr2n5qqz68rwxnh71qjd5s4ay-stdenv-bootstrap-tools/on-server/bootstrap-tools.tar.xz
# file tarball /nix/store/fwrp466vixrzc63l4kvlslalfsxkjnvk-stdenv-bootstrap-tools/on-server/bootstrap-tools.tar.xz
## The optional re-upload without changing:
nix-build pkgs/stdenv/linux/bootstrap-files/aarch64.nix -A busybox
# copying path '/nix/store/y5kymk0pdj7pszxskf9xazg5825alizg-busybox' from 'https://cache.nixos.org'...
# /nix/store/y5kymk0pdj7pszxskf9xazg5825alizg-busybox |
I am sorry, but that seems to be a misunderstanding. I have no privileged access to tarballs.nixos.org. I don't even know who does, I'm afraid. |
|
Thanks for the fast reaction. I guess I have to ping @edolstra, as I don't know about anyone else. |
There seems to be some misunderstanding. Bootstrap files are substituted from cache.nixos.org (if present); see e.g. log from
Maybe I forgot some point. We certainly had at least one GitHub discussion about the (non-)utility of tarballs.nixos.org. |
as a workaround to fix build after updating stdenv bootstrap (in the followup commit). Interested parties can improve this later.
From Hydra's binaries for c5aabb0 (19.09). This time I re-tested full stdenv bootstrap on these three platforms. NixOS#66528 (comment)
|
@vcunat Thanks, I've copied the files. |
I suppose the diff of the glibc-upgrade branch is a bit cleaner without including these unnecessary changes.
|
Confirmed, except for the optional one (but that one doesn't matter). |
|
No, I copied it as well. Note that you have a typo in the URL ( |
|
Oh, right, typo; pushed as cf24265. First x86_64 binaries should start compiling today; the rest when staging-next get rotated. @lblasc: it's a bit unlucky that it was a difficult case and took us so much time – about half a year. Usually changes aren't so cumbersome, even mass rebuilds get merged basically every week. |
|
Repeated note: 32-bit ARMs are quite certainly broken by this PR. /cc @dezgeg (again) Regenerating bootstrap tools for them might suffice to fix them, but I don't have a good way of testing the builds natively. I suspect cross-building these platforms might keep working, except I now see that this PR broke evaluation of (all?) cross stuff 🤕 |
Can you please point me to a Hydra eval where I can see the errors? |
|
Uh-oh. These bootstrap tools no work on SLES 11-SP4 |
|
Just to properly understand your issue: you're using Nix on Sles11sp4 and our new bootstrap tools break the setup, right? However I'd like to point out that I'm pretty much against putting additional effort in fixing stuff for unmaintained versions of other distros (well unless you're paying for LTSS, but that's another story), but that's just my opinion :) |
|
@jcumming: did it even work before this PR? I've never looked into this for SLES/SLED. We haven't changed this part for quite a long time:
We have special patch to allow RHEL 6 -like kernels. That reminds me I last verified the real compatibility with that on glibc-2.26-131... so even though you don't get this nice refusal, some parts might not work on those kernels anymore. Well, today I suspect we might even drop RHEL 6 support 🤷♀️ I personally don't feel it's important anymore. |
|
To be clear, it isn't that much about bootstap... but about running anything built with our libc (i.e. with our stdenv). |
|
Actually, I think previous service packs with 2.6.32 kernel would not give you the error message, by co-incidence with RHEL 6 :-) |
Motivation for this change
Bump to latest glibc.
Started to fix core packages, managed to build and test
rustcon x86_64.pkgs/stdenv/linux/bootstrap-files/*? @grahamc @Mic92Things done
sandboxinnix.confon non-NixOS)nix-shell -p nix-review --run "nix-review wip"./result/bin/)nix path-info -Sbefore and after)Notify maintainers
cc @edolstra