/opt/cross/gcc-11.3.0-nolibc/s390x-linux/bin/s390x-linux-ld: irq-xilinx-intc.c:undefined reference to `iounmap'
From: kernel test robot
Date: Tue Jun 21 2022 - 18:27:24 EST
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head: ca1fdab7fd27eb069df1384b2850dcd0c2bebe8d
commit: b84dc7f0e3646d480b6972c5f25586215c5f33e2 irqchip/xilinx: Remove microblaze+zynq dependency
date: 12 days ago
config: s390-randconfig-r021-20220622 (https://download.01.org/0day-ci/archive/20220622/202206220648.Ovoh9xpK-lkp@xxxxxxxxx/config)
compiler: clang version 15.0.0 (https://github.com/llvm/llvm-project af6d2a0b6825e71965f3e2701a63c239fa0ad70f)
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
# install s390 cross compiling tool for clang build
# apt-get install binutils-s390x-linux-gnu
# https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=b84dc7f0e3646d480b6972c5f25586215c5f33e2
git remote add linus https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
git fetch --no-tags linus master
git checkout b84dc7f0e3646d480b6972c5f25586215c5f33e2
# save the config file
mkdir build_dir && cp config build_dir/.config
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross W=1 O=build_dir ARCH=s390 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 >>):
/opt/cross/gcc-11.3.0-nolibc/s390x-linux/bin/s390x-linux-ld: kernel/dma/coherent.o: in function `dma_declare_coherent_memory':
coherent.c:(.text+0x13a): undefined reference to `memunmap'
/opt/cross/gcc-11.3.0-nolibc/s390x-linux/bin/s390x-linux-ld: kernel/dma/coherent.o: in function `dma_init_coherent_memory':
coherent.c:(.text+0x1e8): undefined reference to `memremap'
/opt/cross/gcc-11.3.0-nolibc/s390x-linux/bin/s390x-linux-ld: coherent.c:(.text+0x36c): undefined reference to `memunmap'
/opt/cross/gcc-11.3.0-nolibc/s390x-linux/bin/s390x-linux-ld: drivers/irqchip/irq-al-fic.o: in function `al_fic_init_dt':
irq-al-fic.c:(.init.text+0x3a): undefined reference to `of_iomap'
/opt/cross/gcc-11.3.0-nolibc/s390x-linux/bin/s390x-linux-ld: irq-al-fic.c:(.init.text+0x4c0): undefined reference to `iounmap'
/opt/cross/gcc-11.3.0-nolibc/s390x-linux/bin/s390x-linux-ld: drivers/irqchip/irq-xilinx-intc.o: in function `xilinx_intc_of_init':
irq-xilinx-intc.c:(.init.text+0xa6): undefined reference to `of_iomap'
>> /opt/cross/gcc-11.3.0-nolibc/s390x-linux/bin/s390x-linux-ld: irq-xilinx-intc.c:(.init.text+0x1fc): undefined reference to `iounmap'
/opt/cross/gcc-11.3.0-nolibc/s390x-linux/bin/s390x-linux-ld: drivers/misc/open-dice.o: in function `open_dice_write':
open-dice.c:(.text+0x170): undefined reference to `devm_memremap'
/opt/cross/gcc-11.3.0-nolibc/s390x-linux/bin/s390x-linux-ld: open-dice.c:(.text+0x21e): undefined reference to `devm_memunmap'
--
0-DAY CI Kernel Test Service
https://01.org/lkp