[Bug 1988710] Re: FTBFS with GCC 12

Paride Legovini 1988710 at bugs.launchpad.net
Wed Sep 7 14:52:58 UTC 2022


** Tags added: rls-kk-incoming

** Also affects: gcc-12 (Ubuntu)
   Importance: Undecided
       Status: New

-- 
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:
  FTBFS with GCC 12

Status in gcc-12 package in Ubuntu:
  New
Status in qemu package in Ubuntu:
  New

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/ubuntu/+source/gcc-12/+bug/1988710/+subscriptions




More information about the foundations-bugs mailing list