[toke:xdp-queueing-04 3/12] ld.lld: error: undefined symbol: pifo_generic_map_ops

From: kernel test robot
Date: Sat Apr 09 2022 - 21:34:38 EST


tree: https://git.kernel.org/pub/scm/linux/kernel/git/toke/linux.git xdp-queueing-04
head: d67202baf237752a91366c8ba9bd801942e5fdaf
commit: fe606924ca53da2ffef87d4234ef54a5f1b66fbb [3/12] bpf: Add a PIFO map type for queueing packets
config: arm64-randconfig-r014-20220410 (https://download.01.org/0day-ci/archive/20220410/202204100910.Jgmsmcqk-lkp@xxxxxxxxx/config)
compiler: clang version 15.0.0 (https://github.com/llvm/llvm-project 256c6b0ba14e8a7ab6373b61b7193ea8c0a3651c)
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
# install arm64 cross compiling tool for clang build
# apt-get install binutils-aarch64-linux-gnu
# https://git.kernel.org/pub/scm/linux/kernel/git/toke/linux.git/commit/?id=fe606924ca53da2ffef87d4234ef54a5f1b66fbb
git remote add toke https://git.kernel.org/pub/scm/linux/kernel/git/toke/linux.git
git fetch --no-tags toke xdp-queueing-04
git checkout fe606924ca53da2ffef87d4234ef54a5f1b66fbb
# save the config file to linux build tree
mkdir build_dir
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross W=1 O=build_dir ARCH=arm64 SHELL=/bin/bash

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

All errors (new ones prefixed by >>):

>> ld.lld: error: undefined symbol: pifo_generic_map_ops
>>> referenced by syscall.c
>>> bpf/syscall.o:(bpf_map_types) in archive kernel/built-in.a
>>> referenced by btf.c
>>> bpf/btf.o:(btf_vmlinux_map_ops) in archive kernel/built-in.a

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