Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 729304 - dev-libs/intel-neo-20.16.16582 is not compatible with dev-util/opencl-headers-2020.06.16
Summary: dev-libs/intel-neo-20.16.16582 is not compatible with dev-util/opencl-headers...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Marek Szuba (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-06-23 12:25 UTC by Patrick Lauer
Modified: 2020-06-26 10:47 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Patrick Lauer gentoo-dev 2020-06-23 12:25:35 UTC
In file included from /home/portagetmp/portage/dev-libs/intel-neo-20.16.16582/work/compute-runtime-20.16.16582/opencl/source/api/api.cpp:52:
/home/portagetmp/portage/dev-libs/intel-neo-20.16.16582/work/compute-runtime-20.16.16582/opencl/source/api/api.cpp: In function âvoid* clGetExtensionFunctionAddress(const char*)â:
/home/portagetmp/portage/dev-libs/intel-neo-20.16.16582/work/compute-runtime-20.16.16582/opencl/source/api/api.cpp:4010:66: error: address of overloaded function with no contextual type information

[...]

[385/648] /usr/bin/x86_64-pc-linux-gnu-g++    @igdrcl_lib_release/CMakeFiles/igdrcl_lib_release.dir/__/__/shared/source/device_binary_format/patchtokens_dumper.cpp.o.rsp -MD -MT igdrcl_lib_release/CMakeFiles/igdrcl_lib_release.dir/__/__/shared/source/device_binary_format/patchtokens_dumper.cpp.o -MF igdrcl_lib_release/CMakeFiles/igdrcl_lib_release.dir/__/__/shared/source/device_binary_format/patchtokens_dumper.cpp.o.d -o igdrcl_lib_release/CMakeFiles/igdrcl_lib_release.dir/__/__/shared/source/device_binary_format/patchtokens_dumper.cpp.o -c /home/portagetmp/portage/dev-libs/intel-neo-20.16.16582/work/compute-runtime-20.16.16582/shared/source/device_binary_format/patchtokens_dumper.cpp
ninja: build stopped: subcommand failed.
 * ERROR: dev-libs/intel-neo-20.16.16582::gentoo failed (compile phase):
 *   ninja -v -j4 -l0 failed


Portage 2.3.101 (python 3.7.7-final-0, default/linux/amd64/17.0, gcc-9.3.0, glibc-2.31-r5, 5.7.1-gentoo x86_64)
=================================================================
System uname: Linux-5.7.1-gentoo-x86_64-Intel-R-_Core-TM-_i7-5600U_CPU_@_2.60GHz-with-gentoo-2.7
KiB Mem:    16298952 total,   7009628 free
KiB Swap:   33554428 total,  33554304 free
Timestamp of repository gentoo: Tue, 23 Jun 2020 07:30:01 +0000
Head commit of repository gentoo: b560296c624ab3a8711e355de60b200ee1621c01
sh bash 5.0_p17
ld GNU ld (Gentoo 2.34 p4) 2.34.0
app-shells/bash:          5.0_p17::gentoo
dev-java/java-config:     2.3::gentoo
dev-lang/perl:            5.30.3-r1::gentoo
dev-lang/python:          2.7.18::gentoo, 3.6.10-r2::gentoo, 3.7.7-r2::gentoo, 3.8.3::gentoo, 3.9.0_beta3::gentoo
dev-util/cmake:           3.17.3::gentoo
dev-util/pkgconfig:       0.29.2::gentoo
sys-apps/baselayout:      2.7::gentoo
sys-apps/openrc:          0.42.1::gentoo
sys-apps/sandbox:         2.20::gentoo
sys-devel/autoconf:       2.13-r1::gentoo, 2.69-r5::gentoo
sys-devel/automake:       1.16.2::gentoo
sys-devel/binutils:       2.34-r1::gentoo
sys-devel/gcc:            9.2.0-r4::gentoo, 9.3.0::gentoo, 10.1.0-r1::gentoo
sys-devel/gcc-config:     2.3.1::gentoo
sys-devel/libtool:        2.4.6-r6::gentoo
sys-devel/make:           4.3::gentoo
sys-kernel/linux-headers: 5.7::gentoo (virtual/os-headers)
sys-libs/glibc:           2.31-r5::gentoo
Repositories:

gentoo
    location: /usr/portage
    sync-type: rsync
    sync-uri: rsync://rsync.gentoo.org/gentoo-portage
    priority: -1000
    sync-rsync-verify-metamanifest: yes
    sync-rsync-verify-max-age: 24
    sync-rsync-extra-opts:
    sync-rsync-verify-jobs: 1

ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe -march=native"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/lib64/libreoffice/program/sofficerc /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/sandbox.d /etc/terminfo"
CXXFLAGS="-O2 -pipe -march=native"
DISTDIR="/home/distfiles"
ENV_UNSET="DBUS_SESSION_BUS_ADDRESS DISPLAY 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"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles ipc-sandbox merge-sync multilib-strict network-sandbox news parallel-fetch pid-sandbox preserve-libs protect-owned qa-unresolved-soname-deps sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://ftp.uni-erlangen.de/pub/mirrors/gentoo ftp://sunsite.informatik.rwth-aachen.de/pub/Linux/gentoo"
INSTALL_MASK="/etc/X11/xinit/xinitrc.d/80-dbus /usr/bin/dbus-launch"
LANG="C.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j4"
PKGDIR="/usr/portage/packages"
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="/home/portagetmp"
USE="X acl alsa amd64 berkdb bzip2 cli crypt dri fortran gdbm glamor iconv icu ipv6 libtirpc multilib ncurses nls nptl opengl openmp pam pcre readline seccomp split-usr sqlite ssl tcpd truetype unicode vaapi vdpau xattr zlib" ABI_X86="64" ADA_TARGET="gnat_2018" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache 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 avx avx2 fma3 mmx mmxext popcnt sse sse2 sse3 sse4_1 sse4_2 ssse3" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock greis isync itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 timing tsip tripmate tnt ublox ubx" INPUT_DEVICES="keyboard mouse evdev synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php7-2" POSTGRES_TARGETS="postgres10 postgres11" PYTHON_SINGLE_TARGET="python3_7" PYTHON_TARGETS="python2_7 python3_7" RUBY_TARGETS="ruby25" USERLAND="GNU" VIDEO_CARDS="intel i965 i915" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  CC, CPPFLAGS, CTARGET, CXX, EMERGE_DEFAULT_OPTS, LC_ALL, LINGUAS, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Marek Szuba (RETIRED) archtester gentoo-dev 2020-06-23 17:08:02 UTC
I have just tried building intel-neo-20.16.16582:
 - with gcc-9.3.0 and llvm-9,
 - with gcc-9.3.0 and llvm-10, and
 - with gcc-10 and llvm-9.
All builds have concluded successfully.
Comment 2 Sander Knopper 2020-06-25 21:36:08 UTC
In my case downgrading to =dev-util/opencl-headers-2020.03.13-r1 fixed compilation of intel-neo. I was using the latest "testing" version before that.
Comment 3 Marek Szuba (RETIRED) archtester gentoo-dev 2020-06-26 10:35:30 UTC
Okay, now we're getting somewhere!
Comment 4 Larry the Git Cow gentoo-dev 2020-06-26 10:47:19 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8b8f9dd8c692cd9572888626e5fa7cb22053c703

commit 8b8f9dd8c692cd9572888626e5fa7cb22053c703
Author:     Marek Szuba <marecki@gentoo.org>
AuthorDate: 2020-06-26 10:41:55 +0000
Commit:     Marek Szuba <marecki@gentoo.org>
CommitDate: 2020-06-26 10:46:53 +0000

    dev-libs/intel-neo: switch back to using bundled OpenCL headers
    
    The version currently in the tree does not build against recent versions
    of dev-util/opencl-headers, using the bundled ones is mostly harmless
    because they aren't installed anywhere, and it shouldn't cause any
    compatibility issues for OpenCL-aware applications (which build against
    dev-util/opencl-headers via >=virtual/opencl-3) because they link
    against libOpenCL provided by an ICD loader, not against NEO itself.
    
    Closes: https://bugs.gentoo.org/729304
    Signed-off-by: Marek Szuba <marecki@gentoo.org>

 dev-libs/intel-neo/intel-neo-20.16.16582.ebuild | 4 ----
 1 file changed, 4 deletions(-)