Bug 90432

Summary: [Bisected]piglit build fail with -DPIGLIT_BUILD_CL_TESTS=ON
Product: piglit Reporter: bingbingx.zhu
Component: testsAssignee: Piglit Mailing List <piglit>
Status: VERIFIED FIXED QA Contact: Piglit Mailing List <piglit>
Severity: critical    
Priority: high CC: maraeo, mengmeng.meng, zhigang.gong
Version: unspecified   
Hardware: All   
OS: Linux (All)   
Whiteboard:
i915 platform: i915 features:
Attachments: the build error log

Description bingbingx.zhu 2015-05-13 05:30:25 UTC
Created attachment 115730 [details]
the build error log

System Environment:
--------------------------
Platform: all
Piglit: d4904692a62c73a0fbeb2aa509cb5b36a53df907

Bug detailed description:
---------------------------
piglit build fail with -DPIGLIT_BUILD_CL_TESTS=ON. 
It's a regression. By bisecting show the first bad commit 
commit edd5ee29fa775b2df76244aa32d4a7979a630e91
Author:     Marek Olšák <marek.olsak@amd.com>
AuthorDate: Mon Apr 27 01:21:25 2015 +0200
Commit:     Marek Olšák <marek.olsak@amd.com>
CommitDate: Wed May 6 14:45:50 2015 +0200

    EGL_KHR_cl_event2: new OpenCL+EGL interop test for the extension

Please see the attachment with the build log.
Comment 1 meng 2015-05-21 08:57:51 UTC
If I update mesa to mesa-10.2.7, there is another build issue :

[ 98%] Built target cl-program-tester
Linking C executable ../../../../../bin/cl-interop-egl_khr_cl_event2
/usr/bin/ld: cannot find -lpiglitutil_gles2
collect2: error: ld returned 1 exit status
make[2]: *** [bin/cl-interop-egl_khr_cl_event2] Error 1
make[1]: *** [target_api/cl/tests/cl/interop/CMakeFiles/cl-interop-egl_khr_cl_event2.dir/all] Error 2
make: *** [all] Error 2
Comment 2 Marek Olšák 2015-05-21 09:40:34 UTC
Please update your piglit. This issue should be fixed in git.
Comment 3 meng 2015-05-22 04:30:35 UTC
Verified it with piglit git-09a1ff00.

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.