Received: by 2002:a05:6358:a55:b0:ec:fcf4:3ecf with SMTP id 21csp5057618rwb; Sun, 22 Jan 2023 02:23:06 -0800 (PST) X-Google-Smtp-Source: AMrXdXt1BKPfZ+r76EUBCHroMSwSTknOYVJfubZ+X6uGzeqymlRxaYks2TZ045Fs95OuJ0oLoaDW X-Received: by 2002:a17:90a:30d:b0:229:f58a:9f65 with SMTP id 13-20020a17090a030d00b00229f58a9f65mr11197307pje.2.1674382986747; Sun, 22 Jan 2023 02:23:06 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1674382986; cv=none; d=google.com; s=arc-20160816; b=05aWPkBE7v/xJ2LT3Xy3MsmCviaedrbA0iVVE03n/uSxiTcGiWPBO0GX0h4wSr8TIi umW9YUMAKZv+CXqmZIkv2M+tdOPExTc3WjBqwuzrAGABOj/rJh8NEA85E6YLHSd+uoEs n3S91talYc2E4q5KCF3ZZmAgQGXBnvajXboPSAikTfN7VyOs9tzZRKN1WpSjCQweb213 fpufrT6xxujhteyO2xFoTpg8hV09FPJFKf72Rvlw+ntrpfc0ZoXI6Wnx/x56hq+3cmQk KLI0Lwi1lDLSonWUlDBBMs0r7shhPT8FiiLCjBXTR5hAu7ExVhtR9AgD3S9i50KD36xC WIlg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-disposition:mime-version:message-id :subject:cc:to:from:date:dkim-signature; bh=AjuxEp271fJI7je7bcCm/P7nfzjnxQPta1ls+MJnYU8=; b=vuSNIMyg3Veo/A0g5gVKANfuhnrqwmaFzE8NybqVnHEmPJd9NFYRKvbegzz/ogxk4R 2hruG4G1ngRosfJjWmxE2qymkQAFGF5D65MwPFxocONBNKZdHA77yd71ex4aT4UN4QA5 3iVCDbMUpyfYOOwcbgcV/TWiH7bPt5rWIz3QHJLEYzdJhyKnMFPYQb1RlWCwGaUY9eWh QwZEqAbJNt2QEQoqwD0/TQSckb9qsfdeBTHDgmus7w2IBmwlyOl9gWpyT4zH+1CIkodZ OO9Ksrc1+tAqE/TbuannD87Q/RdU/EOIgzIsMD1z6P5Hx0j8W3rImjyLxUNQYvoH2u8a geXw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=Ezdp1Vwo; 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 w24-20020a17090a8a1800b00219b5765ff9si8161277pjn.105.2023.01.22.02.23.00; Sun, 22 Jan 2023 02:23:06 -0800 (PST) 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=Ezdp1Vwo; 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 S229866AbjAVJp2 (ORCPT + 50 others); Sun, 22 Jan 2023 04:45:28 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45406 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229656AbjAVJp0 (ORCPT ); Sun, 22 Jan 2023 04:45:26 -0500 Received: from mga01.intel.com (mga01.intel.com [192.55.52.88]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id CD46817147 for ; Sun, 22 Jan 2023 01:45:24 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1674380724; x=1705916724; h=date:from:to:cc:subject:message-id:mime-version; bh=62GSkWHpr/lhKKjA6/XqYhX9DwZxKq4vaudQBUAmdlk=; b=Ezdp1VwoHzSUpkbFDMJxk3iqv51ZmxKME4Gg8w4woR2fifxE6k5KlHEs tmH2Xs/7I+TPOkNgQASHMsIScL2vxBtZjmcbo86Pp/swJesYNlTNUTZan YXF8rdPg0l7yuFBQ9UIFcoUeUYXIwWIId4yyMm0ZGO9DhDLjue6erUSmy PYbpR2li44ogXZn2Q93r0JlISRAJWz+j7oFGPff1pAZGdIjyvWmHri8LX ZsHSIqRTq8sNJjJPV69ocjOrqgMzdLgfl8bJTcEQY1h0PSiY37ak+J2J3 hE1zmbCYHoz3MplEWkImm6y2MTMwW04MQgFpBkEJYmoPL9e0cwlXOVXm2 A==; X-IronPort-AV: E=McAfee;i="6500,9779,10597"; a="353139370" X-IronPort-AV: E=Sophos;i="5.97,237,1669104000"; d="scan'208";a="353139370" Received: from orsmga008.jf.intel.com ([10.7.209.65]) by fmsmga101.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 22 Jan 2023 01:45:24 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6500,9779,10597"; a="691586222" X-IronPort-AV: E=Sophos;i="5.97,237,1669104000"; d="scan'208";a="691586222" Received: from lkp-server01.sh.intel.com (HELO 5646d64e7320) ([10.239.97.150]) by orsmga008.jf.intel.com with ESMTP; 22 Jan 2023 01:45:22 -0800 Received: from kbuild by 5646d64e7320 with local (Exim 4.96) (envelope-from ) id 1pJWuf-0004vz-2Y; Sun, 22 Jan 2023 09:45:21 +0000 Date: Sun, 22 Jan 2023 17:45:14 +0800 From: kernel test robot To: Masahiro Yamada Cc: oe-kbuild-all@lists.linux.dev, linux-kernel@vger.kernel.org, Nathan Chancellor Subject: cc1: error: arch/sh/include/mach-hp6xx: No such file or directory Message-ID: <202301221726.2AhhlplT-lkp@intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED, RCVD_IN_MSPIKE_H3,RCVD_IN_MSPIKE_WL,SPF_HELO_NONE,SPF_NONE, URIBL_BLOCKED autolearn=ham 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, FYI, the error/warning still remains. tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: 2241ab53cbb5cdb08a6b2d4688feb13971058f65 commit: 4c8dd95a723d9cccf8810be54aa62be82885c9d8 kbuild: add some extra warning flags unconditionally date: 3 years, 8 months ago config: sh-hp6xx_defconfig (https://download.01.org/0day-ci/archive/20230122/202301221726.2AhhlplT-lkp@intel.com/config) compiler: sh4-linux-gcc (GCC) 12.1.0 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 # https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=4c8dd95a723d9cccf8810be54aa62be82885c9d8 git remote add linus https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git git fetch --no-tags linus master git checkout 4c8dd95a723d9cccf8810be54aa62be82885c9d8 # save the config file mkdir build_dir && cp config build_dir/.config COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-12.1.0 make.cross W=1 O=build_dir ARCH=sh olddefconfig COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-12.1.0 make.cross W=1 O=build_dir ARCH=sh SHELL=/bin/bash If you fix the issue, kindly add following tag where applicable | Reported-by: kernel test robot All errors (new ones prefixed by >>): >> cc1: error: arch/sh/include/mach-hp6xx: No such file or directory [-Werror=missing-include-dirs] >> cc1: error: arch/sh/include/mach-hp6xx: No such file or directory [-Werror=missing-include-dirs] cc1: all warnings being treated as errors -- >> cc1: error: arch/sh/include/mach-hp6xx: No such file or directory [-Werror=missing-include-dirs] >> cc1: error: arch/sh/include/mach-hp6xx: No such file or directory [-Werror=missing-include-dirs] arch/sh/kernel/machvec.c: In function 'early_parse_mv': arch/sh/kernel/machvec.c:43:15: error: variable 'mv_comma' set but not used [-Werror=unused-but-set-variable] 43 | char *mv_comma; | ^~~~~~~~ arch/sh/kernel/machvec.c: In function 'sh_mv_setup': arch/sh/kernel/machvec.c:104:33: error: array subscript 'struct sh_machine_vector[0]' is partly outside array bounds of 'long int[1]' [-Werror=array-bounds] 104 | sh_mv = *(struct sh_machine_vector *)&__machvec_start; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from arch/sh/kernel/machvec.c:13: arch/sh/include/asm/sections.h:7:13: note: object '__machvec_start' of size 4 7 | extern long __machvec_start, __machvec_end; | ^~~~~~~~~~~~~~~ cc1: all warnings being treated as errors -- >> cc1: error: arch/sh/include/mach-hp6xx: No such file or directory [-Werror=missing-include-dirs] >> cc1: error: arch/sh/include/mach-hp6xx: No such file or directory [-Werror=missing-include-dirs] arch/sh/kernel/ptrace_32.c: In function 'arch_ptrace': arch/sh/kernel/ptrace_32.c:380:40: error: comparison of unsigned expression in '< 0' is always false [-Werror=type-limits] 380 | if ((addr & 3) || addr < 0 || | ^ arch/sh/kernel/ptrace_32.c:420:40: error: comparison of unsigned expression in '< 0' is always false [-Werror=type-limits] 420 | if ((addr & 3) || addr < 0 || | ^ cc1: all warnings being treated as errors -- >> cc1: error: arch/sh/include/mach-hp6xx: No such file or directory [-Werror=missing-include-dirs] >> cc1: error: arch/sh/include/mach-hp6xx: No such file or directory [-Werror=missing-include-dirs] arch/sh/kernel/hw_breakpoint.c: In function 'arch_bp_generic_fields': arch/sh/kernel/hw_breakpoint.c:159:27: error: this statement may fall through [-Werror=implicit-fallthrough=] 159 | *gen_type = HW_BREAKPOINT_R; | ~~~~~~~~~~^~~~~~~~~~~~~~~~~ arch/sh/kernel/hw_breakpoint.c:160:9: note: here 160 | case SH_BREAKPOINT_WRITE: | ^~~~ cc1: all warnings being treated as errors -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests