[song:task-ls-for-tracing 1/1] bpf_task_storage.o:undefined reference to `bpf_local_storage_cache_idx_free'

From: kernel test robot
Date: Wed Sep 29 2021 - 11:50:29 EST


tree: https://git.kernel.org/pub/scm/linux/kernel/git/song/linux.git task-ls-for-tracing
head: 240433aba4e5c5a51ea80a7430b771c3abd7e19c
commit: 240433aba4e5c5a51ea80a7430b771c3abd7e19c [1/1] bpf: enable task local storage for tracing prog
config: microblaze-randconfig-r026-20210929 (attached as .config)
compiler: microblaze-linux-gcc (GCC) 11.2.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://git.kernel.org/pub/scm/linux/kernel/git/song/linux.git/commit/?id=240433aba4e5c5a51ea80a7430b771c3abd7e19c
git remote add song https://git.kernel.org/pub/scm/linux/kernel/git/song/linux.git
git fetch --no-tags song task-ls-for-tracing
git checkout 240433aba4e5c5a51ea80a7430b771c3abd7e19c
# save the attached .config to linux build tree
mkdir build_dir
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-11.2.0 make.cross O=build_dir ARCH=microblaze 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 >>):

microblaze-linux-ld: kernel/bpf/bpf_task_storage.o: in function `task_storage_map_free':
>> bpf_task_storage.o:(.text+0x60): undefined reference to `bpf_local_storage_cache_idx_free'
>> microblaze-linux-ld: bpf_task_storage.o:(.text+0x6c): undefined reference to `bpf_local_storage_map_free'
microblaze-linux-ld: kernel/bpf/bpf_task_storage.o: in function `task_storage_map_alloc':
>> bpf_task_storage.o:(.text+0x9c): undefined reference to `bpf_local_storage_map_alloc'
>> microblaze-linux-ld: bpf_task_storage.o:(.text+0x10c): undefined reference to `bpf_local_storage_cache_idx_get'
microblaze-linux-ld: kernel/bpf/bpf_task_storage.o: in function `bpf_pid_task_storage_lookup_elem':
>> bpf_task_storage.o:(.text+0x304): undefined reference to `bpf_local_storage_lookup'
microblaze-linux-ld: kernel/bpf/bpf_task_storage.o: in function `bpf_pid_task_storage_update_elem':
>> bpf_task_storage.o:(.text+0x504): undefined reference to `bpf_local_storage_update'
microblaze-linux-ld: kernel/bpf/bpf_task_storage.o: in function `bpf_pid_task_storage_delete_elem':
bpf_task_storage.o:(.text+0x750): undefined reference to `bpf_local_storage_lookup'
>> microblaze-linux-ld: bpf_task_storage.o:(.text+0x794): undefined reference to `bpf_selem_unlink'
microblaze-linux-ld: kernel/bpf/bpf_task_storage.o: in function `bpf_task_storage_delete':
>> (.text+0x800): undefined reference to `bpf_local_storage_lookup'
microblaze-linux-ld: (.text+0x844): undefined reference to `bpf_selem_unlink'
microblaze-linux-ld: kernel/bpf/bpf_task_storage.o: in function `bpf_task_storage_get':
(.text+0x95c): undefined reference to `bpf_local_storage_lookup'
>> microblaze-linux-ld: (.text+0x9d4): undefined reference to `bpf_local_storage_update'
microblaze-linux-ld: kernel/bpf/bpf_task_storage.o: in function `bpf_task_storage_free':
>> (.text+0xbb0): undefined reference to `bpf_selem_unlink_map'
>> microblaze-linux-ld: (.text+0xbc4): undefined reference to `bpf_selem_unlink_storage_nolock'
>> microblaze-linux-ld: kernel/bpf/bpf_task_storage.o:(.rodata+0x188): undefined reference to `bpf_local_storage_map_alloc_check'
>> microblaze-linux-ld: kernel/bpf/bpf_task_storage.o:(.rodata+0x1e0): undefined reference to `bpf_local_storage_map_check_btf'

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@xxxxxxxxxxxx

Attachment: .config.gz
Description: application/gzip