Summary: |
Beignet build fails with llvm 3.9 |
Product: |
Beignet
|
Reporter: |
sami.khawaja |
Component: |
Beignet | Assignee: |
Zhigang Gong <zhigang.gong> |
Status: |
RESOLVED
MOVED
|
QA Contact: |
|
Severity: |
major
|
|
|
Priority: |
medium
|
|
|
Version: |
unspecified | |
|
Hardware: |
x86-64 (AMD64) | |
|
OS: |
Linux (All) | |
|
Whiteboard: |
|
i915 platform:
|
|
i915 features:
|
|
Attachments: |
Complete Build Log
|
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.
Created attachment 138255 [details] Complete Build Log I am trying to build Beignet 1.3 with LLVM 3.9 to enabled OPEN_CL 2.0 on my platform. But the build fails with following error, [ 55%] Linking CXX shared library libgbe.so /usr/bin/ld: /usr/lib/llvm-3.9/lib/libclangFrontend.a(CompilerInstance.cpp.o): unrecognised relocation (0x2a) in section `.text._ZNSt16_Sp_counted_baseILN9__gnu_cxx12_Lock_policyE2EED2Ev[_ZNSt16_Sp_counted_baseILN9__gnu_cxx12_Lock_policyE2EED5Ev]' /usr/bin/ld: final link failed: Bad value collect2: error: ld returned 1 exit status backend/src/CMakeFiles/gbe.dir/build.make:1756: recipe for target 'backend/src/libgbe.so' failed make[2]: *** [backend/src/libgbe.so] Error 1 CMakeFiles/Makefile2:238: recipe for target 'backend/src/CMakeFiles/gbe.dir/all' failed make[1]: *** [backend/src/CMakeFiles/gbe.dir/all] Error 2 Makefile:149: recipe for target 'all' failed make: *** [all] Error 2 The complete build log is attached with this bug.