3
0
Fork 0
forked from mirrors/nixpkgs

eztrace: use binutils-2.38 until upstream is ported

Without the change eztrace build fails on binutils-2.39 due to API change:

    ../pptrace/arch/x86_64/hijack.c: In function 'check_instructions':
    ../pptrace/arch/x86_64/hijack.c:62:3: error: too few arguments to function 'init_disassemble_info'
       62 |   init_disassemble_info ( &i, NULL, dummy_print );
          |   ^~~~~~~~~~~~~~~~~~~~~
This commit is contained in:
Sergei Trofimovich 2022-08-24 22:29:41 +01:00
parent 3a6d655479
commit a12305070f

View file

@ -5,8 +5,10 @@
libelf,
libiberty,
zlib,
libbfd,
libopcodes,
# Once https://gitlab.com/eztrace/eztrace/-/issues/41
# is released we can switch to latest binutils.
libbfd_2_38,
libopcodes_2_38,
buildPackages,
autoreconfHook
}:
@ -23,7 +25,7 @@ stdenv.mkDerivation rec {
};
nativeBuildInputs = [ gfortran autoreconfHook ];
buildInputs = [ libelf libiberty zlib libbfd libopcodes ];
buildInputs = [ libelf libiberty zlib libbfd_2_38 libopcodes_2_38 ];
meta = with lib; {
description = "Tool that aims at generating automatically execution trace from HPC programs";