[ammarfaizi2-block:dhowells/linux-fs/netfs-lib 20/24] xtensa-linux-ld: fs/fscache/stats.o:undefined reference to `netfs_stats_show'
From: kernel test robot
Date: Mon Jan 17 2022 - 13:55:54 EST
tree: https://github.com/ammarfaizi2/linux-block dhowells/linux-fs/netfs-lib
head: 12617e48874cc7e301b04f65b22b762cca3aea01
commit: d775438577aaab8808eaf4cfb2963d941a439b8b [20/24] netfs, fscache: Make netfslib depend on fscache
config: xtensa-randconfig-r021-20220116 (https://download.01.org/0day-ci/archive/20220118/202201180236.bFOg48wO-lkp@xxxxxxxxx/config)
compiler: xtensa-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://github.com/ammarfaizi2/linux-block/commit/d775438577aaab8808eaf4cfb2963d941a439b8b
git remote add ammarfaizi2-block https://github.com/ammarfaizi2/linux-block
git fetch --no-tags ammarfaizi2-block dhowells/linux-fs/netfs-lib
git checkout d775438577aaab8808eaf4cfb2963d941a439b8b
# save the config file to linux build tree
mkdir build_dir
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-11.2.0 make.cross O=build_dir ARCH=xtensa 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 >>):
>> xtensa-linux-ld: fs/fscache/stats.o:(.text+0xac): undefined reference to `netfs_stats_show'
xtensa-linux-ld: fs/fscache/stats.o: in function `fscache_stats_show':
>> stats.c:(.text+0x1a7): undefined reference to `netfs_stats_show'
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@xxxxxxxxxxxx