Package: ltrace
Version: 0.7.3-5.1
Severity: important
User: debian-...@lists.debian.org
Usertags: ftbfs-gcc-6

This package fails to build with GCC 6.  GCC 6 has not been released
yet, but it's expected that GCC 6 will become the default compiler for
stretch.

Note that only the first error is reported; there might be more.  You
can find a snapshot of GCC 6 in experimental.  To build with GCC 6,
you can set CC=gcc-6 CXX=g++-6 explicitly.

You may be able to find out more about this issue at
https://gcc.gnu.org/gcc-6/changes.html

> sbuild (Debian sbuild) 0.67.0 (26 Dec 2015) on dl580gen9-02.hlinux
...
> /bin/bash ./libtool --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I.  
> -I./sysdeps/linux-gnu/x86      -I./sysdeps/linux-gnu   -I./sysdeps     -I.   
> -DSYSCONFDIR=\"/etc\" -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wsign-compare 
> -Wfloat-equal -Wformat-security -Werror -g -O2 -fstack-protector-strong 
> -Wformat -Werror=format-security -Wall -c -o handle_event.lo handle_event.c
> libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I./sysdeps/linux-gnu/x86 
> -I./sysdeps/linux-gnu -I./sysdeps -I. -DSYSCONFDIR=\"/etc\" -Wdate-time 
> -D_FORTIFY_SOURCE=2 -Wall -Wsign-compare -Wfloat-equal -Wformat-security 
> -Werror -g -O2 -fstack-protector-strong -Wformat -Werror=format-security 
> -Wall -c handle_event.c  -fPIC -DPIC -o .libs/handle_event.o
> handle_event.c: In function 'arch_sysname.isra.0':
> handle_event.c:385:3: error: arrar subscript is above array bounds 
> [-Werror=array-bounds]
>    sprintf(result, "ARCH_%s",
>    ^~~~~~~~~~~~~~~~~~~~~~~~~~
>      arch_syscalent[sysnum]);
>      ~~~~~~~~~~~~~~~~~~~~~~~
> 
> cc1: all warnings being treated as errors

-- 
Martin Michlmayr
Linux for HPE Helion, Hewlett Packard Enterprise

Reply via email to