aboutsummaryrefslogtreecommitdiffstats
path: root/sys
diff options
context:
space:
mode:
authorDmitry Vyukov <dvyukov@google.com>2022-01-08 15:27:57 +0100
committerDmitry Vyukov <dvyukov@google.com>2022-01-11 16:30:08 +0100
commitc0d31ac5e72a5ccd182a061fbaba5c01df34cb87 (patch)
tree83b044d67ebd6021ea145ef553cdcee61fb8786c /sys
parent00e03ebc7fb6cc11eb6364b9c34708f4e55f4828 (diff)
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
Diffstat (limited to 'sys')
-rw-r--r--sys/syz-extract/linux.go2
1 files changed, 2 insertions, 0 deletions
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