From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mga18.intel.com (mga18.intel.com [134.134.136.126]) (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 8D36B258C for ; Tue, 29 Mar 2022 19:09:36 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1648580976; x=1680116976; h=date:from:cc:subject:message-id:mime-version; bh=X3ireJI8YpwbAMaL8tIzgf1l4jwe30ZM2JEkHu9G/QQ=; b=gx0ir4nqR12r+GduMu4iPJmcqQ1eFR7U0fQCIZagnhFefVKhm1o//X37 tsBtk0hKypAO4ieUthMPpzMqlryLR9A21M0hGEuwk4RCIfZoVWAaMWZpG /ikIQsrJ/s+mTtWo5rlJ8T+l2O60J881+pL7XHfa8B784XnfvaM4qKui3 9pr4PnzH4bIREgINVJYBl9DCbna5QRJaAz2dGJS61z/cvSX/Cp2tzxALI C+z9sxmzhSAR2X7kJBvtEzoye87fdO95qYGyVyhsGD3tW+oc3nIT4majG lS/7FycTEOVww/NsJYfPv0tZ2T72bqfjkujJHNa5LssiTUryUTtHKsd2i Q==; X-IronPort-AV: E=McAfee;i="6200,9189,10301"; a="241496408" X-IronPort-AV: E=Sophos;i="5.90,220,1643702400"; d="scan'208";a="241496408" Received: from orsmga003.jf.intel.com ([10.7.209.27]) by orsmga106.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 29 Mar 2022 12:09:36 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.90,220,1643702400"; d="scan'208";a="503010409" Received: from lkp-server01.sh.intel.com (HELO 3965e2759b93) ([10.239.97.150]) by orsmga003.jf.intel.com with ESMTP; 29 Mar 2022 12:09:35 -0700 Received: from kbuild by 3965e2759b93 with local (Exim 4.92) (envelope-from ) id 1nZHDi-0000Zl-E7; Tue, 29 Mar 2022 19:09:34 +0000 Date: Wed, 30 Mar 2022 03:08:53 +0800 From: kernel test robot Cc: kbuild-all@lists.01.org, llvm@lists.linux.dev Subject: clang-15: error: unknown argument: '-mr10k-cache-barrier=store' Message-ID: <202203300323.cGUXd5zN-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 User-Agent: Mutt/1.10.1 (2018-07-13) BCC: lkp@intel.com CC: linux-kernel@vger.kernel.org TO: Tiezhu Yang CC: Thomas Bogendoerfer CC: Nathan Chancellor CC: Masahiro Yamada Hi Tiezhu, FYI, the error/warning still remains. tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: 1930a6e739c4b4a654a69164dbe39e554d228915 commit: 048cc2378c2494519d940597629465b3ea44a96f MIPS: SGI-IP22: Remove unnecessary check of GCC option date: 4 months ago config: mips-randconfig-r022-20220330 (https://download.01.org/0day-ci/archive/20220330/202203300323.cGUXd5zN-lkp@intel.com/config) compiler: clang version 15.0.0 (https://github.com/llvm/llvm-project 0f6d9501cf49ce02937099350d08f20c4af86f3d) 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/torvalds/linux.git/commit/?id=048cc2378c2494519d940597629465b3ea44a96f git remote add linus https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git git fetch --no-tags linus master git checkout 048cc2378c2494519d940597629465b3ea44a96f # 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-15: error: unknown argument: '-mr10k-cache-barrier=store' >> clang-15: error: unknown argument: '-mr10k-cache-barrier=store' >> clang-15: error: unknown argument: '-mr10k-cache-barrier=store' make[2]: *** [scripts/Makefile.build:121: scripts/mod/devicetable-offsets.s] Error 1 make[2]: *** [scripts/Makefile.build:287: scripts/mod/empty.o] Error 1 make[2]: Target '__build' not remade because of errors. make[1]: *** [Makefile:1196: prepare0] 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