Received: by 2002:a05:6a10:9afc:0:0:0:0 with SMTP id t28csp803575pxm; Thu, 3 Mar 2022 05:05:57 -0800 (PST) X-Google-Smtp-Source: ABdhPJykJY8yiIiBjEW0A65RLSOOMoc+Zxk66RqHNi675XCnRiPwQbLA5PArks2AOYeVm0M86FeN X-Received: by 2002:a17:907:2d0c:b0:6d6:f8ce:795b with SMTP id gs12-20020a1709072d0c00b006d6f8ce795bmr9576311ejc.54.1646312757004; Thu, 03 Mar 2022 05:05:57 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1646312756; cv=none; d=google.com; s=arc-20160816; b=KElauJu07faI+MwBcrey6Q4XblS5puOXx95aIZvEjeZvt9Y20Dr92JjeqyL6Y1ODXg km9+Vl5QCqpFzURwzRsT2dIdxb67PMrk/ezWkEksp88UuIOfc5LWt5gj01CH8hjMAemW /MGp/MnMe7u4I0YQzNdtsdQwhMOCYjoj+6fpkUkANOEBLE7VO06QOsK8Xj67Xs2sn8L4 0EF2PF3JmsMQGzQgCbwRII4iZi5qxcAv8LExYs3V1laDv5t7GARleJb3gU05XBr9vtqm D1bIXeYIp7hH2E15aKXSu5xR7ycPJCwBh6o1NLdRrJFnOpIJTN3ttt3x595UMApC7XfU SaQg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:user-agent:content-disposition:mime-version :message-id:subject:cc:to:from:date:dkim-signature; bh=43yjuMv5yBsHRsWDRlLa01gmwGA2C3ujPmWk4d3QKT4=; b=rmzf1oQ1jiNRrhZUvru+Yca4mnFPlXMOxs01ge7P1ou0DmQS/PovEdaawko+ErURFE oaxHAey3M0TRVJSI9S9uFXZkeT20lToSNppzsEbiAxhycWm0lHCgZKo/rB3fJfDxrUNI m5mN+s8ckEat3EZNbIvdxNeV1EtjscOrHweTSO2hWVGOclpmdGM2NKY07vYRB9eVh9AF 6AOueHPzKM116zZIVpZJIK80RmH3BCrNAzpOVz+QzeDLPwymh+PmGu4uJZ60MDJX2R/Q bybzMe75cwNEX8esIHRe1q3t7ZNmhda+3zCpF5kJUrWhvg0LONXNVxg/xcufN4qs1jp3 0Ecg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b="ME/ijXff"; 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 u3-20020a50eac3000000b00412ca61c4a8si1296213edp.469.2022.03.03.05.05.33; Thu, 03 Mar 2022 05:05:56 -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="ME/ijXff"; 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 S233335AbiCCMek (ORCPT + 99 others); Thu, 3 Mar 2022 07:34:40 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46668 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231867AbiCCMej (ORCPT ); Thu, 3 Mar 2022 07:34:39 -0500 Received: from mga06.intel.com (mga06.intel.com [134.134.136.31]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D41C8179259 for ; Thu, 3 Mar 2022 04:33:54 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1646310834; x=1677846834; h=date:from:to:cc:subject:message-id:mime-version; bh=MTKGpSKTyTLD9D8vXVW+I6JFkBK/LZydHzOZ6o0Bm34=; b=ME/ijXffrI9P5TD02k7sioUo3AEIp5EEoiBpC5oXT3qQVZq/UjVvFYfg Wg6ZPK/+l3gyt/RlQOvW0mvAlksAbidu+W1nL0LavFjdGDNntoHwZ5AGi YT41ena+336K8goF79oMdde4YNnZqloplfAG1drJaM4IyHJTrdKGc16b1 lznWLQBClsNef9buLA2KWMCl3V0X5UHUOaXSQPbuUE7C8NC8P0J1VlBrG 5kxrO29JH+wg2VmLUvHmkHPI4yoS82QhRKHa1R9MdKWUCgtjfye7BgboD KeN8OAq+xiQn4yuBf5ImiygPp+OJAD19oXh2Ru5NHzk3iw4Ioa2ol1Yic Q==; X-IronPort-AV: E=McAfee;i="6200,9189,10274"; a="314377655" X-IronPort-AV: E=Sophos;i="5.90,151,1643702400"; d="scan'208";a="314377655" Received: from fmsmga008.fm.intel.com ([10.253.24.58]) by orsmga104.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 03 Mar 2022 04:33:54 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.90,151,1643702400"; d="scan'208";a="594379966" Received: from lkp-server01.sh.intel.com (HELO ccb16ba0ecc3) ([10.239.97.150]) by fmsmga008.fm.intel.com with ESMTP; 03 Mar 2022 04:33:53 -0800 Received: from kbuild by ccb16ba0ecc3 with local (Exim 4.92) (envelope-from ) id 1nPkeW-0000Vc-Fj; Thu, 03 Mar 2022 12:33:52 +0000 Date: Thu, 3 Mar 2022 20:33:27 +0800 From: kernel test robot To: Masahiro Yamada Cc: kbuild-all@lists.01.org, linux-kernel@vger.kernel.org, Boris Kolpackov Subject: [masahiroy:kbuild 9/9] include/linux/byteorder/big_endian.h:8:2: error: #warning inconsistent configuration, needs CONFIG_CPU_BIG_ENDIAN Message-ID: <202203032027.8qFpOWlq-lkp@intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.10.1 (2018-07-13) X-Spam-Status: No, score=-4.8 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED, SPF_HELO_NONE,SPF_NONE,T_SCC_BODY_TEXT_LINE 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 tree: https://git.kernel.org/pub/scm/linux/kernel/git/masahiroy/linux-kbuild.git kbuild head: 55de8686df7ed2b5237867b130e30c728bbd9db4 commit: 55de8686df7ed2b5237867b130e30c728bbd9db4 [9/9] kconfig: change .config format to use =n instead of "is not set" config: arc-randconfig-r005-20220302 (https://download.01.org/0day-ci/archive/20220303/202203032027.8qFpOWlq-lkp@intel.com/config) compiler: arceb-elf-gcc (GCC) 11.2.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/masahiroy/linux-kbuild.git/commit/?id=55de8686df7ed2b5237867b130e30c728bbd9db4 git remote add masahiroy https://git.kernel.org/pub/scm/linux/kernel/git/masahiroy/linux-kbuild.git git fetch --no-tags masahiroy kbuild git checkout 55de8686df7ed2b5237867b130e30c728bbd9db4 # save the config file to linux build tree mkdir build_dir COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-11.2.0 make.cross O=build_dir ARCH=arc SHELL=/bin/bash lib/ If you fix the issue, kindly add following tag as appropriate Reported-by: kernel test robot All errors (new ones prefixed by >>): In file included from arch/arc/include/uapi/asm/byteorder.h:14, from include/asm-generic/bitops/le.h:6, from arch/arc/include/asm/bitops.h:192, from include/linux/bitops.h:33, from include/linux/log2.h:12, from include/asm-generic/div64.h:55, from ./arch/arc/include/generated/asm/div64.h:1, from include/linux/math.h:5, from include/linux/math64.h:6, from include/linux/time.h:6, from include/linux/stat.h:19, from include/linux/module.h:13, from lib/test_bitops.c:9: >> include/linux/byteorder/big_endian.h:8:2: error: #warning inconsistent configuration, needs CONFIG_CPU_BIG_ENDIAN [-Werror=cpp] 8 | #warning inconsistent configuration, needs CONFIG_CPU_BIG_ENDIAN | ^~~~~~~ cc1: all warnings being treated as errors vim +8 include/linux/byteorder/big_endian.h ^1da177e4c3f41 Linus Torvalds 2005-04-16 6 e9ef073a0796e4 Babu Moger 2017-09-08 7 #ifndef CONFIG_CPU_BIG_ENDIAN e9ef073a0796e4 Babu Moger 2017-09-08 @8 #warning inconsistent configuration, needs CONFIG_CPU_BIG_ENDIAN e9ef073a0796e4 Babu Moger 2017-09-08 9 #endif e9ef073a0796e4 Babu Moger 2017-09-08 10 :::::: The code at line 8 was first introduced by commit :::::: e9ef073a0796e46c24f037237291efe56fc28ad9 include: warn for inconsistent endian config definition :::::: TO: Babu Moger :::::: CC: Linus Torvalds --- 0-DAY CI Kernel Test Service, Intel Corporation https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org