Giter VIP home page Giter VIP logo

gentoo-gpu's People

Contributors

cnd avatar haasn avatar kristapsk avatar nick-wallingford avatar perfect7gentleman avatar sjnewbury avatar stefancristian avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

gentoo-gpu's Issues

dev-util/shaderc-9999: fails building (against upstream spirv-tools)

For the past few months, shaderc has failed to build for me via your ebuild. Checking out the google shaderc repository and building it in there works fine.

I'm using spirv-tools-9999, spirv-headers-9999 and glslang-9999 all built from the regular gentoo repository. That said, it's possible the issue is in one of those three places rather than your shaderc ebuild, since the upstream shaderc build guide involves checking out those three tools locally (into third_party), rather than using the system-wide versions.

Build log:

 * checking ebuild checksums ;-) ...                                     [ ok ]
>>> Unpacking source...
 * Fetching �[1mhttps://github.com/google/shaderc.git�[22m ...
git fetch https://github.com/google/shaderc.git +HEAD:refs/git-r3/HEAD
git symbolic-ref refs/git-r3/dev-util/shaderc/0/__main__ refs/git-r3/HEAD
 * Checking out �[1mhttps://github.com/google/shaderc.git�[22m to �[1m/var/tmp/portage/dev-util/shaderc-9999/work/shaderc-9999�[22m ...
git checkout --quiet refs/git-r3/HEAD
GIT update -->
   repository:               https://github.com/google/shaderc.git
   at the commit:            be8e0879750303a1de09385465d6b20ecb8b380d
>>> Source unpacked in /var/tmp/portage/dev-util/shaderc-9999/work
>>> Preparing source in /var/tmp/portage/dev-util/shaderc-9999/work/shaderc-9999 ...
grep: /usr/share/doc/SPIRV-Tools-*/CHANGES: No such file or directory
grep: /usr/include/spirv-tools/spirv_tools_commit_id.h: No such file or directory
>>> Source prepared.
>>> Configuring source in /var/tmp/portage/dev-util/shaderc-9999/work/shaderc-9999 ...
 * abi_x86_64.amd64: running multilib-minimal_abi_src_configure
>>> Working in BUILD_DIR: "/var/tmp/portage/dev-util/shaderc-9999/work/shaderc-9999-abi_x86_64.amd64"
cmake -C /var/tmp/portage/dev-util/shaderc-9999/work/shaderc-9999-abi_x86_64.amd64/gentoo_common_config.cmake -G Unix Makefiles -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_SKIP_RPATH=True -DSHADERC_SKIP_TESTS=True -DCMAKE_C_FLAGS=-march=native -O2 -g -DCMAKE_CXX_FLAGS=-march=native -O2 -g -DCMAKE_LD_FLAGS=-Wl,-O1 -Wl,--as-needed -DCMAKE_BUILD_TYPE=Gentoo -DCMAKE_USER_MAKE_RULES_OVERRIDE=/var/tmp/portage/dev-util/shaderc-9999/work/shaderc-9999-abi_x86_64.amd64/gentoo_rules.cmake -DCMAKE_TOOLCHAIN_FILE=/var/tmp/portage/dev-util/shaderc-9999/work/shaderc-9999-abi_x86_64.amd64/gentoo_toolchain.cmake  /var/tmp/portage/dev-util/shaderc-9999/work/shaderc-9999
loading initial cache file /var/tmp/portage/dev-util/shaderc-9999/work/shaderc-9999-abi_x86_64.amd64/gentoo_common_config.cmake
-- The C compiler identification is GNU 8.1.0
-- The CXX compiler identification is GNU 8.1.0
-- Check for working C compiler: /usr/bin/x86_64-pc-linux-gnu-gcc
-- Check for working C compiler: /usr/bin/x86_64-pc-linux-gnu-gcc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler: /usr/bin/x86_64-pc-linux-gnu-g++
-- Check for working CXX compiler: /usr/bin/x86_64-pc-linux-gnu-g++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Shaderc: build type is "Gentoo".
-- Configuring Shaderc to avoid building tests.
-- nosetests was not found - python code will not be tested
-- asciidoctor was not found - no documentation will be generated
-- 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  
-- <<< Gentoo configuration >>>
Build type      Gentoo
Install path    /usr
Compiler flags:
C               -march=native -O2 -g
C++             -march=native -O2 -g
Linker flags:
Executable      -Wl,-O1 -Wl,--as-needed
Module          -Wl,-O1 -Wl,--as-needed
Shared          -Wl,-O1 -Wl,--as-needed

-- Configuring done
CMake Warning (dev) at glslc/CMakeLists.txt:29 (add_dependencies):
  Policy CMP0046 is not set: Error on non-existent dependency in
  add_dependencies.  Run "cmake --help-policy CMP0046" for policy details.
  Use the cmake_policy command to set the policy and suppress this warning.

  The dependency target "build-version" of target "glslc_exe" does not exist.
This warning is for project developers.  Use -Wno-dev to suppress it.

-- Generating done
CMake Warning:
  Manually-specified variables were not used by the project:

    CMAKE_LD_FLAGS


-- Build files have been written to: /var/tmp/portage/dev-util/shaderc-9999/work/shaderc-9999-abi_x86_64.amd64
>>> Source configured.
>>> Compiling source in /var/tmp/portage/dev-util/shaderc-9999/work/shaderc-9999 ...
 * abi_x86_64.amd64: running multilib-minimal_abi_src_compile
>>> Working in BUILD_DIR: "/var/tmp/portage/dev-util/shaderc-9999/work/shaderc-9999-abi_x86_64.amd64"
make -j32 -l32 VERBOSE=1 
/usr/bin/cmake -H/var/tmp/portage/dev-util/shaderc-9999/work/shaderc-9999 -B/var/tmp/portage/dev-util/shaderc-9999/work/shaderc-9999-abi_x86_64.amd64 --check-build-system CMakeFiles/Makefile.cmake 0
/usr/bin/cmake -E cmake_progress_start /var/tmp/portage/dev-util/shaderc-9999/work/shaderc-9999-abi_x86_64.amd64/CMakeFiles /var/tmp/portage/dev-util/shaderc-9999/work/shaderc-9999-abi_x86_64.amd64/CMakeFiles/progress.marks
make -f CMakeFiles/Makefile2 all
make[1]: Entering directory '/var/tmp/portage/dev-util/shaderc-9999/work/shaderc-9999-abi_x86_64.amd64'
make -f CMakeFiles/check-copyright.dir/build.make CMakeFiles/check-copyright.dir/depend
make[2]: Entering directory '/var/tmp/portage/dev-util/shaderc-9999/work/shaderc-9999-abi_x86_64.amd64'
cd /var/tmp/portage/dev-util/shaderc-9999/work/shaderc-9999-abi_x86_64.amd64 && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /var/tmp/portage/dev-util/shaderc-9999/work/shaderc-9999 /var/tmp/portage/dev-util/shaderc-9999/work/shaderc-9999 /var/tmp/portage/dev-util/shaderc-9999/work/shaderc-9999-abi_x86_64.amd64 /var/tmp/portage/dev-util/shaderc-9999/work/shaderc-9999-abi_x86_64.amd64 /var/tmp/portage/dev-util/shaderc-9999/work/shaderc-9999-abi_x86_64.amd64/CMakeFiles/check-copyright.dir/DependInfo.cmake
Dependee "/var/tmp/portage/dev-util/shaderc-9999/work/shaderc-9999-abi_x86_64.amd64/CMakeFiles/check-copyright.dir/DependInfo.cmake" is newer than depender "/var/tmp/portage/dev-util/shaderc-9999/work/shaderc-9999-abi_x86_64.amd64/CMakeFiles/check-copyright.dir/depend.internal".
Dependee "/var/tmp/portage/dev-util/shaderc-9999/work/shaderc-9999-abi_x86_64.amd64/CMakeFiles/CMakeDirectoryInformation.cmake" is newer than depender "/var/tmp/portage/dev-util/shaderc-9999/work/shaderc-9999-abi_x86_64.amd64/CMakeFiles/check-copyright.dir/depend.internal".
Scanning dependencies of target check-copyright
make[2]: Leaving directory '/var/tmp/portage/dev-util/shaderc-9999/work/shaderc-9999-abi_x86_64.amd64'
make -f CMakeFiles/check-copyright.dir/build.make CMakeFiles/check-copyright.dir/build
make[2]: Entering directory '/var/tmp/portage/dev-util/shaderc-9999/work/shaderc-9999-abi_x86_64.amd64'
[  3%] Check copyright
cd /var/tmp/portage/dev-util/shaderc-9999/work/shaderc-9999 && /usr/bin/python /var/tmp/portage/dev-util/shaderc-9999/work/shaderc-9999/utils/add_copyright.py --check
make[2]: Leaving directory '/var/tmp/portage/dev-util/shaderc-9999/work/shaderc-9999-abi_x86_64.amd64'
[  3%] Built target check-copyright
make -f libshaderc_util/CMakeFiles/shaderc_util.dir/build.make libshaderc_util/CMakeFiles/shaderc_util.dir/depend
make[2]: Entering directory '/var/tmp/portage/dev-util/shaderc-9999/work/shaderc-9999-abi_x86_64.amd64'
cd /var/tmp/portage/dev-util/shaderc-9999/work/shaderc-9999-abi_x86_64.amd64 && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /var/tmp/portage/dev-util/shaderc-9999/work/shaderc-9999 /var/tmp/portage/dev-util/shaderc-9999/work/shaderc-9999/libshaderc_util /var/tmp/portage/dev-util/shaderc-9999/work/shaderc-9999-abi_x86_64.amd64 /var/tmp/portage/dev-util/shaderc-9999/work/shaderc-9999-abi_x86_64.amd64/libshaderc_util /var/tmp/portage/dev-util/shaderc-9999/work/shaderc-9999-abi_x86_64.amd64/libshaderc_util/CMakeFiles/shaderc_util.dir/DependInfo.cmake
Dependee "/var/tmp/portage/dev-util/shaderc-9999/work/shaderc-9999-abi_x86_64.amd64/libshaderc_util/CMakeFiles/shaderc_util.dir/DependInfo.cmake" is newer than depender "/var/tmp/portage/dev-util/shaderc-9999/work/shaderc-9999-abi_x86_64.amd64/libshaderc_util/CMakeFiles/shaderc_util.dir/depend.internal".
Dependee "/var/tmp/portage/dev-util/shaderc-9999/work/shaderc-9999-abi_x86_64.amd64/libshaderc_util/CMakeFiles/CMakeDirectoryInformation.cmake" is newer than depender "/var/tmp/portage/dev-util/shaderc-9999/work/shaderc-9999-abi_x86_64.amd64/libshaderc_util/CMakeFiles/shaderc_util.dir/depend.internal".
Scanning dependencies of target shaderc_util
make[2]: Leaving directory '/var/tmp/portage/dev-util/shaderc-9999/work/shaderc-9999-abi_x86_64.amd64'
make -f libshaderc_util/CMakeFiles/shaderc_util.dir/build.make libshaderc_util/CMakeFiles/shaderc_util.dir/build
make[2]: Entering directory '/var/tmp/portage/dev-util/shaderc-9999/work/shaderc-9999-abi_x86_64.amd64'
[  7%] Building CXX object libshaderc_util/CMakeFiles/shaderc_util.dir/src/compiler.cc.o
cd /var/tmp/portage/dev-util/shaderc-9999/work/shaderc-9999-abi_x86_64.amd64/libshaderc_util && /usr/bin/x86_64-pc-linux-gnu-g++  -I/var/tmp/portage/dev-util/shaderc-9999/work/shaderc-9999/libshaderc_util/include   -DNDEBUG -march=native -O2 -g   -Wall -Werror -fvisibility=hidden -fPIC -std=c++11 -o CMakeFiles/shaderc_util.dir/src/compiler.cc.o -c /var/tmp/portage/dev-util/shaderc-9999/work/shaderc-9999/libshaderc_util/src/compiler.cc
[ 11%] Building CXX object libshaderc_util/CMakeFiles/shaderc_util.dir/src/version_profile.cc.o
cd /var/tmp/portage/dev-util/shaderc-9999/work/shaderc-9999-abi_x86_64.amd64/libshaderc_util && /usr/bin/x86_64-pc-linux-gnu-g++  -I/var/tmp/portage/dev-util/shaderc-9999/work/shaderc-9999/libshaderc_util/include   -DNDEBUG -march=native -O2 -g   -Wall -Werror -fvisibility=hidden -fPIC -std=c++11 -o CMakeFiles/shaderc_util.dir/src/version_profile.cc.o -c /var/tmp/portage/dev-util/shaderc-9999/work/shaderc-9999/libshaderc_util/src/version_profile.cc
[ 15%] Building CXX object libshaderc_util/CMakeFiles/shaderc_util.dir/src/spirv_tools_wrapper.cc.o
cd /var/tmp/portage/dev-util/shaderc-9999/work/shaderc-9999-abi_x86_64.amd64/libshaderc_util && /usr/bin/x86_64-pc-linux-gnu-g++  -I/var/tmp/portage/dev-util/shaderc-9999/work/shaderc-9999/libshaderc_util/include   -DNDEBUG -march=native -O2 -g   -Wall -Werror -fvisibility=hidden -fPIC -std=c++11 -o CMakeFiles/shaderc_util.dir/src/spirv_tools_wrapper.cc.o -c /var/tmp/portage/dev-util/shaderc-9999/work/shaderc-9999/libshaderc_util/src/spirv_tools_wrapper.cc
[ 19%] Building CXX object libshaderc_util/CMakeFiles/shaderc_util.dir/src/shader_stage.cc.o
cd /var/tmp/portage/dev-util/shaderc-9999/work/shaderc-9999-abi_x86_64.amd64/libshaderc_util && /usr/bin/x86_64-pc-linux-gnu-g++  -I/var/tmp/portage/dev-util/shaderc-9999/work/shaderc-9999/libshaderc_util/include   -DNDEBUG -march=native -O2 -g   -Wall -Werror -fvisibility=hidden -fPIC -std=c++11 -o CMakeFiles/shaderc_util.dir/src/shader_stage.cc.o -c /var/tmp/portage/dev-util/shaderc-9999/work/shaderc-9999/libshaderc_util/src/shader_stage.cc
[ 23%] Building CXX object libshaderc_util/CMakeFiles/shaderc_util.dir/src/resources.cc.o
cd /var/tmp/portage/dev-util/shaderc-9999/work/shaderc-9999-abi_x86_64.amd64/libshaderc_util && /usr/bin/x86_64-pc-linux-gnu-g++  -I/var/tmp/portage/dev-util/shaderc-9999/work/shaderc-9999/libshaderc_util/include   -DNDEBUG -march=native -O2 -g   -Wall -Werror -fvisibility=hidden -fPIC -std=c++11 -o CMakeFiles/shaderc_util.dir/src/resources.cc.o -c /var/tmp/portage/dev-util/shaderc-9999/work/shaderc-9999/libshaderc_util/src/resources.cc
[ 26%] Building CXX object libshaderc_util/CMakeFiles/shaderc_util.dir/src/message.cc.o
cd /var/tmp/portage/dev-util/shaderc-9999/work/shaderc-9999-abi_x86_64.amd64/libshaderc_util && /usr/bin/x86_64-pc-linux-gnu-g++  -I/var/tmp/portage/dev-util/shaderc-9999/work/shaderc-9999/libshaderc_util/include   -DNDEBUG -march=native -O2 -g   -Wall -Werror -fvisibility=hidden -fPIC -std=c++11 -o CMakeFiles/shaderc_util.dir/src/message.cc.o -c /var/tmp/portage/dev-util/shaderc-9999/work/shaderc-9999/libshaderc_util/src/message.cc
[ 30%] Building CXX object libshaderc_util/CMakeFiles/shaderc_util.dir/src/io.cc.o
cd /var/tmp/portage/dev-util/shaderc-9999/work/shaderc-9999-abi_x86_64.amd64/libshaderc_util && /usr/bin/x86_64-pc-linux-gnu-g++  -I/var/tmp/portage/dev-util/shaderc-9999/work/shaderc-9999/libshaderc_util/include   -DNDEBUG -march=native -O2 -g   -Wall -Werror -fvisibility=hidden -fPIC -std=c++11 -o CMakeFiles/shaderc_util.dir/src/io.cc.o -c /var/tmp/portage/dev-util/shaderc-9999/work/shaderc-9999/libshaderc_util/src/io.cc
[ 34%] Building CXX object libshaderc_util/CMakeFiles/shaderc_util.dir/src/file_finder.cc.o
cd /var/tmp/portage/dev-util/shaderc-9999/work/shaderc-9999-abi_x86_64.amd64/libshaderc_util && /usr/bin/x86_64-pc-linux-gnu-g++  -I/var/tmp/portage/dev-util/shaderc-9999/work/shaderc-9999/libshaderc_util/include   -DNDEBUG -march=native -O2 -g   -Wall -Werror -fvisibility=hidden -fPIC -std=c++11 -o CMakeFiles/shaderc_util.dir/src/file_finder.cc.o -c /var/tmp/portage/dev-util/shaderc-9999/work/shaderc-9999/libshaderc_util/src/file_finder.cc
[ 38%] Linking CXX static library libshaderc_util.a
cd /var/tmp/portage/dev-util/shaderc-9999/work/shaderc-9999-abi_x86_64.amd64/libshaderc_util && /usr/bin/cmake -P CMakeFiles/shaderc_util.dir/cmake_clean_target.cmake
cd /var/tmp/portage/dev-util/shaderc-9999/work/shaderc-9999-abi_x86_64.amd64/libshaderc_util && /usr/bin/cmake -E cmake_link_script CMakeFiles/shaderc_util.dir/link.txt --verbose=1
/usr/bin/x86_64-pc-linux-gnu-ar qc libshaderc_util.a  CMakeFiles/shaderc_util.dir/src/compiler.cc.o CMakeFiles/shaderc_util.dir/src/file_finder.cc.o CMakeFiles/shaderc_util.dir/src/io.cc.o CMakeFiles/shaderc_util.dir/src/message.cc.o CMakeFiles/shaderc_util.dir/src/resources.cc.o CMakeFiles/shaderc_util.dir/src/shader_stage.cc.o CMakeFiles/shaderc_util.dir/src/spirv_tools_wrapper.cc.o CMakeFiles/shaderc_util.dir/src/version_profile.cc.o
/usr/bin/x86_64-pc-linux-gnu-ranlib libshaderc_util.a
make[2]: Leaving directory '/var/tmp/portage/dev-util/shaderc-9999/work/shaderc-9999-abi_x86_64.amd64'
[ 38%] Built target shaderc_util
make -f libshaderc/CMakeFiles/shaderc_shared.dir/build.make libshaderc/CMakeFiles/shaderc_shared.dir/depend
make[2]: Entering directory '/var/tmp/portage/dev-util/shaderc-9999/work/shaderc-9999-abi_x86_64.amd64'
cd /var/tmp/portage/dev-util/shaderc-9999/work/shaderc-9999-abi_x86_64.amd64 && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /var/tmp/portage/dev-util/shaderc-9999/work/shaderc-9999 /var/tmp/portage/dev-util/shaderc-9999/work/shaderc-9999/libshaderc /var/tmp/portage/dev-util/shaderc-9999/work/shaderc-9999-abi_x86_64.amd64 /var/tmp/portage/dev-util/shaderc-9999/work/shaderc-9999-abi_x86_64.amd64/libshaderc /var/tmp/portage/dev-util/shaderc-9999/work/shaderc-9999-abi_x86_64.amd64/libshaderc/CMakeFiles/shaderc_shared.dir/DependInfo.cmake
Dependee "/var/tmp/portage/dev-util/shaderc-9999/work/shaderc-9999-abi_x86_64.amd64/libshaderc/CMakeFiles/shaderc_shared.dir/DependInfo.cmake" is newer than depender "/var/tmp/portage/dev-util/shaderc-9999/work/shaderc-9999-abi_x86_64.amd64/libshaderc/CMakeFiles/shaderc_shared.dir/depend.internal".
Dependee "/var/tmp/portage/dev-util/shaderc-9999/work/shaderc-9999-abi_x86_64.amd64/libshaderc/CMakeFiles/CMakeDirectoryInformation.cmake" is newer than depender "/var/tmp/portage/dev-util/shaderc-9999/work/shaderc-9999-abi_x86_64.amd64/libshaderc/CMakeFiles/shaderc_shared.dir/depend.internal".
Scanning dependencies of target shaderc_shared
make[2]: Leaving directory '/var/tmp/portage/dev-util/shaderc-9999/work/shaderc-9999-abi_x86_64.amd64'
make -f libshaderc/CMakeFiles/shaderc_shared.dir/build.make libshaderc/CMakeFiles/shaderc_shared.dir/build
make[2]: Entering directory '/var/tmp/portage/dev-util/shaderc-9999/work/shaderc-9999-abi_x86_64.amd64'
[ 42%] Building CXX object libshaderc/CMakeFiles/shaderc_shared.dir/src/shaderc.cc.o
cd /var/tmp/portage/dev-util/shaderc-9999/work/shaderc-9999-abi_x86_64.amd64/libshaderc && /usr/bin/x86_64-pc-linux-gnu-g++ -DSHADERC_IMPLEMENTATION -DSHADERC_SHAREDLIB -Dshaderc_shared_EXPORTS -I/var/tmp/portage/dev-util/shaderc-9999/work/shaderc-9999/libshaderc/include -I/var/tmp/portage/dev-util/shaderc-9999/work/shaderc-9999/libshaderc_util/include   -DNDEBUG -march=native -O2 -g -fPIC   -Wall -Werror -fvisibility=hidden -fPIC -std=c++11 -o CMakeFiles/shaderc_shared.dir/src/shaderc.cc.o -c /var/tmp/portage/dev-util/shaderc-9999/work/shaderc-9999/libshaderc/src/shaderc.cc
[ 46%] Linking CXX shared library libshaderc_shared.so
cd /var/tmp/portage/dev-util/shaderc-9999/work/shaderc-9999-abi_x86_64.amd64/libshaderc && /usr/bin/cmake -E cmake_link_script CMakeFiles/shaderc_shared.dir/link.txt --verbose=1
/usr/bin/x86_64-pc-linux-gnu-g++ -fPIC -march=native -O2 -g -Wl,-O1 -Wl,--as-needed -shared -Wl,-soname,libshaderc_shared.so -o libshaderc_shared.so CMakeFiles/shaderc_shared.dir/src/shaderc.cc.o -lglslang -lOSDependent -lOGLCompiler -lglslang -lpthread ../libshaderc_util/libshaderc_util.a -lSPIRV -lSPIRV-Tools -lHLSL -lglslang -lOSDependent -lOGLCompiler -lglslang -lOSDependent -lOGLCompiler -lSPIRV -lSPIRV-Tools-opt -lpthread 
make[2]: Leaving directory '/var/tmp/portage/dev-util/shaderc-9999/work/shaderc-9999-abi_x86_64.amd64'
[ 46%] Built target shaderc_shared
make -f libshaderc/CMakeFiles/shaderc.dir/build.make libshaderc/CMakeFiles/shaderc.dir/depend
make[2]: Entering directory '/var/tmp/portage/dev-util/shaderc-9999/work/shaderc-9999-abi_x86_64.amd64'
cd /var/tmp/portage/dev-util/shaderc-9999/work/shaderc-9999-abi_x86_64.amd64 && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /var/tmp/portage/dev-util/shaderc-9999/work/shaderc-9999 /var/tmp/portage/dev-util/shaderc-9999/work/shaderc-9999/libshaderc /var/tmp/portage/dev-util/shaderc-9999/work/shaderc-9999-abi_x86_64.amd64 /var/tmp/portage/dev-util/shaderc-9999/work/shaderc-9999-abi_x86_64.amd64/libshaderc /var/tmp/portage/dev-util/shaderc-9999/work/shaderc-9999-abi_x86_64.amd64/libshaderc/CMakeFiles/shaderc.dir/DependInfo.cmake
Dependee "/var/tmp/portage/dev-util/shaderc-9999/work/shaderc-9999-abi_x86_64.amd64/libshaderc/CMakeFiles/shaderc.dir/DependInfo.cmake" is newer than depender "/var/tmp/portage/dev-util/shaderc-9999/work/shaderc-9999-abi_x86_64.amd64/libshaderc/CMakeFiles/shaderc.dir/depend.internal".
Dependee "/var/tmp/portage/dev-util/shaderc-9999/work/shaderc-9999-abi_x86_64.amd64/libshaderc/CMakeFiles/CMakeDirectoryInformation.cmake" is newer than depender "/var/tmp/portage/dev-util/shaderc-9999/work/shaderc-9999-abi_x86_64.amd64/libshaderc/CMakeFiles/shaderc.dir/depend.internal".
Scanning dependencies of target shaderc
make[2]: Leaving directory '/var/tmp/portage/dev-util/shaderc-9999/work/shaderc-9999-abi_x86_64.amd64'
make -f libshaderc/CMakeFiles/shaderc.dir/build.make libshaderc/CMakeFiles/shaderc.dir/build
make[2]: Entering directory '/var/tmp/portage/dev-util/shaderc-9999/work/shaderc-9999-abi_x86_64.amd64'
[ 50%] Building CXX object libshaderc/CMakeFiles/shaderc.dir/src/shaderc.cc.o
cd /var/tmp/portage/dev-util/shaderc-9999/work/shaderc-9999-abi_x86_64.amd64/libshaderc && /usr/bin/x86_64-pc-linux-gnu-g++  -I/var/tmp/portage/dev-util/shaderc-9999/work/shaderc-9999/libshaderc/include -I/var/tmp/portage/dev-util/shaderc-9999/work/shaderc-9999/libshaderc_util/include   -DNDEBUG -march=native -O2 -g   -Wall -Werror -fvisibility=hidden -fPIC -std=c++11 -o CMakeFiles/shaderc.dir/src/shaderc.cc.o -c /var/tmp/portage/dev-util/shaderc-9999/work/shaderc-9999/libshaderc/src/shaderc.cc
[ 53%] Linking CXX static library libshaderc.a
cd /var/tmp/portage/dev-util/shaderc-9999/work/shaderc-9999-abi_x86_64.amd64/libshaderc && /usr/bin/cmake -P CMakeFiles/shaderc.dir/cmake_clean_target.cmake
cd /var/tmp/portage/dev-util/shaderc-9999/work/shaderc-9999-abi_x86_64.amd64/libshaderc && /usr/bin/cmake -E cmake_link_script CMakeFiles/shaderc.dir/link.txt --verbose=1
/usr/bin/x86_64-pc-linux-gnu-ar qc libshaderc.a  CMakeFiles/shaderc.dir/src/shaderc.cc.o
/usr/bin/x86_64-pc-linux-gnu-ranlib libshaderc.a
make[2]: Leaving directory '/var/tmp/portage/dev-util/shaderc-9999/work/shaderc-9999-abi_x86_64.amd64'
[ 53%] Built target shaderc
make -f libshaderc/CMakeFiles/shaderc_combined_genfile.dir/build.make libshaderc/CMakeFiles/shaderc_combined_genfile.dir/depend
make[2]: Entering directory '/var/tmp/portage/dev-util/shaderc-9999/work/shaderc-9999-abi_x86_64.amd64'
cd /var/tmp/portage/dev-util/shaderc-9999/work/shaderc-9999-abi_x86_64.amd64 && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /var/tmp/portage/dev-util/shaderc-9999/work/shaderc-9999 /var/tmp/portage/dev-util/shaderc-9999/work/shaderc-9999/libshaderc /var/tmp/portage/dev-util/shaderc-9999/work/shaderc-9999-abi_x86_64.amd64 /var/tmp/portage/dev-util/shaderc-9999/work/shaderc-9999-abi_x86_64.amd64/libshaderc /var/tmp/portage/dev-util/shaderc-9999/work/shaderc-9999-abi_x86_64.amd64/libshaderc/CMakeFiles/shaderc_combined_genfile.dir/DependInfo.cmake
Dependee "/var/tmp/portage/dev-util/shaderc-9999/work/shaderc-9999-abi_x86_64.amd64/libshaderc/CMakeFiles/shaderc_combined_genfile.dir/DependInfo.cmake" is newer than depender "/var/tmp/portage/dev-util/shaderc-9999/work/shaderc-9999-abi_x86_64.amd64/libshaderc/CMakeFiles/shaderc_combined_genfile.dir/depend.internal".
Dependee "/var/tmp/portage/dev-util/shaderc-9999/work/shaderc-9999-abi_x86_64.amd64/libshaderc/CMakeFiles/CMakeDirectoryInformation.cmake" is newer than depender "/var/tmp/portage/dev-util/shaderc-9999/work/shaderc-9999-abi_x86_64.amd64/libshaderc/CMakeFiles/shaderc_combined_genfile.dir/depend.internal".
Scanning dependencies of target shaderc_combined_genfile
make[2]: Leaving directory '/var/tmp/portage/dev-util/shaderc-9999/work/shaderc-9999-abi_x86_64.amd64'
make -f libshaderc/CMakeFiles/shaderc_combined_genfile.dir/build.make libshaderc/CMakeFiles/shaderc_combined_genfile.dir/build
make[2]: Entering directory '/var/tmp/portage/dev-util/shaderc-9999/work/shaderc-9999-abi_x86_64.amd64'
[ 57%] Generating libshaderc_combined.a
cd /var/tmp/portage/dev-util/shaderc-9999/work/shaderc-9999-abi_x86_64.amd64/libshaderc && /usr/bin/x86_64-pc-linux-gnu-ar -M < shaderc_combined.ar
make[2]: Leaving directory '/var/tmp/portage/dev-util/shaderc-9999/work/shaderc-9999-abi_x86_64.amd64'
[ 57%] Built target shaderc_combined_genfile
make -f examples/online-compile/CMakeFiles/shaderc-online-compile.dir/build.make examples/online-compile/CMakeFiles/shaderc-online-compile.dir/depend
make[2]: Entering directory '/var/tmp/portage/dev-util/shaderc-9999/work/shaderc-9999-abi_x86_64.amd64'
cd /var/tmp/portage/dev-util/shaderc-9999/work/shaderc-9999-abi_x86_64.amd64 && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /var/tmp/portage/dev-util/shaderc-9999/work/shaderc-9999 /var/tmp/portage/dev-util/shaderc-9999/work/shaderc-9999/examples/online-compile /var/tmp/portage/dev-util/shaderc-9999/work/shaderc-9999-abi_x86_64.amd64 /var/tmp/portage/dev-util/shaderc-9999/work/shaderc-9999-abi_x86_64.amd64/examples/online-compile /var/tmp/portage/dev-util/shaderc-9999/work/shaderc-9999-abi_x86_64.amd64/examples/online-compile/CMakeFiles/shaderc-online-compile.dir/DependInfo.cmake
Dependee "/var/tmp/portage/dev-util/shaderc-9999/work/shaderc-9999-abi_x86_64.amd64/examples/online-compile/CMakeFiles/shaderc-online-compile.dir/DependInfo.cmake" is newer than depender "/var/tmp/portage/dev-util/shaderc-9999/work/shaderc-9999-abi_x86_64.amd64/examples/online-compile/CMakeFiles/shaderc-online-compile.dir/depend.internal".
Dependee "/var/tmp/portage/dev-util/shaderc-9999/work/shaderc-9999-abi_x86_64.amd64/examples/online-compile/CMakeFiles/CMakeDirectoryInformation.cmake" is newer than depender "/var/tmp/portage/dev-util/shaderc-9999/work/shaderc-9999-abi_x86_64.amd64/examples/online-compile/CMakeFiles/shaderc-online-compile.dir/depend.internal".
Scanning dependencies of target shaderc-online-compile
make[2]: Leaving directory '/var/tmp/portage/dev-util/shaderc-9999/work/shaderc-9999-abi_x86_64.amd64'
make -f examples/online-compile/CMakeFiles/shaderc-online-compile.dir/build.make examples/online-compile/CMakeFiles/shaderc-online-compile.dir/build
make[2]: Entering directory '/var/tmp/portage/dev-util/shaderc-9999/work/shaderc-9999-abi_x86_64.amd64'
[ 61%] Building CXX object examples/online-compile/CMakeFiles/shaderc-online-compile.dir/main.cc.o
cd /var/tmp/portage/dev-util/shaderc-9999/work/shaderc-9999-abi_x86_64.amd64/examples/online-compile && /usr/bin/x86_64-pc-linux-gnu-g++  -I/var/tmp/portage/dev-util/shaderc-9999/work/shaderc-9999/libshaderc/include   -DNDEBUG -march=native -O2 -g   -Wall -Werror -fvisibility=hidden -fPIC -std=c++11 -o CMakeFiles/shaderc-online-compile.dir/main.cc.o -c /var/tmp/portage/dev-util/shaderc-9999/work/shaderc-9999/examples/online-compile/main.cc
[ 65%] Linking CXX executable shaderc-online-compile
cd /var/tmp/portage/dev-util/shaderc-9999/work/shaderc-9999-abi_x86_64.amd64/examples/online-compile && /usr/bin/cmake -E cmake_link_script CMakeFiles/shaderc-online-compile.dir/link.txt --verbose=1
/usr/bin/x86_64-pc-linux-gnu-g++  -march=native -O2 -g  -Wl,-O1 -Wl,--as-needed -rdynamic CMakeFiles/shaderc-online-compile.dir/main.cc.o  -o shaderc-online-compile ../../libshaderc/libshaderc.a ../../libshaderc_util/libshaderc_util.a -lHLSL -lglslang -lOSDependent -lOGLCompiler -lglslang -lOSDependent -lOGLCompiler -lSPIRV-Tools-opt -lpthread -lSPIRV -lSPIRV-Tools 
/usr/lib/gcc/x86_64-pc-linux-gnu/8.1.0/../../../../lib64/libglslang.a(ShaderLang.cpp.o): In function `(anonymous namespace)::CreateBuiltInParseables(TInfoSink&, glslang::EShSource)':
/var/tmp/portage/dev-util/glslang-9999/work/glslang-9999/glslang/MachineIndependent/ShaderLang.cpp:84: undefined reference to `glslang::TBuiltInParseablesHlsl::TBuiltInParseablesHlsl()'
/usr/lib/gcc/x86_64-pc-linux-gnu/8.1.0/../../../../lib64/libglslang.a(ShaderLang.cpp.o): In function `ShInitialize':
/var/tmp/portage/dev-util/glslang-9999/work/glslang-9999/glslang/MachineIndependent/ShaderLang.cpp:1210: undefined reference to `glslang::HlslScanContext::fillInKeywordMap()'
/usr/lib/gcc/x86_64-pc-linux-gnu/8.1.0/../../../../lib64/libglslang.a(ShaderLang.cpp.o): In function `ShFinalize':
/var/tmp/portage/dev-util/glslang-9999/work/glslang-9999/glslang/MachineIndependent/ShaderLang.cpp:1312: undefined reference to `glslang::HlslScanContext::deleteKeywordMap()'
/usr/lib/gcc/x86_64-pc-linux-gnu/8.1.0/../../../../lib64/libglslang.a(ShaderLang.cpp.o): In function `(anonymous namespace)::CreateParseContext(glslang::TSymbolTable&, glslang::TIntermediate&, int, EProfile, glslang::EShSource, EShLanguage, TInfoSink&, glslang::SpvVersion, bool, EShMessages, bool, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >)':
/var/tmp/portage/dev-util/glslang-9999/work/glslang-9999/glslang/MachineIndependent/ShaderLang.cpp:111: undefined reference to `glslang::HlslParseContext::HlslParseContext(glslang::TSymbolTable&, glslang::TIntermediate&, bool, int, EProfile, glslang::SpvVersion const&, EShLanguage, TInfoSink&, std::__cxx11::basic_string<char, std::char_traits<char>, glslang::pool_allocator<char> >, bool, EShMessages)'
collect2: error: ld returned 1 exit status
make[2]: *** [examples/online-compile/CMakeFiles/shaderc-online-compile.dir/build.make:86: examples/online-compile/shaderc-online-compile] Error 1
make[2]: Leaving directory '/var/tmp/portage/dev-util/shaderc-9999/work/shaderc-9999-abi_x86_64.amd64'
make[1]: *** [CMakeFiles/Makefile2:513: examples/online-compile/CMakeFiles/shaderc-online-compile.dir/all] Error 2
make[1]: Leaving directory '/var/tmp/portage/dev-util/shaderc-9999/work/shaderc-9999-abi_x86_64.amd64'
make: *** [Makefile:141: all] Error 2
 * ERROR: dev-util/shaderc-9999::gentoo-gpu failed (compile phase):
 *   emake failed
 * 
 * If you need support, post the output of `emerge --info '=dev-util/shaderc-9999::gentoo-gpu'`,
 * the complete build log and the output of `emerge -pqv '=dev-util/shaderc-9999::gentoo-gpu'`.
 * The complete build log is located at '/var/tmp/portage/dev-util/shaderc-9999/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/dev-util/shaderc-9999/temp/environment'.
 * Working directory: '/var/tmp/portage/dev-util/shaderc-9999/work/shaderc-9999-abi_x86_64.amd64'
 * S: '/var/tmp/portage/dev-util/shaderc-9999/work/shaderc-9999'

nvptx-gcc not build

cp doc/gcc.1 doc/g++.1
build/genmodes -h > tmp-modes.h
/bin/bash /var/calculate/tmp/portage/sys-devel/offload-gcc-nvptx-8.0.0_pre9999/work/gcc-8.0.0-9999/gcc/../move-if-change tmp-modes.h insn-modes.h
echo timestamp > s-modes-h
build/genmodes -i > tmp-modes-inline.h
/bin/bash /var/calculate/tmp/portage/sys-devel/offload-gcc-nvptx-8.0.0_pre9999/work/gcc-8.0.0-9999/gcc/../move-if-change tmp-modes-inline.h
insn-modes-inline.h
echo timestamp > s-modes-inline-h
build/gengtype
-S /var/calculate/tmp/portage/sys-devel/offload-gcc-nvptx-8.0.0_pre9999/work/gcc-8.0.0-9999/gcc -I gtyp-input.list -w tmp-gtype.state
make[2]: *** [Makefile:2651: s-gtype] Illegal instruction
rm fsf-funding.pod gcov.pod gpl.pod cpp.pod gfdl.pod gcc.pod gcov-dump.pod gcov-tool.pod
make[2]: Leaving directory '/var/calculate/tmp/portage/sys-devel/offload-gcc-nvptx-8.0.0_pre9999/work/build/gcc'
make[1]: *** [Makefile:4237: all-gcc] Error 2
make[1]: Leaving directory '/var/calculate/tmp/portage/sys-devel/offload-gcc-nvptx-8.0.0_pre9999/work/build'
make: *** [Makefile:892: all] Error 2

  • ERROR: sys-devel/offload-gcc-nvptx-8.0.0_pre9999::gentoo-gpu failed (compile phase):
  • emake failed
  • If you need support, post the output of emerge --info '=sys-devel/offload-gcc-nvptx-8.0.0_pre9999::gentoo-gpu',
  • the complete build log and the output of emerge -pqv '=sys-devel/offload-gcc-nvptx-8.0.0_pre9999::gentoo-gpu'.
  • The complete build log is located at '/var/calculate/tmp/portage/sys-devel/offload-gcc-nvptx-8.0.0_pre9999/temp/build.log'.
  • The ebuild environment file is located at '/var/calculate/tmp/portage/sys-devel/offload-gcc-nvptx-8.0.0_pre9999/temp/environment'.
  • Working directory: '/var/calculate/tmp/portage/sys-devel/offload-gcc-nvptx-8.0.0_pre9999/work/build'
  • S: '/var/calculate/tmp/portage/sys-devel/offload-gcc-nvptx-8.0.0_pre9999/work/gcc-8.0.0-9999'
  • Please include /var/calculate/tmp/portage/sys-devel/offload-gcc-nvptx-8.0.0_pre9999/work/gcc-build-logs.tar.bz2 in your bug report.

Failed to emerge sys-devel/offload-gcc-nvptx-8.0.0_pre9999, Log file:

'/var/calculate/tmp/portage/sys-devel/offload-gcc-nvptx-8.0.0_pre9999/temp/build.log'

egencache issue with dev-util/SPIRV-Tools-1.1_p1

egencache doesn't like the get_version_component_range command:

# egencache --repo=gentoo-gpu --update
 * ERROR: dev-util/SPIRV-Tools-1.1_p1::gentoo-gpu failed (depend phase):
 *   External commands disallowed while sourcing ebuild: get_version_component_range 1-2
 * 
 * Call stack:
 *                   ebuild.sh, line 635:  Called source '/var/lib/layman/gentoo-gpu/dev-util/SPIRV-Tools/SPIRV-Tools-1.1_p1.ebuild'
 *   SPIRV-Tools-1.1_p1.ebuild, line  18:  Called command_not_found_handle 'get_version_component_range' '1-2'
 *                   ebuild.sh, line  88:  Called die
 * The specific snippet of code:
 *   		die "External commands disallowed while sourcing ebuild: ${*}"
 * 
 * If you need support, post the output of `emerge --info '=dev-util/SPIRV-Tools-1.1_p1::gentoo-gpu'`,
 * the complete build log and the output of `emerge -pqv '=dev-util/SPIRV-Tools-1.1_p1::gentoo-gpu'`.
 * Working directory: '/usr/lib64/python2.7/site-packages'
 * S: '/var/tmp/portage/dev-util/SPIRV-Tools-1.1_p1/work/SPIRV-Tools-1.1_p1'

CUDA for older GPUs

Since portage has now masked <gcc-5 old CUDA versions will need special attention.

I'm proposing (in this overlay) to create a gcc-cuda at the most recent versions needed to successfully emerge cuda and hard-wire the cuda-sdk/toolkit to that version. Further it will be necessary to also build the library dependencies with that compiler, so instead of using the portage versions to meet them, build them from the sdk ebuild and package them alongside CUDA in /opt.

That way all the suspect binaries are kept in one place and can be restricted access as needed without compromising the main system.

`prelink` missing as a dependency for x11-drivers/nvidia-drivers-384.69 (and others)

When compiling x11-drivers/nvidia-drivers-384.69 I get a build failure saying:

`/tmp/portage/x11-drivers/nvidia-drivers-384.69/temp/environment: line 5092: prelink: command not found`

Quick grep through the ebuilds shows that the prelink command is used in all of them, but only 304.135-r1 and 340.102-r1 specify it as a dependency.

Emerging prelink manually in advance fixes this.

Relevant bit from the build log:

>>> Install nvidia-drivers-384.69 into /tmp/portage/x11-drivers/nvidia-drivers-384.69/image/ category x11-drivers
 * Installing nvidia module
 * Installing nvidia-uvm module
 * Installing nvidia-modeset module
 * Installing nvidia-drm module
make -j8 -C /tmp/portage/x11-drivers/nvidia-drivers-384.69/work//nvidia-settings-384.69/src/ DESTDIR=/tmp/portage/x11-drivers/nvidia-drivers-384.69/image/ GTK3_AVAILABLE=1 LIBDIR=/tmp/portage/x11-drivers/nvidia-drivers-384.69/image//usr/lib64 NV_USE_BUNDLED_LIBJANSSON=0 NV_VERBOSE=1 PREFIX=/usr DO_STRIP= install 
make: Entering directory '/tmp/portage/x11-drivers/nvidia-drivers-384.69/work/nvidia-settings-384.69/src'
make[1]: Entering directory '/tmp/portage/x11-drivers/nvidia-drivers-384.69/work/nvidia-settings-384.69/src/libXNVCtrl'
make[1]: Nothing to be done for 'default'.
make[1]: Leaving directory '/tmp/portage/x11-drivers/nvidia-drivers-384.69/work/nvidia-settings-384.69/src/libXNVCtrl'
mkdir -p /tmp/portage/x11-drivers/nvidia-drivers-384.69/image//usr/lib64
install -m 644 _out/Linux_x86_64/libnvidia-gtk2.so \
    /tmp/portage/x11-drivers/nvidia-drivers-384.69/image//usr/lib64/libnvidia-gtk2.so.384.69
install -m 644 _out/Linux_x86_64/libnvidia-gtk3.so \
    /tmp/portage/x11-drivers/nvidia-drivers-384.69/image//usr/lib64/libnvidia-gtk3.so.384.69
mkdir -p /tmp/portage/x11-drivers/nvidia-drivers-384.69/image//usr/bin
install -m 755 _out/Linux_x86_64/nvidia-settings /tmp/portage/x11-drivers/nvidia-drivers-384.69/image//usr/bin/nvidia-settings
make: Leaving directory '/tmp/portage/x11-drivers/nvidia-drivers-384.69/work/nvidia-settings-384.69/src'
/tmp/portage/x11-drivers/nvidia-drivers-384.69/temp/environment: line 5092: prelink: command not found
 * ERROR: x11-drivers/nvidia-drivers-384.69::gentoo-gpu failed (install phase):
 *   /tmp/portage/x11-drivers/nvidia-drivers-384.69/image/usr/lib64/libnvidia-gtk3.so.384.69: relocation failed!
 * 
 * Call stack:
 *     ebuild.sh, line  115:  Called src_install
 *   environment, line 5044:  Called src_install-libs
 *   environment, line 5092:  Called die
 * The specific snippet of code:
 *           prelink --reloc-only=$(printf "%05d" ${addr}) ${shared_lib} || die "${shared_lib}: relocation failed!";
 * 
 * If you need support, post the output of `emerge --info '=x11-drivers/nvidia-drivers-384.69::gentoo-gpu'`,
 * the complete build log and the output of `emerge -pqv '=x11-drivers/nvidia-drivers-384.69::gentoo-gpu'`.
 * The complete build log is located at '/tmp/portage/x11-drivers/nvidia-drivers-384.69/temp/build.log'.
 * The ebuild environment file is located at '/tmp/portage/x11-drivers/nvidia-drivers-384.69/temp/environment'.
 * Working directory: '/tmp/portage/x11-drivers/nvidia-drivers-384.69/work'
 * S: '/tmp/portage/x11-drivers/nvidia-drivers-384.69/work/'
 * QA Notice: command not found:
 * 
 * 	/tmp/portage/x11-drivers/nvidia-drivers-384.69/temp/environment: line 5092: prelink: command not found

eselect-opengl-1.3.3_p1 "Invalid symbolic links"

$ eselect opengl list
!!! Error: Invalid symbolic links: OpenGL implementation "" symbolic links are missing.
Available OpenGL implementations:
 (none found)
exiting

Any more information I can provide?

media-libs/mesa-9999-r1 has major issues with OpenCL

Your mesa ebuild has broken OpenCL support. Whenever I try to launch clinfo it segfaults and there are several issues with eselect-opencl::gentoo:

The package app-eselect/eselect-opencl::gentoo expects several files to be in /usr/lib64/OpenCL/vendors/mesa/ for example /usr/lib64/OpenCL/vendors/mesa/include/CL/cl_gl_ext.h

Also trying to set anything with eselect fails:

 # eselect opencl set mesa
!!! Error: The mesa OpenCL implementation doesn't seem to provide
!!! Error: libOpenCL.so file. This might be an effect of breakage introduced
!!! Error: by a prioprietary driver installer. Please re-merge the package
!!! Error: providing your OpenCL implementation.
!!! Error: Selected OpenCL implementation incomplete.
exiting

My installation:

$ /usr/bin/emerge --info mesa
media-libs/mesa-9999-r1::gentoo-gpu was built with the following:
USE="classic d3d9 debug dri3 egl gallium gbm gles2 llvm nptl opencl openmax vaapi vdpau vulkan xvmc -bindist -eselect-gl-bobwya -gcrypt -gles1 -glvnd -osmesa -pax_kernel -pic (-selinux) -valgrind -wayland -xa" ABI_X86="32 (64) x32" VIDEO_CARDS="i965 intel radeon radeonsi (-freedreno) -i915 -nouveau -r100 -r200 -r300 -r600 (-vc4) -virgl -vmware"

Plenty of missing files:

$ equery f mesa | grep OpenCL
/etc/OpenCL
/etc/OpenCL/vendors
/etc/OpenCL/vendors/mesa.icd
/usr/lib/debug/usr/lib32/libMesaOpenCL.so.1.0.0.debug
/usr/lib/debug/usr/lib64/libMesaOpenCL.so.1.0.0.debug
/usr/lib/debug/usr/libx32/libMesaOpenCL.so.1.0.0.debug
/usr/lib32/OpenCL
/usr/lib32/OpenCL/vendors
/usr/lib32/OpenCL/vendors/mesa
/usr/lib32/OpenCL/vendors/mesa/include
/usr/lib32/OpenCL/vendors/mesa/lib
/usr/lib32/libMesaOpenCL.so
/usr/lib32/libMesaOpenCL.so.1
/usr/lib32/libMesaOpenCL.so.1.0.0
/usr/lib64/OpenCL
/usr/lib64/OpenCL/vendors
/usr/lib64/OpenCL/vendors/mesa
/usr/lib64/OpenCL/vendors/mesa/include
/usr/lib64/OpenCL/vendors/mesa/lib
/usr/lib64/libMesaOpenCL.so
/usr/lib64/libMesaOpenCL.so.1
/usr/lib64/libMesaOpenCL.so.1.0.0
/usr/libx32/OpenCL
/usr/libx32/OpenCL/vendors
/usr/libx32/OpenCL/vendors/mesa
/usr/libx32/OpenCL/vendors/mesa/include
/usr/libx32/OpenCL/vendors/mesa/lib
/usr/libx32/libMesaOpenCL.so
/usr/libx32/libMesaOpenCL.so.1
/usr/libx32/libMesaOpenCL.so.1.0.0

The same on a vanilla system with media-libs/mesa-9999::gentoo:

 # equery f mesa | grep OpenCL
/usr/lib/debug/usr/lib32/OpenCL
/usr/lib/debug/usr/lib32/OpenCL/vendors
/usr/lib/debug/usr/lib32/OpenCL/vendors/mesa
/usr/lib/debug/usr/lib32/OpenCL/vendors/mesa/libOpenCL.so.1.0.0.debug
/usr/lib/debug/usr/lib64/OpenCL
/usr/lib/debug/usr/lib64/OpenCL/vendors
/usr/lib/debug/usr/lib64/OpenCL/vendors/mesa
/usr/lib/debug/usr/lib64/OpenCL/vendors/mesa/libOpenCL.so.1.0.0.debug
/usr/lib/debug/usr/libx32/OpenCL
/usr/lib/debug/usr/libx32/OpenCL/vendors
/usr/lib/debug/usr/libx32/OpenCL/vendors/mesa
/usr/lib/debug/usr/libx32/OpenCL/vendors/mesa/libOpenCL.so.1.0.0.debug
/usr/lib32/OpenCL
/usr/lib32/OpenCL/vendors
/usr/lib32/OpenCL/vendors/mesa
/usr/lib32/OpenCL/vendors/mesa/include
/usr/lib32/OpenCL/vendors/mesa/include/CL
/usr/lib32/OpenCL/vendors/mesa/include/CL/cl.h
/usr/lib32/OpenCL/vendors/mesa/include/CL/cl.hpp
/usr/lib32/OpenCL/vendors/mesa/include/CL/cl_d3d10.h
/usr/lib32/OpenCL/vendors/mesa/include/CL/cl_d3d11.h
/usr/lib32/OpenCL/vendors/mesa/include/CL/cl_dx9_media_sharing.h
/usr/lib32/OpenCL/vendors/mesa/include/CL/cl_egl.h
/usr/lib32/OpenCL/vendors/mesa/include/CL/cl_ext.h
/usr/lib32/OpenCL/vendors/mesa/include/CL/cl_gl.h
/usr/lib32/OpenCL/vendors/mesa/include/CL/cl_gl_ext.h
/usr/lib32/OpenCL/vendors/mesa/include/CL/cl_platform.h
/usr/lib32/OpenCL/vendors/mesa/include/CL/opencl.h
/usr/lib32/OpenCL/vendors/mesa/lib
/usr/lib32/OpenCL/vendors/mesa/libOpenCL.so
/usr/lib32/OpenCL/vendors/mesa/libOpenCL.so.1
/usr/lib32/OpenCL/vendors/mesa/libOpenCL.so.1.0.0
/usr/lib64/OpenCL
/usr/lib64/OpenCL/vendors
/usr/lib64/OpenCL/vendors/mesa
/usr/lib64/OpenCL/vendors/mesa/include
/usr/lib64/OpenCL/vendors/mesa/include/CL
/usr/lib64/OpenCL/vendors/mesa/include/CL/cl.h
/usr/lib64/OpenCL/vendors/mesa/include/CL/cl.hpp
/usr/lib64/OpenCL/vendors/mesa/include/CL/cl_d3d10.h
/usr/lib64/OpenCL/vendors/mesa/include/CL/cl_d3d11.h
/usr/lib64/OpenCL/vendors/mesa/include/CL/cl_dx9_media_sharing.h
/usr/lib64/OpenCL/vendors/mesa/include/CL/cl_egl.h
/usr/lib64/OpenCL/vendors/mesa/include/CL/cl_ext.h
/usr/lib64/OpenCL/vendors/mesa/include/CL/cl_gl.h
/usr/lib64/OpenCL/vendors/mesa/include/CL/cl_gl_ext.h
/usr/lib64/OpenCL/vendors/mesa/include/CL/cl_platform.h
/usr/lib64/OpenCL/vendors/mesa/include/CL/opencl.h
/usr/lib64/OpenCL/vendors/mesa/lib
/usr/lib64/OpenCL/vendors/mesa/libOpenCL.so
/usr/lib64/OpenCL/vendors/mesa/libOpenCL.so.1
/usr/lib64/OpenCL/vendors/mesa/libOpenCL.so.1.0.0
/usr/libx32/OpenCL
/usr/libx32/OpenCL/vendors
/usr/libx32/OpenCL/vendors/mesa
/usr/libx32/OpenCL/vendors/mesa/include
/usr/libx32/OpenCL/vendors/mesa/include/CL
/usr/libx32/OpenCL/vendors/mesa/include/CL/cl.h
/usr/libx32/OpenCL/vendors/mesa/include/CL/cl.hpp
/usr/libx32/OpenCL/vendors/mesa/include/CL/cl_d3d10.h
/usr/libx32/OpenCL/vendors/mesa/include/CL/cl_d3d11.h
/usr/libx32/OpenCL/vendors/mesa/include/CL/cl_dx9_media_sharing.h
/usr/libx32/OpenCL/vendors/mesa/include/CL/cl_egl.h
/usr/libx32/OpenCL/vendors/mesa/include/CL/cl_ext.h
/usr/libx32/OpenCL/vendors/mesa/include/CL/cl_gl.h
/usr/libx32/OpenCL/vendors/mesa/include/CL/cl_gl_ext.h
/usr/libx32/OpenCL/vendors/mesa/include/CL/cl_platform.h
/usr/libx32/OpenCL/vendors/mesa/include/CL/opencl.h
/usr/libx32/OpenCL/vendors/mesa/lib
/usr/libx32/OpenCL/vendors/mesa/libOpenCL.so
/usr/libx32/OpenCL/vendors/mesa/libOpenCL.so.1
/usr/libx32/OpenCL/vendors/mesa/libOpenCL.so.1.0.0

GLVND EGL support for Mesa

Currently GLVND is working for Mesa with GLX only. Any software which is built with EGL either OpenGL or GLES will fail when "eselect opengl glvnd" is used.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.