Re: [PATCH bpf-next 1/5] bpf: introduce BPF_PROG_TYPE_USER

From: kernel test robot
Date: Sat Aug 01 2020 - 09:59:46 EST

Hi Song,

I love your patch! Yet something to improve:

[auto build test ERROR on bpf-next/master]

base: master
config: riscv-allyesconfig (attached as .config)
compiler: riscv64-linux-gcc (GCC) 9.3.0
reproduce (this is a W=1 build):
wget -O ~/bin/make.cross
chmod +x ~/bin/make.cross
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross ARCH=riscv

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

All errors (new ones prefixed by >>):

riscv64-linux-ld: kernel/bpf/syscall.o: in function `.LANCHOR1':
>> syscall.c:(.rodata+0xa50): undefined reference to `user_prog_ops'
riscv64-linux-ld: kernel/bpf/verifier.o: in function `.LANCHOR1':
>> verifier.c:(.rodata+0x6b8): undefined reference to `user_verifier_ops'

0-DAY CI Kernel Test Service, Intel Corporation

Attachment: .config.gz
Description: application/gzip