From: Julien Olivain via buildroot <buildroot@buildroot.org>
To: "Vincent Stehlé" <vincent.stehle@arm.com>
Cc: buildroot@buildroot.org, Dick Olsson <hi@senzilla.io>
Subject: Re: [Buildroot] [PATCH] boot/edk2: fix build with gcc 15
Date: Tue, 24 Mar 2026 22:02:06 +0100 [thread overview]
Message-ID: <adb6127aed029fa1673e6fc3c684e5aa@free.fr> (raw)
In-Reply-To: <20260324150239.21226-1-vincent.stehle@arm.com>
Hi Vincent,
On 24/03/2026 16:02, Vincent Stehlé wrote:
> The edk2 package fails to build with gcc 15, with the following error:
>
> EfiRom.c:78:17: error: assignment discards 'const' qualifier from
> pointer target type [-Werror=discarded-qualifiers]
>
> Cherry-pick one patch from edk2-stable202602 to fix this.
>
> This can be verified with the tests.boot.test_edk2 python tests.
>
> Signed-off-by: Vincent Stehlé <vincent.stehle@arm.com>
> Cc: Dick Olsson <hi@senzilla.io>
The test in the CI is using (target) gcc 15 and was working fine:
https://gitlab.com/buildroot.org/buildroot/-/jobs/13598975585
So I investigated a bit more and found the issue was actually
happening with *host* gcc 15 *and glibc 2.43*. So I updated the
commit title to reflect that and applied to master, thanks!
See:
https://gitlab.com/buildroot.org/buildroot/-/commit/d18f7e09162ac3dbe4538fd0e2a3e5ec192e88a4
Best regards,
Julien.
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
next prev parent reply other threads:[~2026-03-24 21:02 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-03-24 15:02 [Buildroot] [PATCH] boot/edk2: fix build with gcc 15 Vincent Stehlé
2026-03-24 21:02 ` Julien Olivain via buildroot [this message]
2026-04-03 10:28 ` Thomas Perale 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=adb6127aed029fa1673e6fc3c684e5aa@free.fr \
--to=buildroot@buildroot.org \
--cc=hi@senzilla.io \
--cc=ju.o@free.fr \
--cc=vincent.stehle@arm.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