[Bug 1200131] New: s390-tools build fails with gcc12
http://bugzilla.opensuse.org/show_bug.cgi?id=1200131 Bug ID: 1200131 Summary: s390-tools build fails with gcc12 Classification: openSUSE Product: openSUSE Tumbleweed Version: Current Hardware: S/390-64 OS: openSUSE Tumbleweed Status: NEW Severity: Critical Priority: P5 - None Component: Basesystem Assignee: screening-team-bugs@suse.de Reporter: mpost@suse.com QA Contact: qa-bugs@suse.de Found By: --- Blocker: --- While trying to update s390-tools to conform to the usrmerge change, the build fails with the following error: gcc -I ../../include -D_GNU_SOURCE -fno-pie -Os -g -I../..//zipl/boot -I../..//zipl/include -I../..//include -DENABLE_SCLP_ASCII=1 -DS390_TOOLS_RELEASE=2.19.0-324.1 -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 make[2]: *** [../../common.mak:268: stage3a.o] Error 1 make[2]: Leaving directory '/home/abuild/rpmbuild/BUILD/s390-tools-2.19.0/genprotimg/boot' make[1]: *** [Makefile:22: all-recursive] Error 1 make: *** [Makefile:51: genprotimg] Error 2 The failure can be seen in both https://build.opensuse.org/package/show/home:markkp:branches:Base:System/s39... and https://build.opensuse.org/package/show/Base:System/s390-tools The last successful build was on May 11, 2022. From what I can tell, that build was performed with gcc11, so it appears that gcc12 is detecting something that previous versions did not. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1200131 http://bugzilla.opensuse.org/show_bug.cgi?id=1200131#c1 Mark Post <mpost@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |CONFIRMED CC| |ada.lovelace@gmx.de, | |bugproxy@us.ibm.com, | |ihno@suse.com, | |tstaudt@de.ibm.com Assignee|screening-team-bugs@suse.de |mpost@suse.com --- Comment #1 from Mark Post <mpost@suse.com> --- IBM, please open a bug and link to this one. -- You are receiving this mail because: You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@suse.com