Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
dev-libs/ocl-icd::Miezhiko fails
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Unsupported Software
View previous topic :: View next topic  
Author Message
rsnfunky
Tux's lil' helper
Tux's lil' helper


Joined: 30 Dec 2007
Posts: 77

PostPosted: Sun Oct 06, 2024 3:39 pm    Post subject: dev-libs/ocl-icd::Miezhiko fails Reply with quote

[Administrator note: this post, and only this post was originally attached to the solved topic dev-libs/ocl-icd fails to compile [SOLVED], which came from a different repository, applied to a different version of the package, and was apparently solved by setting -O2 for CFLAGS. -Hu]

When trying to install: AMD XDNA drivers (https://github.com/amd/xdna-driver) I get the following errors during XRT installation:

Code:
In file included from /root/xdna-driver/xrt/src/runtime_src/xocl/config.h:41,
                 from /root/xdna-driver/xrt/src/runtime_src/xocl/api/clBuildProgram.cpp:19:
/root/xdna-driver/xrt/src/runtime_src/xocl/api/icd/ocl_icd_bindings.h:28:11: fatal error: ocl_icd.h: No such file or directory
   28 | # include <ocl_icd.h>


Google search suggested that we need ocl-icd package, hence installing the same.


During install the issue is:
Code:
>>> Emerging (1 of 1) dev-libs/ocl-icd-2.3.1-r1::Miezhiko
 * ocl-icd-2.3.1.tar.gz BLAKE2B size ;-) ...                                                                           [ ok ]
>>> Unpacking source...
>>> Unpacking ocl-icd-2.3.1.tar.gz to /var/tmp/portage/dev-libs/ocl-icd-2.3.1-r1/work
>>> Source unpacked in /var/tmp/portage/dev-libs/ocl-icd-2.3.1-r1/work
>>> Preparing source in /var/tmp/portage/dev-libs/ocl-icd-2.3.1-r1/work/ocl-icd-2.3.1 ...
 * Running eautoreconf in '/var/tmp/portage/dev-libs/ocl-icd-2.3.1-r1/work/ocl-icd-2.3.1' ...
 * Running 'libtoolize --install --copy --force --automake' ...                                                        [ ok ]
 * Running 'aclocal -I m4 --system-acdir=/var/tmp/portage/dev-libs/ocl-icd-2.3.1-r1/temp/aclocal' ...                  [ ok ]
 * Running 'autoconf --force' ...                                                                                      [ ok ]
 * Running 'autoheader --force' ...                                                                                    [ ok ]
 * Running 'automake --add-missing --copy --foreign --force-missing' ...                                               [ ok ]
 * Running elibtoolize in: ocl-icd-2.3.1/
 *   Applying fix-file-check/2.5.0 patch ...
 * Running elibtoolize in: ocl-icd-2.3.1/build-aux/
 *   Applying portage/1.2.0 patch ...
 *   Applying sed/1.5.6 patch ...
 *   Applying as-needed/2.4.3 patch ...
 *   Applying color-record/2.4.7 patch ...
 *   Applying openmp/2.4.7 patch ...
 *   Applying verbose-pic/2.4.7 patch ...
 *   Applying clang-runtime-ltmain/2.4.7 patch ...
>>> Source prepared.
>>> Configuring source in /var/tmp/portage/dev-libs/ocl-icd-2.3.1-r1/work/ocl-icd-2.3.1 ...
 * abi_x86_64.amd64: running multilib-minimal_abi_src_configure
 * econf: updating ocl-icd-2.3.1/build-aux/config.guess with /usr/share/gnuconfig/config.guess
 * econf: updating ocl-icd-2.3.1/build-aux/config.sub with /usr/share/gnuconfig/config.sub
 * econf: updating ocl-icd-2.3.1/config.guess with /usr/share/gnuconfig/config.guess
 * econf: updating ocl-icd-2.3.1/config.sub with /usr/share/gnuconfig/config.sub
