tnc.c:undefined reference to `ubifs_bad_hash'

From: kernel test robot
Date: Thu Dec 10 2020 - 02:02:33 EST


tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head: a2f5ea9e314ba6778f885c805c921e9362ec0420
commit: 0da310e82d3a9bff6ef6b0f2fbf45d1a05cc64fe riscv: gcov: enable gcov for RISC-V
date: 11 months ago
config: riscv-randconfig-r003-20201209 (attached as .config)
compiler: riscv32-linux-gcc (GCC) 9.3.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/torvalds/linux.git/commit/?id=0da310e82d3a9bff6ef6b0f2fbf45d1a05cc64fe
git remote add linus https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
git fetch --no-tags linus master
git checkout 0da310e82d3a9bff6ef6b0f2fbf45d1a05cc64fe
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross ARCH=riscv

If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@xxxxxxxxx>

All errors (new ones prefixed by >>):

riscv32-linux-ld: fs/ubifs/tnc.o: in function `.L345':
>> tnc.c:(.text+0x4c9c): undefined reference to `ubifs_bad_hash'
riscv32-linux-ld: fs/ubifs/tnc.o: in function `.L362':
tnc.c:(.text+0x544a): undefined reference to `ubifs_bad_hash'
riscv32-linux-ld: fs/ubifs/tnc_misc.o: in function `.L36':
>> tnc_misc.c:(.text+0x778): undefined reference to `ubifs_bad_hash'
riscv32-linux-ld: fs/ubifs/tnc_misc.o: in function `.L187':
tnc_misc.c:(.text+0x2cce): undefined reference to `ubifs_bad_hash'

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

Attachment: .config.gz
Description: application/gzip