Received: by 2002:a05:6a10:413:0:0:0:0 with SMTP id 19csp476727pxp; Sat, 5 Mar 2022 08:49:40 -0800 (PST) X-Google-Smtp-Source: ABdhPJycqJLFtYBmfSh/Rnbyt1fiay4y+zmS77eAnTLqjTIY5kmxfeYraOcfRclZSMfcuV7eiX3Q X-Received: by 2002:a05:6402:518b:b0:412:d173:1e29 with SMTP id q11-20020a056402518b00b00412d1731e29mr3629567edd.302.1646498980074; Sat, 05 Mar 2022 08:49:40 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1646498980; cv=none; d=google.com; s=arc-20160816; b=tGv7BQhQv98cB3EJ09VqYwj9qt9syqker862Y7GudBEUTcLenLjm6G2Rvd9INQCRBW H+1AM/NOPvEQTg9Lr+Ce+AXoE3KNDVsfyd5Q1nEoRTXBJwWcZMbXaHED7f7Xo1mjba93 O46lpv5TLUWA/BCg4EmFSNk5Er/kPYMUyRvkRrSFuBHAush+2mEvooR00vUblBOL2OUJ c1Hj2BzEYBHO+InbJLesv/HR+ynn/jqypCeqBQqpDKnlJqR4g6cJB4U8QY5vUWJmqeAo LoxRV1A/sE6q2beu3ibSt7JpSUsZn0D0V63e0v4Wsf7R9r5riA6jtTh/VepzbYJjI/J2 xu4g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature:dkim-filter; bh=OQaHUsCK31E2885i0/6iI0cNC8O73o+D08L86QnBoLg=; b=wdEsokw9BBIzqFJTajGrt5HVuzrJupeROWz/YgJGKd4KeRJ4zEZm6pSJ4O8BSHhzb+ wM4tQa/hRGIB+4VUPlyxFKb4acTl32jG3on6sXe/5FteHyR+qp9+4KlIRDDkO0sql/gT LF5F2QmO+FArPBP5zZJulPEpJj5iVZufBN3pTFUo9Ah9wvLjz11orztzFf8bE3+Z/rfb e3ELFfUtdKYnE2Mkq1LQ4xKldfS7W2dFSD20Q95Jf/XPsqrpQwYpbzdt4hF9pUAFmmT5 Xo9v92XVXCmoCn5krFbTuAx0es5wYp3C79ZoZzur2dzsCezietNq7dBFBs8/rBrJ9cMG +PYA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@nifty.com header.s=dec2015msa header.b=Zo2q6xUQ; 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=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id cq1-20020a056402220100b0041330bfd964si5113589edb.494.2022.03.05.08.49.09; Sat, 05 Mar 2022 08:49:40 -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=@nifty.com header.s=dec2015msa header.b=Zo2q6xUQ; 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=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232011AbiCEQWM (ORCPT + 99 others); Sat, 5 Mar 2022 11:22:12 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51302 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229923AbiCEQWL (ORCPT ); Sat, 5 Mar 2022 11:22:11 -0500 Received: from conssluserg-03.nifty.com (conssluserg-03.nifty.com [210.131.2.82]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 233DD3464A for ; Sat, 5 Mar 2022 08:21:20 -0800 (PST) Received: from mail-pg1-f181.google.com (mail-pg1-f181.google.com [209.85.215.181]) (authenticated) by conssluserg-03.nifty.com with ESMTP id 225GKf6o001491 for ; Sun, 6 Mar 2022 01:20:42 +0900 DKIM-Filter: OpenDKIM Filter v2.10.3 conssluserg-03.nifty.com 225GKf6o001491 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nifty.com; s=dec2015msa; t=1646497242; bh=OQaHUsCK31E2885i0/6iI0cNC8O73o+D08L86QnBoLg=; h=References:In-Reply-To:From:Date:Subject:To:Cc:From; b=Zo2q6xUQ04UcQv+Sm0g6q/3ndqA7rl8xUFHswEBDER4XP6KWNb1aY1Vo2+GezArOc C9vPRzLfORk4gNu1fmBJKHe5qP2Ta4Z1RmVRGBzWj5EaAWmI5z21Wky6yDViC1GAsc DNReYtrjjyP4tiltkSAH/52Fzr5ObIL68p40JgOzNj6Tt1Qdb1CTy++p0vvEmORGNx 8aCIhZ6zmfJN5J6/l0By5NftjmRHkZLP97Gi1narKYsygSQJ6JHKJsLPNKPdd+nCFg TPIq8MHUhPopTR7z5YMRFZ1K0B5TrzYG/LwR4tNBFi3RI0L+moORYjw6BOzivCIt9l 42itokx4XZt0g== X-Nifty-SrcIP: [209.85.215.181] Received: by mail-pg1-f181.google.com with SMTP id 6so5483726pgg.0 for ; Sat, 05 Mar 2022 08:20:42 -0800 (PST) X-Gm-Message-State: AOAM5327pQkwwPIIbbebUff/RDw9gRZmDDkDGYhbexyJtpC/dHnr8fre NOZKvKoR4wz5dKoFDTrSRFyaz2lO1j3B/mWi2/8= X-Received: by 2002:a05:6a02:182:b0:374:5a57:cbf9 with SMTP id bj2-20020a056a02018200b003745a57cbf9mr3203326pgb.616.1646497241154; Sat, 05 Mar 2022 08:20:41 -0800 (PST) MIME-Version: 1.0 References: <202203032027.8qFpOWlq-lkp@intel.com> In-Reply-To: <202203032027.8qFpOWlq-lkp@intel.com> From: Masahiro Yamada Date: Sun, 6 Mar 2022 01:19:58 +0900 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [masahiroy:kbuild 9/9] include/linux/byteorder/big_endian.h:8:2: error: #warning inconsistent configuration, needs CONFIG_CPU_BIG_ENDIAN To: kernel test robot Cc: kbuild-all@lists.01.org, Linux Kernel Mailing List , Boris Kolpackov Content-Type: text/plain; charset="UTF-8" X-Spam-Status: No, score=-1.2 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_SOFTFAIL, T_SCC_BODY_TEXT_LINE autolearn=no 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 On Thu, Mar 3, 2022 at 9:33 PM kernel test robot wrote: > > 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 I cannot reproduce this. Maybe, this was a bug in make.cross (but already fixed??) -- Best Regards Masahiro Yamada