[axboe-block:perf-wip 9/12] truncate.c:(.text.truncate_setsize+0x64): undefined reference to `__bdev_set_nr_sectors'

From: kernel test robot
Date: Thu Oct 07 2021 - 21:07:47 EST


tree: https://git.kernel.org/pub/scm/linux/kernel/git/axboe/linux-block.git perf-wip
head: 48af6d89a68709a5dd178822e2b9dc3eb5a82030
commit: a0ca4e8b8ea4cd47e2a81a7b96cc6211ef83ef40 [9/12] block: cache inode size in bdev
config: mips-buildonly-randconfig-r003-20211004 (attached as .config)
compiler: mips64-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/axboe/linux-block.git/commit/?id=a0ca4e8b8ea4cd47e2a81a7b96cc6211ef83ef40
git remote add axboe-block https://git.kernel.org/pub/scm/linux/kernel/git/axboe/linux-block.git
git fetch --no-tags axboe-block perf-wip
git checkout a0ca4e8b8ea4cd47e2a81a7b96cc6211ef83ef40
# 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=mips 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 >>):

mips64-linux-ld: arch/mips/kernel/traps.o: in function `trap_init':
traps.c:(.init.text+0x584): undefined reference to `handle_fpe'
mips64-linux-ld: traps.c:(.init.text+0x588): undefined reference to `handle_fpe'
mips64-linux-ld: mm/truncate.o: in function `truncate_setsize':
>> truncate.c:(.text.truncate_setsize+0x64): undefined reference to `__bdev_set_nr_sectors'
mips64-linux-ld: fs/libfs.o: in function `simple_write_end':
>> libfs.c:(.text.simple_write_end+0x164): undefined reference to `__bdev_set_nr_sectors'
mips64-linux-ld: fs/fuse/dir.o: in function `fuse_do_setattr':
>> dir.c:(.text.fuse_do_setattr+0x248): undefined reference to `__bdev_set_nr_sectors'
>> mips64-linux-ld: dir.c:(.text.fuse_do_setattr+0xb58): undefined reference to `__bdev_set_nr_sectors'
mips64-linux-ld: dir.c:(.text.fuse_do_setattr+0xb80): undefined reference to `__bdev_set_nr_sectors'
mips64-linux-ld: fs/fuse/dir.o:dir.c:(.text.fuse_do_setattr+0xbec): more undefined references to `__bdev_set_nr_sectors' follow

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

Attachment: .config.gz
Description: application/gzip