From mboxrd@z Thu Jan 1 00:00:00 1970 Content-Type: multipart/mixed; boundary="===============2036923576488457981==" MIME-Version: 1.0 From: kernel test robot To: kbuild-all@lists.01.org Subject: error: unknown target CPU 'loongson2f' Date: Tue, 08 Feb 2022 21:16:41 +0800 Message-ID: <202202082104.nV3FQTR5-lkp@intel.com> List-Id: --===============2036923576488457981== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable CC: linux-kernel(a)vger.kernel.org TO: Nathan Chancellor CC: Thomas Bogendoerfer Hi Nathan, FYI, the error/warning still remains. tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git = master head: 555f3d7be91a873114c9656069f1a9fa476ec41a commit: 13ceb48bc19c563e05f407e663aaa4105fdfd408 MIPS: Loongson2ef: Remove = unnecessary {as,cc}-option calls date: 9 weeks ago config: mips-randconfig-c004-20220208 (https://download.01.org/0day-ci/arch= ive/20220208/202202082104.nV3FQTR5-lkp(a)intel.com/config) compiler: clang version 15.0.0 (https://github.com/llvm/llvm-project e8bff9= ae54a55b4dbfeb6ba55f723abbd81bf494) reproduce (this is a W=3D1 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/torvalds/linux.gi= t/commit/?id=3D13ceb48bc19c563e05f407e663aaa4105fdfd408 git remote add linus https://git.kernel.org/pub/scm/linux/kernel/gi= t/torvalds/linux.git git fetch --no-tags linus master git checkout 13ceb48bc19c563e05f407e663aaa4105fdfd408 # save the config file to linux build tree mkdir build_dir COMPILER_INSTALL_PATH=3D$HOME/0day COMPILER=3Dclang make.cross W=3D= 1 O=3Dbuild_dir ARCH=3Dmips prepare If you fix the issue, kindly add following tag as appropriate Reported-by: kernel test robot All errors (new ones prefixed by >>): clang-15: warning: argument unused during compilation: '-mno-branch-like= ly' [-Wunused-command-line-argument] >> error: unknown target CPU 'loongson2f' note: valid target CPU values are: mips1, mips2, mips3, mips4, mips5, mi= ps32, mips32r2, mips32r3, mips32r5, mips32r6, mips64, mips64r2, mips64r3, m= ips64r5, mips64r6, octeon, octeon+, p5600 >> error: unknown target CPU 'loongson2f' note: valid target CPU values are: mips1, mips2, mips3, mips4, mips5, mi= ps32, mips32r2, mips32r3, mips32r5, mips32r6, mips64, mips64r2, mips64r3, m= ips64r5, 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:419: 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(a)lists.01.org --===============2036923576488457981==--