forked from mirrors/nixpkgs
bcc: fix relocation bug downgrading to llvm 3.9
https://github.com/iovisor/bcc/issues/1276 fixes #29913
This commit is contained in:
parent
80dbfe4afb
commit
3db9841d34
|
@ -1,4 +1,4 @@
|
||||||
{ stdenv, fetchFromGitHub, makeWrapper, cmake, llvmPackages, kernel,
|
{ stdenv, fetchFromGitHub, makeWrapper, cmake, llvmPackages_39, kernel,
|
||||||
flex, bison, elfutils, python, pythonPackages, luajit, netperf, iperf }:
|
flex, bison, elfutils, python, pythonPackages, luajit, netperf, iperf }:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
|
@ -12,7 +12,9 @@ stdenv.mkDerivation rec {
|
||||||
sha256 = "19lkqmilfjmj7bnhxlacd0waa5db8gf4lng12fy2zgji0d77vm1d";
|
sha256 = "19lkqmilfjmj7bnhxlacd0waa5db8gf4lng12fy2zgji0d77vm1d";
|
||||||
};
|
};
|
||||||
|
|
||||||
buildInputs = [ makeWrapper cmake llvmPackages.llvm llvmPackages.clang-unwrapped kernel
|
# llvm 4.0 leads to segmentation faults, this will be fixed in llvm 5.0
|
||||||
|
# https://github.com/iovisor/bcc/issues/1276#issuecomment-319888478
|
||||||
|
buildInputs = [ makeWrapper cmake llvmPackages_39.llvm llvmPackages_39.clang-unwrapped kernel
|
||||||
flex bison elfutils python pythonPackages.netaddr luajit netperf iperf
|
flex bison elfutils python pythonPackages.netaddr luajit netperf iperf
|
||||||
];
|
];
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue