On Tue, 25 Oct 2022 at 09:40, kernel test robot <lkp@xxxxxxxxx> wrote: > > Hi Marco, > > First bad commit (maybe != root cause): > > tree: https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master > head: 89bf6e28373beef9577fa71f996a5f73a569617c > commit: 7c201739beef1a586d806463f1465429cdce34c5 [1602/3190] kcsan: Instrument memcpy/memset/memmove with newer Clang This is unlikely to be the cause. > config: s390-randconfig-r044-20221025 (attached as .config) > compiler: clang version 16.0.0 (https://github.com/llvm/llvm-project 791a7ae1ba3efd6bca96338e10ffde557ba83920) > 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/next/linux-next.git/commit/?id=7c201739beef1a586d806463f1465429cdce34c5 > git remote add linux-next https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git > git fetch --no-tags linux-next master > git checkout 7c201739beef1a586d806463f1465429cdce34c5 > # 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 >>, old ones prefixed by <<): > > >> ERROR: modpost: "iounmap" [drivers/tty/ipwireless/ipwireless.ko] undefined! > >> ERROR: modpost: "ioremap" [drivers/tty/ipwireless/ipwireless.ko] undefined! > >> ERROR: modpost: "iounmap" [drivers/net/ethernet/fujitsu/fmvj18x_cs.ko] undefined! > >> ERROR: modpost: "ioremap" [drivers/net/ethernet/fujitsu/fmvj18x_cs.ko] undefined! > >> ERROR: modpost: "devm_ioremap" [drivers/net/ethernet/altera/altera_tse.ko] undefined! > ERROR: modpost: "iounmap" [drivers/pcmcia/pcmcia.ko] undefined! > ERROR: modpost: "ioremap" [drivers/pcmcia/pcmcia.ko] undefined! There are already similar warnings. My guess is that testing newer (unstable!) clang + CONFIG_KCSAN=y was broken before the KCSAN commit that fixed memcpy/etc., so from this commit onwards things build again and thus show a bunch of other warnings/errors due to semi-successful build.