[dhowells-fs:fscache-iter-2 54/67] write.c:undefined reference to `fscache_set_page_dirty'

From: kernel test robot
Date: Fri Sep 17 2021 - 02:55:28 EST


tree: https://git.kernel.org/pub/scm/linux/kernel/git/dhowells/linux-fs.git fscache-iter-2
head: 23676c28d1a9add6ea09f19ca89b71be994a4b79
commit: 0987058105f909b6b6c70d6b4c396196f111c53c [54/67] afs: Copy local writes to the cache when writing to the server
config: arc-randconfig-s032-20210916 (attached as .config)
compiler: arceb-elf-gcc (GCC) 11.2.0
reproduce:
wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
chmod +x ~/bin/make.cross
# apt-get install sparse
# sparse version: v0.6.4-dirty
# https://git.kernel.org/pub/scm/linux/kernel/git/dhowells/linux-fs.git/commit/?id=0987058105f909b6b6c70d6b4c396196f111c53c
git remote add dhowells-fs https://git.kernel.org/pub/scm/linux/kernel/git/dhowells/linux-fs.git
git fetch --no-tags dhowells-fs fscache-iter-2
git checkout 0987058105f909b6b6c70d6b4c396196f111c53c
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-11.2.0 make.cross C=1 CF='-fdiagnostic-prefix -D__CHECK_ENDIAN__' O=build_dir ARCH=arc 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 >>):

arceb-elf-ld: fs/afs/write.o: in function `afs_set_page_dirty':
>> write.c:(.text+0x8c0): undefined reference to `fscache_set_page_dirty'
>> arceb-elf-ld: write.c:(.text+0x8c0): undefined reference to `fscache_set_page_dirty'
arceb-elf-ld: fs/afs/write.o: in function `afs_write_back_from_locked_page':
>> write.c:(.text+0x17f0): undefined reference to `__fscache_write_to_cache'
>> arceb-elf-ld: write.c:(.text+0x17f0): undefined reference to `__fscache_write_to_cache'
>> arceb-elf-ld: write.c:(.text+0x1c28): undefined reference to `__fscache_clear_page_bits'
>> arceb-elf-ld: write.c:(.text+0x1c28): undefined reference to `__fscache_clear_page_bits'

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

Attachment: .config.gz
Description: application/gzip