Package: open-vm-tools
Version: 2:10.0.5-3227872-2
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
...
> UILDDIR>>/lib/include -I/<<PKGBUILDDIR>>/lib/include -Wdate-time 
> -D_FORTIFY_SOURCE=2 -DUSING_AUTOCONF=1 -DOPEN_VM_TOOLS -DUSE_VGAUTH 
> -I/usr/include -DUSE_ICU -DHAVE_ICU_38 -DVMX86_TOOLS -D_FILE_OFFSET_BITS=64 
> -D_LARGEFILE64_SOURCE -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -D_SVID_SOURCE 
> -D_DEFAULT_SOURCE -DUSE_SSL_DIRECT -fPIC -Wno-deprecated-declarations -g -O2 
> -fstack-protector-strong -Wformat -Werror=format-security -Wall -Werror 
> -Wno-pointer-sign -Wno-unused-value -fno-strict-aliasing -Wno-unknown-pragmas 
> -Wno-uninitialized -Wno-deprecated-declarations -Wno-unused-but-set-variable 
> -c asyncsocket.c  -fPIC -DPIC -o .libs/asyncsocket.o
> In file included from /<<PKGBUILDDIR>>/lib/include/hostinfo.h:35:0,
>                  from asyncsocket.c:58:
> /<<PKGBUILDDIR>>/lib/include/x86cpuid.h:912:51: error: result of '-2147483648 
> << 1' requires 33 bits to represent, but 'int' only has 32 bits 
> [-Werror=shift-overflow=]
>  #define VMW_BIT_MASK(shift)  (((1 << (shift - 1)) << 1) - 1)
>                                                    ^
> 
> /<<PKGBUILDDIR>>/lib/include/x86cpuid.h:916:34: note: in expansion of macro 
> 'VMW_BIT_MASK'
>     CPUID_##name##_MASK         = VMW_BIT_MASK(size) << bitpos, \
>                                   ^~~~~~~~~~~~
> 
> /<<PKGBUILDDIR>>/lib/include/x86cpuid.h:292:1: note: in expansion of macro 
> 'FIELD'
>  FIELD(  0,  0, EAX,  0, 32, NUMLEVELS,                             ANY, 
> FALSE) \
>  ^~~~~
> 
> /<<PKGBUILDDIR>>/lib/include/x86cpuid.h:870:4: note: in expansion of macro 
> 'CPUID_FIELD_DATA_LEVEL_0'
>     CPUID_FIELD_DATA_LEVEL_0                                           \
>     ^~~~~~~~~~~~~~~~~~~~~~~~
> 
> /<<PKGBUILDDIR>>/lib/include/x86cpuid.h:927:4: note: in expansion of macro 
> 'CPUID_FIELD_DATA'
>     CPUID_FIELD_DATA
>     ^~~~~~~~~~~~~~~~
> 
> /<<PKGBUILDDIR>>/lib/include/x86cpuid.h:912:51: error: result of '-2147483648 
> << 1' requires 33 bits to represent, but 'int' only has 32 bits 
> [-Werror=shift-overflow=]
>  #define VMW_BIT_MASK(shift)  (((1 << (shift - 1)) << 1) - 1)
>                                                    ^
> 
> /<<PKGBUILDDIR>>/lib/include/x86cpuid.h:918:34: note: in expansion of macro 
> 'VMW_BIT_MASK'
>     CPUID_INTERNAL_MASK_##name  = VMW_BIT_MASK(size) << bitpos, \
>                                   ^~~~~~~~~~~~
> 
> /<<PKGBUILDDIR>>/lib/include/x86cpuid.h:292:1: note: in expansion of macro 
> 'FIELD'
>  FIELD(  0,  0, EAX,  0, 32, NUMLEVELS,                             ANY, 
> FALSE) \
>  ^~~~~
> 
> /<<PKGBUILDDIR>>/lib/include/x86cpuid.h:870:4: note: in expansion of macro 
> 'CPUID_FIELD_DATA_LEVEL_0'
>     CPUID_FIELD_DATA_LEVEL_0                                           \
>     ^~~~~~~~~~~~~~~~~~~~~~~~
> 
> /<<PKGBUILDDIR>>/lib/include/x86cpuid.h:927:4: note: in expansion of macro 
> 'CPUID_FIELD_DATA'
>     CPUID_FIELD_DATA
>     ^~~~~~~~~~~~~~~~
> 
> /<<PKGBUILDDIR>>/lib/include/x86cpuid.h:912:51: error: result of '-2147483648 
> << 1' requires 33 bits to represent, but 'int' only has 32 bits 
> [-Werror=shift-overflow=]
>  #define VMW_BIT_MASK(shift)  (((1 << (shift - 1)) << 1) - 1)
>                                                    ^
> 
> /<<PKGBUILDDIR>>/lib/include/x86cpuid.h:916:34: note: in expansion of macro 
> 'VMW_BIT_MASK'
>     CPUID_##name##_MASK         = VMW_BIT_MASK(size) << bitpos, \
>                                   ^~~~~~~~~~~~
> 
> /<<PKGBUILDDIR>>/lib/include/x86cpuid.h:293:1: note: in expansion of macro 
> 'FIELD'
>  FIELD(  0,  0, EBX,  0, 32, VENDOR1,                               YES, 
> TRUE)  \
>  ^~~~~
> 
> /<<PKGBUILDDIR>>/lib/include/x86cpuid.h:870:4: note: in expansion of macro 
> 'CPUID_FIELD_DATA_LEVEL_0'
>     CPUID_FIELD_DATA_LEVEL_0                                           \
>     ^~~~~~~~~~~~~~~~~~~~~~~~
> 
> /<<PKGBUILDDIR>>/lib/include/x86cpuid.h:927:4: note: in expansion of macro 
> 'CPUID_FIELD_DATA'
>     CPUID_FIELD_DATA
>     ^~~~~~~~~~~~~~~~
> 
> /<<PKGBUILDDIR>>/lib/include/x86cpuid.h:912:51: error: result of '-2147483648 
> << 1' requires 33 bits to represent, but 'int' only has 32 bits 
> [-Werror=shift-overflow=]
>  #define VMW_BIT_MASK(shift)  (((1 << (shift - 1)) << 1) - 1)
>                                                    ^
> 
> /<<PKGBUILDDIR>>/lib/include/x86cpuid.h:918:34: note: in expansion of macro 
> 'VMW_BIT_MASK'
>     CPUID_INTERNAL_MASK_##name  = VMW_BIT_MASK(size) << bitpos, \
>                                   ^~~~~~~~~~~~
> 
> /<<PKGBUILDDIR>>/lib/include/x86cpuid.h:293:1: note: in expansion of macro 
> 'FIELD'
>  FIELD(  0,  0, EBX,  0, 32, VENDOR1,                               YES, 
> TRUE)  \
>  ^~~~~
> 
> /<<PKGBUILDDIR>>/lib/include/x86cpuid.h:870:4: note: in expansion of macro 
> 'CPUID_FIELD_DATA_LEVEL_0'
>     CPUID_FIELD_DATA_LEVEL_0                                           \
>     ^~~~~~~~~~~~~~~~~~~~~~~~
> 
> /<<PKGBUILDDIR>>/lib/include/x86cpuid.h:927:4: note: in expansion of macro 
> 'CPUID_FIELD_DATA'
>     CPUID_FIELD_DATA
>     ^~~~~~~~~~~~~~~~
> 
> /<<PKGBUILDDIR>>/lib/include/x86cpuid.h:912:51: error: result of '-2147483648 
> << 1' requires 33 bits to represent, but 'int' only has 32 bits 
> [-Werror=shift-overflow=]
>  #define VMW_BIT_MASK(shift)  (((1 << (shift - 1)) << 1) - 1)

Reply via email to