>>> Compiling source in /var/tmp/portage/dev-libs/rocm-opencl-driver-2.10.0/work/ROCm-OpenCL-Driver-roc-2.10.0 ... * Working in BUILD_DIR: "/var/tmp/portage/dev-libs/rocm-opencl-driver-2.10.0/work/rocm-opencl-driver-2.10.0_build" ninja -v -j4 -l0 [1/4] /usr/bin/x86_64-pc-linux-gnu-g++ -D__STDC_CONSTANT_MACROS -D__STDC_LIMIT_MACROS -I/usr/lib/llvm/roc/include -I/var/tmp/portage/dev-libs/rocm-opencl-driver-2.10.0/work/ROCm-OpenCL-Driver-roc-2.10.0/src/driver -DNDEBUG -O2 -pipe -march=native -std=c++14 -fno-rtti -Wall -MD -MT src/roc-cl/CMakeFiles/roc-cl.dir/roc-cl.cpp.o -MF src/roc-cl/CMakeFiles/roc-cl.dir/roc-cl.cpp.o.d -o src/roc-cl/CMakeFiles/roc-cl.dir/roc-cl.cpp.o -c /var/tmp/portage/dev-libs/rocm-opencl-driver-2.10.0/work/ROCm-OpenCL-Driver-roc-2.10.0/src/roc-cl/roc-cl.cpp [2/4] /usr/bin/x86_64-pc-linux-gnu-g++ -D__STDC_CONSTANT_MACROS -D__STDC_LIMIT_MACROS -Dopencl_driver_EXPORTS -I/usr/lib/llvm/roc/include -I/usr/lib/llvm/roc/include/llvm/Target/AMDGPU -I/var/tmp/portage/dev-libs/rocm-opencl-driver-2.10.0/work/ROCm-OpenCL-Driver-roc-2.10.0/src/driver -DNDEBUG -O2 -pipe -march=native -std=c++14 -fno-rtti -Wall -fPIC -MD -MT src/driver/CMakeFiles/opencl_driver.dir/AmdCompiler.cpp.o -MF src/driver/CMakeFiles/opencl_driver.dir/AmdCompiler.cpp.o.d -o src/driver/CMakeFiles/opencl_driver.dir/AmdCompiler.cpp.o -c /var/tmp/portage/dev-libs/rocm-opencl-driver-2.10.0/work/ROCm-OpenCL-Driver-roc-2.10.0/src/driver/AmdCompiler.cpp FAILED: src/driver/CMakeFiles/opencl_driver.dir/AmdCompiler.cpp.o /usr/bin/x86_64-pc-linux-gnu-g++ -D__STDC_CONSTANT_MACROS -D__STDC_LIMIT_MACROS -Dopencl_driver_EXPORTS -I/usr/lib/llvm/roc/include -I/usr/lib/llvm/roc/include/llvm/Target/AMDGPU -I/var/tmp/portage/dev-libs/rocm-opencl-driver-2.10.0/work/ROCm-OpenCL-Driver-roc-2.10.0/src/driver -DNDEBUG -O2 -pipe -march=native -std=c++14 -fno-rtti -Wall -fPIC -MD -MT src/driver/CMakeFiles/opencl_driver.dir/AmdCompiler.cpp.o -MF src/driver/CMakeFiles/opencl_driver.dir/AmdCompiler.cpp.o.d -o src/driver/CMakeFiles/opencl_driver.dir/AmdCompiler.cpp.o -c /var/tmp/portage/dev-libs/rocm-opencl-driver-2.10.0/work/ROCm-OpenCL-Driver-roc-2.10.0/src/driver/AmdCompiler.cpp /var/tmp/portage/dev-libs/rocm-opencl-driver-2.10.0/work/ROCm-OpenCL-Driver-roc-2.10.0/src/driver/AmdCompiler.cpp: In member function ‘bool amd::opencl_driver::AMDGPUCompiler::ExecuteAssembler(amd::opencl_driver::AMDGPUCompiler::AssemblerInvocation&)’: /var/tmp/portage/dev-libs/rocm-opencl-driver-2.10.0/work/ROCm-OpenCL-Driver-roc-2.10.0/src/driver/AmdCompiler.cpp:607:78: error: no matching function for call to ‘llvm::Target::createMCAsmInfo(llvm::MCRegisterInfo&, std::string&) const’ 607 | std::unique_ptr<MCAsmInfo> MAI(TheTarget->createMCAsmInfo(*MRI, Opts.Triple)); | ^ In file included from /var/tmp/portage/dev-libs/rocm-opencl-driver-2.10.0/work/ROCm-OpenCL-Driver-roc-2.10.0/src/driver/AmdCompiler.cpp:39: /usr/lib/llvm/roc/include/llvm/Support/TargetRegistry.h:339:14: note: candidate: ‘llvm::MCAsmInfo* llvm::Target::createMCAsmInfo(const llvm::MCRegisterInfo&, llvm::StringRef, const llvm::MCTargetOptions&) const’ 339 | MCAsmInfo *createMCAsmInfo(const MCRegisterInfo &MRI, StringRef TheTriple, | ^~~~~~~~~~~~~~~ /usr/lib/llvm/roc/include/llvm/Support/TargetRegistry.h:339:14: note: candidate expects 3 arguments, 2 provided /var/tmp/portage/dev-libs/rocm-opencl-driver-2.10.0/work/ROCm-OpenCL-Driver-roc-2.10.0/src/driver/AmdCompiler.cpp: In member function ‘bool amd::opencl_driver::AMDGPUCompiler::CompileAndLinkExecutable(amd::opencl_driver::Data*, amd::opencl_driver::Data*, const std::vector<std::__cxx11::basic_string<char> >&)’: /var/tmp/portage/dev-libs/rocm-opencl-driver-2.10.0/work/ROCm-OpenCL-Driver-roc-2.10.0/src/driver/AmdCompiler.cpp:1258:58: error: too few arguments to function ‘bool lld::elf::link(llvm::ArrayRef<const char*>, bool, llvm::raw_ostream&, llvm::raw_ostream&)’ 1258 | bool lldRet = lld::elf::link(ArgRefs, false, OS); | ^ In file included from /var/tmp/portage/dev-libs/rocm-opencl-driver-2.10.0/work/ROCm-OpenCL-Driver-roc-2.10.0/src/driver/AmdCompiler.cpp:58: /usr/lib/llvm/roc/include/lld/Common/Driver.h:27:6: note: declared here 27 | bool link(llvm::ArrayRef<const char *> args, bool canExitEarly, | ^~~~ /var/tmp/portage/dev-libs/rocm-opencl-driver-2.10.0/work/ROCm-OpenCL-Driver-roc-2.10.0/src/driver/AmdCompiler.cpp: In member function ‘virtual bool amd::opencl_driver::AMDGPUCompiler::DumpExecutableAsText(amd::opencl_driver::Buffer*, amd::opencl_driver::File*)’: /var/tmp/portage/dev-libs/rocm-opencl-driver-2.10.0/work/ROCm-OpenCL-Driver-roc-2.10.0/src/driver/AmdCompiler.cpp:1301:80: error: no matching function for call to ‘llvm::Target::createMCAsmInfo(llvm::MCRegisterInfo&, const string&) const’ 1301 | std::unique_ptr<MCAsmInfo> AsmInfo(TheTarget->createMCAsmInfo(*MRI, TripleStr)); | ^ In file included from /var/tmp/portage/dev-libs/rocm-opencl-driver-2.10.0/work/ROCm-OpenCL-Driver-roc-2.10.0/src/driver/AmdCompiler.cpp:39: /usr/lib/llvm/roc/include/llvm/Support/TargetRegistry.h:339:14: note: candidate: ‘llvm::MCAsmInfo* llvm::Target::createMCAsmInfo(const llvm::MCRegisterInfo&, llvm::StringRef, const llvm::MCTargetOptions&) const’ 339 | MCAsmInfo *createMCAsmInfo(const MCRegisterInfo &MRI, StringRef TheTriple, | ^~~~~~~~~~~~~~~ /usr/lib/llvm/roc/include/llvm/Support/TargetRegistry.h:339:14: note: candidate expects 3 arguments, 2 provided ninja: build stopped: subcommand failed. * ERROR: dev-libs/rocm-opencl-driver-2.10.0::gentoo failed (compile phase): * ninja -v -j4 -l0 failed
Portage 2.3.89 (python 3.6.10-final-0, default/linux/amd64/17.1, gcc-9.2.0, glibc-2.30-r4, 5.5.6-gentoo-x86_64 x86_64) ================================================================= System uname: Linux-5.5.6-gentoo-x86_64-x86_64-AMD_Athlon_3000G_with_Radeon_Vega_Graphics-with-gentoo-2.7 KiB Mem: 14280604 total, 9525888 free KiB Swap: 0 total, 0 free Timestamp of repository gentoo: Tue, 03 Mar 2020 05:00:01 +0000 Head commit of repository gentoo: 7b1c50f1d331f650a72558744dbae4bbbda38ce9 sh bash 5.0_p16 ld GNU ld (Gentoo 2.32 p2) 2.32.0 app-shells/bash: 5.0_p16::gentoo dev-lang/perl: 5.30.1::gentoo dev-lang/python: 2.7.17-r1::gentoo, 3.6.10::gentoo, 3.7.6::gentoo, 3.8.2::gentoo dev-util/cmake: 3.16.4::gentoo sys-apps/baselayout: 2.7::gentoo sys-apps/openrc: 0.42.1::gentoo sys-apps/sandbox: 2.18::gentoo sys-devel/autoconf: 2.69-r5::gentoo sys-devel/automake: 1.16.1-r2::gentoo sys-devel/binutils: 2.32-r1::gentoo, 2.33.1-r1::gentoo, 2.34::gentoo sys-devel/gcc: 9.2.0-r4::gentoo sys-devel/gcc-config: 2.2.1::gentoo sys-devel/libtool: 2.4.6-r6::gentoo sys-devel/make: 4.3::gentoo sys-kernel/linux-headers: 5.5::gentoo (virtual/os-headers) sys-libs/glibc: 2.30-r4::gentoo Repositories: gentoo location: /var/db/repos/gentoo sync-type: rsync sync-uri: rsync://rsync.gentoo.org/gentoo-portage priority: -1000 sync-rsync-verify-jobs: 1 sync-rsync-extra-opts: sync-rsync-verify-metamanifest: yes sync-rsync-verify-max-age: 24 x-overlay location: /overlay masters: gentoo priority: 0 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/share/gnupg/qualified.txt" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo" CXXFLAGS="-O2 -pipe -march=native" DISTDIR="/var/cache/distfiles" ENV_UNSET="DBUS_SESSION_BUS_ADDRESS DISPLAY GOBIN 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 -march=native" 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 -march=native" GENTOO_MIRRORS="http://distfiles.gentoo.org" LANG="en_US.utf8" LDFLAGS="-Wl,-O1 -Wl,--as-needed" MAKEOPTS="-j4" 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" USE="acl amd64 berkdb bzip2 cli crypt cxx dri fortran gdbm iconv ipv6 libtirpc multilib ncurses nls nptl opencl openmp pam pcre readline seccomp split-usr sqlite ssl tcpd udev unicode 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="mmx mmxext sse sse2" 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="libinput keyboard mouse" 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_6" PYTHON_TARGETS="python2_7 python3_6" RUBY_TARGETS="ruby27 ruby26" USERLAND="GNU" VIDEO_CARDS="amdgpu fbdev intel nouveau radeon radeonsi vesa dummy v4l" 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, LC_ALL, LINGUAS, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7841978240ff1d9c9b7b19cb898149d7e0c5a60a commit 7841978240ff1d9c9b7b19cb898149d7e0c5a60a Author: Craig Andrews <candrews@gentoo.org> AuthorDate: 2020-03-03 13:53:44 +0000 Commit: Craig Andrews <candrews@gentoo.org> CommitDate: 2020-03-03 13:55:42 +0000 package.mask: Last rite dev-libs/rocm-opencl-driver Bug: https://bugs.gentoo.org/711398 Signed-off-by: Craig Andrews <candrews@gentoo.org> profiles/package.mask | 5 +++++ 1 file changed, 5 insertions(+)
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6739d9144e2267ff04d073ff61d571fa80f59bf5 commit 6739d9144e2267ff04d073ff61d571fa80f59bf5 Author: Craig Andrews <candrews@gentoo.org> AuthorDate: 2020-04-06 17:10:49 +0000 Commit: Craig Andrews <candrews@gentoo.org> CommitDate: 2020-04-06 17:12:06 +0000 dev-libs/rocm-opencl-driver: Remove last rited package Closes: https://bugs.gentoo.org/711398 Signed-off-by: Craig Andrews <candrews@gentoo.org> dev-libs/rocm-opencl-driver/Manifest | 1 - dev-libs/rocm-opencl-driver/metadata.xml | 14 -------- .../rocm-opencl-driver-2.10.0.ebuild | 41 ---------------------- profiles/package.mask | 5 --- 4 files changed, 61 deletions(-)