URL: <https://savannah.gnu.org/bugs/?68247>
Summary: GCC 15 compatibility: uninitialized variable
warnings
Group: GNU GRUB
Submitter: chewbaccakl
Submitted: Wed 15 Apr 2026 10:39:00 PM UTC
Category: Compilation
Severity: Major
Priority: 5 - Normal
Item Group: Software Error
Status: None
Privacy: Public
Assigned to: None
Originator Name: Krzysztof Leszczynski
Originator Email:
Open/Closed: Open
Discussion Lock: Unlocked
Release: Git master
Release:
Reproducibility: Every Time
Planned Release: None
_______________________________________________________
Follow-up Comments:
-------------------------------------------------------
Date: Wed 15 Apr 2026 10:39:00 PM UTC By: Krzysztof Leszczyński <chewbaccakl>
When compiling GRUB 2.14 with GCC 15, uninitialized variable warnings
cause build failures due to -Werror. This patch initializes two variables
that are set by callee functions but flagged as potentially uninitialized.
Tested on: GCC 15.2.1, binutils 2.46, Arch Linux
_______________________________________________________
File Attachments:
Name: grub-gcc15.patch Size: 1.0KiB
<https://file.savannah.gnu.org/file/grub-gcc15.patch?file_id=58475>
AGPL NOTICE
These attachments are served by Savane. You can download the corresponding
source code of Savane at
https://savannah.gnu.org/source/savane-f290f6b25beb8cb99bbe243a6cd2c5fef79ffcde.tar.gz
_______________________________________________________
Reply to this item at:
<https://savannah.gnu.org/bugs/?68247>
_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/
signature.asc
Description: PGP signature