/var/tmp/portage/dev-libs/ocl-icd-2.3.1-r1/work/ocl-icd-2.3.1/configure --prefix=/usr --build=x86_64-pc-linux-gnu --host=x86_64-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --disable-dependency-tracking --disable-silent-rules --docdir=/usr/share/doc/ocl-icd-2.3.1-r1 --htmldir=/usr/share/doc/ocl-icd-2.3.1-r1/html --with-sysroot=/ --libdir=/usr/lib64 --enable-pthread-once --disable-official-khronos-headers
checking build system type... x86_64-pc-linux-gnu
checking host system type... x86_64-pc-linux-gnu
checking for a BSD-compatible install... /usr/lib/portage/python3.12/ebuild-helpers/xattr/install -c
checking whether build environment is sane... yes
checking for a race-free mkdir -p... /usr/bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking how to create a pax tar archive... gnutar
checking whether make supports nested variables... (cached) yes
checking whether make supports the include directive... yes (GNU style)
checking for x86_64-pc-linux-gnu-gcc... x86_64-pc-linux-gnu-gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether the compiler supports GNU C... yes
checking whether x86_64-pc-linux-gnu-gcc accepts -g... yes
checking for x86_64-pc-linux-gnu-gcc option to enable C11 features... none needed
checking whether x86_64-pc-linux-gnu-gcc understands -c and -o together... yes
checking dependency style of x86_64-pc-linux-gnu-gcc... none
checking for x86_64-pc-linux-gnu-ar... x86_64-pc-linux-gnu-ar
checking the archiver (x86_64-pc-linux-gnu-ar) interface... ar
checking how to print strings... printf
checking for a sed that does not truncate output... /usr/bin/sed
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for fgrep... /usr/bin/grep -F
checking for ld used by x86_64-pc-linux-gnu-gcc... /usr/x86_64-pc-linux-gnu/bin/ld
checking if the linker (/usr/x86_64-pc-linux-gnu/bin/ld) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... /usr/bin/x86_64-pc-linux-gnu-nm -B
checking the name lister (/usr/bin/x86_64-pc-linux-gnu-nm -B) interface... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... 1572864
checking how to convert x86_64-pc-linux-gnu file names to x86_64-pc-linux-gnu format... func_convert_file_noop
checking how to convert x86_64-pc-linux-gnu file names to toolchain format... func_convert_file_noop
checking for /usr/x86_64-pc-linux-gnu/bin/ld option to reload object files... -r
checking for x86_64-pc-linux-gnu-file... no
checking for file... no
checking for x86_64-pc-linux-gnu-objdump... x86_64-pc-linux-gnu-objdump
checking how to recognize dependent libraries... pass_all
checking for x86_64-pc-linux-gnu-dlltool... x86_64-pc-linux-gnu-dlltool
checking how to associate runtime and link libraries... printf %s\n
checking for x86_64-pc-linux-gnu-ar... (cached) x86_64-pc-linux-gnu-ar
checking for archiver @FILE support... @
checking for x86_64-pc-linux-gnu-strip... x86_64-pc-linux-gnu-strip
checking for x86_64-pc-linux-gnu-ranlib... x86_64-pc-linux-gnu-ranlib
checking command to parse /usr/bin/x86_64-pc-linux-gnu-nm -B output from x86_64-pc-linux-gnu-gcc object... ok
checking for sysroot... /
checking for a working dd... /usr/bin/dd
checking how to truncate binary pipes... /usr/bin/dd bs=4096 count=1
checking for x86_64-pc-linux-gnu-mt... no
checking for mt... no
checking if : is a manifest tool... no
checking for stdio.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for strings.h... yes
checking for sys/stat.h... yes
checking for sys/types.h... yes
checking for unistd.h... yes
checking for dlfcn.h... yes
checking for objdir... .libs
checking if x86_64-pc-linux-gnu-gcc supports -fno-rtti -fno-exceptions... no
checking for x86_64-pc-linux-gnu-gcc option to produce PIC... -fPIC -DPIC
checking if x86_64-pc-linux-gnu-gcc PIC flag -fPIC -DPIC works... yes
checking if x86_64-pc-linux-gnu-gcc static flag -static works... yes
checking if x86_64-pc-linux-gnu-gcc supports -c -o file.o... yes
checking if x86_64-pc-linux-gnu-gcc supports -c -o file.o... (cached) yes
checking whether the x86_64-pc-linux-gnu-gcc linker (/usr/x86_64-pc-linux-gnu/bin/ld -m elf_x86_64) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... no
checking whether ln -s works... yes
checking for asciidoc... /usr/bin/asciidoc
checking for a2x... /usr/bin/a2x
checking for xmlto... /usr/bin/xmlto
configure: generating documentation
checking for dlopen in -ldl... yes
checking for stdlib.h... (cached) yes
checking for string.h... (cached) yes
checking for CL/opencl.h... yes
checking for CL/cl_layer.h... yes
checking whether OpenCL headers 3.0 are available... checking how to run the C preprocessor... x86_64-pc-linux-gnu-gcc -E
yes
checking for inline... inline
checking for size_t... yes
checking for an ANSI C-conforming const... yes
checking whether C compiler accepts -Wno-deprecated-declarations... yes
checking for GNU libc compatible malloc... yes
checking for GNU libc compatible realloc... yes
checking for strstr... yes
checking for the pthreads library -lpthreads... no
checking whether pthreads work without any flags... yes
checking for joinable pthread attribute... PTHREAD_CREATE_JOINABLE
checking if more special flags are required for pthreads... no
checking for PTHREAD_PRIO_INHERIT... yes
configure: using system OpenCL headers
configure: using the official default vendors directory (/etc/OpenCL/vendors)
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating Makefile
config.status: creating doc/Makefile
config.status: creating tests/Makefile
config.status: creating OpenCL.pc
config.status: creating ocl-icd.pc
config.status: creating tests/atlocal
config.status: creating config.h
config.status: executing depfiles commands
config.status: executing libtool commands
config.status: executing tests/atconfig commands
>>> Source configured.
>>> Compiling source in /var/tmp/portage/dev-libs/ocl-icd-2.3.1-r1/work/ocl-icd-2.3.1 ...
 * abi_x86_64.amd64: running multilib-minimal_abi_src_compile
