[song:task-ls-for-tracing 1/1] s390-linux-ld: bpf_task_storage.c:undefined reference to `bpf_local_storage_map_free'
From: kernel test robot
Date: Wed Sep 29 2021 - 13:51:36 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: s390-randconfig-r002-20210929 (attached as .config)
compiler: s390-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=s390 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 >>):
s390-linux-ld: kernel/bpf/bpf_task_storage.o: in function `task_storage_lookup':
bpf_task_storage.c:(.text+0xa0): undefined reference to `bpf_local_storage_lookup'
s390-linux-ld: kernel/bpf/bpf_task_storage.o: in function `bpf_task_storage_get':
bpf_task_storage.c:(.text+0x12a): undefined reference to `bpf_local_storage_update'
s390-linux-ld: kernel/bpf/bpf_task_storage.o: in function `task_storage_map_free':
bpf_task_storage.c:(.text+0x1a8): undefined reference to `bpf_local_storage_cache_idx_free'
>> s390-linux-ld: bpf_task_storage.c:(.text+0x1b8): undefined reference to `bpf_local_storage_map_free'
s390-linux-ld: kernel/bpf/bpf_task_storage.o: in function `bpf_task_storage_delete':
>> bpf_task_storage.c:(.text+0x1fc): undefined reference to `bpf_selem_unlink'
s390-linux-ld: kernel/bpf/bpf_task_storage.o: in function `task_storage_map_alloc':
bpf_task_storage.c:(.text+0x238): undefined reference to `bpf_local_storage_map_alloc'
>> s390-linux-ld: bpf_task_storage.c:(.text+0x278): undefined reference to `bpf_local_storage_cache_idx_get'
s390-linux-ld: kernel/bpf/bpf_task_storage.o: in function `bpf_pid_task_storage_delete_elem':
bpf_task_storage.c:(.text+0x4a6): undefined reference to `bpf_selem_unlink'
s390-linux-ld: kernel/bpf/bpf_task_storage.o: in function `bpf_pid_task_storage_update_elem':
bpf_task_storage.c:(.text+0x5aa): undefined reference to `bpf_local_storage_update'
s390-linux-ld: kernel/bpf/bpf_task_storage.o: in function `bpf_task_storage_free':
bpf_task_storage.c:(.text+0x7a8): undefined reference to `bpf_selem_unlink_map'
>> s390-linux-ld: bpf_task_storage.c:(.text+0x7ba): undefined reference to `bpf_selem_unlink_storage_nolock'
>> s390-linux-ld: kernel/bpf/bpf_task_storage.o:(.rodata+0x130): undefined reference to `bpf_local_storage_map_alloc_check'
>> s390-linux-ld: kernel/bpf/bpf_task_storage.o:(.rodata+0x1e0): undefined reference to `bpf_local_storage_map_check_btf'
s390-linux-ld: drivers/irqchip/irq-imx-intmux.o: in function `imx_intmux_probe':
irq-imx-intmux.c:(.text+0x2b8): undefined reference to `devm_platform_ioremap_resource'
Kconfig warnings: (for reference only)
WARNING: unmet direct dependencies detected for MFD_SUN6I_PRCM
Depends on HAS_IOMEM && (ARCH_SUNXI || COMPILE_TEST
Selected by
- CLK_SUNXI_PRCM_SUN6I && COMMON_CLK && CLK_SUNXI
- CLK_SUNXI_PRCM_SUN8I && COMMON_CLK && CLK_SUNXI
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@xxxxxxxxxxxx
Attachment:
.config.gz
Description: application/gzip