s390-linux-ld: arc-rimi.c:undefined reference to `iounmap'

From: kernel test robot
Date: Sat Feb 25 2023 - 04:00:43 EST


Hi Sebastian,

FYI, the error/warning still remains.

tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head: 489fa31ea873282b41046d412ec741f93946fc2d
commit: 71ba41c9b1d91042960e9d92a5c8f52dc8531eda s390/pci: provide support for MIO instructions
date: 3 years, 10 months ago
config: s390-randconfig-r015-20230225 (https://download.01.org/0day-ci/archive/20230225/202302251622.fFIHvPR0-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 olddefconfig
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>
| Link: https://lore.kernel.org/oe-kbuild-all/202302251622.fFIHvPR0-lkp@xxxxxxxxx/

All errors (new ones prefixed by >>):

s390-linux-ld: drivers/tty/ipwireless/main.o: in function `ipwireless_detach':
main.c:(.text+0x8a): undefined reference to `iounmap'
s390-linux-ld: main.c:(.text+0xce): undefined reference to `iounmap'
s390-linux-ld: drivers/tty/ipwireless/main.o: in function `config_ipwireless':
main.c:(.text+0x25e): undefined reference to `iounmap'
s390-linux-ld: main.c:(.text+0x29c): undefined reference to `iounmap'
s390-linux-ld: drivers/tty/ipwireless/main.o: in function `ipwireless_probe.part.0':
main.c:(.text+0x528): undefined reference to `ioremap'
s390-linux-ld: main.c:(.text+0x5e4): undefined reference to `iounmap'
s390-linux-ld: main.c:(.text+0x61a): undefined reference to `ioremap'
s390-linux-ld: main.c:(.text+0x664): undefined reference to `iounmap'
s390-linux-ld: drivers/net/arcnet/com90xx.o: in function `com90xx_exit':
com90xx.c:(.exit.text+0x5a): undefined reference to `iounmap'
s390-linux-ld: drivers/net/arcnet/com90xx.o: in function `check_mirror':
com90xx.c:(.init.text+0x4c): undefined reference to `ioremap'
s390-linux-ld: com90xx.c:(.init.text+0x6e): undefined reference to `iounmap'
s390-linux-ld: drivers/net/arcnet/com90xx.o: in function `com90xx_found':
com90xx.c:(.init.text+0xe6): undefined reference to `iounmap'
s390-linux-ld: com90xx.c:(.init.text+0x1ba): undefined reference to `iounmap'
s390-linux-ld: com90xx.c:(.init.text+0x2d4): undefined reference to `ioremap'
s390-linux-ld: com90xx.c:(.init.text+0x3a2): undefined reference to `iounmap'
s390-linux-ld: drivers/net/arcnet/com90xx.o: in function `com90xx_probe':
com90xx.c:(.init.text+0x64c): undefined reference to `ioremap'
s390-linux-ld: com90xx.c:(.init.text+0x6a8): undefined reference to `iounmap'
s390-linux-ld: com90xx.c:(.init.text+0x8d6): 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+0xb6): undefined reference to `ioremap'
>> s390-linux-ld: arc-rimi.c:(.init.text+0x132): undefined reference to `iounmap'
s390-linux-ld: arc-rimi.c:(.init.text+0x29a): undefined reference to `iounmap'
>> s390-linux-ld: arc-rimi.c:(.init.text+0x322): undefined reference to `ioremap'
s390-linux-ld: arc-rimi.c:(.init.text+0x3e0): undefined reference to `iounmap'
s390-linux-ld: drivers/net/arcnet/arc-rimi.o: in function `check_mirror':
>> arc-rimi.c:(.text.unlikely+0x4c): undefined reference to `ioremap'
>> s390-linux-ld: arc-rimi.c:(.text.unlikely+0x6e): undefined reference to `iounmap'
s390-linux-ld: drivers/pcmcia/cistpl.o: in function `set_cis_map':
cistpl.c:(.text+0x210): undefined reference to `iounmap'
s390-linux-ld: cistpl.c:(.text+0x222): undefined reference to `ioremap'
s390-linux-ld: cistpl.c:(.text+0x278): undefined reference to `ioremap'
s390-linux-ld: cistpl.c:(.text+0x28e): undefined reference to `iounmap'
s390-linux-ld: drivers/pcmcia/cistpl.o: in function `release_cis_mem':
cistpl.c:(.text+0xd34): undefined reference to `iounmap'

--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests