GNU GRUB - Bugs: bug #62123, Grub 2.06 compile with -Werror...
You are not allowed to post comments on this tracker with your current authentication level.
bug #62123: Grub 2.06 compile with -Werror -Warray-bounds fails with gcc12-20220220
Submitter: | Rudi Heitbaum <heitbaum> | ||
Submitted: | Sun 27 Feb 2022 01:04:51 PM UTC | ||
Category: | Compilation | Severity: | Major |
Priority: | 5 - Normal | Item Group: | None |
Status: | None | Privacy: | Public |
Assigned to: | None | Originator Name: | Rudi Heitbaum |
Open/Closed: | Open | Release: | other |
Release: | Reproducibility: | None | |
Planned Release: | None |
No files currently attached
Depends on the following items: None found
Items that depend on this one: None found
Carbon-Copy List
There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.
No changes have been made to this item
The following -Warray-bounds errors occur with the gcc12 compile of grub 2.06
Errors in the build
/var/media/DATA/home-rudi/LibreELEC.tv/build.LibreELEC-Generic.x86_64-11.0-devel/build/grub-2.06/grub-core/commands/acpi.c:171:43: warning: array subscript 0 is outside array bounds of 'grub_uint16_t[0]' {aka 'short unsigned int[]'} [-Warray-bounds]
/var/media/DATA/home-rudi/LibreELEC.tv/build.LibreELEC-Generic.x86_64-11.0-devel/build/grub-2.06/grub-core/commands/acpi.c:301:4: warning: array subscript 0 is outside array bounds of 'grub_uint16_t[0]' {aka 'short unsigned int[]'} [-Warray-bounds]
/var/media/DATA/home-rudi/LibreELEC.tv/build.LibreELEC-Generic.x86_64-11.0-devel/build/grub-2.06/grub-core/commands/efi/loadbios.c:50:7: warning: array subscript 0 is outside array bounds of 'grub_uint32_t[0]' {aka 'unsigned int[]'} [-Warray-bounds]
/var/media/DATA/home-rudi/LibreELEC.tv/build.LibreELEC-Generic.x86_64-11.0-devel/build/grub-2.06/grub-core/commands/efi/loadbios.c:67:3: warning: array subscript 0 is outside array bounds of 'grub_uint32_t[0]' {aka 'unsigned int[]'} [-Warray-bounds]
/var/media/DATA/home-rudi/LibreELEC.tv/build.LibreELEC-Generic.x86_64-11.0-devel/build/grub-2.06/grub-core/commands/efi/loadbios.c:101:8: warning: array subscript 0 is outside array bounds of 'grub_uint16_t[0]' {aka 'short unsigned int[]'} [-Warray-bounds]
/var/media/DATA/home-rudi/LibreELEC.tv/build.LibreELEC-Generic.x86_64-11.0-devel/build/grub-2.06/grub-core/commands/efi/loadbios.c:101:27: warning: array subscript 0 is outside array bounds of 'grub_uint16_t[0]' {aka 'short unsigned int[]'} [-Warray-bounds]
/var/media/DATA/home-rudi/LibreELEC.tv/build.LibreELEC-Generic.x86_64-11.0-devel/build/grub-2.06/grub-core/commands/efi/loadbios.c:132:17: warning: array subscript 0 is outside array bounds of 'grub_uint16_t[0]' {aka 'short unsigned int[]'} [-Warray-bounds]
/var/media/DATA/home-rudi/LibreELEC.tv/build.LibreELEC-Generic.x86_64-11.0-devel/build/grub-2.06/grub-core/commands/efi/loadbios.c:133:16: warning: array subscript 0 is outside array bounds of 'grub_uint16_t[0]' {aka 'short unsigned int[]'} [-Warray-bounds]
/var/media/DATA/home-rudi/LibreELEC.tv/build.LibreELEC-Generic.x86_64-11.0-devel/build/grub-2.06/grub-core/commands/efi/loadbios.c:135:45: warning: array subscript 0 is outside array bounds of 'grub_uint16_t[0]' {aka 'short unsigned int[]'} [-Warray-bounds]
/var/media/DATA/home-rudi/LibreELEC.tv/build.LibreELEC-Generic.x86_64-11.0-devel/build/grub-2.06/grub-core/bus/cs5536.c:338:10: warning: array subscript 0 is outside array bounds of 'volatile void[0]' [-Warray-bounds]
/var/media/DATA/home-rudi/LibreELEC.tv/build.LibreELEC-Generic.x86_64-11.0-devel/build/grub-2.06/grub-core/bus/cs5536.c:337:7: warning: array subscript 0 is outside array bounds of 'volatile void[0]' [-Warray-bounds]
/var/media/DATA/home-rudi/LibreELEC.tv/build.LibreELEC-Generic.x86_64-11.0-devel/build/grub-2.06/grub-core/fs/cbfs.c:345:7: warning: array subscript 0 is outside array bounds of 'grub_uint32_t[0]' {aka 'unsigned int[]'} [-Warray-bounds]