From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id D2E8ACD5BCE for ; Tue, 19 Sep 2023 14:43:09 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232907AbjISOnN (ORCPT ); Tue, 19 Sep 2023 10:43:13 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39888 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232936AbjISOnG (ORCPT ); Tue, 19 Sep 2023 10:43:06 -0400 Received: from mgamail.intel.com (mgamail.intel.com [192.55.52.120]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 343D312E for ; Tue, 19 Sep 2023 07:42:53 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1695134573; x=1726670573; h=date:from:to:cc:subject:message-id:mime-version; bh=iSPzEI6ai+IfQ92VJY4BsG+KgWguOThO7IO/TLYrv00=; b=V5QqZShFz0UucuCdAYTsrQvl3kaTUYcXYgHmgWrDTDF6pAyoJOFAF+b8 vIW5pZ0VUKCxe9l+/067Hbl/ojzhr+6vFniaP8L4HVQiTfQSmZBmMGi5Y o6AuzHOpkC0qOrKno0LTNRTicbE7a9FRFKU9nm0yQSlDDi4EVDsnHO9sa 9xSBYhQ8jloZIOdBWL6PHy0dyM99ZhUXUgPd4yfc7iu2O4O/OCFVFquMb QylGDrumthylCmO9D/U42YWNCN7mfPcrqVDnSaHC3mN8zIU7p7th1lf0m WYspLEpRP/5byW6i30do7I7Tilnp9KWMjg7BRqc4VLym4FiGB+w5aAYyz Q==; X-IronPort-AV: E=McAfee;i="6600,9927,10838"; a="378850854" X-IronPort-AV: E=Sophos;i="6.02,159,1688454000"; d="scan'208";a="378850854" Received: from fmsmga007.fm.intel.com ([10.253.24.52]) by fmsmga104.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 19 Sep 2023 07:42:37 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10838"; a="749508232" X-IronPort-AV: E=Sophos;i="6.02,159,1688454000"; d="scan'208";a="749508232" Received: from lkp-server02.sh.intel.com (HELO 9ef86b2655e5) ([10.239.97.151]) by fmsmga007.fm.intel.com with ESMTP; 19 Sep 2023 07:42:35 -0700 Received: from kbuild by 9ef86b2655e5 with local (Exim 4.96) (envelope-from ) id 1qibvL-0007TQ-1a; Tue, 19 Sep 2023 14:42:03 +0000 Date: Tue, 19 Sep 2023 22:40:57 +0800 From: kernel test robot To: Masahiro Yamada Cc: llvm@lists.linux.dev, oe-kbuild-all@lists.linux.dev, linux-kernel@vger.kernel.org, Nathan Chancellor Subject: warning: unknown warning option '-Wrestrict' Message-ID: <202309192257.IAbw1lnx-lkp@intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: 2cf0f715623872823a72e451243bbf555d10d032 commit: feb843a469fb0ab00d2d23cfb9bcc379791011bb kbuild: add $(CLANG_FLAGS) to KBUILD_CPPFLAGS date: 4 months ago config: um-allnoconfig (https://download.01.org/0day-ci/archive/20230919/202309192257.IAbw1lnx-lkp@intel.com/config) compiler: clang version 17.0.0 (https://github.com/llvm/llvm-project.git 4a5ac14ee968ff0ad5d2cc1ffa0299048db4c88a) reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20230919/202309192257.IAbw1lnx-lkp@intel.com/reproduce) If you fix the issue in a separate patch/commit (i.e. not just a new version of the same patch/commit), kindly add following tags | Reported-by: kernel test robot | Closes: https://lore.kernel.org/oe-kbuild-all/202309192257.IAbw1lnx-lkp@intel.com/ All warnings (new ones prefixed by >>): >> warning: unknown warning option '-Wrestrict' [-Wunknown-warning-option] >> warning: unknown warning option '-Wformat-overflow'; did you mean '-Wshift-overflow'? [-Wunknown-warning-option] >> warning: unknown warning option '-Wformat-truncation' [-Wunknown-warning-option] >> warning: unknown warning option '-Wstringop-overflow'; did you mean '-Wshift-overflow'? [-Wunknown-warning-option] arch/x86/um/user-offsets.c:17:6: warning: no previous prototype for function 'foo' [-Wmissing-prototypes] 17 | void foo(void) | ^ arch/x86/um/user-offsets.c:17:1: note: declare 'static' if the function is not intended to be used outside of this translation unit 17 | void foo(void) | ^ | static 5 warnings generated. error: unknown warning option '-Wrestrict' [-Werror,-Wunknown-warning-option] error: unknown warning option '-Wformat-overflow'; did you mean '-Wshift-overflow'? [-Werror,-Wunknown-warning-option] error: unknown warning option '-Wformat-truncation' [-Werror,-Wunknown-warning-option] error: unknown warning option '-Wstringop-overflow'; did you mean '-Wshift-overflow'? [-Werror,-Wunknown-warning-option] make[2]: *** [scripts/Makefile.build:252: scripts/mod/empty.o] Error 1 error: unknown warning option '-Wrestrict' [-Werror,-Wunknown-warning-option] error: unknown warning option '-Wformat-overflow'; did you mean '-Wshift-overflow'? [-Werror,-Wunknown-warning-option] error: unknown warning option '-Wformat-truncation' [-Werror,-Wunknown-warning-option] error: unknown warning option '-Wstringop-overflow'; did you mean '-Wshift-overflow'? [-Werror,-Wunknown-warning-option] 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:1286: 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/wiki