Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 940004

Summary: dev-libs/intel-compute-runtime-24.35.30872.22 fails to compile
Product: Gentoo Linux Reporter: Agostino Sarubbo <ago>
Component: Current packagesAssignee: Jan Henke <gentoo>
Status: CONFIRMED ---    
Severity: normal CC: conikost, gentoo, haschka, leonchik1976, proxy-maint, rossi.f, tadej.obrstar
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: build.log

Description Agostino Sarubbo gentoo-dev 2024-09-21 16:24:04 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: dev-libs/intel-compute-runtime-24.35.30872.22 fails to compile.
Discovered on: amd64 (internal ref: ci)

Info about the issue:
https://wiki.gentoo.org/wiki/Project:Tinderbox/Common_Issues_Helper#CF0014
Comment 1 Agostino Sarubbo gentoo-dev 2024-09-21 16:24:06 UTC
Created attachment 903517 [details]
build.log

build log and emerge --info
Comment 2 Agostino Sarubbo gentoo-dev 2024-09-21 16:24:07 UTC
Error(s) that match a know pattern:


FAILED: bin/built_ins/x64/spirv/copy_buffer_rect.spv /var/tmp/portage/dev-libs/intel-compute-runtime-24.35.30872.22/work/compute-runtime-24.35.30872.22_build/bin/built_ins/x64/spirv/copy_buffer_rect.spv 
FAILED: bin/built_ins/x64/spirv/copy_buffer_to_buffer.spv /var/tmp/portage/dev-libs/intel-compute-runtime-24.35.30872.22/work/compute-runtime-24.35.30872.22_build/bin/built_ins/x64/spirv/copy_buffer_to_buffer.spv 
FAILED: bin/built_ins/x64/spirv/copy_buffer_to_image3d.spv /var/tmp/portage/dev-libs/intel-compute-runtime-24.35.30872.22/work/compute-runtime-24.35.30872.22_build/bin/built_ins/x64/spirv/copy_buffer_to_image3d.spv 
FAILED: bin/built_ins/x64/spirv/copy_image3d_to_buffer.spv /var/tmp/portage/dev-libs/intel-compute-runtime-24.35.30872.22/work/compute-runtime-24.35.30872.22_build/bin/built_ins/x64/spirv/copy_image3d_to_buffer.spv 
FAILED: bin/built_ins/x64/spirv/fill_buffer.spv /var/tmp/portage/dev-libs/intel-compute-runtime-24.35.30872.22/work/compute-runtime-24.35.30872.22_build/bin/built_ins/x64/spirv/fill_buffer.spv
Comment 3 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2024-09-30 02:47:17 UTC
FAILED: bin/built_ins/x64/spirv/copy_buffer_to_buffer.spv /var/tmp/portage/dev-libs/intel-compute-runtime-24.35.30872.22/work/compute-runtime-24.35.30872.22_build/bin/built_ins/x64/spirv/copy_buffer_to_buffer.spv 
cd /var/tmp/portage/dev-libs/intel-compute-runtime-24.35.30872.22/work/compute-runtime-24.35.30872.22/shared/source/built_ins/kernels && /usr/bin/cmake -E env LD_LIBRARY_PATH=:/var/tmp/portage/dev-libs/intel-compute-runtime-24.35.30872.22/work/compute-runtime-24.35.30872.22_build/bin /var/tmp/portage/dev-libs/intel-compute-runtime-24.35.30872.22/work/compute-runtime-24.35.30872.22_build/bin/ocloc-24.35.1 -q -spv_only -file /var/tmp/portage/dev-libs/intel-compute-runtime-24.35.30872.22/work/compute-runtime-24.35.30872.22/shared/source/built_ins/kernels/copy_buffer_to_buffer.builtin_kernel -out_dir /var/tmp/portage/dev-libs/intel-compute-runtime-24.35.30872.22/work/compute-runtime-24.35.30872.22_build/bin/built_ins/x64/spirv/ -output_no_suffix -options -cl-kernel-arg-info
RequiresExtension: Feature requires the following SPIR-V extension:
 SPV_KHR_non_semantic_info
