[bug #68247] GCC 15 compatibility: uninitialized variable warnings
Krzysztof LeszczyĆski <[email protected]> Wed, 15 Apr 2026 18:39:04 -0400 (EDT)
| Newsgroups | gmane.comp.boot-loaders.grub.bugs |
|---|---|
| Message-ID | <[email protected]> |
--8323329-1714636915-1776292744=:2124228
Content-Type: TEXT/plain; CHARSET=utf-8
Content-Transfer-Encoding: QUOTED-PRINTABLE
Content-Disposition: inline
URL:=0A <https://savannah.gnu.org/bugs/?68247>=0A=0A Summa=
ry: GCC 15 compatibility: uninitialized variable=0Awarnings=0A =
Group: GNU GRUB=0A Submitter: chewbaccakl=0A =
Submitted: Wed 15 Apr 2026 10:39:00 PM UTC=0A Category: =
Compilation=0A Severity: Major=0A Priority: 5=
- Normal=0A Item Group: Software Error=0A St=
atus: None=0A Privacy: Public=0A Assigned to: N=
one=0A Originator Name: Krzysztof Leszczynski=0A Originator =
Email:=0A Open/Closed: Open=0A Discussion Lock: Unlocke=
d=0A Release: Git master=0A Release:=0A =
Reproducibility: Every Time=0A Planned Release: None=0A=0A=0A =
_______________________________________________________=0A=0AFollow-up C=
omments:=0A=0A=0A-------------------------------------------------------=0A=
Date: Wed 15 Apr 2026 10:39:00 PM UTC By: Krzysztof Leszczy=C5=84ski <chewb=
accakl>=0AWhen compiling GRUB 2.14 with GCC 15, uninitialized variable warn=
ings=0A cause build failures due to -Werror. This patch initializes two v=
ariables=0A that are set by callee functions but flagged as potentially u=
ninitialized.=0A =0A Tested on: GCC 15.2.1, binutils 2.46, Arch Linux=
=0A=0A=0A=0A=0A=0A=0A=0A _______________________________________________=
________=0AFile Attachments:=0A=0AName: grub-gcc15.patch Size=
: 1.0KiB=0A <https://file.savannah.gnu.org/file/grub-gcc15.patch?file_id=
=3D58475>=0A=0A=0A=0A AGPL NOTICE=0A=0AThese attachments are served by S=
avane. You can download the corresponding=0Asource code of Savane at=0Ahttp=
s://savannah.gnu.org/source/savane-f290f6b25beb8cb99bbe243a6cd2c5fef79ffcde=
.tar.gz=0A=0A _______________________________________________________=0A=
=0AReply to this item at:=0A=0A <https://savannah.gnu.org/bugs/?68247>=0A=
=0A_______________________________________________=0AMessage sent via Savan=
nah=0Ahttps://savannah.gnu.org/=0A
--8323329-1714636915-1776292744=:2124228
Content-Type: APPLICATION/pgp-signature; name=signature.asc
-----BEGIN PGP SIGNATURE-----
iHUEABYIAB0WIQQk97aszIMMAvLLwm6qLAuaBUf3TgUCaeATiAAKCRCqLAuaBUf3
Thf6AQDt3SkM9xx0loto5sT6hD96ME5q0QilDRYIxwyYn/P2ugEA6M1DHSFjWaQm
3pbESrymHsOuNIxiJ3dqAFV3Sx9BZAo=
=3H8x
-----END PGP SIGNATURE-----
--8323329-1714636915-1776292744=:2124228--