Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 730224 - dev-libs/opencl-icd-loader-2020.06.16 : .../work/OpenCL-ICD-Loader-2020.06.16/loader/icd_dispatch.c:616:60: error: expected declaration specifiers before «CL_API_SUFFIX__VERSION_2_2»
Summary: dev-libs/opencl-icd-loader-2020.06.16 : .../work/OpenCL-ICD-Loader-2020.06.16...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Marek Szuba
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-06-30 09:28 UTC by codewalker7
Modified: 2020-07-02 07:51 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
emerge info (emerge--info.txt,16.98 KB, text/plain)
2020-06-30 09:28 UTC, codewalker7
Details
build.log (build.log,36.87 KB, text/plain)
2020-06-30 09:29 UTC, codewalker7
Details

Note You need to log in before you can comment on or make changes to this bug.
Description codewalker7 2020-06-30 09:28:20 UTC
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
 *
Comment 1 codewalker7 2020-06-30 09:29:06 UTC
Created attachment 647182 [details]
build.log
Comment 2 Marek Szuba archtester gentoo-dev 2020-07-01 14:43:50 UTC
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.
Comment 3 codewalker7 2020-07-02 07:51:23 UTC
Ok. Done.