make -j28 -l279 RUBY=ruby31
ruby31 /var/tmp/portage/dev-libs/ocl-icd-2.3.1-r1/work/ocl-icd-2.3.1/icd_generator.rb --mode database --database /var/tmp/portage/dev-libs/ocl-icd-2.3.1-r1/work/ocl-icd-2.3.1/ocl_interface.yaml \
   
ruby31 /var/tmp/portage/dev-libs/ocl-icd-2.3.1-r1/work/ocl-icd-2.3.1/icd_generator.rb --mode generate --database /var/tmp/portage/dev-libs/ocl-icd-2.3.1-r1/work/ocl-icd-2.3.1/ocl_interface.yaml
echo "timestamp" > stamp-generator-dummy
echo "timestamp" > stamp-generator
make  all-recursive
make[1]: Entering directory '/var/tmp/portage/dev-libs/ocl-icd-2.3.1-r1/work/ocl-icd-2.3.1-abi_x86_64.amd64'
Making all in .
make[2]: Entering directory '/var/tmp/portage/dev-libs/ocl-icd-2.3.1-r1/work/ocl-icd-2.3.1-abi_x86_64.amd64'
x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I/var/tmp/portage/dev-libs/ocl-icd-2.3.1-r1/work/ocl-icd-2.3.1  -Wall  -DOCL_ICD_PRINT_EXPECTED  -Wno-deprecated-declarations  -O2 -c -o run_dummy_icd_through_our_ICDL-run_dummy_icd.o `test -f 'run_dummy_icd.c' || echo '/var/tmp/portage/dev-libs/ocl-icd-2.3.1-r1/work/ocl-icd-2.3.1/'`run_dummy_icd.c
x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I/var/tmp/portage/dev-libs/ocl-icd-2.3.1-r1/work/ocl-icd-2.3.1  -Wall  -DOCL_ICD_PRINT_EXPECTED  -Wno-deprecated-declarations  -O2 -c -o run_dummy_icd_through_our_ICDL-run_dummy_icd_gen.o `test -f 'run_dummy_icd_gen.c' || echo '/var/tmp/portage/dev-libs/ocl-icd-2.3.1-r1/work/ocl-icd-2.3.1/'`run_dummy_icd_gen.c
x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I/var/tmp/portage/dev-libs/ocl-icd-2.3.1-r1/work/ocl-icd-2.3.1  -Wall  -DOCL_ICD_PRINT_EXPECTED  -Wno-deprecated-declarations  -O2 -c -o run_dummy_icd_through_our_ICDL-run_dummy_icd_weak_gen.o `test -f 'run_dummy_icd_weak_gen.c' || echo '/var/tmp/portage/dev-libs/ocl-icd-2.3.1-r1/work/ocl-icd-2.3.1/'`run_dummy_icd_weak_gen.c
/bin/sh ./libtool  --tag=CC   --mode=compile x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I/var/tmp/portage/dev-libs/ocl-icd-2.3.1-r1/work/ocl-icd-2.3.1  -Wall   -Wno-deprecated-declarations   -DETC_OPENCL_VENDORS=\"/etc/OpenCL/vendors\" -O2 -c -o libOpenCL_la-ocl_icd_loader.lo `test -f 'ocl_icd_loader.c' || echo '/var/tmp/portage/dev-libs/ocl-icd-2.3.1-r1/work/ocl-icd-2.3.1/'`ocl_icd_loader.c
/bin/sh ./libtool  --tag=CC   --mode=compile x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I/var/tmp/portage/dev-libs/ocl-icd-2.3.1-r1/work/ocl-icd-2.3.1  -Wall   -Wno-deprecated-declarations   -DETC_OPENCL_VENDORS=\"/etc/OpenCL/vendors\" -O2 -c -o libOpenCL_la-ocl_icd_loader_gen.lo `test -f 'ocl_icd_loader_gen.c' || echo '/var/tmp/portage/dev-libs/ocl-icd-2.3.1-r1/work/ocl-icd-2.3.1/'`ocl_icd_loader_gen.c
/bin/sh ./libtool  --tag=CC   --mode=compile x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I/var/tmp/portage/dev-libs/ocl-icd-2.3.1-r1/work/ocl-icd-2.3.1  -Wall    -O2 -c -o libdummy_icd.lo /var/tmp/portage/dev-libs/ocl-icd-2.3.1-r1/work/ocl-icd-2.3.1/libdummy_icd.c
/bin/sh ./libtool  --tag=CC   --mode=compile x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I/var/tmp/portage/dev-libs/ocl-icd-2.3.1-r1/work/ocl-icd-2.3.1  -Wall    -O2 -c -o libdummy_icd_gen.lo libdummy_icd_gen.c
/bin/sh ./libtool  --tag=CC   --mode=compile x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I/var/tmp/portage/dev-libs/ocl-icd-2.3.1-r1/work/ocl-icd-2.3.1  -Wall  -DICD_SUFFIX=\"2\"   -O2 -c -o libdummycl2_la-libdummy_icd.lo `test -f 'libdummy_icd.c' || echo '/var/tmp/portage/dev-libs/ocl-icd-2.3.1-r1/work/ocl-icd-2.3.1/'`libdummy_icd.c
/bin/sh ./libtool  --tag=CC   --mode=compile x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I/var/tmp/portage/dev-libs/ocl-icd-2.3.1-r1/work/ocl-icd-2.3.1  -Wall  -DICD_SUFFIX=\"2\"   -O2 -c -o libdummycl2_la-libdummy_icd_gen.lo `test -f 'libdummy_icd_gen.c' || echo '/var/tmp/portage/dev-libs/ocl-icd-2.3.1-r1/work/ocl-icd-2.3.1/'`libdummy_icd_gen.c
/bin/sh ./libtool  --tag=CC   --mode=compile x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I/var/tmp/portage/dev-libs/ocl-icd-2.3.1-r1/work/ocl-icd-2.3.1  -Wall  -DICD_WITHOUT_EXTENSION   -O2 -c -o libdummycl_noext_la-libdummy_icd.lo `test -f 'libdummy_icd.c' || echo '/var/tmp/portage/dev-libs/ocl-icd-2.3.1-r1/work/ocl-icd-2.3.1/'`libdummy_icd.c
/bin/sh ./libtool  --tag=CC   --mode=compile x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I/var/tmp/portage/dev-libs/ocl-icd-2.3.1-r1/work/ocl-icd-2.3.1  -Wall  -DICD_WITHOUT_EXTENSION   -O2 -c -o libdummycl_noext_la-libdummy_icd_gen.lo `test -f 'libdummy_icd_gen.c' || echo '/var/tmp/portage/dev-libs/ocl-icd-2.3.1-r1/work/ocl-icd-2.3.1/'`libdummy_icd_gen.c
/bin/sh ./libtool  --tag=CC   --mode=compile x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I/var/tmp/portage/dev-libs/ocl-icd-2.3.1-r1/work/ocl-icd-2.3.1  -Wall    -O2 -c -o dummy_icd_layer_gen.lo dummy_icd_layer_gen.c
libtool: compile:  x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I/var/tmp/portage/dev-libs/ocl-icd-2.3.1-r1/work/ocl-icd-2.3.1 -Wall -O2 -c /var/tmp/portage/dev-libs/ocl-icd-2.3.1-r1/work/ocl-icd-2.3.1/libdummy_icd.c  -fPIC -DPIC -o .libs/libdummy_icd.o
libtool: compile:  x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I/var/tmp/portage/dev-libs/ocl-icd-2.3.1-r1/work/ocl-icd-2.3.1 -Wall -O2 -c libdummy_icd_gen.c  -fPIC -DPIC -o .libs/libdummy_icd_gen.o
libtool: compile:  x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I/var/tmp/portage/dev-libs/ocl-icd-2.3.1-r1/work/ocl-icd-2.3.1 -Wall -O2 -c dummy_icd_layer_gen.c  -fPIC -DPIC -o .libs/dummy_icd_layer_gen.o
libtool: compile:  x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I/var/tmp/portage/dev-libs/ocl-icd-2.3.1-r1/work/ocl-icd-2.3.1 -Wall -Wno-deprecated-declarations -DETC_OPENCL_VENDORS=\"/etc/OpenCL/vendors\" -O2 -c /var/tmp/portage/dev-libs/ocl-icd-2.3.1-r1/work/ocl-icd-2.3.1/ocl_icd_loader.c  -fPIC -DPIC -o .libs/libOpenCL_la-ocl_icd_loader.o
libtool: compile:  x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I/var/tmp/portage/dev-libs/ocl-icd-2.3.1-r1/work/ocl-icd-2.3.1 -Wall -DICD_SUFFIX=\"2\" -O2 -c libdummy_icd_gen.c  -fPIC -DPIC -o .libs/libdummycl2_la-libdummy_icd_gen.o
libtool: compile:  x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I/var/tmp/portage/dev-libs/ocl-icd-2.3.1-r1/work/ocl-icd-2.3.1 -Wall -Wno-deprecated-declarations -DETC_OPENCL_VENDORS=\"/etc/OpenCL/vendors\" -O2 -c ocl_icd_loader_gen.c  -fPIC -DPIC -o .libs/libOpenCL_la-ocl_icd_loader_gen.o
libtool: compile:  x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I/var/tmp/portage/dev-libs/ocl-icd-2.3.1-r1/work/ocl-icd-2.3.1 -Wall -DICD_WITHOUT_EXTENSION -O2 -c /var/tmp/portage/dev-libs/ocl-icd-2.3.1-r1/work/ocl-icd-2.3.1/libdummy_icd.c  -fPIC -DPIC -o .libs/libdummycl_noext_la-libdummy_icd.o
libtool: compile:  x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I/var/tmp/portage/dev-libs/ocl-icd-2.3.1-r1/work/ocl-icd-2.3.1 -Wall -DICD_WITHOUT_EXTENSION -O2 -c libdummy_icd_gen.c  -fPIC -DPIC -o .libs/libdummycl_noext_la-libdummy_icd_gen.o
libtool: compile:  x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I/var/tmp/portage/dev-libs/ocl-icd-2.3.1-r1/work/ocl-icd-2.3.1 -Wall -DICD_SUFFIX=\"2\" -O2 -c /var/tmp/portage/dev-libs/ocl-icd-2.3.1-r1/work/ocl-icd-2.3.1/libdummy_icd.c  -fPIC -DPIC -o .libs/libdummycl2_la-libdummy_icd.o
In file included from /usr/include/CL/opencl.h:26,
                 from /var/tmp/portage/dev-libs/ocl-icd-2.3.1-r1/work/ocl-icd-2.3.1/ocl_icd_loader.c:49:
