tree:
https://github.com/intel/linux-intel-lts.git 5.15/linux
head: 91b52769309e2c4d3d4230266426b5eb65418bef
commit: 4655352ad3003f2658836a0f7db7553334f68dda [2474/2488] tools/bpf: Add xdp set
command for md btf
config: i386-randconfig-m021
(
https://download.01.org/0day-ci/archive/20220211/202202111907.kbWrRF2Y-lk...)
compiler: gcc-9 (Debian 9.3.0-22) 9.3.0
reproduce (this is a W=1 build):
#
https://github.com/intel/linux-intel-lts/commit/4655352ad3003f2658836a0f7...
git remote add intel-lts
https://github.com/intel/linux-intel-lts.git
git fetch --no-tags intel-lts 5.15/linux
git checkout 4655352ad3003f2658836a0f7db7553334f68dda
# save the config file to linux build tree
mkdir build_dir
make W=1 O=build_dir ARCH=i386 SHELL=/bin/bash
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp(a)intel.com>
All errors (new ones prefixed by >>):
netlink.c: In function 'bpf_set_link_xdp_md_btf':
> netlink.c:287:8: error: implicit declaration of function
'bpf_netlink_recv'; did you mean 'libbpf_netlink_recv'?
[-Werror=implicit-function-declaration]
287 | ret = bpf_netlink_recv(sock,
nl_pid, seq, NULL, NULL, NULL);
| ^~~~~~~~~~~~~~~~
| libbpf_netlink_recv
> netlink.c:287:8: error: nested extern declaration of
'bpf_netlink_recv' [-Werror=nested-externs]
cc1: all warnings being
treated as errors
make[6]: *** [tools/build/Makefile.build:96: kernel/bpf/preload/staticobjs/netlink.o]
Error 1
make[6]: Target '__build' not remade because of errors.
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org