None of the available ebuilds of dev-libs/intel-compute-runtime are compiling for me. Reproducible: Always
Created attachment 776582 [details] build.log [dev-libs/intel-compute-runtime-22.13.22789-r2] (with ccache)
Created attachment 776585 [details] build.log [dev-libs/intel-compute-runtime-22.13.22789-r2] (without ccache)
Created attachment 776588 [details] build.log [dev-libs/intel-compute-runtime-22.17.23034] (without ccache)
FWIW I don't have ccache enabled, and 22.13.22789-r2 magically opted to use it. I think `DCCACHE_ALLOWED="OFF` needs to be added to 22.13.22789-r2, to avoid this behavior.
(In reply to Randall from comment #4) > I think `DCCACHE_ALLOWED="OFF` needs to be added to 22.13.22789-r2, to avoid > this behavior. Does this help making it compiled for you?
It does not. However, I still think it should be disabled so that ccache doesn't trigger by its self.
I am observing the same issue with 22.13.22789-r2 (and I don't currently use ccache). I did a serial build to have clear idea of the failure. [563/2203] cd /home/portage/dev-libs/intel-compute-runtime-22.13.22789-r2/work/compute-runtime-22.13.22789/shared/source/built_ins/kernels && LD_LIBRARY_PATH=/home/portage/dev-libs/intel-compute-runtime-22.13.22789-r2/work/compute-runtime-22.13.22789_build/bin /home/portage/dev-libs/intel-compute-runtime-22.13.22789-r2/work/compute-runtime-22.13.22789_build/bin/ocloc -q -file /home/portage/dev-libs/intel-compute-runtime-22.13.22789-r2/work/compute-runtime-22.13.22789_build/bin/built_ins/x64/gen8/bindful_copy_buffer_rect_Gen8core.spv -spirv_input -device bdw -force_stos_opt -64 -output bindful_copy_buffer_rect_0 -out_dir /home/portage/dev-libs/intel-compute-runtime-22.13.22789-r2/work/compute-runtime-22.13.22789_build/bin/built_ins/x64/gen8 -revision_id 0 -options -cl-kernel-arg-info FAILED: bin/built_ins/x64/gen8/bindful_copy_buffer_rect_0_Gen8core.gen bin/built_ins/x64/gen8/bindful_copy_buffer_rect_0_Gen8core.bin /home/portage/dev-libs/intel-compute-runtime-22.13.22789-r2/work/compute-runtime-22.13.22789_build/bin/built_ins/x64/gen8/bindful_copy_buffer_rect_0_Gen8core.gen /home/portage/dev-libs/intel-compute-runtime-22.13.22789-r2/work/compute-runtime-22.13.22789_build/bin/built_ins/x64/gen8/bindful_copy_buffer_rect_0_Gen8core.bin cd /home/portage/dev-libs/intel-compute-runtime-22.13.22789-r2/work/compute-runtime-22.13.22789/shared/source/built_ins/kernels && LD_LIBRARY_PATH=/home/portage/dev-libs/intel-compute-runtime-22.13.22789-r2/work/compute-runtime-22.13.22789_build/bin /home/portage/dev-libs/intel-compute-runtime-22.13.22789-r2/work/compute-runtime-22.13.22789_build/bin/ocloc -q -file /home/portage/dev-libs/intel-compute-runtime-22.13.22789-r2/work/compute-runtime-22.13.22789_build/bin/built_ins/x64/gen8/bindful_copy_buffer_rect_Gen8core.spv -spirv_input -device bdw -force_stos_opt -64 -output bindful_copy_buffer_rect_0 -out_dir /home/portage/dev-libs/intel-compute-runtime-22.13.22789-r2/work/compute-runtime-22.13.22789_build/bin/built_ins/x64/gen8 -revision_id 0 -options -cl-kernel-arg-info ninja: build stopped: subcommand failed. Not that it helps in the end. I'll note that I couldn't update to the latest stable version of intel-graphics-compiler because of dependency issues (which emerge doesn't detail curiously enough but I think may be a requirement on lld-12.x when I have 13.x and it is not slotted). Since the compiler component is in DEPEND, I am wondering if intel-graphics-compile-1.0.10778-r2 is needed.
Actually, I got it working by downgrading lld back down to 12*
(In reply to Randall from comment #8) > Actually, I got it working by downgrading lld back down to 12* That should had happend automatically, as ebuild is forcing ldd-12.
(In reply to Conrad Kostecki from comment #9) > (In reply to Randall from comment #8) > > Actually, I got it working by downgrading lld back down to 12* > > That should had happend automatically, as ebuild is forcing ldd-12. Well it is not happening I have this kind of message from emerge !!! The following update(s) have been skipped due to unsatisfied dependencies !!! triggered by backtracking: dev-util/intel-graphics-compiler:0 And the only dependency that is problematic appears to be lld.
Actually when I tried to downgrade lld to 12.0.1, emerge complained that intel-graphics-compiler-1.0.10778-r1 required lld-13. So one block was from this already being compiled against lld-13. Removing intel-graphic-compiler in an effort to remove that block lead to a change of message from emerge when I try to emerge world !!! The following update(s) have been skipped due to unsatisfied dependencies !!! triggered by backtracking: dev-libs/intel-compute-runtime:0 But now I can downgrade to lld-12 so we'll see what happens once that is done.
In the end I add to remove both intel-compute-runtime and intel-graphics-compiler. With lld at version 12.0.1 "emerge -v intel-compute-runtime" emerged both packages properly.
(In reply to Conrad Kostecki from comment #5) > (In reply to Randall from comment #4) > > I think `DCCACHE_ALLOWED="OFF` needs to be added to 22.13.22789-r2, to avoid > > this behavior. > > Does this help making it compiled for you? This is not the solution but it's strongly suggested to fix the ebuild to avoid ccache support when FEATURES=-ccache but ccache is installed. Moreover I can confirm the issue and it's solved by using lld-12. The real problem is that lld is not slotted so a simple "emerge -uD world" cannot work because there might be other packages (e.g. thunderbird on my system) trying to give precedence to lld-13 for instance (or even lld-14 but here llvm:14 is not installed yet). So the upgrade of intel-compute-runtime-22.13.22789-r3 doesn't force at the same time the upgrade to dev-util/intel-graphics-compiler-1.0.10778-r2 (which requires lld-12)
(In reply to Conrad Kostecki from comment #9) > (In reply to Randall from comment #8) > > Actually, I got it working by downgrading lld back down to 12* > > That should had happend automatically, as ebuild is forcing ldd-12. As said above other packages might require ldd-13 at the same time
Closing, this is long fixed.