/var/tmp/portage/dev-libs/ocl-icd-2.3.1-r1/work/ocl-icd-2.3.1/ocl_icd_loader.c:895:3: error: expected identifier before numeric constant
  895 |   CL_ICDL_OCL_VERSION=1,
      |   ^~~~~~~~~~~~~~~~~~~
/var/tmp/portage/dev-libs/ocl-icd-2.3.1-r1/work/ocl-icd-2.3.1/ocl_icd_loader.c:899:3: error: redefinition of typedef 'cl_icdl_info' with different type
  899 | } cl_icdl_info;
      |   ^~~~~~~~~~~~
/usr/include/CL/cl_ext.h:3492:29: note: previous declaration of 'cl_icdl_info' with type 'cl_icdl_info' {aka 'unsigned int'}
 3492 | typedef cl_uint             cl_icdl_info;
      |                             ^~~~~~~~~~~~
/var/tmp/portage/dev-libs/ocl-icd-2.3.1-r1/work/ocl-icd-2.3.1/ocl_icd_loader.c:901:15: error: conflicting types for 'clGetICDLoaderInfoOCLICD'; have 'cl_int(int,  size_t,  void *, size_t *)' {aka 'int(int,  long unsigned int,  void *, long unsigned int *)'}
  901 | static cl_int clGetICDLoaderInfoOCLICD(
      |               ^~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/CL/cl_ext.h:3514:1: note: previous declaration of 'clGetICDLoaderInfoOCLICD' with type 'cl_int(cl_icdl_info,  size_t,  void *, size_t *)' {aka 'int(unsigned int,  long unsigned int,  void *, long unsigned int *)'}
 3514 | clGetICDLoaderInfoOCLICD(
      | ^~~~~~~~~~~~~~~~~~~~~~~~
make[2]: *** [Makefile:847: libOpenCL_la-ocl_icd_loader.lo] Error 1
make[2]: *** Waiting for unfinished jobs....
make[2]: Leaving directory '/var/tmp/portage/dev-libs/ocl-icd-2.3.1-r1/work/ocl-icd-2.3.1-abi_x86_64.amd64'
make[1]: *** [Makefile:1047: all-recursive] Error 1
make[1]: Leaving directory '/var/tmp/portage/dev-libs/ocl-icd-2.3.1-r1/work/ocl-icd-2.3.1-abi_x86_64.amd64'
make: *** [Makefile:615: all] Error 2
 * ERROR: dev-libs/ocl-icd-2.3.1-r1::Miezhiko failed (compile phase):
 *   emake failed
 *
 * If you need support, post the output of `emerge --info '=dev-libs/ocl-icd-2.3.1-r1::Miezhiko'`,
 * the complete build log and the output of `emerge -pqv '=dev-libs/ocl-icd-2.3.1-r1::Miezhiko'`.
 * The complete build log is located at '/var/tmp/portage/dev-libs/ocl-icd-2.3.1-r1/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/dev-libs/ocl-icd-2.3.1-r1/temp/environment'.
 * Working directory: '/var/tmp/portage/dev-libs/ocl-icd-2.3.1-r1/work/ocl-icd-2.3.1-abi_x86_64.amd64'
 * S: '/var/tmp/portage/dev-libs/ocl-icd-2.3.1-r1/work/ocl-icd-2.3.1'

>>> Failed to emerge dev-libs/ocl-icd-2.3.1-r1, Log file:

>>>  '/var/tmp/portage/dev-libs/ocl-icd-2.3.1-r1/temp/build.log'

 * Messages for package dev-libs/ocl-icd-2.3.1-r1:

 * ERROR: dev-libs/ocl-icd-2.3.1-r1::Miezhiko failed (compile phase):
 *   emake failed
 *
 * If you need support, post the output of `emerge --info '=dev-libs/ocl-icd-2.3.1-r1::Miezhiko'`,
 * the complete build log and the output of `emerge -pqv '=dev-libs/ocl-icd-2.3.1-r1::Miezhiko'`.
 * The complete build log is located at '/var/tmp/portage/dev-libs/ocl-icd-2.3.1-r1/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/dev-libs/ocl-icd-2.3.1-r1/temp/environment'.
 * Working directory: '/var/tmp/portage/dev-libs/ocl-icd-2.3.1-r1/work/ocl-icd-2.3.1-abi_x86_64.amd64'
 * S: '/var/tmp/portage/dev-libs/ocl-icd-2.3.1-r1/work/ocl-icd-2.3.1'


Emerge --info:
Code:
https://pastebin.com/wtVJwLMi
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Unsupported Software All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum