Conversation
|
Oh, I see that the 2.36.1 PR was kind of left behind. So you want to try the relatively new 2.37 directly? Some others have adopted it already, so perhaps it might be safe enough. I see nothing risky in the announcement: https://sourceware.org/pipermail/binutils/2021-July/117384.html I reconfigured the previous jobset: https://hydra.nixos.org/jobset/nixpkgs/binutils-2.36 |
|
FYI Fedora uses both bintuils 2.37 and glibc 2.34 (https://fedoraproject.org/wiki/Changes/GNUToolchainF35, #133431). Since I had some very weird linker errors with glibc 2.34 (haven't taken a closer look yet due to time constraints), bintuils 2.37 may be needed to make it work properly :) |
|
Yes, but e.g. that Fedora 35 will be released in October, so I can't see a guarantee that basically all (our) packages will work well now (or have patches available already). |
|
You're right, but I don't expect us to get ready with this (especially bintuils considering the last attempts) noticeably faster :) |
|
Most failures seem to be due to |
|
The now-broken patch: https://github.com/NixOS/nixpkgs/blob/master/pkgs/development/tools/misc/binutils/build-components-separately.patch Looking at the source updating the patch is non-trivial, it'd be nice to have some help. cc. @luc65r @Ericson2314 |
b2b2fc2 to
7cf7e76
Compare
|
Seems like there are more failures: https://hydra.nixos.org/build/150347265/nixlog/1/tail Which is caused by: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=981072 It seems that will need manual patching to replace |
|
See https://github.com/NixOS/nixpkgs/pull/118945/files for some fixes. |
7cf7e76 to
afad68f
Compare
Awesome, incorporated those fixes. Can you explain this patch? 8d0b634 I took it from the branch just in case, but not sure why it's needed |
afad68f to
4501cc5
Compare
|
Rebased on top of b5398f4 / eval 1698102 and started eval 1698198. Here's the comparison of both: https://hydra.nixos.org/eval/1698198?compare=1698102 |
|
@GrahamcOfBorg eval |
Co-authored-by: TredwellGit <tredwell@tutanota.com>
Co-authored-by: John Ericson <git@JohnEricson.me>
Co-authored-by: TredwellGit <tredwell@tutanota.com>
Co-authored-by: TredwellGit <tredwell@tutanota.com>
Co-authored-by: TredwellGit <tredwell@tutanota.com>
Otherwise the patch application fails as:
applying patch /nix/store/y0l0144l12q7jpq4jv735shgxv8ygxwh-build-components-separately.patch
1 out of 3 hunks FAILED -- saving rejects to file opcodes/Makefile.am.rej
1 out of 2 hunks FAILED -- saving rejects to file opcodes/configure.ac.rej
1 out of 2 hunks FAILED -- saving rejects to file opcodes/configure.ac.rej
Done :) |
4a2257d to
022e81d
Compare
|
Result of 1 package built:
|
|
Thanks everyone who helped along the way, it's cooking in staging now :) |
|
It seems that cross-compilation suffered heavy losses due to the update: https://hydra.nixos.org/eval/1756232#tabs-now-fail |
|
One more minor breakage on |
Motivation for this change
Hello binutils, my old friend
I've come to bump you again
Because a version softly creeping
Left its bugs while I was sleeping
And the patches that were planted in my brain
Still remains
Within the source of binutils
See also: #134916
See also: #118945
Things done
sandbox = trueset innix.conf? (See Nix manual)nix-shell -p nixpkgs-review --run "nixpkgs-review wip"./result/bin/)