Error: failed to load BTF from /kbuild/obj/consumer/x86_64-randconfig-a004-20211215/vmlinux: No such file or directory

From: kernel test robot
Date: Wed Dec 15 2021 - 05:17:00 EST


tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head: 5472f14a37421d1bca3dddf33cabd3bd6dbefbbc
commit: 66d9282523b3228183b14d9f812872dd2620704d mm/page_alloc: Correct return value of populated elements if bulk array is populated
date: 6 months ago
config: x86_64-randconfig-a004-20211215 (https://download.01.org/0day-ci/archive/20211215/202112151834.E4Cf3891-lkp@xxxxxxxxx/config)
compiler: clang version 14.0.0 (https://github.com/llvm/llvm-project b6a2ddb6c8ac29412b1361810972e15221fa021c)
reproduce (this is a W=1 build):
wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
chmod +x ~/bin/make.cross
# https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=66d9282523b3228183b14d9f812872dd2620704d
git remote add linus https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
git fetch --no-tags linus master
git checkout 66d9282523b3228183b14d9f812872dd2620704d
# save the config file to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross W=1 ARCH=x86_64 SHELL=/bin/bash tools/all

If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@xxxxxxxxx>

All errors (new ones prefixed by >>):

>> Error: failed to load BTF from /kbuild/obj/consumer/x86_64-randconfig-a004-20211215/vmlinux: No such file or directory
make[4]: *** [Makefile:180: /kbuild/obj/consumer/x86_64-randconfig-a004-20211215/tools/bpf/bpftool/vmlinux.h] Error 2
make[4]: *** Waiting for unfinished jobs....
make[3]: *** [Makefile:110: bpftool] Error 2
make[3]: *** Waiting for unfinished jobs....
>> Error: failed to load BTF from /kbuild/obj/consumer/x86_64-randconfig-a004-20211215/vmlinux: No such file or directory
make[5]: *** [Makefile:180: /kbuild/obj/consumer/x86_64-randconfig-a004-20211215/tools/bpf/runqslower/bpftool/vmlinux.h] Error 2
make[4]: *** [Makefile:90: /kbuild/obj/consumer/x86_64-randconfig-a004-20211215/tools/bpf/runqslower/bpftool/bpftool] Error 2
make[3]: *** [Makefile:119: runqslower] Error 2

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@xxxxxxxxxxxx