missing ocl_stdlib.h
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
beignet (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
I installed beignet 0.3-1 package and run sample program, I gave this error :
fatal error: malformed or corrupted PCH file: 'could not find file '/build/
1 error generated.
*** build of 'sum' on 'Intel HD Graphics Family' said:
*** (end of message)
*** 'clBuildProgram' in 'cl-helper.c' on line 470 failed with error 'invalid program'.
Aborted (core dumped)
and made some investigation here :
https:/
and I found that compile mistake :
missing ocl_stdlib.h here :
-- Install configuration: "RelWithDebInfo"
-- Installing: /build/
-- Installing: /build/
-- Installing: /build/
-- Installing: /build/
-- Installing: /build/
-- Installing: /build/
-- Installing: /build/
-- Installing: /build/
-- Installing: /build/
-- Installing: /build/
-- Installing: /build/
-- Installing: /build/
-- Installing: /build/
and here too :
chroot-
drwxr-xr-x root/root 0 2013-10-24 05:10 ./
drwxr-xr-x root/root 0 2013-10-24 05:10 ./usr/
drwxr-xr-x root/root 0 2013-10-24 05:10 ./usr/share/
drwxr-xr-x root/root 0 2013-10-24 05:10 ./usr/share/doc/
drwxr-xr-x root/root 0 2013-10-24 05:10 ./usr/share/
-rw-r--r-- root/root 2348 2013-04-09 15:13 ./usr/share/
drwxr-xr-x root/root 0 2013-10-24 05:10 ./usr/include/
drwxr-xr-x root/root 0 2013-10-24 05:10 ./usr/include/CL/
-rw-r--r-- root/root 4974 2013-10-22 07:06 ./usr/include/
lrwxrwxrwx root/root 0 2013-10-24 05:10 ./usr/share/
chroot-
drwxr-xr-x root/root 0 2013-10-24 05:10 ./
drwxr-xr-x root/root 0 2013-10-24 05:10 ./usr/
drwxr-xr-x root/root 0 2013-10-24 05:10 ./usr/lib/
drwxr-xr-x root/root 0 2013-10-24 05:10 ./usr/lib/beignet/
-rw-r--r-- root/root 19695160 2013-10-24 05:10 ./usr/lib/
-rw-r--r-- root/root 123248 2013-10-24 05:10 ./usr/lib/
-rw-r--r-- root/root 4957604 2013-10-24 05:09 ./usr/lib/
drwxr-xr-x root/root 0 2013-10-24 05:10 ./usr/share/
drwxr-xr-x root/root 0 2013-10-24 05:10 ./usr/share/doc/
drwxr-xr-x root/root 0 2013-10-24 05:10 ./usr/share/
-rw-r--r-- root/root 2348 2013-04-09 15:13 ./usr/share/
-rw-r--r-- root/root 443 2013-10-24 05:10 ./usr/share/
drwxr-xr-x root/root 0 2013-10-24 05:10 ./etc/
drwxr-xr-x root/root 0 2013-10-24 05:10 ./etc/OpenCL/
drwxr-xr-x root/root 0 2013-10-24 05:10 ./etc/OpenCL/
-rw-r--r-- root/root 26 2013-05-21 07:27 ./etc/OpenCL/
please fix it. Thanks
or /build/ buildd/ beignet- 0.3/debian/ tmp/usr/ lib/beignet/ ocl_stdlib. h.pch is broken