[congwang:sch_bpf 2/3] filter.c:undefined reference to `bpf_skb_map_pop_proto'

From: kernel test robot
Date: Sat May 21 2022 - 19:52:54 EST


tree: https://github.com/congwang/linux.git sch_bpf
head: 9f6c12a2c218c56af7d37feeaf21c5b62a8192a0
commit: 87b07af86004ccc8db9ee11e670f947e4178cd89 [2/3] net_sched: introduce eBPF based Qdisc
config: csky-defconfig (https://download.01.org/0day-ci/archive/20220522/202205220744.AyoIDr9q-lkp@xxxxxxxxx/config)
compiler: csky-linux-gcc (GCC) 11.3.0
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://github.com/congwang/linux/commit/87b07af86004ccc8db9ee11e670f947e4178cd89
git remote add congwang https://github.com/congwang/linux.git
git fetch --no-tags congwang sch_bpf
git checkout 87b07af86004ccc8db9ee11e670f947e4178cd89
# save the config file
mkdir build_dir && cp config build_dir/.config
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-11.3.0 make.cross W=1 O=build_dir ARCH=csky SHELL=/bin/bash

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

All errors (new ones prefixed by >>):

csky-linux-ld: net/core/filter.o: in function `lwt_xmit_func_proto':
>> filter.c:(.text+0x896c): undefined reference to `bpf_skb_map_pop_proto'
>> csky-linux-ld: filter.c:(.text+0x8970): undefined reference to `bpf_skb_map_push_proto'

--
0-DAY CI Kernel Test Service
https://01.org/lkp