lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <CADYN=9+Pnw+7bYGr=QnSWqF1YBoB8CbtgkdmDqeY68DQr3CVDw@mail.gmail.com>
Date: Thu, 28 Aug 2025 12:40:52 +0200
From: Anders Roxell <anders.roxell@...aro.org>
To: Naresh Kamboju <naresh.kamboju@...aro.org>
Cc: open list <linux-kernel@...r.kernel.org>, PCI <linux-pci@...r.kernel.org>, 
	lkft-triage@...ts.linaro.org, Linux Regressions <regressions@...ts.linux.dev>, 
	Kees Cook <kees@...nel.org>, Miguel Ojeda <ojeda@...nel.org>, Arnd Bergmann <arnd@...db.de>, 
	Dan Carpenter <dan.carpenter@...aro.org>, Ben Copeland <benjamin.copeland@...aro.org>
Subject: Re: next-20250826 gcc-8 compiler_types.h:572:38: error: call to
 '__compiletime_assert_478' declared with attribute error: FIELD_PREP: value
 too large for the field

On Thu, 28 Aug 2025 at 11:55, Naresh Kamboju <naresh.kamboju@...aro.org> wrote:
>
> The following build warnings / errors noticed on arm riscv mips with
> gcc-8 toolchain but gcc-13 build pass for the following configs.
>
> Regression Analysis:
> - New regression? yes
> - Reproducibility? yes
>
> First seen on next-20250826
> Good: next-20250825
> Bad: next-20250826 to next-20250828
>
> Build regression: next-20250826 gcc-8 compiler_types.h:572:38: error:
> call to '__compiletime_assert_478' declared with attribute error:
> FIELD_PREP: value too large for the field
>
> Reported-by: Linux Kernel Functional Testing <lkft@...aro.org>
>
> arm:
>   build:
>     * gcc-8-integrator_defconfig
>     * gcc-8-omap1_defconfig
>     * gcc-8-footbridge_defconfig
>
> riscv:
>   build:
>     * gcc-8-defconfig
>     * gcc-8-lkftconfig-hardening
>
> mips:
>     * cavium_octeon_defconfig
>     * malta_defconfig
>     * defconfig
>
> ## Build log
> drivers/pci/pci.c: In function 'pcie_set_readrq':
> include/linux/compiler_types.h:572:38: error: call to
> '__compiletime_assert_478' declared with attribute error: FIELD_PREP:
> value too large for the field
>   _compiletime_assert(condition, msg, __compiletime_assert_, __COUNTER__)
>                                       ^

Thanks for the report. This should be fixed by my patch here:
https://lore.kernel.org/lkml/20250828101237.1359212-1-anders.roxell@linaro.org/T/#u

Cheers,
Anders

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