Package: ocl-icd
Version: 2.1.3-4
Usertags: goto-cc

During a rebuild of all Debian packages in a clean sid chroot (using cowbuilder
and pbuilder) the build failed with the following error. Please note that we
use our research compiler tool-chain (using tools from the cbmc package), which
permits extended reporting on type inconsistencies at link time.

[...]
libtool: link: gcc -Wno-deprecated-declarations -g -O2 -fstack-protector 
--param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wl,-z -Wl,relro -o 
.libs/run_dummy_icd_through_our_ICDL 
run_dummy_icd_through_our_ICDL-run_dummy_icd.o 
run_dummy_icd_through_our_ICDL-run_dummy_icd_gen.o 
run_dummy_icd_through_our_ICDL-run_dummy_icd_weak_gen.o  ./.libs/libOpenCL.so 
-ldl

error: conflicting function declarations "clEnqueueBarrierWithWaitList"
old definition in module run_dummy_icd_gen file /usr/include/CL/cl.h line 1150
signed int (struct _cl_command_queue *, unsigned int, struct _cl_event * const 
*, struct _cl_event **)
new definition in module run_dummy_icd_weak_gen file run_dummy_icd_weak_gen.c 
line 137
signed int (void *arg, void *arg2)
Makefile:728: recipe for target 'run_dummy_icd_through_our_ICDL' failed
make[3]: *** [run_dummy_icd_through_our_ICDL] Error 64
make[3]: Leaving directory 
'/srv/jenkins-slave/workspace/sid-goto-cc-ocl-icd/ocl-icd-2.1.3'
Makefile:980: recipe for target 'all-recursive' failed

It seems the generated code of run_dummy_icd_weak_gen.c is not in line with the
system headers here, and there may be further errors hidden by this incorrect
declaration.

Best,
Michael

Attachment: pgpWkItrhs7sQ.pgp
Description: PGP signature

Reply via email to