public inbox for linux-next@vger.kernel.org 
 help / color / mirror / Atom feed
From: Bart Van Assche <bvanassche@acm•org>
To: Naresh Kamboju <naresh.kamboju@linaro•org>,
	open list <linux-kernel@vger•kernel.org>,
	linux-scsi@vger•kernel.org,
	Linux-Next Mailing List <linux-next@vger•kernel.org>
Cc: Avri Altman <avri.altman@wdc•com>,
	"Martin K. Petersen" <martin.petersen@oracle•com>,
	Arnd Bergmann <arnd@arndb•de>,
	Anders Roxell <anders.roxell@linaro•org>
Subject: Re: next: arm64: gcc-8-defconfig: ufshcd.c:10629:2: /builds/linux/include/linux/compiler_types.h:397:38: error: call to '__compiletime_assert_553' declared with attribute error: BUILD_BUG_ON failed:
Date: Tue, 1 Aug 2023 06:23:38 -0700	[thread overview]
Message-ID: <a660adba-b73b-1c02-f642-c287bb4c72fc@acm.org> (raw)
In-Reply-To: <CA+G9fYur8UJoUyTLJFVEJPh-15TJ7kbdD2q8xVz8a3fLjkxxVw@mail.gmail.com>

On 8/1/23 05:16, Naresh Kamboju wrote:
> Following build error noticed while building Linux next-20230801 tag
> arm64 defconfig with gcc-8 toolchain.
> 
> Regressions found on arm64:
> 
>    - build/gcc-8-defconfig
>    - build/gcc-8-defconfig-40bc7ee5
> 
> 
> Reported-by: Linux Kernel Functional Testing <lkft@linaro•org>
> 
> log:
> -----
> In function 'ufshcd_check_header_layout',
>      inlined from 'ufshcd_core_init' at
> /builds/linux/drivers/ufs/core/ufshcd.c:10629:2:
> /builds/linux/include/linux/compiler_types.h:397:38: error: call to
> '__compiletime_assert_553' declared with attribute error: BUILD_BUG_ON
> failed: ((u8 *)&(struct request_desc_header){ .enable_crypto = 1})[2]
> != 0x80
>    _compiletime_assert(condition, msg, __compiletime_assert_, __COUNTER__)
>                                        ^
> 
> 
> Links:
>   - https://qa-reports.linaro.org/lkft/linux-next-master/build/next-20230801/testrun/18754886/suite/build/test/gcc-8-defconfig/log
>   - https://qa-reports.linaro.org/lkft/linux-next-master/build/next-20230801/testrun/18754886/suite/build/test/gcc-8-defconfig/details/
>   - https://qa-reports.linaro.org/lkft/linux-next-master/build/next-20230801/testrun/18754886/suite/build/test/gcc-8-defconfig/history/

I can't reproduce this build error with a gcc-12 arm64 cross-compiler. How
important is gcc-8 for the ARM community?

Thanks,

Bart.


  reply	other threads:[~2023-08-01 13:23 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-08-01 12:16 next: arm64: gcc-8-defconfig: ufshcd.c:10629:2: /builds/linux/include/linux/compiler_types.h:397:38: error: call to '__compiletime_assert_553' declared with attribute error: BUILD_BUG_ON failed: Naresh Kamboju
2023-08-01 13:23 ` Bart Van Assche [this message]
2023-08-01 14:23   ` Naresh Kamboju
2023-08-01 14:56     ` Arnd Bergmann
2023-08-01 17:51       ` Bart Van Assche
2023-08-01 19:54         ` Arnd Bergmann
2023-08-01 20:15           ` Bart Van Assche

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=a660adba-b73b-1c02-f642-c287bb4c72fc@acm.org \
    --to=bvanassche@acm$(echo .)org \
    --cc=anders.roxell@linaro$(echo .)org \
    --cc=arnd@arndb$(echo .)de \
    --cc=avri.altman@wdc$(echo .)com \
    --cc=linux-kernel@vger$(echo .)kernel.org \
    --cc=linux-next@vger$(echo .)kernel.org \
    --cc=linux-scsi@vger$(echo .)kernel.org \
    --cc=martin.petersen@oracle$(echo .)com \
    --cc=naresh.kamboju@linaro$(echo .)org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html
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