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

Frank Heimes 1986670 at bugs.launchpad.net
Thu Aug 18 06:24:49 UTC 2022


Oh great @slyon!

In addition (and in preparation for the upcoming s390-tools v2.23, that is planned to be the target release for kinetic), I've created a snapshot release (2.22.0+20220816.1ffd767-0ubuntu1) of the latest s390-tools (since 2.23 is not released yet) and was also able to build it with gcc-12 (proposed enabled in PPA):
https://launchpad.net/~fheimes/+archive/ubuntu/lp1986670

-- 
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:
  In Progress

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