使用内核 5.13 为 ubuntu 20.04 构建自己的内核时出错

使用内核 5.13 为 ubuntu 20.04 构建自己的内核时出错

我们正在系统 ubuntu 20.04.4 和内核版本 5.13.0-40-generic 上构建自己的内核映像,并且编译内核版本是 kwe-5.13.0,但出现如下错误。

  CC      /home/embed/workspace/Intel_atom/5_13_40/New_5.13/focal/debian/build/build-generic/tools/bpf/resolve_btfids/string.o
  CC      /home/embed/workspace/Intel_atom/5_13_40/New_5.13/focal/debian/build/build-generic/tools/bpf/resolve_btfids/ctype.o
  CC      /home/embed/workspace/Intel_atom/5_13_40/New_5.13/focal/debian/build/build-generic/tools/bpf/resolve_btfids/str_error_r.o
  LD      /home/embed/workspace/Intel_atom/5_13_40/New_5.13/focal/debian/build/build-generic/tools/bpf/resolve_btfids/resolve_btfids-in.o
  LINK     resolve_btfids
make[2]: Leaving directory '/home/embed/workspace/Intel_atom/5_13_40/New_5.13/focal/debian/build/build-generic'
make[1]: Leaving directory '/home/embed/workspace/Intel_atom/5_13_40/New_5.13/focal'
touch /home/embed/workspace/Intel_atom/5_13_40/New_5.13/focal/debian/stamps/stamp-prepare-tree-generic
Debug: config-prepare-check-generic
check-config: /home/embed/workspace/Intel_atom/5_13_40/New_5.13/focal/debian/build/build-generic/.config: loading config
check-config: /home/embed/workspace/Intel_atom/5_13_40/New_5.13/focal/debian.hwe-5.13/config/annotations loading annotations
check-config: FAIL (n != -): CONFIG_KCSAN policy<{'amd64': '-', 'arm64': '-', 'armhf': '-', 'ppc64el': '-', 's390x': '-'}>
check-config: 11083/11084 checks passed -- exit 1
make: *** [debian/rules.d/4-checks.mk:25: config-prepare-check-generic] Error 1

请帮助我解决这个问题。

相关内容