nixpkgs/pkgs/os-specific
Austin Seipp c8cb015ff6
linuxPackages.perf: add libopcodes as a buildInput
Newer versions of perf in Linux 5.1+ support disassembling and
annotating eBPF programs inside the kernel. In order to do this, it uses
libbfd's support for bpf disassembly. There are two parts: libopcodes
and libbfd.

The 'perf' build system seems to expect libopcodes/libbfd to go "hand in
hand" -- always together, if one or the other is installed. If the build
system detects libbfd is available, then an import of <dis-asm.h> is
performed, but this fails since it wasn't in the buildInput. Fixing this
should be an easy, backwards-compatible change.

Fixes #60891, allowing linuxPackages_testing.perf to build again
(currently kernel version 5.1.0-rc7).

Signed-off-by: Austin Seipp <aseipp@pobox.com>
2019-05-03 15:10:46 -05:00
..
bsd netbsd.mkDerivation: don't supply -z relro 2019-04-10 17:35:08 -04:00
darwin Merge pull request #53863 from thefloweringash/osxfuse 2019-04-21 07:42:08 +00:00
linux linuxPackages.perf: add libopcodes as a buildInput 2019-05-03 15:10:46 -05:00
windows Revert "mingw: use current package set for headers" 2019-01-28 10:42:04 -05:00