[Beignet] Another build failure with current master

Yichao Yu yyc1992 at gmail.com
Fri Sep 12 04:32:42 PDT 2014


Hi,

I've got an error when generating src/kernels/cl_internal_*_str.c's.

The error message reads

error: OpenCL version was  in PCH file but is currently ������zzzz{{{{
build the file /home/yuyichao/projects/mlinux/pkg/all/beignet-git/src/beignet/src/kernels//cl_internal_built_in_kernel.cl
failed

Note the non-ascii (non-utf8) characters even when I set locale to C.

The command line executed was

cd /home/yuyichao/projects/mlinux/pkg/all/beignet-git/src/beignet/build/src
&& OCL_BITCODE_BIN=/home/yuyichao/projects/mlinux/pkg/all/beignet-git/src/beignet/build/backend/src/libocl/lib/beignet.bc
OCL_HEADER_DIR=/home/yuyichao/projects/mlinux/pkg/all/beignet-git/src/beignet/build/backend/src/libocl/include/
OCL_PCH_OBJECT=/home/yuyichao/projects/mlinux/pkg/all/beignet-git/src/beignet/build/backend/src/libocl/lib/beignet.pch
LD_LIBRARY_PATH=/home/yuyichao/projects/mlinux/pkg/all/beignet-git/src/beignet/build/backend/src
/home/yuyichao/projects/mlinux/pkg/all/beignet-git/src/beignet/build/backend/src/gbe_bin_generater
-s /home/yuyichao/projects/mlinux/pkg/all/beignet-git/src/beignet/src/kernels//cl_internal_built_in_kernel.cl
-o/home/yuyichao/projects/mlinux/pkg/all/beignet-git/src/beignet/src/kernels//cl_internal_built_in_kernel_str.c

Doesn't work with either CLANG or GCC (probably unrelated). llvm version 3.5.0.

Yichao Yu


More information about the Beignet mailing list