Well this is normal. This is part of the process we used to retro
engineer the loader when sources were not available.
Nonetheless maybe we could let this part out of the main build. I'll let
Vincent decide.
Best,
Brice
On 05/29/2014 04:53 AM, Michael Tautschnig wrote:
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
--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org