[Pkg-opencl-devel] Bug#831196: beignet: FTBFS with GCC 6: immediate.hpp:346:31: error: flexible array member in union

Lucas Nussbaum lucas at debian.org
Thu Jul 14 06:48:04 UTC 2016


Source: beignet
Version: 1.1.2-3
Severity: serious
Tags: stretch sid
User: debian-qa at lists.debian.org
Usertags: qa-ftbfs-20160713 qa-ftbfs
Justification: FTBFS with GCC 6 on amd64

Hi,

During a rebuild of all packages in sid using the gcc-defaults package
available in experimental to make GCC default to version 6, your package failed
to build on amd64. For more information about GCC 6 and Stretch, see:
- https://wiki.debian.org/GCC6
- https://lists.debian.org/debian-devel-announce/2016/06/msg00007.html

Relevant part (hopefully):
> make[4]: Entering directory '/«PKGBUILDDIR»/obj-x86_64-linux-gnu'
> [  0%] Building CXX object backend/src/CMakeFiles/gbeinterp.dir/gbe_bin_interpreter.cpp.o
> cd /«PKGBUILDDIR»/obj-x86_64-linux-gnu/backend/src && /usr/bin/c++   -DGEN7_SAMPLER_CLAMP_BORDER_WORKAROUND -DLLVM_38 -Dgbeinterp_EXPORTS -I/«PKGBUILDDIR»/obj-x86_64-linux-gnu -I/«PKGBUILDDIR» -I/usr/include/libdrm -I/«PKGBUILDDIR»/obj-x86_64-linux-gnu/backend -I/«PKGBUILDDIR»/backend/src/.  -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -DGBE_DEBUG=1   -funroll-loops -fstrict-aliasing -fPIC -Wall -Wcast-align -Wl,-E -std=c++0x -Wno-invalid-offsetof -fno-rtti -I/usr/lib/llvm-3.8/include   -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -DGBE_DEBUG_MEMORY=0  -DGBE_COMPILER_AVAILABLE=1 -fvisibility=hidden -fPIC   -o CMakeFiles/gbeinterp.dir/gbe_bin_interpreter.cpp.o -c /«PKGBUILDDIR»/backend/src/gbe_bin_interpreter.cpp
> In file included from /«PKGBUILDDIR»/backend/src/./ir/instruction.hpp:28:0,
>                  from /«PKGBUILDDIR»/backend/src/./backend/context.hpp:23,
>                  from /«PKGBUILDDIR»/backend/src/backend/program.hpp:29,
>                  from /«PKGBUILDDIR»/backend/src/backend/program.cpp:26,
>                  from /«PKGBUILDDIR»/backend/src/gbe_bin_interpreter.cpp:29:
> /«PKGBUILDDIR»/backend/src/./ir/immediate.hpp:346:31: error: flexible array member in union
>        const Immediate *immVec[];
>                                ^
> make[4]: *** [backend/src/CMakeFiles/gbeinterp.dir/gbe_bin_interpreter.cpp.o] Error 1

The full build log is available from:
   http://people.debian.org/~lucas/logs/2016/07/13/beignet_1.1.2-3_unstable_gcc6.log

A list of current common problems and possible solutions is available at
http://wiki.debian.org/qa.debian.org/FTBFS . You're welcome to contribute!

About the archive rebuild: The rebuild was done on EC2 VM instances from
Amazon Web Services, using a clean, minimal and up-to-date chroot. Every
failed build was retried once to eliminate random failures.



More information about the Pkg-opencl-devel mailing list