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

Frank Heimes 1986670 at bugs.launchpad.net
Tue Aug 16 14:47:09 UTC 2022


Looks like this issues was already upstream reported:
https://github.com/ibm-s390-linux/s390-tools/issues/130
and was fixed with:
https://github.com/ibm-s390-linux/s390-tools/commit/9e620058184cfdf026241b953bfbb095256198a0

So the upcoming v2.23 should properly build with gcc 12.1.

** Bug watch added: github.com/ibm-s390-linux/s390-tools/issues #130
   https://github.com/ibm-s390-linux/s390-tools/issues/130

-- 
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:
  New
Status in s390-tools package in Ubuntu:
  New

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