Source: s390-tools
Version: 2.16.0-2
Severity: serious
Tags: ftbfs
Justification: fails to build from source
X-Debbugs-Cc: sramac...@debian.org

https://buildd.debian.org/status/fetch.php?pkg=s390-tools&arch=s390x&ver=2.16.0-2%2Bb4&stamp=1711742603&raw=0

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.16.0-build-20240329 -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;
      |                 ^~~~
In function ‘start’:
cc1: note: source object is likely at address zero
cc1: all warnings being treated as errors
make[4]: *** [../../common.mak:253: stage3a.o] Error 1

Cheers
-- 
Sebastian Ramacher

Reply via email to