linuxPackages_latest.perf: apply upstream patch for binutils-2.39#186318
linuxPackages_latest.perf: apply upstream patch for binutils-2.39#186318trofi merged 1 commit intoNixOS:masterfrom
Conversation
Without the change build fails as:
perf-linux> util/annotate.c: In function 'symbol__disassemble_bpf':
perf-linux> util/annotate.c:1765:9: error: too few arguments to function 'init_disassemble_info'
perf-linux> 1765 | init_disassemble_info(&info, s,
perf-linux> | ^~~~~~~~~~~~~~~~~~~~~
| @@ -15,6 +15,13 @@ stdenv.mkDerivation { | |||
|
|
|||
| inherit (kernel) src; | |||
|
|
|||
There was a problem hiding this comment.
| assert !(versionAtLeast kernel.version "5.19") -> throw "perf with binutils >= 2.39 requires kernel >= 5.19"; |
There was a problem hiding this comment.
I don't understand this assert. It does not mention binutils version in the constraints. Where does that requirement come from?
Also note that master branch does not yet have binutils-2.39.
There was a problem hiding this comment.
I don't understand this assert. It does not mention binutils version in the constraints. Where does that requirement come from?
I suggested in #185297, which bumps the binutils version to 2.39, that you include this change in that PR.
Github won't let me put the ```suggest in that PR. Apparently I can only ```suggest changes within three lines of something the PR already touches. So I have to do it here and mention it over there.
There was a problem hiding this comment.
Ahh, that makes sense.
Without the change build fails as:
Description of changes
Things done
sandbox = trueset 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.shto update generated release notes