[Bug 1988710] Re: qemu FTBFS with GCC 12

Bug Watch Updater 1988710 at bugs.launchpad.net
Wed Jul 19 00:08:44 UTC 2023


** Changed in: gcc
       Status: Confirmed => Fix Released

-- 
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:
  Fix Released
Status in gcc-12 package in Ubuntu:
  Confirmed
Status in qemu package in Ubuntu:
  Fix Released

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