[Bug 1986670] Re: s390-tools FTBFS with GCC 12

Launchpad Bug Tracker 1986670 at bugs.launchpad.net
Fri Aug 19 18:32:42 UTC 2022


This bug was fixed in the package s390-tools - 2.20.0-0ubuntu5

---------------
s390-tools (2.20.0-0ubuntu5) kinetic; urgency=medium

  * d/p/9e62005-genprotimg-boot-disable-Warray-bounds-for-now.patch:
    Fix FTBFS with GCC-12 using upstream commit 9e62005 (LP: #1986670)

 -- Lukas Märdian <slyon at ubuntu.com>  Wed, 17 Aug 2022 12:13:49 +0200

** Changed in: s390-tools (Ubuntu)
       Status: In Progress => Fix Released

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to s390-tools in Ubuntu.
https://bugs.launchpad.net/bugs/1986670

Title:
  s390-tools FTBFS with GCC 12

Status in Ubuntu on IBM z Systems:
  In Progress
Status in s390-tools package in Ubuntu:
  Fix Released

Bug description:
  I've copied what I hope is the relevant part of the log below.

  
  gcc -I ../../include -Wdate-time -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -fno-pie -Os -g -I../..//zipl/boot -I../..//zipl/include -I../..//include -DENABLE_SCLP_ASCII=1 -DS390_TOOLS_RELEASE=2.20.0-build-20220816 -fno-builtin -ffreestanding -fno-asynchronous-unwind-tables -fno-delete-null-pointer-checks -fno-stack-protector -fexec-charset=IBM1047 -m64 -mpacked-stack -mstack-size=4096 -mstack-guard=128 -msoft-float -Wall -Wformat-security -Wextra -Werror -c stage3a.c -o stage3a.o
  In file included from stage3a.c:14:
  In function ‘__test_facility’,
      inlined from ‘test_facility’ at ../../include/boot/s390.h:428:9,
      inlined from ‘start’ at stage3a.c:42:7:
  ../../include/boot/s390.h:418:17: error: array subscript 0 is outside array bounds of ‘void[0]’ [-Werror=array-bounds]
    418 |         return (*ptr & (0x80 >> (nr & 7))) != 0;
        |                 ^~~~
  cc1: all warnings being treated as errors

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu-z-systems/+bug/1986670/+subscriptions




More information about the foundations-bugs mailing list