Received: by 2002:a05:6358:11c7:b0:104:8066:f915 with SMTP id i7csp3352702rwl; Sun, 9 Apr 2023 13:53:18 -0700 (PDT) X-Google-Smtp-Source: AKy350YTENYpuwBefgQCrMyQGHoBTM5zZfxemJNomJPrVFX8RkdOIr+rgAQtt03pOeM08LWudJkM X-Received: by 2002:aa7:d859:0:b0:504:8d0c:210b with SMTP id f25-20020aa7d859000000b005048d0c210bmr3951706eds.30.1681073598328; Sun, 09 Apr 2023 13:53:18 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1681073598; cv=none; d=google.com; s=arc-20160816; b=Q5OEAZffpym9BgX3AqGytppLhrxOPwnGZs5ShGMOoJ9wloKfL9ki/2H7DQJWPXXjr6 DCLzFOrSFPztWX+Zc2jsBOR+BpHs0g5HBBeaPEWSGKeUrL1D1ap/naYvooWMcdo+6dpy lXKKPRjSraJImRBveKQy4XhncGhoKhLa3idRnSecfNaP2ZyqzYH5svWArX3SAzATq9Rz Bw3lnOUx5Pb6l8LzPwQTyxUWmHfpbBXctjXZrLZauJvjLp49HJKGmeBgABPEYfMXVbqA Fx+jq5bH3ObE4svIKx9w35l2jIHKWRi1SldfOrlfz2fBm297v4urNNGmfDSy5end9NC+ oAgQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=d6YKfbd76ZMgDnOJZYHGnQnOwciBAr4oOYeOKooAUzA=; b=l3P6VEiwqYPRWfoqRPYl8bgyIxhPISYzlm1m320U9R6jMWp756LENBNpR9oHnTT0AK b0/Ai8r7nhgWmOzdvzQeEchXsS30MI5IlRPAo+YFFqRtnpZhtI+JPcb/rJwiEofoPc2X w40judMR7Bzq3rzmo6vPgjQieZJ3wc8iRC4cgY4CK6vjo2RdiBIceKvINJRcKnzQx9u8 omZPw8eRTll8Zd2/pXPzKce6dzU+3nVDScNG5TltFGBvIm7beLSfa/pPf1Fvn9B/Pg66 Dgy5wYglRrDXWnfpypMKp2Pa+i/fAzF9XZ07twotQf4KytPyEVnLhKzGdLsQ1KIw1wwi nZ5w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=iwn10s3D; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id e9-20020a056402088900b005047b90b43csi577568edy.594.2023.04.09.13.52.53; Sun, 09 Apr 2023 13:53:18 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=iwn10s3D; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229524AbjDIUJt (ORCPT + 99 others); Sun, 9 Apr 2023 16:09:49 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47640 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229510AbjDIUJr (ORCPT ); Sun, 9 Apr 2023 16:09:47 -0400 Received: from mga12.intel.com (mga12.intel.com [192.55.52.136]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 30DBE3A82; Sun, 9 Apr 2023 13:09:46 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1681070986; x=1712606986; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=u9paic4b5RjsQWDq/hcpmJe224A6CrKf/uF/sceXvKg=; b=iwn10s3D98Bo5LrCkFb617CvT00Ax8wwMlZg/I4AXBdepp5P+ifMfF07 eRCcXwMLr5F5Gi5rCpdF0L2LzGzRm1mA+AdmhFUucsy3mpkHTiL/LoU0Q 60Me8G2q0CFlcxJ90HmfwIX96cyZcPRfGtONXVVnUUbhaOUuVRWmTNC1N UmW2S5k3gzLyAiKlIWRGnesfIRUC9/6XVOsm1lI11Rz29JcpkNNvGv1nO zO/PwweAOfFz+4dI0tspJkVw6A3+y5zo2EBwhuQ6/Swf++C+lXK8+YE0D d7oJZiBmOgqUZJaop8PGuD1XpwJ2j4nh/iU+CVvsxFcd318AF1tRaUGZR Q==; X-IronPort-AV: E=McAfee;i="6600,9927,10675"; a="322880739" X-IronPort-AV: E=Sophos;i="5.98,332,1673942400"; d="scan'208";a="322880739" Received: from fmsmga001.fm.intel.com ([10.253.24.23]) by fmsmga106.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 09 Apr 2023 13:09:45 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10675"; a="831728944" X-IronPort-AV: E=Sophos;i="5.98,332,1673942400"; d="scan'208";a="831728944" Received: from lkp-server01.sh.intel.com (HELO b613635ddfff) ([10.239.97.150]) by fmsmga001.fm.intel.com with ESMTP; 09 Apr 2023 13:09:43 -0700 Received: from kbuild by b613635ddfff with local (Exim 4.96) (envelope-from ) id 1plbM6-000Ujp-2Z; Sun, 09 Apr 2023 20:09:42 +0000 Date: Mon, 10 Apr 2023 04:09:37 +0800 From: kernel test robot To: Masahiro Yamada , linux-kbuild@vger.kernel.org Cc: llvm@lists.linux.dev, oe-kbuild-all@lists.linux.dev, linux-kernel@vger.kernel.org, Masahiro Yamada , Tom Rini , Nathan Chancellor , Nick Desaulniers , Nicolas Schier , Tom Rix Subject: Re: [PATCH] kbuild: add $(CLANG_CFLAGS) to KBUILD_CPPFLAGS Message-ID: <202304100319.Wfcfuyqz-lkp@intel.com> References: <20230409145358.2538266-1-masahiroy@kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20230409145358.2538266-1-masahiroy@kernel.org> X-Spam-Status: No, score=-2.5 required=5.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED,SPF_HELO_PASS, SPF_NONE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Masahiro, kernel test robot noticed the following build warnings: [auto build test WARNING on masahiroy-kbuild/for-next] [also build test WARNING on masahiroy-kbuild/fixes linus/master v6.3-rc6 next-20230406] [If your patch is applied to the wrong git tree, kindly drop us a note. And when submitting patch, we suggest to use '--base' as documented in https://git-scm.com/docs/git-format-patch#_base_tree_information] url: https://github.com/intel-lab-lkp/linux/commits/Masahiro-Yamada/kbuild-add-CLANG_CFLAGS-to-KBUILD_CPPFLAGS/20230409-225441 base: https://git.kernel.org/pub/scm/linux/kernel/git/masahiroy/linux-kbuild.git for-next patch link: https://lore.kernel.org/r/20230409145358.2538266-1-masahiroy%40kernel.org patch subject: [PATCH] kbuild: add $(CLANG_CFLAGS) to KBUILD_CPPFLAGS config: mips-ip22_defconfig (https://download.01.org/0day-ci/archive/20230410/202304100319.Wfcfuyqz-lkp@intel.com/config) compiler: clang version 17.0.0 (https://github.com/llvm/llvm-project 2c57868e2e877f73c339796c3374ae660bb77f0d) 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://github.com/intel-lab-lkp/linux/commit/4a97e93c7f8c2aaf7bcca67a061264a1126d0e25 git remote add linux-review https://github.com/intel-lab-lkp/linux git fetch --no-tags linux-review Masahiro-Yamada/kbuild-add-CLANG_CFLAGS-to-KBUILD_CPPFLAGS/20230409-225441 git checkout 4a97e93c7f8c2aaf7bcca67a061264a1126d0e25 # 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 olddefconfig 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 | Link: https://lore.kernel.org/oe-kbuild-all/202304100319.Wfcfuyqz-lkp@intel.com/ All warnings (new ones prefixed by >>): >> clang: warning: argument unused during compilation: '-mno-check-zero-division' [-Wunused-command-line-argument] clang: warning: argument unused during compilation: '-mabi=32' [-Wunused-command-line-argument] >> clang: warning: argument unused during compilation: '-G 0' [-Wunused-command-line-argument] >> clang: warning: argument unused during compilation: '-mno-abicalls' [-Wunused-command-line-argument] error: unknown target CPU 'r5000' note: valid target CPU values are: nocona, core2, penryn, bonnell, atom, silvermont, slm, goldmont, goldmont-plus, tremont, nehalem, corei7, westmere, sandybridge, corei7-avx, ivybridge, core-avx-i, haswell, core-avx2, broadwell, skylake, skylake-avx512, skx, cascadelake, cooperlake, cannonlake, icelake-client, rocketlake, icelake-server, tigerlake, sapphirerapids, alderlake, raptorlake, meteorlake, sierraforest, grandridge, graniterapids, emeraldrapids, knl, knm, k8, athlon64, athlon-fx, opteron, k8-sse3, athlon64-sse3, opteron-sse3, amdfam10, barcelona, btver1, btver2, bdver1, bdver2, bdver3, bdver4, znver1, znver2, znver3, znver4, x86-64, x86-64-v2, x86-64-v3, x86-64-v4 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 'r5000' 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:252: scripts/mod/empty.o] Error 1 error: unknown target CPU 'r5000' 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:114: scripts/mod/devicetable-offsets.s] Error 1 make[2]: Target 'scripts/mod/' not remade because of errors. make[1]: *** [Makefile:1285: prepare0] Error 2 make[1]: Target 'prepare' not remade because of errors. make: *** [Makefile:226: __sub-make] Error 2 make: Target 'prepare' not remade because of errors. -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests