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 X-Spam-Level: X-Spam-Status: No, score=-5.3 required=3.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,NICE_REPLY_A,SPF_HELO_NONE, SPF_PASS,USER_AGENT_SANE_1 autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 56BC4C433E1 for ; Tue, 23 Mar 2021 09:01:43 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 1B908619C2 for ; Tue, 23 Mar 2021 09:01:43 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229933AbhCWJBK (ORCPT ); Tue, 23 Mar 2021 05:01:10 -0400 Received: from mga07.intel.com ([134.134.136.100]:26550 "EHLO mga07.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229915AbhCWJAp (ORCPT ); Tue, 23 Mar 2021 05:00:45 -0400 IronPort-SDR: QesQvV6XkaW5gzZx/+Fky27SlgQ6E4KeAZ2IMKqKjiSONcKzP/TK7JndVjIkSlTIFg5+FKG+RK A9I3EmI57wqQ== X-IronPort-AV: E=McAfee;i="6000,8403,9931"; a="254434489" X-IronPort-AV: E=Sophos;i="5.81,271,1610438400"; d="scan'208";a="254434489" Received: from fmsmga008.fm.intel.com ([10.253.24.58]) by orsmga105.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 23 Mar 2021 02:00:44 -0700 IronPort-SDR: 1m6mQJloJ6uQ1wwpLHZzx0gwXHi0RfJE73dH5Zr7+1FWKaphBFaQNHfjJFpjSGpCerTjfoNRgL aGMLYEi4tv/w== X-IronPort-AV: E=Sophos;i="5.81,271,1610438400"; d="scan'208";a="408225261" Received: from shao2-debian.sh.intel.com (HELO [10.239.13.11]) ([10.239.13.11]) by fmsmga008-auth.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 23 Mar 2021 02:00:41 -0700 Subject: Re: [kbuild-all] Re: include/linux/compiler_types.h:315:38: error: call to '__compiletime_assert_536' declared with attribute error: BUILD_BUG_ON failed: offsetof(struct can_frame, len) != offsetof(struct canfd_frame, len) || offsetof(struct can_frame, data) != offsetof(struc... To: Marc Kleine-Budde , Oliver Hartkopp Cc: Patrick Menschel , kernel test robot , kbuild-all@lists.01.org, linux-kernel@vger.kernel.org, linux-can References: <202103210435.I0fiBGAC-lkp@intel.com> <7f4f7e1c-194b-a903-d474-e3b742556a55@intel.com> <20210323073437.yo63wreqnubbeqby@pengutronix.de> <7ff6bfd3-6b4b-045a-abb7-485927909587@hartkopp.net> <20210323085418.4g7rojhkvcg2ib4e@pengutronix.de> From: Rong Chen Message-ID: Date: Tue, 23 Mar 2021 16:59:53 +0800 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.6.1 MIME-Version: 1.0 In-Reply-To: <20210323085418.4g7rojhkvcg2ib4e@pengutronix.de> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Content-Language: en-US Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 3/23/21 4:54 PM, Marc Kleine-Budde wrote: > On 23.03.2021 09:32:10, Oliver Hartkopp wrote: >> I wonder if the compiler configurations (gcc -v) or the options used at >> kernel build time are identical. > I tested several compilers and with my .config never triggered a > problem, but with Rong Chen it does. I'm trying to figure out which > option it is, stay tuned. > > Marc > Hi Marc, Oliver, We use the below cross compiler: https://download.01.org/0day-ci/cross-package/gcc-9.3.0-nolibc/x86_64-gcc-9.3.0-nolibc_arm-linux-gnueabi.tar.xz and here is the detail: $ /home/nfs/0day/gcc-9.3.0-nolibc/arm-linux-gnueabi/bin/arm-linux-gnueabi-gcc -v Using built-in specs. COLLECT_GCC=/home/nfs/0day/gcc-9.3.0-nolibc/arm-linux-gnueabi/bin/arm-linux-gnueabi-gcc COLLECT_LTO_WRAPPER=/home/nfs/0day/gcc-9.3.0-nolibc/arm-linux-gnueabi/bin/../libexec/gcc/arm-linux-gnueabi/9.3.0/lto-wrapper Target: arm-linux-gnueabi Configured with: /tmp/build-crosstools-xh/gcc/gcc-9.3.0/configure --target=arm-linux-gnueabi --enable-targets=all --prefix=/tmp/build-crosstools-xh/cross --enable-languages=c --without-headers --disable-bootstrap --disable-nls --disable-threads --disable-shared --disable-libmudflap --disable-libssp --disable-libgomp --disable-decimal-float --disable-libquadmath --disable-libatomic --disable-libcc1 --disable-libmpx --enable-checking=release Thread model: single gcc version 9.3.0 (GCC) Best Regards, Rong Chen