Package: binutils-mingw-w64
Version: 6.5
Severity: important
User: [email protected]
Usertags: ftbfs-gcc-6 gcc-6-misleading-indentation

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.

> sbuild (Debian sbuild) 0.67.0 (26 Dec 2015) on dl580gen9-02.hlinux
...
> libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I../../../upstream/bfd -I. 
> -I../../../upstream/bfd -I../../../upstream/bfd/../include -DHAVE_i386_pe_vec 
> -DHAVE_i386_pei_vec -DHAVE_i386_elf32_vec -DHAVE_iamcu_elf32_vec 
> -DHAVE_elf32_le_vec -DHAVE_elf32_be_vec -DHAVE_plugin_vec 
> -DBINDIR=\"/usr/bin\" -Wdate-time -D_FORTIFY_SOURCE=2 -W -Wall 
> -Wstrict-prototypes -Wmissing-prototypes -Wshadow -Werror -g -O2 
> -fstack-protector-strong -Wformat -Werror=format-security -c peigen.c -o 
> peigen.o
> In file included from ../../../upstream/bfd/pe-i386.c:45:0:
> ../../../upstream/bfd/coff-i386.c: In function 'coff_i386_reloc':
> ../../../upstream/bfd/coff-i386.c:142:5: error: statement is indented as if 
> it were guarded by... [-Werror=misleading-indentation]
>      if (diff != 0)
>      ^~
> 
> ../../../upstream/bfd/coff-i386.c:133:3: note: ...this 'if' clause, but it is 
> not
>    if (reloc_entry->howto->type == R_IMAGEBASE
>    ^~
> 

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

Reply via email to