CC: Linux Memory Management List TO: Nathan Chancellor CC: Thomas Bogendoerfer tree: https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master head: ea586a076e8aa606c59b66d86660590f18354b11 commit: 13ceb48bc19c563e05f407e663aaa4105fdfd408 [5464/9897] MIPS: Loongson2ef: Remove unnecessary {as,cc}-option calls config: mips-lemote2f_defconfig (https://download.01.org/0day-ci/archive/20220101/202201010356.iTaJlVVL-lkp@intel.com/config) compiler: clang version 14.0.0 (https://github.com/llvm/llvm-project 7cd109b92c72855937273a6c8ab19016fbe27d33) 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 mips cross compiling tool for clang build # apt-get install binutils-mips-linux-gnu # https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git/commit/?id=13ceb48bc19c563e05f407e663aaa4105fdfd408 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 13ceb48bc19c563e05f407e663aaa4105fdfd408 # save the config file to linux build tree mkdir build_dir COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross W=1 O=build_dir ARCH=mips prepare If you fix the issue, kindly add following tag as appropriate Reported-by: kernel test robot All errors (new ones prefixed by >>): clang-14: warning: argument unused during compilation: '-mno-branch-likely' [-Wunused-command-line-argument] >> error: unknown target CPU 'loongson2f' note: valid target CPU values are: mips1, mips2, mips3, mips4, mips5, mips32, mips32r2, mips32r3, mips32r5, mips32r6, mips64, mips64r2, mips64r3, mips64r5, mips64r6, octeon, octeon+, p5600 scripts/genksyms/parse.y: warning: 9 shift/reduce conflicts [-Wconflicts-sr] scripts/genksyms/parse.y: warning: 5 reduce/reduce conflicts [-Wconflicts-rr] >> error: unknown target CPU 'loongson2f' note: valid target CPU values are: mips1, mips2, mips3, mips4, mips5, mips32, mips32r2, mips32r3, mips32r5, mips32r6, mips64, mips64r2, mips64r3, mips64r5, mips64r6, octeon, octeon+, p5600 make[2]: *** [scripts/Makefile.build:121: kernel/bounds.s] Error 1 make[2]: Target 'missing-syscalls' not remade because of errors. make[1]: *** [arch/mips/Makefile:415: archprepare] Error 2 make[1]: Target 'prepare' not remade because of errors. make: *** [Makefile:219: __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