From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mga09.intel.com (mga09.intel.com [134.134.136.24]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 1B9A15CA0 for ; Tue, 23 Aug 2022 19:09:09 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1661281750; x=1692817750; h=date:from:cc:subject:message-id:mime-version; bh=/d8mJECyJUV7osUGtRSzQ8fOp0Bw7oe/6CK+8x1En1E=; b=jci9xP85+ysVTn8062IPU8MxsIG1bmIOLokWtf3RKDqJo6xfW7LZ8k+0 Z2xXiCdOtKNOMtAuzymbF9z+ICQgzrsP+JUkeivV+LRSpNXnPilXV2PSJ 9iVacmyJytMze0zN68sKuI7eYC0e13vMO1zmXU8Dk1p2hi3R1JWSnTP+C Hb/wgK2GyY04LFc+2GrQgzx6baNbqsA47Ht8/9O3yusN5LY+2N6AyiVLL TUukvaHpnyI8Aq6YhYc3N1Qtg6NWRyu+a7WDJHvR+sSwEfzlgL4i/xdu/ qZ+qW/nqugA0P/9Sk2q3vZxsoiAHqOjeYT/MtLa8rrs5nYvDPutVSt58l w==; X-IronPort-AV: E=McAfee;i="6500,9779,10448"; a="294562671" X-IronPort-AV: E=Sophos;i="5.93,258,1654585200"; d="scan'208";a="294562671" Received: from fmsmga004.fm.intel.com ([10.253.24.48]) by orsmga102.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 23 Aug 2022 12:09:02 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.93,258,1654585200"; d="scan'208";a="677741092" Received: from lkp-server02.sh.intel.com (HELO 9bbcefcddf9f) ([10.239.97.151]) by fmsmga004.fm.intel.com with ESMTP; 23 Aug 2022 12:09:00 -0700 Received: from kbuild by 9bbcefcddf9f with local (Exim 4.96) (envelope-from ) id 1oQZGm-0000Rr-0I; Tue, 23 Aug 2022 19:09:00 +0000 Date: Wed, 24 Aug 2022 03:08:23 +0800 From: kernel test robot Cc: kbuild-all@lists.01.org, llvm@lists.linux.dev Subject: error: unknown target CPU 'loongson2e' Message-ID: <202208240250.I5yHeMRQ-lkp@intel.com> Precedence: bulk X-Mailing-List: llvm@lists.linux.dev List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline CC: linux-kernel@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: 072e51356cd5a4a1c12c1020bc054c99b98333df commit: 13ceb48bc19c563e05f407e663aaa4105fdfd408 MIPS: Loongson2ef: Remove unnecessary {as,cc}-option calls date: 9 months ago config: mips-buildonly-randconfig-r006-20220823 (https://download.01.org/0day-ci/archive/20220824/202208240250.I5yHeMRQ-lkp@intel.com/config) compiler: clang version 16.0.0 (https://github.com/llvm/llvm-project b04d01c009d7f66bcca9138d2ce40999eedf104d) 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-mips64el-linux-gnuabi64 # https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=13ceb48bc19c563e05f407e663aaa4105fdfd408 git remote add linus https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git git fetch --no-tags linus master git checkout 13ceb48bc19c563e05f407e663aaa4105fdfd408 # 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=mips prepare If you fix the issue, kindly add following tag where applicable Reported-by: kernel test robot All errors (new ones prefixed by >>): clang-16: warning: argument unused during compilation: '-mno-branch-likely' [-Wunused-command-line-argument] >> error: unknown target CPU 'loongson2e' 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] scripts/genksyms/parse.y: note: rerun with option '-Wcounterexamples' to generate conflict counterexamples >> error: unknown target CPU 'loongson2e' 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 https://01.org/lkp