[ammarfaizi2-block:palmer/linux/riscv-compat 20/20] arch/riscv/kernel/compat_syscall_table.o:undefined reference to `compat_sys_fadvise64_64'

From: kernel test robot
Date: Sat Apr 30 2022 - 02:23:59 EST


tree: https://github.com/ammarfaizi2/linux-block palmer/linux/riscv-compat
head: e2009fdf858d6fe01f0b24e35d8347fc8da3210f
commit: e2009fdf858d6fe01f0b24e35d8347fc8da3210f [20/20] riscv: compat: Add COMPAT Kbuild skeletal support
config: riscv-randconfig-r001-20220428 (https://download.01.org/0day-ci/archive/20220430/202204301415.3MDixdty-lkp@xxxxxxxxx/config)
compiler: riscv64-linux-gcc (GCC) 11.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://github.com/ammarfaizi2/linux-block/commit/e2009fdf858d6fe01f0b24e35d8347fc8da3210f
git remote add ammarfaizi2-block https://github.com/ammarfaizi2/linux-block
git fetch --no-tags ammarfaizi2-block palmer/linux/riscv-compat
git checkout e2009fdf858d6fe01f0b24e35d8347fc8da3210f
# save the config file
mkdir build_dir && cp config build_dir/.config
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-11.3.0 make.cross W=1 O=build_dir ARCH=riscv 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 >>):

riscv64-linux-ld: riscv64-linux-ld: DWARF error: could not find abbrev number 714588
>> arch/riscv/kernel/compat_syscall_table.o:(.rodata+0x6f8): undefined reference to `compat_sys_fadvise64_64'

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