Created attachment 489022 [details] build.log dev-libs/beignet-1.3.1-r1 (the latest version as of right now) has a dependency on sys-devel/llvm:0 which is for llvm < 4, sys-devel/llvm-4 uses SLOT=4. It would be great for dev-libs/beignet to support sys-devel/llvm:4 (a dependency expression of >=sys-devel/llvm-3.6:= would be great). Simply changing the dependency allowing the build to be attempted results in failure: In file included from /var/tmp/portage/dev-libs/beignet-1.3.1-r1/work/Beignet-1.3.1-Source-abi_x86_64.amd64/backend/src/libocl/src/ocl_enqueue.cl:19: /var/tmp/portage/dev-libs/beignet-1.3.1-r1/work/Beignet-1.3.1-Source-abi_x86_64.amd64/backend/src/libocl//usr/lib64/OpenCL/vendors/beignet/lib/beignet//include/ocl_enqueue.h:41:19: error: invalid prototype, variadic arguments are not allowed in OpenCL __global void (*invoke)(void *, ...);
LLVM-4 will likely become supported by beignet in its next release, which hopefully will come soon. Perhaps you could inquire on their mailing list? Anyway, I am not particularly big on the idea of backporting appropriate patches from master to 1.3.1 so there isn't much to be done here until a new release has been published.