xdp-tools: unpin LLVM-14

> clang: error: unsupported option '-fzero-call-used-regs=used-gpr' for target 'bpf'

required hardeningDisable zerocallusedregs
This commit is contained in:
Reno Dakota 2024-11-25 02:14:37 +00:00
parent c5a0fff879
commit d649398796
No known key found for this signature in database
2 changed files with 2 additions and 3 deletions

View File

@ -48,6 +48,7 @@ stdenv.mkDerivation rec {
wireshark-cli # for tshark
];
hardeningDisable = [ "zerocallusedregs" ];
# When building BPF, the default CC wrapper is interfering a bit too much.
BPF_CFLAGS = "-fno-stack-protector -Wno-error=unused-command-line-argument";

View File

@ -5703,9 +5703,7 @@ with pkgs;
buildGoModule = buildGo123Module;
};
xdp-tools = callPackage ../tools/networking/xdp-tools {
llvmPackages = llvmPackages_14;
};
xdp-tools = callPackage ../tools/networking/xdp-tools { };
ugarit = callPackage ../tools/backup/ugarit {
inherit (chickenPackages_4) eggDerivation fetchegg;