CC: Linux Memory Management List <linux-mm(a)kvack.org>
TO: Nick Desaulniers <ndesaulniers(a)google.com>
CC: Nathan Chancellor <nathan(a)kernel.org>
CC: Andrew Morton <akpm(a)linux-foundation.org>
CC: Linux Memory Management List <linux-mm(a)kvack.org>
tree:
https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master
head: b9011c7e671dbbf59bb753283ddfd03f0c9eb865
commit: 9b9a2f6284409ce3171fd72c288cc0e82bb34c6f [7766/8423] Makefile: remove stale
cc-option checks
config: s390-randconfig-r011-20210816 (attached as .config)
compiler: clang version 14.0.0 (
https://github.com/llvm/llvm-project
44d0a99a12ec7ead4d2f5ef649ba05b40f6d463d)
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/commi...
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 9b9a2f6284409ce3171fd72c288cc0e82bb34c6f
# save the attached .config to linux build tree
mkdir build_dir
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross O=build_dir ARCH=s390
prepare
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp(a)intel.com>
All errors (new ones prefixed by >>):
> clang-14: error: unsupported option '-mfentry' for target
's390-unknown-linux'
--
> clang-14: error: unsupported option '-mfentry' for target
's390-unknown-linux'
> clang-14:
error: unsupported option '-mfentry' for target 's390-unknown-linux'
make[2]: *** [scripts/Makefile.build:271: scripts/mod/empty.o] Error 1
make[2]: *** [scripts/Makefile.build:117: scripts/mod/devicetable-offsets.s] Error 1
make[2]: Target '__build' not remade because of errors.
make[1]: *** [Makefile:1218: prepare0] Error 2
make[1]: Target 'modules_prepare' not remade because of errors.
make: *** [Makefile:220: __sub-make] Error 2
make: Target 'modules_prepare' not remade because of errors.
--
> clang-14: error: unsupported option '-mfentry' for target
's390-unknown-linux'
make[2]: *** [scripts/Makefile.build:271:
scripts/mod/empty.o] Error 1
> clang-14: error: unsupported option '-mfentry' for target
's390-unknown-linux'
make[2]: *** [scripts/Makefile.build:117:
scripts/mod/devicetable-offsets.s] Error 1
make[2]: Target '__build' not remade because of errors.
make[1]: *** [Makefile:1218: prepare0] Error 2
make[1]: Target 'prepare' not remade because of errors.
make: *** [Makefile:220: __sub-make] Error 2
make: Target 'prepare' not remade because of errors.
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org