From: Rong Chen <rong.a.chen@intel.com>
To: Marc Kleine-Budde <mkl@pengutronix.de>,
Oliver Hartkopp <socketcan@hartkopp.net>
Cc: Patrick Menschel <menschel.p@posteo.de>,
kernel test robot <lkp@intel.com>,
kbuild-all@lists.01.org, linux-kernel@vger.kernel.org,
linux-can <linux-can@vger.kernel.org>
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...
Date: Tue, 23 Mar 2021 16:59:53 +0800 [thread overview]
Message-ID: <e52e9f3f-bb88-0cb3-b4ce-7885e57a5dba@intel.com> (raw)
In-Reply-To: <20210323085418.4g7rojhkvcg2ib4e@pengutronix.de>
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
next prev parent reply other threads:[~2021-03-23 9:01 UTC|newest]
Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <202103210435.I0fiBGAC-lkp@intel.com>
[not found] ` <dad98ebd-77a4-3305-e681-278cabe38793@hartkopp.net>
[not found] ` <7f4f7e1c-194b-a903-d474-e3b742556a55@intel.com>
2021-03-22 16:24 ` [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 Oliver Hartkopp
2021-03-23 2:54 ` Rong Chen
2021-03-23 5:46 ` Vincent MAILHOL
2021-03-23 6:06 ` Rong Chen
2021-03-23 7:26 ` Patrick Menschel
2021-03-23 7:34 ` Marc Kleine-Budde
2021-03-23 7:45 ` Oliver Hartkopp
2021-03-23 8:32 ` Oliver Hartkopp
2021-03-23 8:54 ` Marc Kleine-Budde
2021-03-23 8:59 ` Rong Chen [this message]
2021-03-23 11:36 ` Rasmus Villemoes
2021-03-23 12:49 ` Oliver Hartkopp
2021-03-23 14:00 ` Rasmus Villemoes
2021-03-23 18:59 ` Oliver Hartkopp
2021-03-23 20:54 ` Rasmus Villemoes
2021-03-24 9:09 ` Oliver Hartkopp
2021-03-24 9:57 ` Marc Kleine-Budde
2021-03-29 7:01 ` Marc Kleine-Budde
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=e52e9f3f-bb88-0cb3-b4ce-7885e57a5dba@intel.com \
--to=rong.a.chen@intel.com \
--cc=kbuild-all@lists.01.org \
--cc=linux-can@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=lkp@intel.com \
--cc=menschel.p@posteo.de \
--cc=mkl@pengutronix.de \
--cc=socketcan@hartkopp.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).