From c0d31ac5e72a5ccd182a061fbaba5c01df34cb87 Mon Sep 17 00:00:00 2001 From: Dmitry Vyukov Date: Sat, 8 Jan 2022 15:27:57 +0100 Subject: sys/syz-extract: disable DEBUG_INFO_BTF syz-env make extract fails on upstream commit d1587f7bfe: /usr/bin/env: 'python3': No such file or directory make[3]: *** [Makefile:72: bpf/resolve_btfids] Error 2 --- sys/syz-extract/linux.go | 2 ++ 1 file changed, 2 insertions(+) (limited to 'sys') diff --git a/sys/syz-extract/linux.go b/sys/syz-extract/linux.go index 0e7d73b28..a07d6a968 100644 --- a/sys/syz-extract/linux.go +++ b/sys/syz-extract/linux.go @@ -89,6 +89,8 @@ func (*linux) prepareArch(arch *Arch) error { // powerpc arch is configured to be big-endian by default, but we want little-endian powerpc. // Since all of our archs are little-endian for now, we just blindly switch it. "-d", "CPU_BIG_ENDIAN", "-e", "CPU_LITTLE_ENDIAN", + // s390 enables BTF in defconfig, but our packaged toolchains can't build it. + "-d", "DEBUG_INFO_BTF", // Without CONFIG_NETFILTER kernel does not build. "-e", "NETFILTER", // include/net/mptcp.h is the only header in kernel that guards some -- cgit mrf-deployment