From: Thomas Petazzoni via buildroot <buildroot@buildroot.org>
To: Bernd Kuhls <bernd@kuhls.net>
Cc: buildroot@buildroot.org,
Philippe Reynes <philippe.reynes@softathome.com>
Subject: Re: [Buildroot] [PATCH 1/1] package/ibm-sw-tpm2: fix build with gcc-15.x
Date: Thu, 17 Sep 2026 08:37:25 +0200 [thread overview]
Message-ID: <aquKoe0G-byCZP-y@windsurf> (raw)
In-Reply-To: <20260916231235.2635069-1-bernd@kuhls.net>
On Thu, Sep 17, 2026 at 01:12:35AM +0200, Bernd Kuhls wrote:
> Fixes:
> https://autobuild.buildroot.net/results/d43/d4364f6e3636c696471bf8cba6d308439130e53a/
>
> In function 'MakeIv',
> inlined from 'TestSymmetricAlgorithm' at AlgorithmTests.c:197:25:
> AlgorithmTests.c:181:23: error: writing 32 bytes into a region of size
> 16 [-Werror=stringop-overflow=]
>
> The build error occurs with gcc 15.x on some platforms, gcc 14.x is not
> affected.
>
> These defconfigs build without this patch:
>
> BR2_x86_64=y
> BR2_GCC_VERSION_14_X=y
> BR2_PACKAGE_IBM_SW_TPM2=y
>
> BR2_x86_64=y
> BR2_x86_x86_64_v4=y
> BR2_GCC_VERSION_14_X=y
> BR2_PACKAGE_IBM_SW_TPM2=y
>
> BR2_x86_64=y
> BR2_PACKAGE_IBM_SW_TPM2=y
>
> This gcc-15 based defconfig is broken:
>
> BR2_x86_64=y
> BR2_x86_x86_64_v4=y
> BR2_PACKAGE_IBM_SW_TPM2=y
>
> The build error is not related to the recent bump of the package from
> rev183-2024-03-27 to rev183-2026-08-26 because no changes were committed
> upstream to AlgorithmTests.c since rev183-2024-03-27:
> https://github.com/kgoldman/ibmswtpm2/commits/master/src/AlgorithmTests.c
>
> Signed-off-by: Bernd Kuhls <bernd@kuhls.net>
Applied to master, thanks!
Best regards,
Thomas Petazzoni
--
Thomas Petazzoni, co-owner and CEO, Bootlin
Embedded Linux and Kernel engineering and training
https://bootlin.com
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
next prev parent reply other threads:[~2026-09-17 6:37 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-09-16 23:12 [Buildroot] [PATCH 1/1] package/ibm-sw-tpm2: fix build with gcc-15.x Bernd Kuhls
2026-09-17 6:37 ` Thomas Petazzoni via buildroot [this message]
2026-09-25 14:46 ` Raphaël Mélotte via buildroot
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=aquKoe0G-byCZP-y@windsurf \
--to=buildroot@buildroot.org \
--cc=bernd@kuhls.net \
--cc=philippe.reynes@softathome.com \
--cc=thomas.petazzoni@bootlin.com \
/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