Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.bugs.rc > #360451 > unrolled thread

Bug#1068119: s390-tools: FTBFS: ../../include/boot/s390.h:418:17: error: array subscript 0 is outside array bounds of ‘void[0]’ [-Werror=array-bounds=]

Started bySebastian Ramacher <sramacher@debian.org>
First post2024-03-31 10:40 +0200
Last post2024-06-11 12:10 +0200
Articles 2 — 2 participants

Back to article view | Back to linux.debian.bugs.rc


Contents

  Bug#1068119: s390-tools: FTBFS: ../../include/boot/s390.h:418:17: error: array subscript 0 is outside array bounds of ‘void[0]’ [-Werror=array-bounds=] Sebastian Ramacher <sramacher@debian.org> - 2024-03-31 10:40 +0200
    Processed: Re: Solution for 1068119 - compile error for  s390-tools 2.16.0-2 "Debian Bug Tracking System" <owner@bugs.debian.org> - 2024-06-11 12:10 +0200

#360451 — Bug#1068119: s390-tools: FTBFS: ../../include/boot/s390.h:418:17: error: array subscript 0 is outside array bounds of ‘void[0]’ [-Werror=array-bounds=]

FromSebastian Ramacher <sramacher@debian.org>
Date2024-03-31 10:40 +0200
SubjectBug#1068119: s390-tools: FTBFS: ../../include/boot/s390.h:418:17: error: array subscript 0 is outside array bounds of ‘void[0]’ [-Werror=array-bounds=]
Message-ID<InYTn-2ZgG-3@gated-at.bofh.it>
Source: s390-tools
Version: 2.16.0-2
Severity: serious
Tags: ftbfs
Justification: fails to build from source
X-Debbugs-Cc: sramacher@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

[toc] | [next] | [standalone]


#364980 — Processed: Re: Solution for 1068119 - compile error for s390-tools 2.16.0-2

From"Debian Bug Tracking System" <owner@bugs.debian.org>
Date2024-06-11 12:10 +0200
SubjectProcessed: Re: Solution for 1068119 - compile error for s390-tools 2.16.0-2
Message-ID<IO6BX-285a-3@gated-at.bofh.it>
In reply to#360451
Processing control commands:

> affects -1 + mmdebstrap
Bug #1068119 [src:s390-tools] s390-tools: FTBFS: ../../include/boot/s390.h:418:17: error: array subscript 0 is outside array bounds of ‘void[0]’ [-Werror=array-bounds=]
Added indication that 1068119 affects mmdebstrap

-- 
1068119: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1068119
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems

[toc] | [prev] | [standalone]


Back to top | Article view | linux.debian.bugs.rc


csiph-web