Package: binutils-msp430
Version: 2.22~msp20120406-5
Severity: important
User: [email protected]
Usertags: ftbfs-gcc-6 gcc-6-shift-negative-value

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
...
> x86_64-linux-gnu-gcc -DHAVE_CONFIG_H -I.  -I. -I. -I../bfd -I./../bfd 
> -I./../include -DLOCALEDIR="\"/usr/share/locale\"" 
> -Dbin_dummy_emulation=bin_vanilla_emulation  -W -Wall -Wstrict-prototypes 
> -Wmissing-prototypes -Wshadow -Werror -g -O2 -MT dwarf.o -MD -MP -MF 
> .deps/dwarf.Tpo -c -o dwarf.o dwarf.c
> dwarf.c: In function 'read_leb128':
> dwarf.c:150:19: error: left shift of negative value 
> [-Werror=shift-negative-value]
>      result |= -1L << shift;
>                    ^~
> 
> cc1: all warnings being treated as errors
> Makefile:882: recipe for target 'dwarf.o' failed

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

Reply via email to