Package Details: khronos-ocl-icd-git 2022.01.04.3.gc8490f9-1

Git Clone URL: https://aur.archlinux.org/khronos-ocl-icd-git.git (read-only, click to copy)
Package Base: khronos-ocl-icd-git
Description: Khronos Group OpenCL installable client driver (ICD) loader. (GIT Version)
Upstream URL: http://www.khronos.org/registry/cl
Licenses: Apache
Conflicts: khronos-ocl-icd, ocl-icd, opencl-icd-loader
Provides: khronos-ocl-icd, ocl-icd, opencl-icd-loader
Submitter: sl1pkn07
Maintainer: sl1pkn07
Last Packager: sl1pkn07
Votes: 1
Popularity: 0.094358
First Submitted: 2020-03-13 21:39 (UTC)
Last Updated: 2022-03-09 18:41 (UTC)

Required by (210)

Sources (1)

Latest Comments

sl1pkn07 commented on 2022-02-17 22:42 (UTC)

try now. greetings

iKevin commented on 2022-02-17 20:53 (UTC)

Hi

I have been receiving the error below for a few weeks now. I was simply waiting for it to resolve itself thru updates but that didn't happen. Any clues as to what is going on? Seems to be complaining about GCC.

[100%] Built target PrintLayer -- The C compiler identification is GNU 11.2.0 -- Detecting C compiler ABI info -- Detecting C compiler ABI info - failed -- Check for working C compiler: /usr/bin/gcc -- Check for working C compiler: /usr/bin/gcc - broken CMake Error at /usr/share/cmake/Modules/CMakeTestCCompiler.cmake:69 (message): The C compiler

"/usr/bin/gcc"

is not able to compile a simple test program.

It fails with the following output:

Change Dir: /home/kellwood/.cache/yay/khronos-ocl-icd-git/src/build32/CMakeFiles/CMakeTmp

Run Build Command(s):/usr/bin/make -f Makefile cmTC_6251d/fast && /usr/bin/make  -f CMakeFiles/cmTC_6251d.dir/build.make CMakeFiles/cmTC_6251d.dir/build
make[1]: Entering directory '/home/kellwood/.cache/yay/khronos-ocl-icd-git/src/build32/CMakeFiles/CMakeTmp'
Building C object CMakeFiles/cmTC_6251d.dir/testCCompiler.c.o
/usr/bin/gcc  -m32   -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions         -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security         -fstack-clash-protection -fcf-protection  -o CMakeFiles/cmTC_6251d.dir/testCCompiler.c.o -c /home/kellwood/.cache/yay/khronos-ocl-icd-git/src/build32/CMakeFiles/CMakeTmp/testCCompiler.c
Linking C executable cmTC_6251d
/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_6251d.dir/link.txt --verbose=1
/usr/bin/gcc  -m32 -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions         -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security         -fstack-clash-protection -fcf-protection  -Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now  -rdynamic CMakeFiles/cmTC_6251d.dir/testCCompiler.c.o -o cmTC_6251d 
/usr/bin/ld: skipping incompatible /usr/lib/gcc/x86_64-pc-linux-gnu/11.2.0/../../../libgcc_s.so.1 when searching for libgcc_s.so.1
/usr/bin/ld: skipping incompatible /usr/lib/gcc/x86_64-pc-linux-gnu/11.2.0/../../../libgcc_s.so.1 when searching for libgcc_s.so.1
/usr/bin/ld: skipping incompatible /usr/lib/libgcc_s.so.1 when searching for libgcc_s.so.1
/usr/bin/ld: cannot find libgcc_s.so.1: No such file or directory
/usr/bin/ld: skipping incompatible /usr/lib/gcc/x86_64-pc-linux-gnu/11.2.0/../../../libgcc_s.so.1 when searching for libgcc_s.so.1
/usr/bin/ld: skipping incompatible /usr/lib/libgcc_s.so.1 when searching for libgcc_s.so.1
collect2: error: ld returned 1 exit status
make[1]: *** [CMakeFiles/cmTC_6251d.dir/build.make:99: cmTC_6251d] Error 1
make[1]: Leaving directory '/home/kellwood/.cache/yay/khronos-ocl-icd-git/src/build32/CMakeFiles/CMakeTmp'
make: *** [Makefile:127: cmTC_6251d/fast] Error 2

CMake will not be able to correctly generate this project. Call Stack (most recent call first): CMakeLists.txt:8 (project)

-- Configuring incomplete, errors occurred!

andrfgs commented on 2021-04-15 16:26 (UTC)

Package is completely broken, as is the non git khrono-ocl-icd package.

Seems to be a link error:

/usr/bin/ld: CMakeFiles/icd_loader_test.dir/test_platforms.c.o:(.bss+0x110): multiple definition of `ret_val'; CMakeFiles/icd_loader_test.dir/test_kernel.c.o:(.bss+0x348): first defined here
/usr/bin/ld: CMakeFiles/icd_loader_test.dir/test_program_objects.c.o:(.bss+0x0): multiple definition of `ret_val'; CMakeFiles/icd_loader_test.dir/test_kernel.c.o:(.bss+0x348): first defined here
/usr/bin/ld: CMakeFiles/icd_loader_test.dir/test_sampler_objects.c.o:(.bss+0x0): multiple definition of `ret_val'; CMakeFiles/icd_loader_test.dir/test_kernel.c.o:(.bss+0x348): first defined here
/usr/bin/ld: CMakeFiles/icd_loader_test.dir/test_cl_runtime.c.o:(.bss+0x0): multiple definition of `ret_val'; CMakeFiles/icd_loader_test.dir/test_kernel.c.o:(.bss+0x348): first defined here
/usr/bin/ld: CMakeFiles/icd_loader_test.dir/test_clgl.c.o:(.bss+0x248): multiple definition of `ret_val'; CMakeFiles/icd_loader_test.dir/test_kernel.c.o:(.bss+0x348): first defined here
/usr/bin/ld: CMakeFiles/icd_loader_test.dir/test_image_objects.c.o:(.bss+0x0): multiple definition of `ret_val'; CMakeFiles/icd_loader_test.dir/test_kernel.c.o:(.bss+0x348): first defined here
collect2: error: ld returned 1 exit status
make[3]: *** [test/loader_test/CMakeFiles/icd_loader_test.dir/build.make:275: ../bin/icd_loader_test] Erro 1
make[3]: a sair da pasta "/home/user/.cache/yay/khronos-ocl-icd/src/icd/build"
make[2]: *** [CMakeFiles/Makefile2:230: test/loader_test/CMakeFiles/icd_loader_test.dir/all] Erro 2
make[2]: a sair da pasta "/home/user/.cache/yay/khronos-ocl-icd/src/icd/build"
make[1]: *** [Makefile:101: all] Erro 2
make[1]: a sair da pasta "/home/user/.cache/yay/khronos-ocl-icd/src/icd/build"
make: *** [Makefile:13: do_build] Erro 2

FabioLolix commented on 2020-12-09 17:07 (UTC)

Would be nice follow more packaging guidelines https://wiki.archlinux.org/index.php/VCS_package_guidelines#Git

sl1pkn07 commented on 2020-12-09 14:25 (UTC)

the problem is?

FabioLolix commented on 2020-12-09 08:08 (UTC)

Please remove the 'v' prefix from pkgver() in all of your pkgbuilds

FabioLolix commented on 2020-04-24 19:49 (UTC)

hello, the license is Apache (2.0)