From: Peter Korsgaard <peter@korsgaard.com>
To: Bernd Kuhls <bernd@kuhls.net>
Cc: buildroot@buildroot.org, Fabrice Fontaine <fontaine.fabrice@gmail.com>
Subject: Re: [Buildroot] [PATCH 1/1] package/safeclib: fix build error with gcc 15.x
Date: Sun, 01 Mar 2026 22:28:15 +0100 [thread overview]
Message-ID: <87ikbfme8g.fsf@dell.be.48ers.dk> (raw)
In-Reply-To: <20260224215738.818318-1-bernd@kuhls.net> (Bernd Kuhls's message of "Tue, 24 Feb 2026 22:57:38 +0100")
>>>>> "Bernd" == Bernd Kuhls <bernd@kuhls.net> writes:
> This defconfig can be built without problems:
> BR2_x86_64=y
> BR2_GCC_VERSION_15_X=y
> BR2_PACKAGE_SAFECLIB=y
> However adding rocketlake as architecture variant
> BR2_x86_64=y
> BR2_x86_rocketlake=y
> BR2_GCC_VERSION_15_X=y
> BR2_PACKAGE_SAFECLIB=y
> causes a build error:
> str/vsnprintf_s.c: In function 'safec_ftoa.isra':
> str/vsnprintf_s.c:523:24: error: writing 32 bytes into a region of size
> 31 [-Werror=stringop-overflow=]
> 523 | buf[len++] = '0';
> with gcc 15.x only, gcc =< 14.x is not affected, reason unknown.
> This commit adds two upstream commits which fix the problem.
> No autobuilder error was recorded.
> Signed-off-by: Bernd Kuhls <bernd@kuhls.net>
Committed, thanks.
--
Bye, Peter Korsgaard
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
prev parent reply other threads:[~2026-03-01 21:28 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-02-24 21:57 [Buildroot] [PATCH 1/1] package/safeclib: fix build error with gcc 15.x Bernd Kuhls
2026-03-01 21:28 ` Peter Korsgaard [this message]
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=87ikbfme8g.fsf@dell.be.48ers.dk \
--to=peter@korsgaard.com \
--cc=bernd@kuhls.net \
--cc=buildroot@buildroot.org \
--cc=fontaine.fabrice@gmail.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