Created attachment 647180 [details] emerge info /var/tmp/portage/dev-libs/opencl-icd-loader-2020.06.16/work/OpenCL-ICD-Loader-2020.06.16/loader/icd_dispatch.c:2664:27: ошибка: expected «=», «,», «;», «asm» or «__attribute__» before «CL_API_SUFFIX__VERSION_2_1» cl_int * errcode_ret) CL_API_SUFFIX__VERSION_2_1 ^~~~~~~~~~~~~~~~~~~~~~~~~~ /var/tmp/portage/dev-libs/opencl-icd-loader-2020.06.16/work/OpenCL-ICD-Loader-2020.06.16/loader/icd_dispatch.c:2681:23: ошибка: expected «=», «,», «;», «asm» or «__attribute__» before «CL_API_SUFFIX__VERSION_2_1» cl_event * event) CL_API_SUFFIX__VERSION_2_1 ^~~~~~~~~~~~~~~~~~~~~~~~~~ /var/tmp/portage/dev-libs/opencl-icd-loader-2020.06.16/work/OpenCL-ICD-Loader-2020.06.16/loader/icd_dispatch.c:2699:32: ошибка: expected «=», «,», «;», «asm» or «__attribute__» before «CL_API_SUFFIX__VERSION_2_1» cl_ulong * host_timestamp) CL_API_SUFFIX__VERSION_2_1 ^~~~~~~~~~~~~~~~~~~~~~~~~~ /var/tmp/portage/dev-libs/opencl-icd-loader-2020.06.16/work/OpenCL-ICD-Loader-2020.06.16/loader/icd_dispatch.c:2711:32: ошибка: expected «=», «,», «;», «asm» or «__attribute__» before «CL_API_SUFFIX__VERSION_2_1» cl_ulong * host_timestamp) CL_API_SUFFIX__VERSION_2_1 ^~~~~~~~~~~~~~~~~~~~~~~~~~ /var/tmp/portage/dev-libs/opencl-icd-loader-2020.06.16/work/OpenCL-ICD-Loader-2020.06.16/loader/icd_dispatch.c:2719: ошибка: expected «{» at end of input ninja: build stopped: subcommand failed. * ERROR: dev-libs/opencl-icd-loader-2020.06.16::gentoo failed (compile phase): * ninja -v -j4 -l0 failed *
Created attachment 647182 [details] build.log
Your build log shows gcc using OpenCL headers from /opt/cuda/targets/x86_64-linux/include/CL instead of those installed by dev-util/opencl-headers into /usr/include/CL. This is not a supported configuration; please make sure the directory in question is not in your list of include directories and try again.
Ok. Done.