[Bug 1988710] Re: qemu FTBFS with GCC 12
Christian Ehrhardt
1988710 at bugs.launchpad.net
Mon Sep 19 11:15:06 UTC 2022
Since I have not found this issue in qemu, gcc nor palcode I have filed
it for some more awareness than just this LP report.
- https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106966
- https://github.com/qemu/qemu-palcode/issues/1
FYI I have in the meantime also recreated this in more release/versions:
- Bad: Kinetic - default cross gcc - gcc version 12.2.0 (Ubuntu 12.2.0-2ubuntu1)
- Bad: Jammy - cross gcc-12 - gcc version 11.3.0 (Ubuntu 11.3.0-1ubuntu1~22.04)
- Bad: Fedora 36 - cross gcc - gcc version 12.1.1 20220507 (Red Hat Cross 12.1.1-1) (GCC)
- Good: Jammy - default cross gcc - gcc version 12.2.0 (Ubuntu 12.2.0-2ubuntu1)
** Bug watch added: GCC Bugzilla #106966
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106966
** Bug watch added: github.com/qemu/qemu-palcode/issues #1
https://github.com/qemu/qemu-palcode/issues/1
** Also affects: gcc via
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106966
Importance: Unknown
Status: Unknown
** Changed in: qemu (Ubuntu)
Status: New => In Progress
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to gcc-12 in Ubuntu.
https://bugs.launchpad.net/bugs/1988710
Title:
qemu FTBFS with GCC 12
Status in gcc:
New
Status in gcc-12 package in Ubuntu:
New
Status in qemu package in Ubuntu:
In Progress
Bug description:
qemu 1:7.0+dfsg-7ubuntu1 FTBFS on Kinetic due to an extra warning
emitted by gcc 12:
----------------
In function ‘ppc64_patch_handlers’,
inlined from ‘cpu_970_init’ at /<<PKGBUILDDIR>>/roms/openbios/arch/ppc/qemu/init.c:433:5:
/<<PKGBUILDDIR>>/roms/openbios/arch/ppc/qemu/init.c:400:10: error: array subscript 0 is outside array bounds of ‘uint32_t[0]’ {aka ‘unsigned int[]’} [-Werror=array-bounds]
400 | *dsi = 0x48002002;
| ~~~~~^~~~~~~~~~~~
/<<PKGBUILDDIR>>/roms/openbios/arch/ppc/qemu/init.c:403:10: error: array subscript 0 is outside array bounds of ‘uint32_t[0]’ {aka ‘unsigned int[]’} [-Werror=array-bounds]
403 | *isi = 0x48002202;
| ~~~~~^~~~~~~~~~~~
[...]
cc1: all warnings being treated as errors
make[3]: *** [rules.mak:323: target/arch/ppc/qemu/init.o] Error 1
----------------
Test rebuild done in this PPA:
https://launchpad.net/~paride/+archive/ubuntu/qemu-nochange
Full build log:
https://launchpadlibrarian.net/621778341/buildlog_ubuntu-kinetic-
amd64.qemu_1%3A7.0+dfsg-7ubuntu1~kineticppa1_BUILDING.txt.gz
To manage notifications about this bug go to:
https://bugs.launchpad.net/gcc/+bug/1988710/+subscriptions
More information about the foundations-bugs
mailing list