Comment 4 Conrad Kostecki gentoo-dev 2024-09-30 05:23:05 UTC
@sam: Can you reproduce? Because I am not able to do so, it compiles fine for me.
Comment 5 Conrad Kostecki gentoo-dev 2024-09-30 05:23:57 UTC
*** Bug 940174 has been marked as a duplicate of this bug. ***
Comment 6 Paolo Pedroni 2024-09-30 09:40:20 UTC
I can reproduce...
Comment 7 Paolo Pedroni 2024-09-30 16:49:17 UTC
(In reply to Paolo Pedroni from comment #6)
> I can reproduce...

Sorry, no different error. I'll open a new bug.
Comment 8 Paolo Pedroni 2024-09-30 16:49:37 UTC
(In reply to Paolo Pedroni from comment #6)
> I can reproduce...

Sorry, no different error. I'll open a new bug.
Comment 9 Fredrik Eriksson 2024-10-23 15:45:06 UTC
For the record I'm seeing this compilation failure with both versions currently in portage: 24.35.30872.22 and 24.35.30872.25.

emerge --info (profile is based on default/linux/amd64/23.0/hardened/selinux/systemd):

Portage 3.0.65 (python 3.12.6-final-0, default/linux/amd64/23.0/feffe/server/systemd, gcc-13, glibc-2.39-r6, 6.6.51-gent
oo-dist x86_64)       
=================================================================                                                       
System uname: Linux-6.6.51-gentoo-dist-x86_64-Westmere_E56xx-L56xx-X56xx_-IBRS_update-with-glibc2.39                    
KiB Mem:    12249020 total,   4564720 free
KiB Swap:    8388604 total,   8294852 free
Timestamp of repository gentoo: Wed, 23 Oct 2024 11:15:00 +0000                                                         
Head commit of repository gentoo: b6a7ee7848767a5f2f70e1bfd7ba01dbe178c26e                                              
Head commit of repository feffe: 95f22b285994c8fc4f2ddc558cdb03b559888a02                                               
                                                                                                                        
sh bash 5.2_p37                                                                                                         
ld GNU ld (Gentoo 2.42 p6) 2.42.0                                                                                       
ccache version 4.10.1 [enabled]                                                                                         
app-misc/pax-utils:        1.3.7::gentoo                                                                                
app-shells/bash:           5.2_p37::gentoo                                                                              
dev-build/autoconf:        2.13-r8::gentoo, 2.71-r7::gentoo                                                             
dev-build/automake:        1.16.5-r2::gentoo                                                                            
dev-build/cmake:           3.30.5::gentoo                                                                               
dev-build/libtool:         2.4.7-r4::gentoo                                                                             
dev-build/make:            4.4.1-r1::gentoo                                                                             
dev-build/meson:           1.5.1::gentoo                                                                                
dev-java/java-config:      2.3.4::gentoo                                                                                
dev-lang/perl:             5.40.0::gentoo                                                                               
dev-lang/python:           3.11.10_p1::gentoo, 3.12.6_p4::gentoo                                                        
dev-lang/rust-bin:         1.80.1::gentoo                                                                               
dev-util/ccache:           4.10.1::gentoo                                                                               
sec-policy/selinux-base:   2.20240916-r1::gentoo                                                                        
sys-apps/baselayout:       2.15::gentoo
sys-apps/sandbox:          2.39::gentoo                                                                                 
sys-apps/systemd:          255.11::gentoo                                                                               
sys-devel/binutils:        2.42-r2::gentoo                                                                              
sys-devel/binutils-config: 5.5.2::gentoo                                                                                
sys-devel/clang:           15.0.7-r3::gentoo, 18.1.8::gentoo 
sys-devel/gcc:             13.3.1_p20240614::gentoo
sys-devel/gcc-config:      2.11::gentoo
sys-devel/lld:             15.0.7::gentoo, 18.1.8::gentoo
sys-devel/llvm:            15.0.7-r3::gentoo, 18.1.8-r1::gentoo
sys-kernel/linux-headers:  6.6-r1::gentoo (virtual/os-headers)
sys-libs/glibc:            2.39-r6::gentoo
sys-libs/libselinux:       3.6-r1::gentoo
Repositories:

gentoo
    location: /var/db/repos/gentoo
    sync-type: rsync
    sync-uri: rsync://rsync.de.gentoo.org/gentoo-portage
    priority: -1000
    volatile: False
    sync-rsync-extra-opts: 
    sync-rsync-verify-max-age: 24
    sync-rsync-verify-metamanifest: true
    sync-rsync-verify-jobs: 1

feffe
    location: /var/db/repos/feffe
    sync-type: git
    sync-uri: https://gitea.fulh.ax/feffe/feffe-portage-overlay.git
    masters: gentoo
    priority: 100
    volatile: False
    sync-git-verify-commit-signature: false

ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="* -Primate-Plunge -CAPYBARA-EULA -android -ut2003 -SPS -RAR -supermicro -Gameplay-Group-EULA -Microsemi -FAH-EULA-2014 -PICO-8 -GOG-EULA -JoyPixels -Aseprite-EULA -MikroTik -Microsoft-vscode -NVIDIA-CUDA -Synology -google-chrome -Flightradar24 -microsoft-azurevpnclient -OPERA-2018 -microsoft-edge -Coherent-Graphics -Ookla -PassMark-EULA -geekbench -LOKI-EULA -teamspeak3 -Mojang -zi-labone -Intel-SDP -Q3AEULA-20000111 -2dboy-EULA -AMD-GPU-PRO-EULA -Introversion -TIK -ubiquiti -GIMPS -PAPERS-PLEASE -Steam -TeamViewer -genymotion -ut2003-demo -PUEL-11 -THINKTANKS -WPS-EULA -ETQW -QUAKE4 -bestcrypt -sfpg -f.lux -MakeMKV-EULA -baudline -Vivaldi -worklog-assistant -NVIDIA-SDK -PUEL-12 -teamspeak5 -AnyDesk-TOS -Dell-EULA -MTA-0.5"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe -march=x86-64-v2 -mtune=intel"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/lib64/libreoffice/program/sofficerc /usr/share/config /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-O2 -pipe -march=x86-64-v2 -mtune=intel"
DISTDIR="/var/cache/distfiles"
EMERGE_DEFAULT_OPTS="--usepkg --binpkg-respect-use=y --binpkg-changed-deps=y"
ENV_UNSET="CARGO_HOME DBUS_SESSION_BUS_ADDRESS DISPLAY GDK_PIXBUF_MODULE_FILE GOBIN GOPATH PERL5LIB PERL5OPT PERLPREFIX PERL_CORE PERL_MB_OPT PERL_MM_OPT XAUTHORITY XDG_CACHE_HOME XDG_CONFIG_HOME XDG_DATA_HOME XDG_RUNTIME_DIR XDG_STATE_HOME"
FCFLAGS="-O2 -pipe -march=x86-64-v2 -mtune=intel"
FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs binpkg-multi-instance binpkg-request-signature binpkg-signing buildpkg buildpkg-live ccache config-protect-if-modified distlocks ebuild-locks fixlafiles gpg-keepalive ipc-sandbox merge-sync merge-wait multilib-strict network-sandbox parallel-fetch pkgdir-index-trusted preserve-libs protect-owned qa-unresolved-soname-deps sandbox selinux sesandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-O2 -pipe -march=x86-64-v2 -mtune=intel"
GENTOO_MIRRORS="https://ftp.halifax.rwth-aachen.de/gentoo/ https://ftp.snt.utwente.nl/pub/os/linux/gentoo https://www.mirrorservice.org/sites/distfiles.gentoo.org/"
LANG="sv_SE.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed -Wl,-z,pack-relative-relocs"
LEX="flex"
LINGUAS="sv en"
MAKEOPTS="-j5 -l6"
PKGDIR="/var/cache/binpkgs"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --exclude=/.git"
PORTAGE_TMPDIR="/var/tmp"
SHELL="/bin/bash"
USE="X aacs acl alsa amd64 archive audit bdplus berkdb bluetooth bluray bzip2 cairo caps cet cjk colord conntrack corefonts crypt cryptsetup cups dbus device-mapper dist-kernel dnssec dracut dri drm dvd egl exif fcitx4 fontconfig fortran gdbm gdk-pixbuf gif gpg grub gssapi gtk gui hardened harfbuzz hdri heif http2 hwaccel iconv icu idn iproute2 ipset ipv6 jpeg kerberos kf6compat lapack lcms ldap libde265 libdovi libkms libnotify libplacebo libproxy libtirpc libxml2 lm-sensors lvm lz4 lzma modemmanager mp3 multilib native-headset ncurses networkmanager nftables nginx nls nss ocr ofono-headset ogg opencl opengl openmp optical opus pam pcre pic pie pipewire pkcs11 pkcs7 png policykit printsupport pulseaudio python qml qsv qt qt5 qt6 raw rdp readline ruby rustfmt scanner seccomp selinux shaderc smartcard spell spice sqlite ssh ssl ssp svg systemd systray test-rust tiff tray truetype udev udf udisks unicode usb usbredir v4l vaapi vim-syntax vmaf vnc vorbis vpx vulkan wallpapers wayland webp widgets wifi x265 xattr xfs xft xinerama xmp xtpax zfs zimg zlib" ABI_X86="64 32" ADA_TARGET="gcc_12" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_anon authn_dbm authn_file authz_dbm authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir env expires ext_filter file_cache filter headers include info log_config logio mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="karbon sheets words" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="aes mmx mmxext pclmul popcnt sse sse2 sse3 sse4_1 sse4_2 ssse3" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock greis isync itrax navcom oceanserver oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 tsip tripmate tnt ublox" GRUB_PLATFORMS="efi-64 pc" GUILE_SINGLE_TARGET="3-0" GUILE_TARGETS="3-0" INPUT_DEVICES="libinput" KERNEL="linux" L10N="sv en sv-SE en-GB en-US" LCD_DEVICES="bayrad cfontz glk hd44780 lb216 lcdm001 mtxorb text" LUA_SINGLE_TARGET="lua5-1" LUA_TARGETS="lua5-1" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php8-2" POSTGRES_TARGETS="postgres16" PYTHON_SINGLE_TARGET="python3_11" PYTHON_TARGETS="python3_11 python3_12" RUBY_TARGETS="ruby32" VIDEO_CARDS="dummy intel" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipp2p iface geoip fuzzy condition tarpit sysrq proto logmark ipmark dhcpmac delude chaos account"
Unset:  ADDR2LINE, AR, ARFLAGS, AS, ASFLAGS, CC, CCLD, CONFIG_SHELL, CPP, CPPFLAGS, CTARGET, CXX, CXXFILT, ELFEDIT, EXTRA_ECONF, F77FLAGS, FC, GCOV, GPROF, INSTALL_MASK, LC_ALL, LD, LFLAGS, LIBTOOL, MAKE, MAKEFLAGS, NM, OBJCOPY, OBJDUMP, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PYTHONPATH, RANLIB, READELF, RUSTFLAGS, SIZE, STRINGS, STRIP, YACC, YFLAGS
Comment 10 Tadej Obrstar 2024-10-24 07:49:32 UTC
Same here for both versions currently in portage. Version 24.35.30872.22 did compile fine before on October 11th. So something changed in that time.

Portage 3.0.65 (python 3.12.6-final-0, default/linux/amd64/23.0/no-multilib/systemd, gcc-13, glibc-2.39-r6, 6.11.0 x86_64)
=================================================================
System uname: Linux-6.11.0-x86_64-Intel-R-_Celeron-R-_N5105_@_2.00GHz-with-glibc2.39
KiB Mem:    16229768 total,   1101216 free
KiB Swap:    9823228 total,   6953468 free
Timestamp of repository lto-overlay: Mon, 19 Aug 2024 06:22:27 +0000
Head commit of repository lto-overlay: 72f4e578bd64c1c5cb3fc6ac1526bf8d009ee026

Timestamp of repository mv: Wed, 23 Oct 2024 19:03:42 +0000
Head commit of repository mv: 8a825205b357a9cb47daa02b4609faefb8d4af80

Timestamp of repository xarblu-overlay: Wed, 23 Oct 2024 12:33:31 +0000
Head commit of repository xarblu-overlay: 536d75af3db2d7c9a62ef504e76018d11b5df8e7

Timestamp of repository gentoo: Thu, 24 Oct 2024 01:18:41 +0000
Head commit of repository gentoo: 043554cefb007cae6f8eb2474fb7fbe404e62fd0

sh bash 5.2_p37
ld GNU ld (Gentoo 2.42 p6) 2.42.0
distcc 3.4 x86_64-pc-linux-gnu [disabled]
ccache version 4.10.1 [disabled]
app-misc/pax-utils:        1.3.7::gentoo
app-shells/bash:           5.2_p37::gentoo
dev-build/autoconf:        2.71-r7::gentoo, 2.72-r1::gentoo
dev-build/automake:        1.16.5-r2::gentoo
dev-build/cmake:           3.30.5::gentoo
dev-build/libtool:         2.4.7-r4::gentoo
dev-build/make:            4.4.1-r1::gentoo
dev-build/meson:           1.5.2::gentoo
dev-lang/perl:             5.40.0::gentoo
dev-lang/python:           3.11.10_p1::gentoo, 3.12.6_p4::gentoo
dev-lang/rust-bin:         1.81.0::gentoo
dev-util/ccache:           4.10.1::gentoo
sys-apps/baselayout:       2.15::gentoo
sys-apps/sandbox:          2.39::gentoo
sys-apps/systemd:          255.11::gentoo
sys-devel/binutils:        2.42-r2::gentoo
sys-devel/binutils-config: 5.5.2::gentoo
sys-devel/clang:           15.0.7-r3::gentoo, 18.1.8::gentoo
sys-devel/gcc:             13.3.1_p20240614::gentoo
sys-devel/gcc-config:      2.11::gentoo
sys-devel/lld:             15.0.7::gentoo
sys-devel/llvm:            15.0.7-r3::gentoo, 18.1.8-r1::gentoo
sys-kernel/linux-headers:  6.6-r1::gentoo (virtual/os-headers)
sys-libs/glibc:            2.39-r6::gentoo
Repositories:

local
    location: /var/db/repos/local
    masters: gentoo
    volatile: False

lto-overlay
    location: /var/db/repos/lto-overlay
    sync-type: git
    sync-uri: https://github.com/gentoo-mirror/lto-overlay.git
    masters: gentoo mv
    volatile: False

mv
    location: /var/db/repos/mv
    sync-type: git
    sync-uri: https://github.com/gentoo-mirror/mv.git
    masters: gentoo
    volatile: False

xarblu-overlay
    location: /var/db/repos/xarblu-overlay
    sync-type: git
    sync-uri: https://github.com/gentoo-mirror/xarblu-overlay.git
    masters: gentoo
    volatile: False

gentoo
    location: /usr/portage
    sync-type: git
    sync-uri: https://github.com/gentoo-mirror/gentoo.git
    priority: 1000
    volatile: True

Binary Repositories:

binhost
    priority: 9999
    sync-uri: https://mirror.kumi.systems/gentoo/releases/amd64/binpackages/23.0/x86-64

ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="@FREE"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=tremont -mtune=tremont -O3 -fgraphite-identity -floop-nest-optimize -fdevirtualize-at-ltrans -fipa-pta -fno-semantic-interposition -flto=auto -fuse-linker-plugin -pipe -falign-functions=32"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php8.1/ext-active/ /etc/php/apache2-php8.2/ext-active/ /etc/php/cgi-php8.1/ext-active/ /etc/php/cgi-php8.2/ext-active/ /etc/php/cli-php8.1/ext-active/ /etc/php/cli-php8.2/ext-active/ /etc/php/fpm-php8.1/ext-active/ /etc/php/fpm-php8.2/ext-active/ /etc/php/phpdbg-php8.1/ext-active/ /etc/php/phpdbg-php8.2/ext-active/ /etc/revdep-rebuild /etc/sandbox.d"
CXXFLAGS="-march=tremont -mtune=tremont -O3 -fgraphite-identity -floop-nest-optimize -fdevirtualize-at-ltrans -fipa-pta -fno-semantic-interposition -flto=auto -fuse-linker-plugin -pipe -falign-functions=32 -fvisibility-inlines-hidden"
DISTDIR="/usr/portage/distfiles"
ENV_UNSET="CARGO_HOME DBUS_SESSION_BUS_ADDRESS DISPLAY GDK_PIXBUF_MODULE_FILE GOBIN GOPATH PERL5LIB PERL5OPT PERLPREFIX PERL_CORE PERL_MB_OPT PERL_MM_OPT XAUTHORITY XDG_CACHE_HOME XDG_CONFIG_HOME XDG_DATA_HOME XDG_RUNTIME_DIR XDG_STATE_HOME"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs buildpkg-live config-protect-if-modified distlocks ebuild-locks fixlafiles ipc-sandbox merge-sync merge-wait multilib-strict network-sandbox news parallel-fetch pid-sandbox pkgdir-index-trusted preserve-libs protect-owned qa-unresolved-soname-deps sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LANG="en_IE.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed -Wl,-z,pack-relative-relocs"
LEX="flex"
MAKEOPTS="-j8 -l4"
PKGDIR="/var/cache/binpkgs"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --exclude=/.git"
PORTAGE_TMPDIR="/var/tmp"
SHELL="/bin/bash"
USE="acl acpi amd64 bzip2 cet crypt cups custom-cflags gdbm iconv jpeg jpeg2k libtirpc lz4 ncurses nfsv3 nls nptl nptlonly offensive openmp openssl pam pcre pgo png readline samba seccomp ssl systemd test-rust tiff udev unicode usb vim-syntax xattr zlib" ABI_X86="64" ADA_TARGET="gcc_12" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_anon authn_dbm authn_file authz_dbm authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir env expires ext_filter file_cache filter headers include info log_config logio mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="karbon sheets words" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="aes mmx mmxext pclmul popcnt rdrand sha sse sse2 sse3 sse4_1 sse4_2 ssse3" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock greis isync itrax navcom oceanserver oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 tsip tripmate tnt ublox" GRUB_PLATFORMS="efi-64" GUILE_SINGLE_TARGET="3-0" GUILE_TARGETS="3-0" INPUT_DEVICES="libinput" KERNEL="linux" LCD_DEVICES="bayrad cfontz glk hd44780 lb216 lcdm001 mtxorb text" LLVM_TARGETS="WebAssembly" LUA_SINGLE_TARGET="lua5-1" LUA_TARGETS="lua5-1" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php8-1" POSTGRES_TARGETS="postgres16" PYTHON_SINGLE_TARGET="python3_12" PYTHON_TARGETS="python3_12" RUBY_TARGETS="ruby32" VIDEO_CARDS="intel" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipp2p iface geoip fuzzy condition tarpit sysrq proto logmark ipmark dhcpmac delude chaos account"
Unset:  ADDR2LINE, AR, ARFLAGS, AS, ASFLAGS, CC, CCLD, CONFIG_SHELL, CPP, CPPFLAGS, CTARGET, CXX, CXXFILT, ELFEDIT, EMERGE_DEFAULT_OPTS, EXTRA_ECONF, F77FLAGS, FC, GCOV, GPROF, INSTALL_MASK, LC_ALL, LD, LFLAGS, LIBTOOL, LINGUAS, MAKE, MAKEFLAGS, NM, OBJCOPY, OBJDUMP, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PYTHONPATH, RANLIB, READELF, RUSTFLAGS, SIZE, STRINGS, STRIP, YACC, YFLAGS
Comment 11 Thomas Haschka 2024-11-01 16:13:58 UTC
I also can confirm this bug! I also saw that SPIRV is disabled in LLVM_TARGETS. Enabling it did not allow me to compile, I currently only enable it for llvm. I will keep you posted if this might resolve the problem.
Comment 12 Thomas Haschka 2024-11-03 07:29:17 UTC
Adding SPIRV Targets to llvm / clang and reemerging spirv-llvm-translator does not solve the problem. 
Maybe explicitly allowing the extension with --spirv-ext as discribed here would be a solution ? 

https://github.com/KhronosGroup/SPIRV-LLVM-Translator/blob/main/docs/SPIRVVersionsAndExtensionsHandling.rst
Comment 13 Thomas Haschka 2024-11-04 11:45:21 UTC
On my machine I could solve the issue by unmerging 

dev-libs/intel-compute-runtime 

and run emerge --depclean

i also unmerged all versions of 

media-libs/mesa
dev-util/spirv-headers
dev-util/spirv-llvm-translator
dev-util/spirv-tools
dev-util/intel-graphics-compiler
dev-util/intel_clc

and dependencies

remerging world and dependencies yielded 
dev-libs/intel-compute-runtime to compile 
and working with custom-written OpenCL code

It might have been a slot conflict as I have spirv-llvm-translator-18.1.4

this time spirv-llvm-translator-15.0.4-r1 (visibly needed by intel-compute-runtime, together with llvm-15,clang-15) got emerged after 18.1.4 (which is used by mesa?) though not sure if this was the root of the problem.
Comment 14 Tadej Obrstar 2024-11-05 15:10:05 UTC
(In reply to Thomas Haschka from comment #13)
> On my machine I could solve the issue by unmerging 
> 
> dev-libs/intel-compute-runtime 
> 
> and run emerge --depclean
> 
> i also unmerged all versions of 
> 
> media-libs/mesa
> dev-util/spirv-headers
> dev-util/spirv-llvm-translator
> dev-util/spirv-tools
> dev-util/intel-graphics-compiler
> dev-util/intel_clc
> 
> and dependencies
> 
> remerging world and dependencies yielded 
> dev-libs/intel-compute-runtime to compile 
> and working with custom-written OpenCL code
> 
> It might have been a slot conflict as I have spirv-llvm-translator-18.1.4
> 
> this time spirv-llvm-translator-15.0.4-r1 (visibly needed by
> intel-compute-runtime, together with llvm-15,clang-15) got emerged after
> 18.1.4 (which is used by mesa?) though not sure if this was the root of the
> problem.

I can confirm this solution. I did however have both spirv-llvm-translator-18.1.4 and spirv-llvm-translator-15.0.4-r1 installed prior to trying this and it didn't work.