main.c:undefined reference to `iounmap'
From: kernel test robot
Date: Tue Aug 23 2022 - 18:22:15 EST
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head: df0219d11b6f04251d38e345db4f9780cb32e2e2
commit: 71ba41c9b1d91042960e9d92a5c8f52dc8531eda s390/pci: provide support for MIO instructions
date: 3 years, 4 months ago
config: s390-randconfig-r044-20220823 (https://download.01.org/0day-ci/archive/20220824/202208240628.9YgXEqCY-lkp@xxxxxxxxx/config)
compiler: s390-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://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=71ba41c9b1d91042960e9d92a5c8f52dc8531eda
git remote add linus https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
git fetch --no-tags linus master
git checkout 71ba41c9b1d91042960e9d92a5c8f52dc8531eda
# 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=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 >>):
s390-linux-ld: drivers/tty/ipwireless/main.o: in function `ipwireless_detach':
>> main.c:(.text+0x94): undefined reference to `iounmap'
>> s390-linux-ld: main.c:(.text+0xd8): undefined reference to `iounmap'
s390-linux-ld: drivers/tty/ipwireless/main.o: in function `config_ipwireless':
main.c:(.text+0x268): undefined reference to `iounmap'
s390-linux-ld: main.c:(.text+0x2a6): undefined reference to `iounmap'
s390-linux-ld: drivers/tty/ipwireless/main.o: in function `ipwireless_probe.part.0':
>> main.c:(.text+0x578): undefined reference to `ioremap'
s390-linux-ld: main.c:(.text+0x636): undefined reference to `iounmap'
>> s390-linux-ld: main.c:(.text+0x66c): undefined reference to `ioremap'
s390-linux-ld: main.c:(.text+0x6b8): undefined reference to `iounmap'
s390-linux-ld: drivers/char/hw_random/exynos-trng.o: in function `exynos_trng_probe':
exynos-trng.c:(.text+0x200): undefined reference to `devm_ioremap_resource'
s390-linux-ld: drivers/char/hw_random/meson-rng.o: in function `meson_rng_probe':
meson-rng.c:(.text+0x88): undefined reference to `devm_ioremap_resource'
s390-linux-ld: drivers/char/hw_random/mtk-rng.o: in function `mtk_rng_probe':
mtk-rng.c:(.text+0x238): undefined reference to `devm_ioremap_resource'
s390-linux-ld: drivers/net/arcnet/com90xx.o: in function `com90xx_exit':
com90xx.c:(.exit.text+0x56): undefined reference to `iounmap'
s390-linux-ld: drivers/net/arcnet/com90xx.o: in function `check_mirror':
com90xx.c:(.init.text+0x54): undefined reference to `ioremap'
s390-linux-ld: com90xx.c:(.init.text+0x78): undefined reference to `iounmap'
s390-linux-ld: drivers/net/arcnet/com90xx.o: in function `com90xx_found':
com90xx.c:(.init.text+0x114): undefined reference to `iounmap'
s390-linux-ld: com90xx.c:(.init.text+0x1e8): undefined reference to `iounmap'
s390-linux-ld: com90xx.c:(.init.text+0x304): undefined reference to `ioremap'
s390-linux-ld: com90xx.c:(.init.text+0x3d4): undefined reference to `iounmap'
s390-linux-ld: drivers/net/arcnet/com90xx.o: in function `com90xx_probe':
com90xx.c:(.init.text+0x9ec): undefined reference to `ioremap'
s390-linux-ld: com90xx.c:(.init.text+0xb74): undefined reference to `iounmap'
s390-linux-ld: com90xx.c:(.init.text+0x10f2): undefined reference to `iounmap'
s390-linux-ld: drivers/net/arcnet/arc-rimi.o: in function `arc_rimi_exit':
arc-rimi.c:(.exit.text+0x2e): undefined reference to `iounmap'
s390-linux-ld: drivers/net/arcnet/arc-rimi.o: in function `arcrimi_found':
arc-rimi.c:(.init.text+0xd4): undefined reference to `ioremap'
s390-linux-ld: arc-rimi.c:(.init.text+0x14e): undefined reference to `iounmap'
s390-linux-ld: arc-rimi.c:(.init.text+0x2be): undefined reference to `iounmap'
s390-linux-ld: arc-rimi.c:(.init.text+0x344): undefined reference to `ioremap'
s390-linux-ld: arc-rimi.c:(.init.text+0x404): undefined reference to `iounmap'
s390-linux-ld: drivers/net/arcnet/arc-rimi.o: in function `check_mirror':
arc-rimi.c:(.text.unlikely+0x54): undefined reference to `ioremap'
s390-linux-ld: arc-rimi.c:(.text.unlikely+0x78): undefined reference to `iounmap'
s390-linux-ld: drivers/net/ethernet/altera/altera_tse_main.o: in function `request_and_map':
altera_tse_main.c:(.text+0x14e): undefined reference to `devm_ioremap_nocache'
s390-linux-ld: drivers/net/ethernet/fujitsu/fmvj18x_cs.o: in function `fmvj18x_get_hwinfo':
fmvj18x_cs.c:(.text+0xd14): undefined reference to `ioremap'
s390-linux-ld: fmvj18x_cs.c:(.text+0xd5e): undefined reference to `iounmap'
s390-linux-ld: fmvj18x_cs.c:(.text+0xdf2): undefined reference to `iounmap'
s390-linux-ld: drivers/net/ethernet/fujitsu/fmvj18x_cs.o: in function `fmvj18x_config':
fmvj18x_cs.c:(.text+0xf88): undefined reference to `ioremap'
s390-linux-ld: fmvj18x_cs.c:(.text+0x10ac): undefined reference to `iounmap'
s390-linux-ld: fmvj18x_cs.c:(.text+0x143c): undefined reference to `iounmap'
s390-linux-ld: drivers/net/ethernet/fujitsu/fmvj18x_cs.o: in function `fmvj18x_detach':
fmvj18x_cs.c:(.text+0x15e0): undefined reference to `iounmap'
s390-linux-ld: drivers/net/ethernet/xircom/xirc2ps_cs.o: in function `xirc2ps_detach':
>> xirc2ps_cs.c:(.text+0xea0): undefined reference to `iounmap'
s390-linux-ld: drivers/net/ethernet/xircom/xirc2ps_cs.o: in function `xirc2ps_config':
>> xirc2ps_cs.c:(.text+0x1b9c): undefined reference to `ioremap'
>> s390-linux-ld: xirc2ps_cs.c:(.text+0x1cbe): undefined reference to `iounmap'
s390-linux-ld: drivers/pcmcia/cistpl.o: in function `set_cis_map':
cistpl.c:(.text+0x224): undefined reference to `iounmap'
s390-linux-ld: cistpl.c:(.text+0x236): undefined reference to `ioremap'
s390-linux-ld: cistpl.c:(.text+0x28a): undefined reference to `ioremap'
s390-linux-ld: cistpl.c:(.text+0x29a): undefined reference to `iounmap'
s390-linux-ld: drivers/pcmcia/cistpl.o: in function `release_cis_mem':
cistpl.c:(.text+0xda6): undefined reference to `iounmap'
--
0-DAY CI Kernel Test Service
https://01.org/lkp