From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mga06.intel.com (mga06b.intel.com [134.134.136.31]) (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 A58322F3A for ; Thu, 14 Apr 2022 17:58:15 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1649959095; x=1681495095; h=date:from:cc:subject:message-id:mime-version; bh=sc3/wuX2pbuHolCAQ4Lik7PAR0SwL4kq3OCN0Wj3FwI=; b=eT7ouYB14fXFcvDG3ka3p5ziS8uPBJ/K0tHTb2uX6qDTlQ3VRTiiH9zn PceKaX2k/BuGnHDymEZ/zHsbAXT0wihIvJ6IMLO1Mn7bcj11A2IB7oD0D 8GPpfLYzqYiwzSHVfwAz3gIjSLWW+/MBUNRyKKZUAjT5zlxFR4/iHtW58 06OG3KWgAfH+j+Rx6tePJ8Ai72lyVXPVv2AwwusubPhaCjTnnwyC1wmwy KruHvC0+tKaOZU7BT6LbmPyob8UwsdOQtR9HQOwszA0YrQlT8xF+VdBIw xnIb657RChU6zv+N577WZ7NH4xhjJ9fsGIv8CXKeSjJ4u5P1mTnZ9oWwp A==; X-IronPort-AV: E=McAfee;i="6400,9594,10317"; a="323439926" X-IronPort-AV: E=Sophos;i="5.90,260,1643702400"; d="scan'208";a="323439926" Received: from fmsmga001.fm.intel.com ([10.253.24.23]) by orsmga104.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 14 Apr 2022 10:58:14 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.90,260,1643702400"; d="scan'208";a="700765896" Received: from lkp-server01.sh.intel.com (HELO 3abc53900bec) ([10.239.97.150]) by fmsmga001.fm.intel.com with ESMTP; 14 Apr 2022 10:58:13 -0700 Received: from kbuild by 3abc53900bec with local (Exim 4.95) (envelope-from ) id 1nf3jR-0001CZ-Cu; Thu, 14 Apr 2022 17:58:13 +0000 Date: Fri, 15 Apr 2022 01:57:38 +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: <202204150132.v7e0Rjx4-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: a19944809fe9942e6a96292490717904d0690c21 commit: 048cc2378c2494519d940597629465b3ea44a96f MIPS: SGI-IP22: Remove unnecessary check of GCC option date: 4 months ago config: mips-ip28_defconfig (https://download.01.org/0day-ci/archive/20220415/202204150132.v7e0Rjx4-lkp@intel.com/config) compiler: clang version 15.0.0 (https://github.com/llvm/llvm-project 6b7e6ea489f6dd45a9b0da9ac20871560917b9b0) 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' 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 >> clang-15: error: unknown argument: '-mr10k-cache-barrier=store' 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