Compiling POCL-0.10 on FreeBSD CURRENT (Revision: 272529) using port 
devel/llvm35 and
lang/clang35 (LLVM/CLANG 3.5.0) and in conjucntion with ocl-icd 2.2.1 results 
in the
following error shown below.

ocl-icd 2.1.3 worked with POCL-0.9 and seems to compile with POCL-0.10.

[...]
gmake[7]: Entering directory
`/usr/ports/devel/pocl/work/pocl-0.10/lib/CL/devices/topology' /bin/sh 
../../../../libtool
--tag=CC   --mode=compile clang35 -DHAVE_CONFIG_H -I. -I../../../..
-I../../../../fix-include -I../../../../include -I../../../../lib/CL/devices
-I../../../../lib/CL -I/usr/local/include/libxml2 -I/usr/local/include
-I/usr/local/include   -I/usr/local/llvm35/include -I/usr/local/include  -O2 
-pipe -O3
-march=native  -pthread -fstack-protector -fno-strict-aliasing -MT
libpocl_devices_topology_la-pocl_topology.lo -MD -MP
-MF .deps/libpocl_devices_topology_la-pocl_topology.Tpo -c -o
libpocl_devices_topology_la-pocl_topology.lo `test -f 'pocl_topology.c' || echo
'./'`pocl_topology.c libtool: compile:  clang35 -DHAVE_CONFIG_H -I. 
-I../../../..
-I../../../../fix-include -I../../../../include -I../../../../lib/CL/devices
-I../../../../lib/CL -I/usr/local/include/libxml2 -I/usr/local/include
-I/usr/local/include -I/usr/local/llvm35/include -I/usr/local/include -O2 -pipe 
-O3
-march=native -pthread -fstack-protector -fno-strict-aliasing -MT
libpocl_devices_topology_la-pocl_topology.lo -MD -MP
-MF .deps/libpocl_devices_topology_la-pocl_topology.Tpo -c pocl_topology.c  
-fPIC -DPIC
-o .libs/libpocl_devices_topology_la-pocl_topology.o In file included from
pocl_topology.c:24: In file included from ../../../../lib/CL/pocl_cl.h:36: In 
file
included from ../../../../lib/CL/pocl_icd.h:39: 
/usr/local/include/ocl_icd.h:33:34:
warning: unknown warning group '-Wcpp', ignored [-Wunknown-pragmas] #  pragma 
GCC
diagnostic ignored "-Wcpp" ^ /usr/local/include/ocl_icd.h:921:11: error: 
unknown type
name 'cl_queue_properties'; did you mean 'cl_context_properties'? const
cl_queue_properties *    /* properties */, ^~~~~~~~~~~~~~~~~~~
cl_context_properties ../../../../include/CL/cl.h:62:29: note: 
'cl_context_properties'
declared here typedef intptr_t            cl_context_properties; ^ In file 
included from
pocl_topology.c:24: In file included from ../../../../lib/CL/pocl_cl.h:36: In 
file
included from ../../../../lib/CL/pocl_icd.h:39: 
/usr/local/include/ocl_icd.h:923:4:
error: expected ';' at end of declaration list ) CL_API_SUFFIX__VERSION_2_0;
^ ; /usr/local/include/ocl_icd.h:930:11: error: unknown type name 
'cl_pipe_properties';
did you mean 'cl_context_properties'? const cl_pipe_properties * /* properties 
*/,
^~~~~~~~~~~~~~~~~~ cl_context_properties

[...]


Regards,

Oliver

Attachment: signature.asc
Description: PGP signature

------------------------------------------------------------------------------
Meet PCI DSS 3.0 Compliance Requirements with EventLog Analyzer
Achieve PCI DSS 3.0 Compliant Status with Out-of-the-box PCI DSS Reports
Are you Audit-Ready for PCI DSS 3.0 Compliance? Download White paper
Comply to PCI DSS 3.0 Requirement 10 and 11.5 with EventLog Analyzer
http://pubads.g.doubleclick.net/gampad/clk?id=154622311&iu=/4140/ostg.clktrk
_______________________________________________
pocl-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/pocl-devel

Reply via email to