1. Build under eselect ocl-icd 2. Buld without errors 3. Start via shell; Segmentation fault Reproducible: Always emerge --info clinfo Portage 2.3.40 (python 2.7.14-final-0, hardened/linux/amd64/selinux, gcc-7.3.0, glibc-2.26-r7, 4.17.8 x86_64) ================================================================= System Settings ================================================================= System uname: Linux-4.17.8-x86_64-Intel-R-_Core-TM-2_Duo_CPU_P8600_@_2.40GHz-with-gentoo-2.4.1 KiB Mem: 3991112 total, 583688 free KiB Swap: 3892220 total, 3818484 free Timestamp of repository gentoo: Thu, 16 Aug 2018 14:30:01 +0000 Head commit of repository gentoo: cee83c99b89e3cd437ee4a9d8a0169d859b6548d sh bash 4.4_p12 ld GNU ld (Gentoo 2.30 p2) 2.30.0 distcc 3.2rc1 x86_64-pc-linux-gnu [disabled] app-shells/bash: 4.4_p12::gentoo dev-lang/perl: 5.24.3-r1::gentoo dev-lang/python: 2.7.14-r1::gentoo, 3.6.5::gentoo dev-util/cmake: 3.9.6::gentoo dev-util/pkgconfig: 0.29.2::gentoo sys-apps/baselayout: 2.4.1-r2::gentoo sys-apps/openrc: 0.34.11::gentoo sys-apps/sandbox: 2.13::gentoo sys-devel/autoconf: 2.13::gentoo, 2.69-r4::gentoo sys-devel/automake: 1.11.6-r3::gentoo, 1.15.1-r2::gentoo sys-devel/binutils: 2.30-r2::gentoo sys-devel/gcc: 7.3.0-r3::gentoo sys-devel/gcc-config: 1.8-r1::gentoo sys-devel/libtool: 2.4.6-r3::gentoo sys-devel/make: 4.2.1-r3::gentoo sys-kernel/linux-headers: 4.13::gentoo (virtual/os-headers) sys-libs/glibc: 2.26-r7::gentoo Repositories: gentoo location: /usr/portage sync-type: rsync sync-uri: rsync://rsync.gentoo.org/gentoo-portage priority: -1000 sync-rsync-verify-jobs: 1 sync-rsync-verify-metamanifest: yes sync-rsync-extra-opts: sync-rsync-verify-max-age: 24 ACCEPT_KEYWORDS="amd64" ACCEPT_LICENSE="* -@EULA" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-fomit-frame-pointer -O2 -pipe -march=core2 -mmmx -mno-3dnow -msse -msse2 -msse3 -mssse3 -mno-sse4a -mcx16 -msahf -mno-movbe -mno-aes -mno-sha -mno-pclmul -mno-popcnt -mno-abm -mno-lwp -mno-fma -mno-fma4 -mno-xop -mno-bmi -mno-bmi2 -mno-tbm -mno-avx -mno-avx2 -mno-sse4.2 -msse4.1 -mno-lzcnt -mno-rtm -mno-hle -mno-rdrnd -mno-f16c -mno-fsgsbase -mno-rdseed -mno-prfchw -mno-adx -mfxsr -mno-xsave -mno-xsaveopt -mno-avx512f -mno-avx512er -mno-avx512cd -mno-avx512pf -mno-prefetchwt1 -mno-clflushopt -mno-xsavec -mno-xsaves -mno-avx512dq -mno-avx512bw -mno-avx512vl -mno-avx512ifma -mno-avx512vbmi -mno-clwb -mno-mwaitx -mno-clzero -mno-pku --param l1-cache-size=32 --param l1-cache-line-size=64 --param l2-cache-size=3072 -mtune=core2 -fstack-check" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /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/terminfo" CXXFLAGS="-O2 -pipe" DISTDIR="/usr/portage/distfiles" ENV_UNSET="DBUS_SESSION_BUS_ADDRESS DISPLAY 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-logs config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync multilib-strict news parallel-fetch preserve-libs protect-owned sandbox selinux sesandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr" FFLAGS="-O2 -pipe" GENTOO_MIRRORS="ftp://ftp.halifax.rwth-aachen.de/gentoo/ http://ftp.halifax.rwth-aachen.de/gentoo/ rsync://ftp.halifax.rwth-aachen.de/gentoo/" LDFLAGS="-Wl,-O1 -Wl,--as-needed" MAKEOPTS="-j3" 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="/var/tmp" USE="acl amd64 audit berkdb bzip2 cli crypt cxx dbus dri gdbm gles1 gles2 gmp hardened iconv ipv6 libinput libtirpc modules mpx multilib ncurses nls nptl open_perms opencl opengl openmp pam pcre peer_perms pgo pie readline seccomp selinux ssl ssp tcpd ubac udev unconfined unicode urandom vaapi vdpau xattr xtpax zlib" ABI_X86="64" 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 plan sheets stage words" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="mmx mmxext sse sse2 sse3 sse4_1 ssse3" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock isync itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 timing tsip tripmate tnt ublox ubx" INPUT_DEVICES="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="php5-6 php7-0" POSTGRES_TARGETS="postgres9_5 postgres10" PYTHON_SINGLE_TARGET="python3_6" PYTHON_TARGETS="python2_7 python3_6" QEMU_SOFTMMU_TARGETS="x86_64 arm i386" RUBY_TARGETS="ruby23" USERLAND="GNU" VIDEO_CARDS="i965 i915 radeon r600 intel" 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, INSTALL_MASK, LANG, LC_ALL, LINGUAS, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS ================================================================= Package Settings ================================================================= dev-util/clinfo-2.2.18.04.06::gentoo was built with the following: USE="" ABI_X86="(64)" ############################################################################## gdb stack and registers GNU gdb (Gentoo 8.1 p1) 8.1 Copyright (C) 2018 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html> This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Type "show copying" and "show warranty" for details. This GDB was configured as "x86_64-pc-linux-gnu". Type "show configuration" for configuration details. For bug reporting instructions, please see: <https://bugs.gentoo.org/>. Find the GDB manual and other documentation resources online at: <http://www.gnu.org/software/gdb/documentation/>. For help, type "help". Type "apropos word" to search for commands related to "word"... Reading symbols from clinfo...(no debugging symbols found)...done. (gdb) run Starting program: /usr/bin/clinfo [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib64/libthread_db.so.1". Program received signal SIGSEGV, Segmentation fault. 0x00007ffff32c8737 in ?? () from /opt/amdgpu/lib64/libamdocl-orca64.so (gdb) info registers rax 0x0 0 rbx 0x5555557b1fe0 93824994713568 rcx 0x5555557b0cc0 93824994708672 rdx 0x5555557b0c98 93824994708632 rsi 0x0 0 rdi 0x0 0 rbp 0x5555557b0cc0 0x5555557b0cc0 rsp 0x7fffffffd280 0x7fffffffd280 r8 0x5555557b0ad8 93824994708184 r9 0x0 0 r10 0x55555576f010 93824994439184 r11 0x0 0 r12 0x5555557b0c98 93824994708632 r13 0x5555557b0ad8 93824994708184 r14 0x5555557b0c98 93824994708632 r15 0x5555557b1fe0 93824994713568 rip 0x7ffff32c8737 0x7ffff32c8737 eflags 0x10202 [ IF RF ] cs 0x33 51 ss 0x2b 43 ds 0x0 0 es 0x0 0 fs 0x0 0 gs 0x0 0 (gdb) bt #0 0x00007ffff32c8737 in ?? () from /opt/amdgpu/lib64/libamdocl-orca64.so #1 0x00007ffff32cb6f1 in ?? () from /opt/amdgpu/lib64/libamdocl-orca64.so #2 0x00007ffff32e5678 in ?? () from /opt/amdgpu/lib64/libamdocl-orca64.so #3 0x00007ffff3638010 in ?? () from /opt/amdgpu/lib64/libamdocl-orca64.so #4 0x00007ffff32bb259 in ?? () from /opt/amdgpu/lib64/libamdocl-orca64.so #5 0x00007ffff32bb2cf in ?? () from /opt/amdgpu/lib64/libamdocl-orca64.so #6 0x00007ffff32bc057 in ?? () from /opt/amdgpu/lib64/libamdocl-orca64.so #7 0x00007ffff36e5c1e in ?? () from /opt/amdgpu/lib64/libamdocl-orca64.so #8 0x00007ffff36e714a in ?? () from /opt/amdgpu/lib64/libamdocl-orca64.so #9 0x00007ffff36e7366 in ?? () from /opt/amdgpu/lib64/libamdocl-orca64.so #10 0x00007ffff3298f07 in ?? () from /opt/amdgpu/lib64/libamdocl-orca64.so #11 0x00007ffff327c1c2 in clIcdGetPlatformIDsKHR () from /opt/amdgpu/lib64/libamdocl-orca64.so #12 0x00007ffff7bbadde in ?? () from /usr/lib64/OpenCL/vendors/ocl-icd/libOpenCL.so.1 #13 0x00007ffff7bbcd14 in clGetPlatformIDs () from /usr/lib64/OpenCL/vendors/ocl-icd/libOpenCL.so.1 #14 0x000055555555a0c0 in ?? () #15 0x00007ffff760305d in __libc_start_main () from /lib64/libc.so.6 #16 0x000055555555a41a in ?? ()
Do you have mesa installed?
Please reopen if/when more info for how to reproduce this issue is provided.