[atishp04:kvm_perf_rfc 15/24] f_fs.c:undefined reference to `wrong_size_cmpxchg'

From: kernel test robot
Date: Sat Jul 16 2022 - 02:30:09 EST


tree: https://github.com/atishp04/linux kvm_perf_rfc
head: 84a3fd7f92957f64c411595a9efcc2eed18db2be
commit: 5faed77192c5455fe17fb4e6aea87e5bcc48a13d [15/24] COVER
config: nios2-randconfig-r005-20220715 (https://download.01.org/0day-ci/archive/20220716/202207161421.rzT6feio-lkp@xxxxxxxxx/config)
compiler: nios2-linux-gcc (GCC) 12.1.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/atishp04/linux/commit/5faed77192c5455fe17fb4e6aea87e5bcc48a13d
git remote add atishp04 https://github.com/atishp04/linux
git fetch --no-tags atishp04 kvm_perf_rfc
git checkout 5faed77192c5455fe17fb4e6aea87e5bcc48a13d
# save the config file
mkdir build_dir && cp config build_dir/.config
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-12.1.0 make.cross W=1 O=build_dir ARCH=nios2 SHELL=/bin/bash

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

All errors (new ones prefixed by >>):

nios2-linux-ld: drivers/usb/gadget/function/f_fs.o: in function `__generic_cmpxchg_local':
>> f_fs.c:(.text+0x37d0): undefined reference to `wrong_size_cmpxchg'
f_fs.c:(.text+0x37d0): relocation truncated to fit: R_NIOS2_CALL26 against `wrong_size_cmpxchg'
>> nios2-linux-ld: f_fs.c:(.text+0x3804): undefined reference to `wrong_size_cmpxchg'
f_fs.c:(.text+0x3804): relocation truncated to fit: R_NIOS2_CALL26 against `wrong_size_cmpxchg'

--
0-DAY CI Kernel Test Service
https://01.org/lkp