[Pkg-opencl-devel] beignet 1.0.1-2
Andreas Beckmann
anbe at debian.org
Mon Feb 16 14:10:55 UTC 2015
On 2015-02-15 22:29, Rebecca N. Palmer wrote:
> Please can someone upload this before Ubuntu freezes?
>
> On 12/02/15 12:45, Rebecca N. Palmer wrote:
>> 1.0.1-1 FTBFS in Ubuntu because their default LLVM is 3.6; I have just
>> pushed a "force 3.5" fix to Alioth.
Done.
We have a FTBFS on kfreebsd* - there seems to be neither struct sysinfo not function sysinfo in sys/sysinfo.h:
[ 26%] Building C object src/CMakeFiles/cl.dir/cl_device_id.c.o
cd /«PKGBUILDDIR»/obj-x86_64-kfreebsd-gnu/src && /usr/bin/cc -DGEN7_SAMPLER_CLAMP_BORDER_WORKAROUND -Dcl_EXPORTS -DHAS_USERPTR -DHAS_OCLIcd -DHAS_X11 -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -DGBE_DEBUG=1 -funroll-loops -fstrict-aliasing -msse2 -msse3 -mssse3 -msse4.1 -fPIC -Wall -mfpmath=sse -Wcast-align -Wl,-E -fPIC -I/«PKGBUILDDIR»/obj-x86_64-kfreebsd-gnu -I/«PKGBUILDDIR» -I/usr/include/libdrm -I/«PKGBUILDDIR»/src -I/usr/include/libdrm/.. -I/«PKGBUILDDIR»/src/../backend/src/backend -I/«PKGBUILDDIR»/src/../include -DLLVM_35 -o CMakeFiles/cl.dir/cl_device_id.c.o -c /«PKGBUILDDIR»/src/cl_device_id.c
/«PKGBUILDDIR»/src/cl_device_id.c: In function 'cl_get_gt_device':
/«PKGBUILDDIR»/src/cl_device_id.c:426:18: error: storage size of 'info' isn't known
struct sysinfo info;
^
/«PKGBUILDDIR»/src/cl_device_id.c:427:3: warning: implicit declaration of function 'sysinfo' [-Wimplicit-function-declaration]
if (sysinfo(&info) == 0) {
^
/«PKGBUILDDIR»/src/cl_device_id.c:426:18: warning: unused variable 'info' [-Wunused-variable]
struct sysinfo info;
^
src/CMakeFiles/cl.dir/build.make:1143: recipe for target 'src/CMakeFiles/cl.dir/cl_device_id.c.o' failed
make[3]: *** [src/CMakeFiles/cl.dir/cl_device_id.c.o] Error 1
Is there any reason not to build beignet for hurd-i386? (currently there is no suitable llvm+clang, but all other B-D seem available)
Andreas
More information about the Pkg-opencl-devel
mailing list