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

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


tree: https://github.com/congwang/linux.git sch_bpf
head: 9f6c12a2c218c56af7d37feeaf21c5b62a8192a0
commit: 87b07af86004ccc8db9ee11e670f947e4178cd89 [2/3] net_sched: introduce eBPF based Qdisc
config: um-i386_defconfig (https://download.01.org/0day-ci/archive/20220522/202205220725.7XenbmeH-lkp@xxxxxxxxx/config)
compiler: gcc-11 (Debian 11.3.0-1) 11.3.0
reproduce (this is a W=1 build):
# 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
make W=1 O=build_dir ARCH=um SUBARCH=i386 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 >>):

/usr/bin/ld: net/core/filter.o: in function `tc_qdisc_func_proto':
>> filter.c:(.text+0x6748): undefined reference to `bpf_skb_map_push_proto'
>> /usr/bin/ld: filter.c:(.text+0x674e): undefined reference to `bpf_skb_map_pop_proto'
collect2: error: ld returned 1 exit status

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