[Pkg-opencl-devel] Bug#840107: beignet: FTBFS with libdrm-intel 2.4.71
Rebecca N. Palmer
rebecca_palmer at zoho.com
Sat Oct 8 10:13:44 UTC 2016
Source: beignet
Severity: serious
Control: tags -1 upstream patch
beignet started using drm_intel_get_pooled_eu and
drm_intel_get_min_eu_in_pool if available early in their development,
before their interface was finalized, and hence does not build with the
released version (libdrm-intel 2.4.71).
A fix is being discussed upstream:
https://lists.freedesktop.org/archives/beignet/2016-October/008053.html
[ 29%] Building C object src/CMakeFiles/cl.dir/intel/intel_driver.c.o
cd /tmp/buildd/beignet-1.2.0/obj-x86_64-linux-gnu/src &&
/usr/lib/ccache/cc -DGEN7_SAMPLER_CLAMP_BORDER_WORKAROUND -DLLVM_38
-Dcl_EXPORTS -I/tmp/buildd/beignet-1.2.0/obj-x86_64-linux-gnu
-I/tmp/buildd/beignet-1.2.0 -I/tmp/buildd/beignet-1.2.0/include
-I/usr/include/libdrm -I/tmp/buildd/beignet-1.2.0/src
-I/usr/include/libdrm/..
-I/tmp/buildd/beignet-1.2.0/src/../backend/src/backend
-I/tmp/buildd/beignet-1.2.0/src/../include -I/usr/lib/llvm-3.8/include
-DHAS_MIN_EU_IN_POOL -DHAS_POOLED_EU -DHAS_SUBSLICE_TOTAL -DHAS_EU_TOTAL
-DHAS_USERPTR -DHAS_OCLIcd -DHAS_X11 -g -O2
-fdebug-prefix-map=/tmp/buildd/beignet-1.2.0=. -fPIE
-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 -fPIC -o
CMakeFiles/cl.dir/intel/intel_driver.c.o -c
/tmp/buildd/beignet-1.2.0/src/intel/intel_driver.c
/tmp/buildd/beignet-1.2.0/src/intel/intel_driver.c: In function
'intel_update_device_info':
/tmp/buildd/beignet-1.2.0/src/intel/intel_driver.c:893:7: error: too
many arguments to function 'drm_intel_get_pooled_eu'
if(!drm_intel_get_pooled_eu(driver->fd, &has_pooled_eu) &&
has_pooled_eu)
^~~~~~~~~~~~~~~~~~~~~~~
In file included from
/tmp/buildd/beignet-1.2.0/src/intel/intel_driver.h:56:0,
from
/tmp/buildd/beignet-1.2.0/src/intel/intel_driver.c:60:
/usr/include/libdrm/intel_bufmgr.h:276:5: note: declared here
int drm_intel_get_pooled_eu(int fd);
^~~~~~~~~~~~~~~~~~~~~~~
/tmp/buildd/beignet-1.2.0/src/intel/intel_driver.c:899:25: error: too
many arguments to function 'drm_intel_get_min_eu_in_pool'
if (has_pooled_eu && !drm_intel_get_min_eu_in_pool(driver->fd,
&min_eu)) {
^~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from
/tmp/buildd/beignet-1.2.0/src/intel/intel_driver.h:56:0,
from
/tmp/buildd/beignet-1.2.0/src/intel/intel_driver.c:60:
/usr/include/libdrm/intel_bufmgr.h:277:5: note: declared here
int drm_intel_get_min_eu_in_pool(int fd);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/CMakeFiles/cl.dir/build.make:1673: recipe for target
'src/CMakeFiles/cl.dir/intel/intel_driver.c.o' failed
make[4]: *** [src/CMakeFiles/cl.dir/intel/intel_driver.c.o] Error 1
More information about the Pkg-opencl-devel
mailing list