-
-
Notifications
You must be signed in to change notification settings - Fork 14.1k
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
binutils: 2.38 -> 2.39 #185297
binutils: 2.38 -> 2.39 #185297
Conversation
This should be available more widely now. 🤞 @ofborg eval |
Will need a libbfd fix as well. Will look in detail tomorrow. Switching to draft meanwhile.
|
More failures:
Fails to build EFI images (due to
UPDATE: due to |
Fails build with a failure that looks like a
|
Bumping binutils is always a huge pain :( |
|
d9a821e
to
8ca63bb
Compare
|
Same failure as
|
Hrm, I don't know what the right solution is. It's unfortunate that In the meantime maybe we should https://github.com/NixOS/nixpkgs/pull/186318/files#r947293455 |
Note that this PR is a draft. It will require a bit of porting for older kernels (or pulling in older PR you linked is already merged into |
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
With
LGTM if we can figure out what to do about the |
Added
That way we can pin tools to it regardless of status of this PR. The changes should be a no-op as derivation of |
# We just want to build libbfd | ||
postPatch = '' | ||
cd bfd | ||
''; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should we use sourceRoot instead?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
sourceRoot
would require us knowing the extracted path (which probably isn't a good idea to rely on), and will break patches.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think Sandro means cd $sourceRoot
More failures:
|
Rebased against current master to include all the |
@vcunat Usually helps me get a jobset for these kinds of bumps |
Also asked to create a jobset on infra matrix channel: https://app.element.io/#/room/#infra:nixos.org/$Glu5NtSnZGrc_3TdGbA89SAslq4tJGiGVnFgiaglGHw |
For reference, now created as https://hydra.nixos.org/jobset/nixpkgs/pr-185297-binutils-2.39 |
New failures:
UPDATE: it's a minor output change difference.
|
Jobset finished with: Rebased current branch past all the fixes above. Ready for review. |
You're a superstar trofi :) Happy to see this land! |
Heh, you are too kind :) |
Since this merge, on macos 10.15 (and reportedly also darwin aarch64):
|
This usually happens when a command is completely missing between pipes: Possibly a This update dropped one patch that is directly relevant. I thought it was upstreamed, but perhaps it does not quite work: - # Breaks nm BSD flag detection
- ./0001-Revert-libtool.m4-fix-nm-BSD-flag-detection.patch Trying to reproduce locally meanwhile. |
Aha, Do you know where Could it be that it's an ancient |
Oh, it's something called |
Filed upstream bug as https://sourceware.org/PR29547 |
Proposed |
Seems to have broken cross-compilation of libbfd. |
Ah, because this PR enabled the libbfd documentation |
Let's try to sort it with #190897 |
Changes: https://sourceware.org/pipermail/binutils/2022-August/122246.html
Description of changes
Things done
sandbox = true
set innix.conf
? (See Nix manual)nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD"
. Note: all changes have to be committed, also see nixpkgs-review usage./result/bin/
)nixos/doc/manual/md-to-db.sh
to update generated release notes