Summary: | when compile beignet source code, many backend error appeared | ||
---|---|---|---|
Product: | Beignet | Reporter: | xiaoweiChen <loongchen25> |
Component: | Beignet | Assignee: | ruiling <ruiling.song> |
Status: | RESOLVED NOTABUG | QA Contact: | |
Severity: | blocker | ||
Priority: | medium | CC: | loongchen25 |
Version: | unspecified | ||
Hardware: | x86-64 (AMD64) | ||
OS: | Linux (All) | ||
Whiteboard: | |||
i915 platform: | i915 features: | ||
Attachments: | Build Log |
I could not reproduce the issue, seems like it is related with llvm package. could you try to remove the currently installed llvm. how many llvm versions do you install? I notice it is named as /usr/bin/llvm-config-3.5. if you install more than one llvm versions. you can try to remove them and install only one. or you can try another llvm version like 3.6 or 3.7 or 3.8. make sure you remove other llvm versions when you do some try. I change the ocl_as.sh and ocl_convert.sh, because of the windows end line character. This issue is not create the right ocl_convert.h and ocl_as.h, I found this two file is empty. When I store the shell script correctly, two header files is right, and this issue is fixed. So, this issue is not a bug. And Thanks your respond! :) |
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 125463 [details] Build Log test environment: git version number: b55060c02d945f3140f2291f70e5f9df019d34ac OS: Ubuntu 16.04 64bit LTS compiler: gcc/g++ (Ubuntu 5.3.1-14ubuntu2) 5.3.1 20160413 cmake:cmake version 3.5.1 cmake command: cmake -DCMAKE_BUILD_TYPE=Release cmake log: ========================================================================== xiaowei@ubuntu:~/beignet/build$ cmake .. -DCMAKE_BUILD_TYPE=Release -- Found PkgConfig: /usr/bin/pkg-config (found version "0.29.1") -- Building mode: Release -- LLVM llvm-config found at: /usr/bin/llvm-config-3.5 -- find unstable LLVM version 3.5.2 -- Looking for XOpenDisplay in /usr/lib/x86_64-linux-gnu/libX11.so;/usr/lib/x86_64-linux-gnu/libXext.so -- Looking for XOpenDisplay in /usr/lib/x86_64-linux-gnu/libX11.so;/usr/lib/x86_64-linux-gnu/libXext.so - found -- Looking for gethostbyname -- Looking for gethostbyname - found -- Looking for connect -- Looking for connect - found -- Looking for remove -- Looking for remove - found -- Looking for shmat -- Looking for shmat - found -- Found X11: /usr/lib/x86_64-linux-gnu/libX11.so -- Looking for XLib - found -- Checking for module 'libdrm' -- Found libdrm, version 2.4.67 -- Looking for DRM - found at /usr 2.4.67 -- Checking for module 'libdrm_intel>=2.4.52' -- Found libdrm_intel, version 2.4.67 -- Looking for DRM Intel - found at /usr 2.4.67 -- Looking for drm_intel_bo_alloc_userptr in drm_intel -- Looking for drm_intel_bo_alloc_userptr in drm_intel - found -- Enable userptr support -- Looking for drm_intel_get_eu_total in drm_intel -- Looking for drm_intel_get_eu_total in drm_intel - found -- Enable EU total query support -- Looking for drm_intel_get_subslice_total in drm_intel -- Looking for drm_intel_get_subslice_total in drm_intel - found -- Enable subslice total query support -- Looking for drm_intel_get_pooled_eu in drm_intel -- Looking for drm_intel_get_pooled_eu in drm_intel - not found -- Disable pooled eu query support -- Looking for drm_intel_get_min_eu_in_pool in drm_intel -- Looking for drm_intel_get_min_eu_in_pool in drm_intel - not found -- Disable min eu in pool query support -- Checking for module 'libcmrt' -- No package 'libcmrt' found -- Looking for pthread.h -- Looking for pthread.h - found -- Looking for pthread_create -- Looking for pthread_create - not found -- Looking for pthread_create in pthreads -- Looking for pthread_create in pthreads - not found -- Looking for pthread_create in pthread -- Looking for pthread_create in pthread - found -- Found Threads: TRUE -- Checking for module 'gl' -- Found gl, version 11.2.0 -- Looking for OpenGL - found at /usr -- Checking for module 'xext' -- Found xext, version 1.3.3 -- Looking for Xext - found at /usr -- Checking for module 'xfixes' -- Found xfixes, version 5.0.1 -- Looking for Xfixes - found at /usr -- Checking for module 'egl' -- Found egl, version 11.2.0 -- Looking for EGL - found at /usr -- Looking for OCL ICD header file - found -- Found PythonInterp: /usr/bin/python (found version "2.7.11") -- Building mode: Release -- Configuring done -- Generating done -- Build files have been written to: /home/xiaowei/beignet/build ========================================================================== After cmake, I do 'make' in build directory. Then, some error appear on my screen(attachment have more detail). Note: Please Help ASAP!! I want use your SDK on Apollo lake platform, to do some benchmark for our company algorithms.