[kbusch:dma-prereg-v3-wip 5/6] arc-elf-ld: rsrc.c:undefined reference to `io_dma_unmap'

From: kernel test robot
Date: Fri Jul 22 2022 - 09:22:52 EST


tree: https://git.kernel.org/pub/scm/linux/kernel/git/kbusch/linux.git dma-prereg-v3-wip
head: 4625fa7adf745334c0a2eb635121d587df797b29
commit: 1390adeaee356151aeb13383e6ee1ad1c5798816 [5/6] io_uring: add support for dma pre-mapping
config: arc-randconfig-s041-20220721 (https://download.01.org/0day-ci/archive/20220722/202207222145.oh14nNlu-lkp@xxxxxxxxx/config)
compiler: arc-elf-gcc (GCC) 12.1.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-39-gce1a6720-dirty
# https://git.kernel.org/pub/scm/linux/kernel/git/kbusch/linux.git/commit/?id=1390adeaee356151aeb13383e6ee1ad1c5798816
git remote add kbusch https://git.kernel.org/pub/scm/linux/kernel/git/kbusch/linux.git
git fetch --no-tags kbusch dma-prereg-v3-wip
git checkout 1390adeaee356151aeb13383e6ee1ad1c5798816
# save the config file
mkdir build_dir && cp config build_dir/.config
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-12.1.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 where applicable
Reported-by: kernel test robot <lkp@xxxxxxxxx>

All errors (new ones prefixed by >>):

arc-elf-ld: arc-elf-ld: DWARF error: could not find abbrev number 1914737
io_uring/rsrc.o: in function `io_buffer_unmap':
rsrc.c:(.text+0x2a6): undefined reference to `io_dma_unmap'
>> arc-elf-ld: rsrc.c:(.text+0x2a6): undefined reference to `io_dma_unmap'

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