When I try to build the hello_stdcl example in /Work/examples/parallella/hello_stdcl/ I get the following error :
clcc -v -c -o ocl_kernels.o matvecmult.cl
coprthr-1.6.0 (Freewill)
number of platforms 1
clcc1: compile 'matvecmult.cl' [coprthr:ARMv7]
compiler_native:build_log:
execshell> cd /tmp/xclLptZsN; gcc -D__coprthr_device__ -fno-exceptions -O3 -marm -mfpu=neon -funsafe-math-optimizations -fno-math-errno -funsafe-math-optimizations -fschedule-insns -fschedule-insns2 -U_FORTIFY_SOURCE -I/usr/local/browndeer/include -D __xcl_kthr__ -D __STDCL_KERNEL_VERSION__=020000 -fPIC -c ubT6Wq.cpp
execshell> cd /tmp/xclLptZsN; cpp -x c++ -D__coprthr_device__ -I/usr/local/browndeer/include /tmp/xclLptZsN/ubT6Wq.cl | awk -v prog=\"/tmp/xclLptZsN/ubT6Wq.cl\" 'BEGIN { pr=0; } { if($0~/^#/ && $3==prog) pr=1; else if ($0~/^#/) pr=0; if ($0!~/^#/ && pr==1) print $0; }' | xclnm --kcall -d -c -o _kcall_ubT6Wq.c -
execshell> cd /tmp/xclLptZsN; gcc -D__coprthr_device__ -O0 -fPIC -D__xcl_kcall__ -I/usr/local/browndeer/include -c _kcall_ubT6Wq.c
execshell> cd /tmp/xclLptZsN; g++ -shared -Wl,-soname,ubT6Wq.so -o ubT6Wq.so ubT6Wq.o _kcall_ubT6Wq.o ubT6Wq.elfcl
data_A
clcc1: compile 'matvecmult.cl' [coprthr:E16G Needham]
compiler_e32:build_log:
execshell> \cp /usr/local/browndeer/lib/_e32pth_core_main_needham.o /tmp/xclvC7RjX
execshell> \cp /usr/local/browndeer/lib/_e32pth_core_needham.ldf /tmp/xclvC7RjX
execshell> cd /tmp/xclvC7RjX; e-g++ -O0 -g -Wall -c -fmessage-length=0 -ffast-math -ftree-vectorize -funroll-loops -Wunused-variable -ffp-contract=fast -mlong-calls -mfp-mode=truncate -falign-loops=8 -falign-functions=8 -w -fstack-usage -fno-exceptions -U_FORTIFY_SOURCE -fno-stack-protector -I/opt/adapteva/esdk/tools/e-gnu/epiphany-elf/sys-include -fpermissive -D__coprthr_device__ -x c++ -I/usr/local/browndeer/include -D __xcl_kthr__ --include=e32pth_if_needham.h --include=opencl_lift.h --include=e32_opencl_ext.h -D __STDCL_KERNEL_VERSION__=020000 -D__COPRTHR__ -D E32_DRAM_ZEROPAGE=0x8e100000 -S IKopmO.cpp
execshell> cd /tmp/xclvC7RjX; e-g++ -O0 -g -Wall -c -fmessage-length=0 -ffast-math -ftree-vectorize -funroll-loops -Wunused-variable -ffp-contract=fast -mlong-calls -mfp-mode=truncate -falign-loops=8 -falign
[2577] clmesg ERROR: clcc.c(718): clcc: clld returned non-zero exit status 11
=======================================================================================
I get the same error when I try to build bdt_nbody_32.I'm using the browndeer COPRTHR lib that came with the board...
What could be the cause of this ?