Git Product home page Git Product logo

rocm's Introduction

Ebuilds to install ROCm on Gentoo Linux

-> https://github.com/RadeonOpenCompute/ROCm

Please report all problems here first, if you tried ebuilds of this repository.
All ebuilds which are already exist in Gentoo portage will be removed from this repository.
If you have a problem with an ebuild from Gentoo portage then submit a bugreport at https://bugs.gentoo.org/.

The ebuilds for ROCm 4.0.0 are in a good state.
All ebuilds which depend on HIP are updated to depend on "dev-util/hip" in Gentoo portage.
Their are some more ebuilds which are in portage now and will be removed soon.

Ebuilds for ROCm 4.3.0 are work in progress...
Feel free to open an issue to report problems, bugs or simply your experience.

Thanks to all contributors.

The following tables show all ebuilds tested (2021-09-05) in this repository.
All other ebuilds can be out of date!

Kernel, driver, libraries, compiler and tools:

Ebuild Current Version State FHS in Gentoo portage other overlay
sys-kernel/rocm-sources 4.3.0 based on linux kernel 5.11.0 (ok)
dev-util/rocm-cmake 4.3.0 Yes ✔️
3.8.0, 3.9.0, 3.10.0, 4.0.0, 4.1.0, 4.2.0, 4.3.0
dev-libs/roct-thunk-interface 4.3.0 Yes ✔️
4.0.0, 4.1.0, 4.2.0, 4.3.0
sys-devel/llvm-roc 4.3.0 Yes ✔️
3.7.0, 3.8.0, 3.9.0, 3.10.0, 4.0.0, 4.1.0, 4.2.0, 4.3.0
dev-libs/rocm-device-libs 4.3.0 Yes ✔️
3.7.0, 3.8.0, 3.9.0, 3.10.0, 4.0.0, 4.1.0, 4.2.0, 4.3.0
media-libs/hsa-amd-aqlprofile 4.3.0 (ok)
dev-libs/rocr-runtime 4.3.0 Yes ✔️
3.8.0, 3.9.0, 3.10.0, 4.0.0, 4.1.0, 4.2.0, 4.3.0
dev-util/rocminfo 4.3.0 Yes ✔️
3.7.0, 3.8.0, 3.9.0, 3.10.0, 4.0.0, 4.1.0, 4.2.0, 4.3.0
dev-util/rocm-bandwidth-test 4.3.0 (ok)
dev-libs/rocm-smi-lib 4.3.0 (ok)
dev-util/rocm-smi 4.0.0 deprecated Yes ✔️
4.0.0
dev-libs/rocm-comgr 4.3.0 Yes ✔️
3.9.0, 3.10.0, 4.0.0, 4.1.0, 4.2.0, 4.3.0
dev-libs/amd-dbgapi 4.3.0 (ok)
dev-libs/rocclr 4.3.0 Yes ✔️
3.8.0, 3.9.0, 3.10.0, 4.0.0, 4.1.0, 4.2.0, 4.3.0
dev-libs/rocm-opencl-runtime 4.3.0 Yes ✔️
3.8.0, 3.9.0, 3.10.0, 4.0.0, 4.1.0, 4.2.0, 4.3.0
dev-util/rocm-clang-ocl 4.3.0 Yes ✔️
4.3.0
dev-util/hip 4.3.0 Yes ✔️
4.0.0, 4.1.0, 4.2.0, 4.3.0
dev-libs/rocm-debug-agent 4.3.0 (ok)
dev-util/roctracer 4.3.0 Yes ✔️
4.0.0, 4.2.0, 4.3.0
dev-util/rocprofiler 4.3.0 (ok)
dev-util/rcp 5.6 (ok)
dev-libs/rccl 4.3.0 Yes ✔️
4.0.0, 4.3.0
dev-util/Tensile 4.0.0 Yes ✔️
4.3.0, 5.0.2

ROCm Libraries:
Ebuild Current Version State FHS in Gentoo portage other overlay
sci-libs/rocPRIM 4.3.0 Yes ✔️
4.0.0, 4.3.0
sci-libs/rocRAND 4.3.0 Yes ✔️
4.0.0, 4.3.0
sci-libs/rocFFT 4.3.0 Yes ✔️
4.0.0, 4.3.0
sci-libs/rocSPARSE 4.3.0 Yes ✔️
4.0.0, 4.3.0
sci-libs/rocBLAS 4.3.0 Yes ✔️
4.3.0
sci-libs/rocSOLVER 4.0.0 Yes ✔️
4.3.0, 5.0.2
sci-libs/rocALUTION 4.0.0 (ok)
sci-libs/rocThrust 4.3.0 Yes ✔️
4.0.0, 4.3.0
sci-libs/hipCUB 4.3.0 Yes ✔️
4.0.0, 4.3.0
sci-libs/hipBLAS 4.0.0 Yes ✔️
4.3.0
sci-libs/hipFFT Yes ✔️
4.3.0
sci-libs/hipSPARSE 4.3.0 Yes ✔️
4.0.0, 4.3.0
sci-libs/MIOpenGEMM 4.0.0 (ok)
sci-libs/MIOpen 4.3.0 Yes ✔️
4.3.0

Meta ebuilds:
Ebuild Current Version State FHS in Gentoo portage
dev-util/amd-rocm-meta 4.0.0 (ok)

Systems known to work:
No CPU PCIe GPU additional information
1 Intel Core i5 8400 PCIe 3.0 Radeon RX 560 (POLARIS11)
2 Intel Core i7 6700k PCIe 3.0 over Thunderbolt 3 Radeon VII
3 AMD Ryzen 1700 PCIe 3.0 Radeon RX 580

=== For tensorflow-rocm ===

emerge miopen rocFFT rocRAND rocBLAS rccl rocm-smi rocminfo

=== AMDGPU wiki page ===

https://wiki.gentoo.org/wiki/AMDGPU#SME https://wiki.gentoo.org/wiki/AMDGPU#Kernel

=== udev rule for ROCm ===

This is so ROCm utilities and libraries can function correctly.

echo 'SUBSYSTEM=="kfd", KERNEL=="kfd", TAG+="uaccess", GROUP="video"' | sudo tee /etc/udev/rules.d/70-kfd.rules

You probably also want to add a video group if you don't already have one and add yourself to it.

Add a video group: emerge acct-group/video

Add your user account to the group: sudo usermod -a -G video $LOGNAME

=== ROCm debugging tools ===

In no particular order some helpful utilities for testing ROCm are:

Note: clinfo might not work with a noexec /tmp

rocminfo && rocm-smi && hipconfig && clinfo && MIOpenDriver pool

rocm's People

Contributors

2l42h3r avatar aclex avatar b4ckslash avatar bluecube avatar davidrohr avatar devang avatar hagar-dunor avatar justxi avatar littlewu2508 avatar lucretia avatar nrndda avatar preney avatar rexy712 avatar technohacker avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

rocm's Issues

Clean up old packages

The reposity has the full history containing also the 1.x packages. Should we clean this up at some point, and keep only the last 2 or 3 releases?

Imported target "hip::device" includes non-existent path

I am currently trying to use "cmake-utils" for all sci-libs.
I started with "sci-libs/rocRAND", but then it fails with the following error:

CMake Error in library/CMakeLists.txt:
Imported target "hip::device" includes non-existent path

"/usr/lib/cmake/hsakmt//include"

in its INTERFACE_INCLUDE_DIRECTORIES. Possible reasons include:

  • The path was deleted, renamed, or moved to another location.

  • An install or uninstall procedure did not complete successfully.

  • The installation package was faulty and references files it does not
    provide.

I have prepared "sci-libs/rocRAND-2.7.0-r1" with "cmake-utils".
In "sci-libs/rocRAND-2.7.0" I don´t use "cmake-utils", the error is there too, but is ignored (compiling and installing is fine).

It seems that this is imported from "hip" or dependencies.

roct-thunk-interface-2.2.0-correctly-install.patch: No such file or directory

Emerging (6 of 13) dev-libs/roct-thunk-interface-2.2.0::localrepo

 * Determining the location of the kernel source code
 * Found kernel source directory:
 *     /usr/src/linux
 * Found sources for kernel version:
 *     5.0.1-gentoo
 * Checking for suitable kernel configuration options...                                                                                       [ ok ]
>>> Unpacking source...
>>> Unpacking roct-thunk-interface-2.2.0.tar.gz to /var/tmp/portage/dev-libs/roct-thunk-interface-2.2.0/work
>>> Source unpacked in /var/tmp/portage/dev-libs/roct-thunk-interface-2.2.0/work
>>> Preparing source in /var/tmp/portage/dev-libs/roct-thunk-interface-2.2.0/work/ROCT-Thunk-Interface-roc-2.2.0 ...
 * Applying roct-thunk-interface-2.2.0-correctly-install.patch ...
/var/tmp/portage/dev-libs/roct-thunk-interface-2.2.0/temp/environment: 
line 1227: /var/tmp/portage/dev-libs/roct-thunk-interface-2.2.0/files/roct-thunk-interface-2.2.0-correctly-install.patch: No such file or directory                                                                           [ !! ]
 * ERROR: dev-libs/roct-thunk-interface-2.2.0::localrepo failed (prepare phase):
 *   patch -p1  failed with /var/tmp/portage/dev-libs/roct-thunk-interface-2.2.0/files/roct-thunk-interface-2.2.0-correctly-install.patch
 Call stack:
 *               ebuild.sh, line  124:  Called src_prepare
 *             environment, line 2615:  Called cmake-utils_src_prepare
 *             environment, line 1107:  Called default_src_prepare
 *      phase-functions.sh, line  933:  Called __eapi6_src_prepare
 *             environment, line  237:  Called eapply '/var/tmp/portage/dev-libs/roct-thunk-interface-2.2.0/files/roct-thunk-interface-2.2.0-correctly-install.patch'
 *             environment, line 1292:  Called _eapply_patch '/var/tmp/portage/dev-libs/roct-thunk-interface-2.2.0/files/roct-thunk-interface-2.2.0-correctly-install.patch'
 *             environment, line 1230:  Called __helpers_die 'patch -p1  failed with /var/tmp/portage/dev-libs/roct-thunk-interface-2.2.0/files/roct-thunk-interface-2.2.0-correctly-install.patch'
 *   isolated-functions.sh, line  119:  Called die
 * The specific snippet of code:
 *   		die "$@"

Installation directories / Duplicate files

Great, now /opt/rocm is fully gone. There are still some packages, where I am not so sure about the installation directories:

  • rocm-device-libs: installs the bitcode files *.bc directly to /usr/lib, perhaps this should go to /usr/lib/bitcode?
  • rocm-device-libs and rocr-runtime basically install the same header files (they have the same name, but different size), rocm-device-libs go directly to /usr/include and rocr-runtime goes to /usr/include/hsa. Not fully sure how to fix this, but I think these files should be present only once, and ideally in /usr/include/hsa
  • roct-thunk-interface installs 2 more hsa headers, this time not overlapping with rocr-runtime. They go directly to /usr/include, perhaps /usr/include/hsa would be better, but not sure.
  • rocm-comgr installs 2 .pch files to /usr/include. These are binary files, not headers. Probably shouldn't go to include.
  • hcc still installs to /usr/lib/hcc/${PV}/, I'd get rid of the ${PV}

Please comment what you think on these.

hipcc wants rocm_agent_enumerator in /opt but it's not there

$ hipcc -h
Can't exec "/opt/rocm/bin/rocm_agent_enumerator": No such file or directory at /usr/lib/hip/bin/hipcc line 690.
Use of uninitialized value $myAgents in split at /usr/lib/hip/bin/hipcc line 691.
Died at /usr/lib/hip/bin/hipcc line 733.
No valid AMD GPU target was either specified or found. Please specify a valid target using --amdgpu-target=

$ rocm_agent_enumerator 
gfx000
gfx701

$ which rocm_agent_enumerator 
/usr/bin/rocm_agent_enumerator

missing files and digests

 # emerge -pv amd-rocm-meta

These are the packages that would be merged, in order:

Calculating dependencies / * Missing digest for '/usr/local/overlay/rocm/dev-libs/roct-thunk-interface/roct-thunk-interface-2.2.0.ebuild'
... done!
[ebuild  N    ~] media-libs/hsa-amd-aqlprofile-1.0.0::rocm  0 KiB
[ebuild  N    ~] dev-libs/rocr-runtime-2.0.0:0/2.0::rocm  0 KiB
[ebuild  N    ~] sys-devel/llvm-roc-2.0.0::rocm  43.641 KiB
[ebuild  N    ~] dev-util/rocm-smi-2.0.0::rocm  0 KiB
[ebuild  N    ~] dev-util/rocprofiler-2.0.0::rocm  USE="-debug" 0 KiB
[ebuild  N    ~] dev-util/rocminfo-1.0.0::rocm  0 KiB
[ebuild  N    ~] sys-devel/hcc-2.0.0:2.0::rocm  0 KiB
[ebuild  N    ~] dev-libs/rocm-opencl-runtime-2.0.0:0/2.0::rocm  0 KiB
[ebuild  N    ~] dev-libs/rocm-opencl-driver-2.0.0::rocm  0 KiB
[ebuild  N    ~] sys-devel/hip-2.0.0:2.1::rocm  0 KiB
[ebuild  N     ] sys-devel/amd-rocm-meta-2.0.0:2.0::rocm  0 KiB

Total: 11 packages (11 new), Size of downloads: 43.641 KiB
 # emerge amd-rocm-meta
Calculating dependencies / * Missing digest for '/usr/local/overlay/rocm/dev-libs/roct-thunk-interface/roct-thunk-interface-2.2.0.ebuild'
... done!

>>> Verifying ebuild manifests

!!! Digest verification failed:
!!! /usr/local/overlay/rocm/sys-devel/hcc/hcc-2.0.9999.ebuild
!!! Reason: Filesize does not match recorded size
!!! Got: 787
!!! Expected: 793

!!! Digest verification failed:
!!! /usr/local/overlay/rocm/dev-libs/rocm-opencl-driver/rocm-opencl-driver-2.0.0.ebuild
!!! Reason: Failed on BLAKE2B verification
!!! Got: cf77621c582fb92fe0be31f13fe391fe9e3d6c97ce567d635de9b4d4b10a396cbb6b27e9cecd2c45cde525aa52fdd1dbb56501e878b5cd7d71e449f196d6611e
!!! Expected: a93e2069e41db453eed834421a7551148b2e07b2e7b4d73f8e58c123ef924db35a782a38bec88adc983e33911a3bf21a4520089c428f7eee57c1b80f53be61d0

!!! A file listed in the Manifest could not be found: /usr/local/overlay/rocm/sys-devel/hip/files/1.9.9999-DisableTest.patch

Cannot build rocRAND-2.7.0

There are a number of issues here, firstly, I've had to fix the tree to allow merging of all 2.7.x ebuilds #66

Secondly, I've had to modify the ebuild for this package because it couldn't find hc_defines.h in the hip install:

diff --git a/sci-libs/rocRAND/rocRAND-2.7.0-r1.ebuild b/sci-libs/rocRAND/rocRAND-2.7.0-r1.ebuild
index 0e54972..841d48c 100644
--- a/sci-libs/rocRAND/rocRAND-2.7.0-r1.ebuild
+++ b/sci-libs/rocRAND/rocRAND-2.7.0-r1.ebuild
@@ -41,17 +41,20 @@ src_prepare() {
 }
 
 src_configure() {
-	export PATH=$PATH:/usr/lib/hcc/$(ver_cut 1-2)/bin
-	export hcc_DIR=/usr/lib/hcc/$(ver_cut 1-2)/lib/cmake/
-	export hip_DIR=/usr/lib/hip/$(ver_cut 1-2)/lib/cmake/
-	export HIP_DIR=/usr/lib/hip/$(ver_cut 1-2)/lib/cmake/
-	export CXX=/usr/lib/hcc/$(ver_cut 1-2)/bin/hcc
+	local HCC_ROOT=/usr/lib/hcc/$(ver_cut 1-2)
+	
+	export PATH=$PATH:${HCC_ROOT}/bin
+	export hcc_DIR=${HCC_ROOT}/lib/cmake/
+	export hip_DIR=/usr/lib/hip/lib/cmake/
+	export HIP_DIR=/usr/lib/hip/lib/cmake/
+	export CXX=${HCC_ROOT}/bin/hcc
 
 	local mycmakeargs=(
 		-DHIP_PLATFORM=hcc
-		-DHIP_ROOT_DIR=/usr/lib/hip/$(ver_cut 1-2)/
+		-DHIP_ROOT_DIR=/usr/lib/hip
 		-DBUILD_TEST=OFF
 		-DCMAKE_INSTALL_PREFIX="/usr"
+		-DCMAKE_CXX_FLAGS:STRING="-I${HCC_ROOT}/include"
 	)
 
 	cmake-utils_src_configure

Then the build fails, so I submitted a bug report to the ROCm project

No OpenCL devices after installing 1.9

Ahoy, thanks for sharing your new ebuilds here. Still fighting with fireice-uk/xmr-stak#1485 - have updated to 1.9 now, but now neither my 1070 nor my Vega64 pop up in OpenCL.

I see there is a rocm kernel based on 14.15 but the rocm runtime pulls 14.18 gentoo sources as dep. Could you please clarify what the recommended things to install are?

rocBLAS - INTERFACE_INCLUDE_DIRECTORIES property contains path

The following must be fixed before the "rocBLAS" ebuild can use "cmake-utils":

CMake Error in library/src/CMakeLists.txt:
Target "rocblas" INTERFACE_INCLUDE_DIRECTORIES property contains path:

"/var/tmp/portage/sci-libs/rocBLAS-2.7.0-r1/work/rocBLAS-rocm-2.7/library/src/"

which is prefixed in the source directory.

Digest verification failed, filesize does not match, file is not listed in manifest

Hi, I'm trying to use your overlay for ROCm-2.5.0

$ sudo layman -o https://raw.githubusercontent.com/justxi/rocm/master/repositories.xml -f -a rocm

then

$ sudo emerge -avq hcc
 * Digest verification failed:
 * /var/lib/layman/rocm/sys-devel/hcc/hcc-9999-r2.ebuild
 * Reason: Filesize does not match recorded size
 * Got: 810
 * Expected: 816
 * Digest verification failed:
 * /var/lib/layman/rocm/sys-devel/hcc/hcc-9999.ebuild
 * Reason: Filesize does not match recorded size
 * Got: 686
 * Expected: 692
 * Digest verification failed:
 * /var/lib/layman/rocm/sys-devel/hcc/hcc-2.0.9999.ebuild
 * Reason: Filesize does not match recorded size
 * Got: 787
 * Expected: 793
 ...
$ sudo emerge -avq =sys-devel/amd-rocm-meta-2.5.0
 * A file is not listed in the Manifest: '/var/lib/layman/rocm/sys-devel/hip/hip-2.0.0.ebuild'

!!! All ebuilds that could satisfy "=sys-devel/hip-2.5.0*" have been masked.
!!! One of the following masked packages is required to complete your request:
- sys-devel/hip-2.5.0::rocm (masked by: corruption)

(dependency required by "sys-devel/amd-rocm-meta-2.5.0::rocm" [ebuild])
(dependency required by "=sys-devel/amd-rocm-meta-2.5.0" [argument])
For more information, see the MASKED PACKAGES section in the emerge
man page or refer to the Gentoo Handbook.

I see other issues like this that were patched. Am I doing something wrong or is this a recurring bug?

Thanks!

repo init fails for rocm-opencl-runtime

I'm trying to emerge ROCm-OpenCL-Runtime-1.9.9999 and I keep getting an error when it's running the repo init -u https://github.com/RadeonOpenCompute/ROCm-OpenCL-Runtime.git -b roc-1.9.x -m opencl.xml command:

>>> Unpacking source...
gpg: keybox '/var/tmp/notmpfs/portage/media-libs/ROCm-OpenCL-Runtime-1.9.9999/homedir/.repoconfig/
gnupg/pubring.kbx' created
gpg: /var/tmp/notmpfs/portage/media-libs/ROCm-OpenCL-Runtime-1.9.9999/homedir/.repoconfig/gnupg/tr
ustdb.gpg: trustdb created
gpg: key 16530D5E920F5C65: public key "Repo Maintainer <[email protected]>" imported
gpg: can't connect to the agent: IPC connect call failed
gpg: key 67B7E448692B382C: public key "Conley Owens <[email protected]>" imported
gpg: can't connect to the agent: IPC connect call failed
gpg: Total number processed: 2
gpg:               imported: 2
fatal: registering repo maintainer keys failed
error: command 'sync' requires repo to be installed first.
         Use "repo init" to install it here.

When I run the same command as my user or as the root user manually it works fine.

What are your preferred tools and libraries?

Due to the fact that ROCm is based on a lot of tools and libraries, I added all supported by ROCM 2.6 to README.md. This does not necessarily mean that all can be added in the near future, due to the fact that we have to solve the main problems first:

  • unbundle rocm-opencl-runtime
  • build HIP based on "clang" (HIP-clang)
  • clean up repository

To focus on the desired tools and libraries every user could add a short statement, which libraries are important for his work.

So besides the basic tools my interest is to get to work

  • rocBLAS
  • rocALUTION

and as a prerequisite

  • rocPRIM
  • rocSPARSE

ROCm GCC OpenMP/OpenACC Offloading

I've had support for buildinig gcc offload accelerators in my gentoo-gpu overlay for a long time based on a modified toolchain.eclass and offload-gcc-* ebuilds. It had been bit-rotting for a while since I have no supported hardware. Just last week I had a support request which pointed out it wasn't building, so I had an incentive to get it working again and clean things up a bit. NVPTX target should be working now.

I read on Phoronix recently that AMD have provided patches to support ROCm as an offload accelerator so I need to look into getting it supported. Did you want to help get it working, and perhaps include it in this overlay? I can't test it unfortunately, unless the latest ROCm code supports using HSA_ENABLE_SDMA=0 with POLARIS10 since my CPU is an FX-9370.

rocm-opencl-runtime-2.0.0: .../runtime/device/rocm/libraries.amdgcn.inc:2:10: fatal error: oclc_correctly_rounded_sqrt_off.amdgcn.inc: No such file or directory #include "oclc_correctly_rounded_sqrt_off.amdgcn.inc"

[...]
In file included from /var/tmp/portage/dev-libs/rocm-opencl-runtime-2.0.0/work/ROCm-OpenCL-Runtime-roc-2.0.0/runtime/device/devprogram.cpp:16:0:
/var/tmp/portage/dev-libs/rocm-opencl-runtime-2.0.0/work/build/runtime/device/rocm/libraries.amdgcn.inc:2:10: fatal error: oclc_correctly_rounded_sqrt_off.amdgcn.inc: No such file or directory
#include "oclc_correctly_rounded_sqrt_off.amdgcn.inc"
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
make[2]: *** [runtime/CMakeFiles/oclruntime.dir/build.make:351: runtime/CMakeFiles/oclruntime.dir/device/devprogram.cpp.o] Error 1
rocm-opencl-runtime-2.0.0:20190124-164027.log
[...]

hipcc -v output

hipcc -v fails on linking. Not sure if this is fixed in any 2.8 ebuilds.

$ hipcc -v
HCC clang version 9.0.0 (/media/tmp/portage/portage/sys-devel/hcc-2.7.0/work/hcc-2.7.0/clang 5c2570257a8bbd74eff632fbc60692ef61ef8ecb) (/media/tmp/portage/portage/sys-devel/hcc-2.7.0/work/hcc-2.7.0/compiler 9a9477021e6998100ff64d1360dcfe64f65cebe5) (based on HCC 2.7.19322-2e764870-5c2570257a-9a9477021e6 )
Target: x86_64-unknown-linux-gnu
Thread model: posix
InstalledDir: /usr/lib/hcc/2.7/bin
Selected GCC installation: /usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0
Candidate multilib: .;@m64
Candidate multilib: 32;@m32
Selected multilib: .;@m64
Found CUDA installation: /opt/cuda, version 10.0
Found HCC installation: /usr/lib/hcc/2.7/bin/..
 "/usr/lib/hcc/2.7/bin/clamp-link" --verbose -L/usr/lib/hcc/2.7/bin/../lib --rpath=/usr/lib/hcc/2.7/bin/../lib -ldl -lm -lpthread -lhc_am -lmcwamp --amdgpu-target=gfx803 --eh-frame-hdr -m elf_x86_64 -dynamic-linker /lib64/ld-linux-x86-64.so.2 -o a.out /usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../lib64/crt1.o /usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../lib64/crti.o /usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/crtbegin.o -L/usr/lib/hcc/2.7/lib -L/usr/lib64 -L/usr/lib64 -L/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0 -L/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../lib64 -L/lib/../lib64 -L/usr/lib/../lib64 -L/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/lib -L/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../.. -L/usr/lib/hcc/2.7/bin/../lib -L/lib -L/usr/lib --rpath=/usr/lib/hip/lib /usr/lib/hip/lib/libhip_hcc.so --rpath=/usr/lib/hcc/2.7/lib -ldl -lm -lpthread -lhc_am --whole-archive -lmcwamp --no-whole-archive -lhsa-runtime64 -lhc_am -lm -lstdc++ -lm -lgcc_s -lgcc -lc -lgcc_s -lgcc /usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/crtend.o /usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../lib64/crtn.o -lclang_rt.builtins-x86_64
AMDGPU target array: gfx803

new kernel args: 

new host args: 

new other args: --verbose -L/usr/lib/hcc/2.7/bin/../lib --rpath=/usr/lib/hcc/2.7/bin/../lib -ldl -lm -lpthread -lhc_am -lmcwamp --eh-frame-hdr -m elf_x86_64 -dynamic-linker /lib64/ld-linux-x86-64.so.2 -o a.out /usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../lib64/crt1.o /usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../lib64/crti.o /usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/crtbegin.o -L/usr/lib/hcc/2.7/lib -L/usr/lib64 -L/usr/lib64 -L/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0 -L/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../lib64 -L/lib/../lib64 -L/usr/lib/../lib64 -L/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/lib -L/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../.. -L/usr/lib/hcc/2.7/bin/../lib -L/lib -L/usr/lib --rpath=/usr/lib/hip/lib /usr/lib/hip/lib/libhip_hcc.so --rpath=/usr/lib/hcc/2.7/lib -ldl -lm -lpthread -lhc_am --whole-archive -lmcwamp --no-whole-archive -lhsa-runtime64 -lhc_am -lm -lstdc++ -lm -lgcc_s -lgcc -lc -lgcc_s -lgcc /usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/crtend.o /usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../lib64/crtn.o -lclang_rt.builtins-x86_64

GNU ld (Gentoo 2.32 p2) 2.32.0
  Supported emulations:
   elf_x86_64
   elf32_x86_64
   elf_i386
   elf_iamcu
   elf_l1om
   elf_k1om
using internal linker script:
==================================================
/* Script for -z combreloc -z separate-code: combine and sort reloc sections with separate code segment */
/* Copyright (C) 2014-2019 Free Software Foundation, Inc.
   Copying and distribution of this script, with or without modification,
   are permitted in any medium without royalty provided the copyright
   notice and this notice are preserved.  */
OUTPUT_FORMAT("elf64-x86-64", "elf64-x86-64",
              "elf64-x86-64")
OUTPUT_ARCH(i386:x86-64)
ENTRY(_start)
SEARCH_DIR("/usr/x86_64-pc-linux-gnu/lib64"); SEARCH_DIR("/usr/lib64/binutils/x86_64-pc-linux-gnu/2.3264"); SEARCH_DIR("/usr/local/lib64"); SEARCH_DIR("/lib64"); SEARCH_DIR("/usr/lib64"); SEARCH_DIR("/usr/x86_64-pc-linux-gnu/lib"); SEARCH_DIR("/usr/lib64/binutils/x86_64-pc-linux-gnu/2.32"); SEARCH_DIR("/usr/local/lib"); SEARCH_DIR("/lib"); SEARCH_DIR("/usr/lib");
SECTIONS
{
  PROVIDE (__executable_start = SEGMENT_START("text-segment", 0x400000)); . = SEGMENT_START("text-segment", 0x400000) + SIZEOF_HEADERS;
  .interp         : { *(.interp) }
  .note.gnu.build-id  : { *(.note.gnu.build-id) }
  .hash           : { *(.hash) }
  .gnu.hash       : { *(.gnu.hash) }
  .dynsym         : { *(.dynsym) }
  .dynstr         : { *(.dynstr) }
  .gnu.version    : { *(.gnu.version) }
  .gnu.version_d  : { *(.gnu.version_d) }
  .gnu.version_r  : { *(.gnu.version_r) }
  .rela.dyn       :
    {
      *(.rela.init)
      *(.rela.text .rela.text.* .rela.gnu.linkonce.t.*)
      *(.rela.fini)
      *(.rela.rodata .rela.rodata.* .rela.gnu.linkonce.r.*)
      *(.rela.data .rela.data.* .rela.gnu.linkonce.d.*)
      *(.rela.tdata .rela.tdata.* .rela.gnu.linkonce.td.*)
      *(.rela.tbss .rela.tbss.* .rela.gnu.linkonce.tb.*)
      *(.rela.ctors)
      *(.rela.dtors)
      *(.rela.got)
      *(.rela.bss .rela.bss.* .rela.gnu.linkonce.b.*)
      *(.rela.ldata .rela.ldata.* .rela.gnu.linkonce.l.*)
      *(.rela.lbss .rela.lbss.* .rela.gnu.linkonce.lb.*)
      *(.rela.lrodata .rela.lrodata.* .rela.gnu.linkonce.lr.*)
      *(.rela.ifunc)
    }
  .rela.plt       :
    {
      *(.rela.plt)
      PROVIDE_HIDDEN (__rela_iplt_start = .);
      *(.rela.iplt)
      PROVIDE_HIDDEN (__rela_iplt_end = .);
    }
  . = ALIGN(CONSTANT (MAXPAGESIZE));
  .init           :
  {
    KEEP (*(SORT_NONE(.init)))
  }
  .plt            : { *(.plt) *(.iplt) }
.plt.got        : { *(.plt.got) }
.plt.sec        : { *(.plt.sec) }
  .text           :
  {
    *(.text.unlikely .text.*_unlikely .text.unlikely.*)
    *(.text.exit .text.exit.*)
    *(.text.startup .text.startup.*)
    *(.text.hot .text.hot.*)
    *(.text .stub .text.* .gnu.linkonce.t.*)
    /* .gnu.warning sections are handled specially by elf32.em.  */
    *(.gnu.warning)
  }
  .fini           :
  {
    KEEP (*(SORT_NONE(.fini)))
  }
  PROVIDE (__etext = .);
  PROVIDE (_etext = .);
  PROVIDE (etext = .);
  . = ALIGN(CONSTANT (MAXPAGESIZE));
  /* Adjust the address for the rodata segment.  We want to adjust up to
     the same address within the page on the next page up.  */
  . = SEGMENT_START("rodata-segment", ALIGN(CONSTANT (MAXPAGESIZE)) + (. & (CONSTANT (MAXPAGESIZE) - 1)));
  .rodata         : { *(.rodata .rodata.* .gnu.linkonce.r.*) }
  .rodata1        : { *(.rodata1) }
  .eh_frame_hdr   : { *(.eh_frame_hdr) *(.eh_frame_entry .eh_frame_entry.*) }
  .eh_frame       : ONLY_IF_RO { KEEP (*(.eh_frame)) *(.eh_frame.*) }
  .gcc_except_table   : ONLY_IF_RO { *(.gcc_except_table .gcc_except_table.*) }
  .gnu_extab   : ONLY_IF_RO { *(.gnu_extab*) }
  /* These sections are generated by the Sun/Oracle C++ compiler.  */
  .exception_ranges   : ONLY_IF_RO { *(.exception_ranges*) }
  /* Adjust the address for the data segment.  We want to adjust up to
     the same address within the page on the next page up.  */
  . = DATA_SEGMENT_ALIGN (CONSTANT (MAXPAGESIZE), CONSTANT (COMMONPAGESIZE));
  /* Exception handling  */
  .eh_frame       : ONLY_IF_RW { KEEP (*(.eh_frame)) *(.eh_frame.*) }
  .gnu_extab      : ONLY_IF_RW { *(.gnu_extab) }
  .gcc_except_table   : ONLY_IF_RW { *(.gcc_except_table .gcc_except_table.*) }
  .exception_ranges   : ONLY_IF_RW { *(.exception_ranges*) }
  /* Thread Local Storage sections  */
  .tdata          :
   {
     PROVIDE_HIDDEN (__tdata_start = .);
     *(.tdata .tdata.* .gnu.linkonce.td.*)
   }
  .tbss           : { *(.tbss .tbss.* .gnu.linkonce.tb.*) *(.tcommon) }
  .preinit_array    :
  {
    PROVIDE_HIDDEN (__preinit_array_start = .);
    KEEP (*(.preinit_array))
    PROVIDE_HIDDEN (__preinit_array_end = .);
  }
  .init_array    :
  {
    PROVIDE_HIDDEN (__init_array_start = .);
    KEEP (*(SORT_BY_INIT_PRIORITY(.init_array.*) SORT_BY_INIT_PRIORITY(.ctors.*)))
    KEEP (*(.init_array EXCLUDE_FILE (*crtbegin.o *crtbegin?.o *crtend.o *crtend?.o ) .ctors))
    PROVIDE_HIDDEN (__init_array_end = .);
  }
  .fini_array    :
  {
    PROVIDE_HIDDEN (__fini_array_start = .);
    KEEP (*(SORT_BY_INIT_PRIORITY(.fini_array.*) SORT_BY_INIT_PRIORITY(.dtors.*)))
    KEEP (*(.fini_array EXCLUDE_FILE (*crtbegin.o *crtbegin?.o *crtend.o *crtend?.o ) .dtors))
    PROVIDE_HIDDEN (__fini_array_end = .);
  }
  .ctors          :
  {
    /* gcc uses crtbegin.o to find the start of
       the constructors, so we make sure it is
       first.  Because this is a wildcard, it
       doesn't matter if the user does not
       actually link against crtbegin.o; the
       linker won't look for a file to match a
       wildcard.  The wildcard also means that it
       doesn't matter which directory crtbegin.o
       is in.  */
    KEEP (*crtbegin.o(.ctors))
    KEEP (*crtbegin?.o(.ctors))
    /* We don't want to include the .ctor section from
       the crtend.o file until after the sorted ctors.
       The .ctor section from the crtend file contains the
       end of ctors marker and it must be last */
    KEEP (*(EXCLUDE_FILE (*crtend.o *crtend?.o ) .ctors))
    KEEP (*(SORT(.ctors.*)))
    KEEP (*(.ctors))
  }
  .dtors          :
  {
    KEEP (*crtbegin.o(.dtors))
    KEEP (*crtbegin?.o(.dtors))
    KEEP (*(EXCLUDE_FILE (*crtend.o *crtend?.o ) .dtors))
    KEEP (*(SORT(.dtors.*)))
    KEEP (*(.dtors))
  }
  .jcr            : { KEEP (*(.jcr)) }
  .data.rel.ro : { *(.data.rel.ro.local* .gnu.linkonce.d.rel.ro.local.*) *(.data.rel.ro .data.rel.ro.* .gnu.linkonce.d.rel.ro.*) }
  .dynamic        : { *(.dynamic) }
  .got            : { *(.got) *(.igot) }
  . = DATA_SEGMENT_RELRO_END (SIZEOF (.got.plt) >= 24 ? 24 : 0, .);
  .got.plt        : { *(.got.plt) *(.igot.plt) }
  .data           :
  {
    *(.data .data.* .gnu.linkonce.d.*)
    SORT(CONSTRUCTORS)
  }
  .data1          : { *(.data1) }
  _edata = .; PROVIDE (edata = .);
  . = .;
  __bss_start = .;
  .bss            :
  {
   *(.dynbss)
   *(.bss .bss.* .gnu.linkonce.b.*)
   *(COMMON)
   /* Align here to ensure that the .bss section occupies space up to
      _end.  Align after .bss to ensure correct alignment even if the
      .bss section disappears because there are no input sections.
      FIXME: Why do we need it? When there is no .bss section, we do not
      pad the .data section.  */
   . = ALIGN(. != 0 ? 64 / 8 : 1);
  }
  .lbss   :
  {
    *(.dynlbss)
    *(.lbss .lbss.* .gnu.linkonce.lb.*)
    *(LARGE_COMMON)
  }
  . = ALIGN(64 / 8);
  . = SEGMENT_START("ldata-segment", .);
  .lrodata   ALIGN(CONSTANT (MAXPAGESIZE)) + (. & (CONSTANT (MAXPAGESIZE) - 1)) :
  {
    *(.lrodata .lrodata.* .gnu.linkonce.lr.*)
  }
  .ldata   ALIGN(CONSTANT (MAXPAGESIZE)) + (. & (CONSTANT (MAXPAGESIZE) - 1)) :
  {
    *(.ldata .ldata.* .gnu.linkonce.l.*)
    . = ALIGN(. != 0 ? 64 / 8 : 1);
  }
  . = ALIGN(64 / 8);
  _end = .; PROVIDE (end = .);
  . = DATA_SEGMENT_END (.);
  /* Stabs debugging sections.  */
  .stab          0 : { *(.stab) }
  .stabstr       0 : { *(.stabstr) }
  .stab.excl     0 : { *(.stab.excl) }
  .stab.exclstr  0 : { *(.stab.exclstr) }
  .stab.index    0 : { *(.stab.index) }
  .stab.indexstr 0 : { *(.stab.indexstr) }
  .comment       0 : { *(.comment) }
  .gnu.build.attributes : { *(.gnu.build.attributes .gnu.build.attributes.*) }
  /* DWARF debug sections.
     Symbols in the DWARF debugging sections are relative to the beginning
     of the section so we begin them at 0.  */
  /* DWARF 1 */
  .debug          0 : { *(.debug) }
  .line           0 : { *(.line) }
  /* GNU DWARF 1 extensions */
  .debug_srcinfo  0 : { *(.debug_srcinfo) }
  .debug_sfnames  0 : { *(.debug_sfnames) }
  /* DWARF 1.1 and DWARF 2 */
  .debug_aranges  0 : { *(.debug_aranges) }
  .debug_pubnames 0 : { *(.debug_pubnames) }
  /* DWARF 2 */
  .debug_info     0 : { *(.debug_info .gnu.linkonce.wi.*) }
  .debug_abbrev   0 : { *(.debug_abbrev) }
  .debug_line     0 : { *(.debug_line .debug_line.* .debug_line_end) }
  .debug_frame    0 : { *(.debug_frame) }
  .debug_str      0 : { *(.debug_str) }
  .debug_loc      0 : { *(.debug_loc) }
  .debug_macinfo  0 : { *(.debug_macinfo) }
  /* SGI/MIPS DWARF 2 extensions */
  .debug_weaknames 0 : { *(.debug_weaknames) }
  .debug_funcnames 0 : { *(.debug_funcnames) }
  .debug_typenames 0 : { *(.debug_typenames) }
  .debug_varnames  0 : { *(.debug_varnames) }
  /* DWARF 3 */
  .debug_pubtypes 0 : { *(.debug_pubtypes) }
  .debug_ranges   0 : { *(.debug_ranges) }
  /* DWARF Extension.  */
  .debug_macro    0 : { *(.debug_macro) }
  .debug_addr     0 : { *(.debug_addr) }
  .gnu.attributes 0 : { KEEP (*(.gnu.attributes)) }
  /DISCARD/ : { *(.note.GNU-stack) *(.gnu_debuglink) *(.gnu.lto_*) }
}


==================================================
ld: mode elf_x86_64
attempt to open /tmp/tmp.jKZVwIw6Xa/kernel_hsa.o succeeded
/tmp/tmp.jKZVwIw6Xa/kernel_hsa.o
attempt to open /usr/lib/hcc/2.7/bin/../lib/libdl.so failed
attempt to open /usr/lib/hcc/2.7/bin/../lib/libdl.a failed
attempt to open /usr/lib/hcc/2.7/lib/libdl.so failed
attempt to open /usr/lib/hcc/2.7/lib/libdl.a failed
attempt to open /usr/lib64/libdl.so succeeded
/usr/lib64/libdl.so
attempt to open /usr/lib/hcc/2.7/bin/../lib/libm.so failed
attempt to open /usr/lib/hcc/2.7/bin/../lib/libm.a failed
attempt to open /usr/lib/hcc/2.7/lib/libm.so failed
attempt to open /usr/lib/hcc/2.7/lib/libm.a failed
attempt to open /usr/lib64/libm.so succeeded
opened script file /usr/lib64/libm.so
/usr/lib64/libm.so
opened script file /usr/lib64/libm.so
attempt to open /lib64/libm.so.6 succeeded
/lib64/libm.so.6
attempt to open /usr/lib64/libmvec_nonshared.a succeeded
/usr/lib64/libmvec_nonshared.a
attempt to open /lib64/libmvec.so.1 succeeded
/lib64/libmvec.so.1
/usr/lib64/libmvec_nonshared.a
/lib64/libmvec.so.1
attempt to open /usr/lib/hcc/2.7/bin/../lib/libpthread.so failed
attempt to open /usr/lib/hcc/2.7/bin/../lib/libpthread.a failed
attempt to open /usr/lib/hcc/2.7/lib/libpthread.so failed
attempt to open /usr/lib/hcc/2.7/lib/libpthread.a failed
attempt to open /usr/lib64/libpthread.so succeeded
/usr/lib64/libpthread.so
attempt to open /usr/lib/hcc/2.7/bin/../lib/libhc_am.so succeeded
/usr/lib/hcc/2.7/bin/../lib/libhc_am.so
attempt to open /usr/lib/hcc/2.7/bin/../lib/libmcwamp.so succeeded
/usr/lib/hcc/2.7/bin/../lib/libmcwamp.so
attempt to open /usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../lib64/crt1.o succeeded
/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../lib64/crt1.o
attempt to open /usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../lib64/crti.o succeeded
/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../lib64/crti.o
attempt to open /usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/crtbegin.o succeeded
/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/crtbegin.o
attempt to open /usr/lib/hip/lib/libhip_hcc.so succeeded
/usr/lib/hip/lib/libhip_hcc.so
attempt to open /usr/lib/hcc/2.7/bin/../lib/libdl.so failed
attempt to open /usr/lib/hcc/2.7/bin/../lib/libdl.a failed
attempt to open /usr/lib/hcc/2.7/lib/libdl.so failed
attempt to open /usr/lib/hcc/2.7/lib/libdl.a failed
attempt to open /usr/lib64/libdl.so succeeded
/usr/lib64/libdl.so
attempt to open /usr/lib/hcc/2.7/bin/../lib/libm.so failed
attempt to open /usr/lib/hcc/2.7/bin/../lib/libm.a failed
attempt to open /usr/lib/hcc/2.7/lib/libm.so failed
attempt to open /usr/lib/hcc/2.7/lib/libm.a failed
attempt to open /usr/lib64/libm.so succeeded
opened script file /usr/lib64/libm.so
/usr/lib64/libm.so
opened script file /usr/lib64/libm.so
attempt to open /lib64/libm.so.6 succeeded
/lib64/libm.so.6
attempt to open /usr/lib64/libmvec_nonshared.a succeeded
/usr/lib64/libmvec_nonshared.a
attempt to open /lib64/libmvec.so.1 succeeded
/lib64/libmvec.so.1
attempt to open /usr/lib/hcc/2.7/bin/../lib/libpthread.so failed
attempt to open /usr/lib/hcc/2.7/bin/../lib/libpthread.a failed
attempt to open /usr/lib/hcc/2.7/lib/libpthread.so failed
attempt to open /usr/lib/hcc/2.7/lib/libpthread.a failed
attempt to open /usr/lib64/libpthread.so succeeded
/usr/lib64/libpthread.so
attempt to open /usr/lib/hcc/2.7/bin/../lib/libhc_am.so succeeded
/usr/lib/hcc/2.7/bin/../lib/libhc_am.so
attempt to open /usr/lib/hcc/2.7/bin/../lib/libmcwamp.so succeeded
/usr/lib/hcc/2.7/bin/../lib/libmcwamp.so
attempt to open /usr/lib/hcc/2.7/bin/../lib/libhsa-runtime64.so failed
attempt to open /usr/lib/hcc/2.7/bin/../lib/libhsa-runtime64.a failed
attempt to open /usr/lib/hcc/2.7/lib/libhsa-runtime64.so failed
attempt to open /usr/lib/hcc/2.7/lib/libhsa-runtime64.a failed
attempt to open /usr/lib64/libhsa-runtime64.so succeeded
/usr/lib64/libhsa-runtime64.so
attempt to open /usr/lib/hcc/2.7/bin/../lib/libhc_am.so succeeded
/usr/lib/hcc/2.7/bin/../lib/libhc_am.so
attempt to open /usr/lib/hcc/2.7/bin/../lib/libm.so failed
attempt to open /usr/lib/hcc/2.7/bin/../lib/libm.a failed
attempt to open /usr/lib/hcc/2.7/lib/libm.so failed
attempt to open /usr/lib/hcc/2.7/lib/libm.a failed
attempt to open /usr/lib64/libm.so succeeded
opened script file /usr/lib64/libm.so
/usr/lib64/libm.so
opened script file /usr/lib64/libm.so
attempt to open /lib64/libm.so.6 succeeded
/lib64/libm.so.6
attempt to open /usr/lib64/libmvec_nonshared.a succeeded
/usr/lib64/libmvec_nonshared.a
attempt to open /lib64/libmvec.so.1 succeeded
/lib64/libmvec.so.1
attempt to open /usr/lib/hcc/2.7/bin/../lib/libstdc++.so failed
attempt to open /usr/lib/hcc/2.7/bin/../lib/libstdc++.a failed
attempt to open /usr/lib/hcc/2.7/lib/libstdc++.so failed
attempt to open /usr/lib/hcc/2.7/lib/libstdc++.a failed
attempt to open /usr/lib64/libstdc++.so failed
attempt to open /usr/lib64/libstdc++.a failed
attempt to open /usr/lib64/libstdc++.so failed
attempt to open /usr/lib64/libstdc++.a failed
attempt to open /usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/libstdc++.so succeeded
/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/libstdc++.so
attempt to open /usr/lib/hcc/2.7/bin/../lib/libm.so failed
attempt to open /usr/lib/hcc/2.7/bin/../lib/libm.a failed
attempt to open /usr/lib/hcc/2.7/lib/libm.so failed
attempt to open /usr/lib/hcc/2.7/lib/libm.a failed
attempt to open /usr/lib64/libm.so succeeded
opened script file /usr/lib64/libm.so
/usr/lib64/libm.so
opened script file /usr/lib64/libm.so
attempt to open /lib64/libm.so.6 succeeded
/lib64/libm.so.6
attempt to open /usr/lib64/libmvec_nonshared.a succeeded
/usr/lib64/libmvec_nonshared.a
attempt to open /lib64/libmvec.so.1 succeeded
/lib64/libmvec.so.1
attempt to open /usr/lib/hcc/2.7/bin/../lib/libgcc_s.so failed
attempt to open /usr/lib/hcc/2.7/bin/../lib/libgcc_s.a failed
attempt to open /usr/lib/hcc/2.7/lib/libgcc_s.so failed
attempt to open /usr/lib/hcc/2.7/lib/libgcc_s.a failed
attempt to open /usr/lib64/libgcc_s.so failed
attempt to open /usr/lib64/libgcc_s.a failed
attempt to open /usr/lib64/libgcc_s.so failed
attempt to open /usr/lib64/libgcc_s.a failed
attempt to open /usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/libgcc_s.so succeeded
opened script file /usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/libgcc_s.so
/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/libgcc_s.so
opened script file /usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/libgcc_s.so
attempt to open libgcc_s.so.1 failed
attempt to open /usr/lib/hcc/2.7/bin/../lib/libgcc_s.so.1 failed
attempt to open /usr/lib/hcc/2.7/lib/libgcc_s.so.1 failed
attempt to open /usr/lib64/libgcc_s.so.1 failed
attempt to open /usr/lib64/libgcc_s.so.1 failed
attempt to open /usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/libgcc_s.so.1 succeeded
/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/libgcc_s.so.1
attempt to open /usr/lib/hcc/2.7/bin/../lib/libgcc.so failed
attempt to open /usr/lib/hcc/2.7/bin/../lib/libgcc.a failed
attempt to open /usr/lib/hcc/2.7/lib/libgcc.so failed
attempt to open /usr/lib/hcc/2.7/lib/libgcc.a failed
attempt to open /usr/lib64/libgcc.so failed
attempt to open /usr/lib64/libgcc.a failed
attempt to open /usr/lib64/libgcc.so failed
attempt to open /usr/lib64/libgcc.a failed
attempt to open /usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/libgcc.so failed
attempt to open /usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/libgcc.a succeeded
/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/libgcc.a
attempt to open /usr/lib/hcc/2.7/bin/../lib/libgcc.so failed
attempt to open /usr/lib/hcc/2.7/bin/../lib/libgcc.a failed
attempt to open /usr/lib/hcc/2.7/lib/libgcc.so failed
attempt to open /usr/lib/hcc/2.7/lib/libgcc.a failed
attempt to open /usr/lib64/libgcc.so failed
attempt to open /usr/lib64/libgcc.a failed
attempt to open /usr/lib64/libgcc.so failed
attempt to open /usr/lib64/libgcc.a failed
attempt to open /usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/libgcc.so failed
attempt to open /usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/libgcc.a succeeded
/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/libgcc.a
attempt to open /usr/lib/hcc/2.7/bin/../lib/libc.so failed
attempt to open /usr/lib/hcc/2.7/bin/../lib/libc.a failed
attempt to open /usr/lib/hcc/2.7/lib/libc.so failed
attempt to open /usr/lib/hcc/2.7/lib/libc.a failed
attempt to open /usr/lib64/libc.so succeeded
opened script file /usr/lib64/libc.so
/usr/lib64/libc.so
opened script file /usr/lib64/libc.so
attempt to open /lib64/libc.so.6 succeeded
/lib64/libc.so.6
attempt to open /usr/lib64/libc_nonshared.a succeeded
/usr/lib64/libc_nonshared.a
(/usr/lib64/libc_nonshared.a)elf-init.oS
attempt to open /lib64/ld-linux-x86-64.so.2 succeeded
/lib64/ld-linux-x86-64.so.2
/usr/lib64/libc_nonshared.a
/lib64/ld-linux-x86-64.so.2
attempt to open /usr/lib/hcc/2.7/bin/../lib/libgcc_s.so failed
attempt to open /usr/lib/hcc/2.7/bin/../lib/libgcc_s.a failed
attempt to open /usr/lib/hcc/2.7/lib/libgcc_s.so failed
attempt to open /usr/lib/hcc/2.7/lib/libgcc_s.a failed
attempt to open /usr/lib64/libgcc_s.so failed
attempt to open /usr/lib64/libgcc_s.a failed
attempt to open /usr/lib64/libgcc_s.so failed
attempt to open /usr/lib64/libgcc_s.a failed
attempt to open /usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/libgcc_s.so succeeded
opened script file /usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/libgcc_s.so
/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/libgcc_s.so
opened script file /usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/libgcc_s.so
attempt to open libgcc_s.so.1 failed
attempt to open /usr/lib/hcc/2.7/bin/../lib/libgcc_s.so.1 failed
attempt to open /usr/lib/hcc/2.7/lib/libgcc_s.so.1 failed
attempt to open /usr/lib64/libgcc_s.so.1 failed
attempt to open /usr/lib64/libgcc_s.so.1 failed
attempt to open /usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/libgcc_s.so.1 succeeded
/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/libgcc_s.so.1
attempt to open /usr/lib/hcc/2.7/bin/../lib/libgcc.so failed
attempt to open /usr/lib/hcc/2.7/bin/../lib/libgcc.a failed
attempt to open /usr/lib/hcc/2.7/lib/libgcc.so failed
attempt to open /usr/lib/hcc/2.7/lib/libgcc.a failed
attempt to open /usr/lib64/libgcc.so failed
attempt to open /usr/lib64/libgcc.a failed
attempt to open /usr/lib64/libgcc.so failed
attempt to open /usr/lib64/libgcc.a failed
attempt to open /usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/libgcc.so failed
attempt to open /usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/libgcc.a succeeded
/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/libgcc.a
attempt to open /usr/lib/hcc/2.7/bin/../lib/libgcc.so failed
attempt to open /usr/lib/hcc/2.7/bin/../lib/libgcc.a failed
attempt to open /usr/lib/hcc/2.7/lib/libgcc.so failed
attempt to open /usr/lib/hcc/2.7/lib/libgcc.a failed
attempt to open /usr/lib64/libgcc.so failed
attempt to open /usr/lib64/libgcc.a failed
attempt to open /usr/lib64/libgcc.so failed
attempt to open /usr/lib64/libgcc.a failed
attempt to open /usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/libgcc.so failed
attempt to open /usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/libgcc.a succeeded
/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/libgcc.a
attempt to open /usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/crtend.o succeeded
/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/crtend.o
attempt to open /usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../lib64/crtn.o succeeded
/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../lib64/crtn.o
attempt to open /usr/lib/hcc/2.7/bin/../lib/libclang_rt.builtins-x86_64.so failed
attempt to open /usr/lib/hcc/2.7/bin/../lib/libclang_rt.builtins-x86_64.a succeeded
/usr/lib/hcc/2.7/bin/../lib/libclang_rt.builtins-x86_64.a
ld-linux-x86-64.so.2 needed by /usr/lib64/libdl.so
found ld-linux-x86-64.so.2 at /lib64/ld-linux-x86-64.so.2
libamd_comgr.so needed by /usr/lib/hip/lib/libhip_hcc.so
attempt to open /usr/lib/hcc/2.7/bin/../lib/libamd_comgr.so failed
attempt to open /usr/lib/hip/lib/libamd_comgr.so failed
attempt to open /usr/lib/hcc/2.7/lib/libamd_comgr.so failed
attempt to open /usr/lib/hcc/2.7/bin/../lib/libamd_comgr.so failed
attempt to open /usr/lib/hcc/2.7/lib/libamd_comgr.so failed
attempt to open /usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/32/libamd_comgr.so failed
attempt to open /usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/libamd_comgr.so failed
attempt to open /usr/lib/gcc/x86_64-pc-linux-gnu/7.4.0/32/libamd_comgr.so failed
attempt to open /usr/lib/gcc/x86_64-pc-linux-gnu/7.4.0/libamd_comgr.so failed
attempt to open /usr/lib/OpenCL/vendors/ocl-icd/libamd_comgr.so failed
attempt to open /usr/lib64/OpenCL/vendors/ocl-icd/libamd_comgr.so failed
attempt to open /usr/lib/llvm/8/lib/libamd_comgr.so failed
attempt to open /usr/lib/llvm/8/lib64/libamd_comgr.so failed
attempt to open /usr/lib64/oprofile/libamd_comgr.so failed
attempt to open /lib64/libamd_comgr.so failed
found libamd_comgr.so at /usr/lib64/libamd_comgr.so
libhsakmt.so.1 needed by /usr/lib64/libhsa-runtime64.so
attempt to open /usr/lib/hcc/2.7/bin/../lib/libhsakmt.so.1 failed
attempt to open /usr/lib/hip/lib/libhsakmt.so.1 failed
attempt to open /usr/lib/hcc/2.7/lib/libhsakmt.so.1 failed
attempt to open /usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/32/libhsakmt.so.1 failed
attempt to open /usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/libhsakmt.so.1 failed
attempt to open /usr/lib/gcc/x86_64-pc-linux-gnu/7.4.0/32/libhsakmt.so.1 failed
attempt to open /usr/lib/gcc/x86_64-pc-linux-gnu/7.4.0/libhsakmt.so.1 failed
attempt to open /usr/lib/OpenCL/vendors/ocl-icd/libhsakmt.so.1 failed
attempt to open /usr/lib64/OpenCL/vendors/ocl-icd/libhsakmt.so.1 failed
attempt to open /usr/lib/llvm/8/lib/libhsakmt.so.1 failed
attempt to open /usr/lib/llvm/8/lib64/libhsakmt.so.1 failed
attempt to open /usr/lib64/oprofile/libhsakmt.so.1 failed
attempt to open /lib64/libhsakmt.so.1 failed
found libhsakmt.so.1 at /usr/lib64/libhsakmt.so.1
libelf.so.1 needed by /usr/lib64/libhsa-runtime64.so
attempt to open /usr/lib/hcc/2.7/bin/../lib/libelf.so.1 failed
attempt to open /usr/lib/hip/lib/libelf.so.1 failed
attempt to open /usr/lib/hcc/2.7/lib/libelf.so.1 failed
attempt to open /usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/32/libelf.so.1 failed
attempt to open /usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/libelf.so.1 failed
attempt to open /usr/lib/gcc/x86_64-pc-linux-gnu/7.4.0/32/libelf.so.1 failed
attempt to open /usr/lib/gcc/x86_64-pc-linux-gnu/7.4.0/libelf.so.1 failed
attempt to open /usr/lib/OpenCL/vendors/ocl-icd/libelf.so.1 failed
attempt to open /usr/lib64/OpenCL/vendors/ocl-icd/libelf.so.1 failed
attempt to open /usr/lib/llvm/8/lib/libelf.so.1 failed
attempt to open /usr/lib/llvm/8/lib64/libelf.so.1 failed
attempt to open /usr/lib64/oprofile/libelf.so.1 failed
attempt to open /lib64/libelf.so.1 failed
found libelf.so.1 at /usr/lib64/libelf.so.1
librt.so.1 needed by /usr/lib64/libhsa-runtime64.so
attempt to open /usr/lib/hcc/2.7/bin/../lib/librt.so.1 failed
attempt to open /usr/lib/hip/lib/librt.so.1 failed
attempt to open /usr/lib/hcc/2.7/lib/librt.so.1 failed
attempt to open /usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/32/librt.so.1 failed
attempt to open /usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/librt.so.1 failed
attempt to open /usr/lib/gcc/x86_64-pc-linux-gnu/7.4.0/32/librt.so.1 failed
attempt to open /usr/lib/gcc/x86_64-pc-linux-gnu/7.4.0/librt.so.1 failed
attempt to open /usr/lib/OpenCL/vendors/ocl-icd/librt.so.1 failed
attempt to open /usr/lib64/OpenCL/vendors/ocl-icd/librt.so.1 failed
attempt to open /usr/lib/llvm/8/lib/librt.so.1 failed
attempt to open /usr/lib/llvm/8/lib64/librt.so.1 failed
attempt to open /usr/lib64/oprofile/librt.so.1 failed
found librt.so.1 at /lib64/librt.so.1
libyaml-cpp.so.0.6 needed by /usr/lib64/libamd_comgr.so
attempt to open /usr/lib/hcc/2.7/bin/../lib/libyaml-cpp.so.0.6 failed
attempt to open /usr/lib/hip/lib/libyaml-cpp.so.0.6 failed
attempt to open /usr/lib/hcc/2.7/lib/libyaml-cpp.so.0.6 failed
attempt to open /usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/32/libyaml-cpp.so.0.6 failed
attempt to open /usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/libyaml-cpp.so.0.6 failed
attempt to open /usr/lib/gcc/x86_64-pc-linux-gnu/7.4.0/32/libyaml-cpp.so.0.6 failed
attempt to open /usr/lib/gcc/x86_64-pc-linux-gnu/7.4.0/libyaml-cpp.so.0.6 failed
attempt to open /usr/lib/OpenCL/vendors/ocl-icd/libyaml-cpp.so.0.6 failed
attempt to open /usr/lib64/OpenCL/vendors/ocl-icd/libyaml-cpp.so.0.6 failed
attempt to open /usr/lib/llvm/8/lib/libyaml-cpp.so.0.6 failed
attempt to open /usr/lib/llvm/8/lib64/libyaml-cpp.so.0.6 failed
attempt to open /usr/lib64/oprofile/libyaml-cpp.so.0.6 failed
attempt to open /lib64/libyaml-cpp.so.0.6 failed
found libyaml-cpp.so.0.6 at /usr/lib64/libyaml-cpp.so.0.6
libclangFrontendTool.so.9roc needed by /usr/lib64/libamd_comgr.so
attempt to open /usr/lib/hcc/2.7/bin/../lib/libclangFrontendTool.so.9roc failed
attempt to open /usr/lib/hip/lib/libclangFrontendTool.so.9roc failed
attempt to open /usr/lib/hcc/2.7/lib/libclangFrontendTool.so.9roc failed
attempt to open /usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/32/libclangFrontendTool.so.9roc failed
attempt to open /usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/libclangFrontendTool.so.9roc failed
attempt to open /usr/lib/gcc/x86_64-pc-linux-gnu/7.4.0/32/libclangFrontendTool.so.9roc failed
attempt to open /usr/lib/gcc/x86_64-pc-linux-gnu/7.4.0/libclangFrontendTool.so.9roc failed
attempt to open /usr/lib/OpenCL/vendors/ocl-icd/libclangFrontendTool.so.9roc failed
attempt to open /usr/lib64/OpenCL/vendors/ocl-icd/libclangFrontendTool.so.9roc failed
attempt to open /usr/lib/llvm/8/lib/libclangFrontendTool.so.9roc failed
attempt to open /usr/lib/llvm/8/lib64/libclangFrontendTool.so.9roc failed
attempt to open /usr/lib64/oprofile/libclangFrontendTool.so.9roc failed
attempt to open /lib64/libclangFrontendTool.so.9roc failed
attempt to open /usr/lib64/libclangFrontendTool.so.9roc failed
attempt to open /usr/local/lib64/libclangFrontendTool.so.9roc failed
attempt to open /lib/libclangFrontendTool.so.9roc failed
attempt to open /usr/lib/libclangFrontendTool.so.9roc failed
attempt to open /usr/local/lib/libclangFrontendTool.so.9roc failed
attempt to open /opt/rust-bin-1.37.0/lib/libclangFrontendTool.so.9roc failed
attempt to open /usr/games/lib64/libclangFrontendTool.so.9roc failed
attempt to open /usr/games/lib/libclangFrontendTool.so.9roc failed
attempt to open /usr/lib/root/6.18/lib/libclangFrontendTool.so.9roc failed
attempt to open /opt/cuda/lib64/libclangFrontendTool.so.9roc failed
attempt to open /opt/cuda/lib/libclangFrontendTool.so.9roc failed
attempt to open /opt/cuda/nvvm/lib64/libclangFrontendTool.so.9roc failed
attempt to open /usr/lib64/fltk/libclangFrontendTool.so.9roc failed
attempt to open /usr/lib/hcc/2.7/lib/libclangFrontendTool.so.9roc failed
attempt to open /usr/lib/hip/lib/libclangFrontendTool.so.9roc failed
found libclangFrontendTool.so.9roc at /usr/lib/llvm/roc/lib/libclangFrontendTool.so.9roc
libclangFrontend.so.9roc needed by /usr/lib64/libamd_comgr.so
attempt to open /usr/lib/hcc/2.7/bin/../lib/libclangFrontend.so.9roc failed
attempt to open /usr/lib/hip/lib/libclangFrontend.so.9roc failed
attempt to open /usr/lib/hcc/2.7/lib/libclangFrontend.so.9roc failed
attempt to open /usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/32/libclangFrontend.so.9roc failed
attempt to open /usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/libclangFrontend.so.9roc failed
attempt to open /usr/lib/gcc/x86_64-pc-linux-gnu/7.4.0/32/libclangFrontend.so.9roc failed
attempt to open /usr/lib/gcc/x86_64-pc-linux-gnu/7.4.0/libclangFrontend.so.9roc failed
attempt to open /usr/lib/OpenCL/vendors/ocl-icd/libclangFrontend.so.9roc failed
attempt to open /usr/lib64/OpenCL/vendors/ocl-icd/libclangFrontend.so.9roc failed
attempt to open /usr/lib/llvm/8/lib/libclangFrontend.so.9roc failed
attempt to open /usr/lib/llvm/8/lib64/libclangFrontend.so.9roc failed
attempt to open /usr/lib64/oprofile/libclangFrontend.so.9roc failed
attempt to open /lib64/libclangFrontend.so.9roc failed
attempt to open /usr/lib64/libclangFrontend.so.9roc failed
attempt to open /usr/local/lib64/libclangFrontend.so.9roc failed
attempt to open /lib/libclangFrontend.so.9roc failed
attempt to open /usr/lib/libclangFrontend.so.9roc failed
attempt to open /usr/local/lib/libclangFrontend.so.9roc failed
attempt to open /opt/rust-bin-1.37.0/lib/libclangFrontend.so.9roc failed
attempt to open /usr/games/lib64/libclangFrontend.so.9roc failed
attempt to open /usr/games/lib/libclangFrontend.so.9roc failed
attempt to open /usr/lib/root/6.18/lib/libclangFrontend.so.9roc failed
attempt to open /opt/cuda/lib64/libclangFrontend.so.9roc failed
attempt to open /opt/cuda/lib/libclangFrontend.so.9roc failed
attempt to open /opt/cuda/nvvm/lib64/libclangFrontend.so.9roc failed
attempt to open /usr/lib64/fltk/libclangFrontend.so.9roc failed
attempt to open /usr/lib/hcc/2.7/lib/libclangFrontend.so.9roc failed
attempt to open /usr/lib/hip/lib/libclangFrontend.so.9roc failed
found libclangFrontend.so.9roc at /usr/lib/llvm/roc/lib/libclangFrontend.so.9roc
libclangBasic.so.9roc needed by /usr/lib64/libamd_comgr.so
attempt to open /usr/lib/hcc/2.7/bin/../lib/libclangBasic.so.9roc failed
attempt to open /usr/lib/hip/lib/libclangBasic.so.9roc failed
attempt to open /usr/lib/hcc/2.7/lib/libclangBasic.so.9roc failed
attempt to open /usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/32/libclangBasic.so.9roc failed
attempt to open /usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/libclangBasic.so.9roc failed
attempt to open /usr/lib/gcc/x86_64-pc-linux-gnu/7.4.0/32/libclangBasic.so.9roc failed
attempt to open /usr/lib/gcc/x86_64-pc-linux-gnu/7.4.0/libclangBasic.so.9roc failed
attempt to open /usr/lib/OpenCL/vendors/ocl-icd/libclangBasic.so.9roc failed
attempt to open /usr/lib64/OpenCL/vendors/ocl-icd/libclangBasic.so.9roc failed
attempt to open /usr/lib/llvm/8/lib/libclangBasic.so.9roc failed
attempt to open /usr/lib/llvm/8/lib64/libclangBasic.so.9roc failed
attempt to open /usr/lib64/oprofile/libclangBasic.so.9roc failed
attempt to open /lib64/libclangBasic.so.9roc failed
attempt to open /usr/lib64/libclangBasic.so.9roc failed
attempt to open /usr/local/lib64/libclangBasic.so.9roc failed
attempt to open /lib/libclangBasic.so.9roc failed
attempt to open /usr/lib/libclangBasic.so.9roc failed
attempt to open /usr/local/lib/libclangBasic.so.9roc failed
attempt to open /opt/rust-bin-1.37.0/lib/libclangBasic.so.9roc failed
attempt to open /usr/games/lib64/libclangBasic.so.9roc failed
attempt to open /usr/games/lib/libclangBasic.so.9roc failed
attempt to open /usr/lib/root/6.18/lib/libclangBasic.so.9roc failed
attempt to open /opt/cuda/lib64/libclangBasic.so.9roc failed
attempt to open /opt/cuda/lib/libclangBasic.so.9roc failed
attempt to open /opt/cuda/nvvm/lib64/libclangBasic.so.9roc failed
attempt to open /usr/lib64/fltk/libclangBasic.so.9roc failed
attempt to open /usr/lib/hcc/2.7/lib/libclangBasic.so.9roc failed
attempt to open /usr/lib/hip/lib/libclangBasic.so.9roc failed
found libclangBasic.so.9roc at /usr/lib/llvm/roc/lib/libclangBasic.so.9roc
libclangDriver.so.9roc needed by /usr/lib64/libamd_comgr.so
attempt to open /usr/lib/hcc/2.7/bin/../lib/libclangDriver.so.9roc failed
attempt to open /usr/lib/hip/lib/libclangDriver.so.9roc failed
attempt to open /usr/lib/hcc/2.7/lib/libclangDriver.so.9roc failed
attempt to open /usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/32/libclangDriver.so.9roc failed
attempt to open /usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/libclangDriver.so.9roc failed
attempt to open /usr/lib/gcc/x86_64-pc-linux-gnu/7.4.0/32/libclangDriver.so.9roc failed
attempt to open /usr/lib/gcc/x86_64-pc-linux-gnu/7.4.0/libclangDriver.so.9roc failed
attempt to open /usr/lib/OpenCL/vendors/ocl-icd/libclangDriver.so.9roc failed
attempt to open /usr/lib64/OpenCL/vendors/ocl-icd/libclangDriver.so.9roc failed
attempt to open /usr/lib/llvm/8/lib/libclangDriver.so.9roc failed
attempt to open /usr/lib/llvm/8/lib64/libclangDriver.so.9roc failed
attempt to open /usr/lib64/oprofile/libclangDriver.so.9roc failed
attempt to open /lib64/libclangDriver.so.9roc failed
attempt to open /usr/lib64/libclangDriver.so.9roc failed
attempt to open /usr/local/lib64/libclangDriver.so.9roc failed
attempt to open /lib/libclangDriver.so.9roc failed
attempt to open /usr/lib/libclangDriver.so.9roc failed
attempt to open /usr/local/lib/libclangDriver.so.9roc failed
attempt to open /opt/rust-bin-1.37.0/lib/libclangDriver.so.9roc failed
attempt to open /usr/games/lib64/libclangDriver.so.9roc failed
attempt to open /usr/games/lib/libclangDriver.so.9roc failed
attempt to open /usr/lib/root/6.18/lib/libclangDriver.so.9roc failed
attempt to open /opt/cuda/lib64/libclangDriver.so.9roc failed
attempt to open /opt/cuda/lib/libclangDriver.so.9roc failed
attempt to open /opt/cuda/nvvm/lib64/libclangDriver.so.9roc failed
attempt to open /usr/lib64/fltk/libclangDriver.so.9roc failed
attempt to open /usr/lib/hcc/2.7/lib/libclangDriver.so.9roc failed
attempt to open /usr/lib/hip/lib/libclangDriver.so.9roc failed
found libclangDriver.so.9roc at /usr/lib/llvm/roc/lib/libclangDriver.so.9roc
libclangSerialization.so.9roc needed by /usr/lib64/libamd_comgr.so
attempt to open /usr/lib/hcc/2.7/bin/../lib/libclangSerialization.so.9roc failed
attempt to open /usr/lib/hip/lib/libclangSerialization.so.9roc failed
attempt to open /usr/lib/hcc/2.7/lib/libclangSerialization.so.9roc failed
attempt to open /usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/32/libclangSerialization.so.9roc failed
attempt to open /usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/libclangSerialization.so.9roc failed
attempt to open /usr/lib/gcc/x86_64-pc-linux-gnu/7.4.0/32/libclangSerialization.so.9roc failed
attempt to open /usr/lib/gcc/x86_64-pc-linux-gnu/7.4.0/libclangSerialization.so.9roc failed
attempt to open /usr/lib/OpenCL/vendors/ocl-icd/libclangSerialization.so.9roc failed
attempt to open /usr/lib64/OpenCL/vendors/ocl-icd/libclangSerialization.so.9roc failed
attempt to open /usr/lib/llvm/8/lib/libclangSerialization.so.9roc failed
attempt to open /usr/lib/llvm/8/lib64/libclangSerialization.so.9roc failed
attempt to open /usr/lib64/oprofile/libclangSerialization.so.9roc failed
attempt to open /lib64/libclangSerialization.so.9roc failed
attempt to open /usr/lib64/libclangSerialization.so.9roc failed
attempt to open /usr/local/lib64/libclangSerialization.so.9roc failed
attempt to open /lib/libclangSerialization.so.9roc failed
attempt to open /usr/lib/libclangSerialization.so.9roc failed
attempt to open /usr/local/lib/libclangSerialization.so.9roc failed
attempt to open /opt/rust-bin-1.37.0/lib/libclangSerialization.so.9roc failed
attempt to open /usr/games/lib64/libclangSerialization.so.9roc failed
attempt to open /usr/games/lib/libclangSerialization.so.9roc failed
attempt to open /usr/lib/root/6.18/lib/libclangSerialization.so.9roc failed
attempt to open /opt/cuda/lib64/libclangSerialization.so.9roc failed
attempt to open /opt/cuda/lib/libclangSerialization.so.9roc failed
attempt to open /opt/cuda/nvvm/lib64/libclangSerialization.so.9roc failed
attempt to open /usr/lib64/fltk/libclangSerialization.so.9roc failed
attempt to open /usr/lib/hcc/2.7/lib/libclangSerialization.so.9roc failed
attempt to open /usr/lib/hip/lib/libclangSerialization.so.9roc failed
found libclangSerialization.so.9roc at /usr/lib/llvm/roc/lib/libclangSerialization.so.9roc
liblldELF.so.9roc needed by /usr/lib64/libamd_comgr.so
attempt to open /usr/lib/hcc/2.7/bin/../lib/liblldELF.so.9roc failed
attempt to open /usr/lib/hip/lib/liblldELF.so.9roc failed
attempt to open /usr/lib/hcc/2.7/lib/liblldELF.so.9roc failed
attempt to open /usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/32/liblldELF.so.9roc failed
attempt to open /usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/liblldELF.so.9roc failed
attempt to open /usr/lib/gcc/x86_64-pc-linux-gnu/7.4.0/32/liblldELF.so.9roc failed
attempt to open /usr/lib/gcc/x86_64-pc-linux-gnu/7.4.0/liblldELF.so.9roc failed
attempt to open /usr/lib/OpenCL/vendors/ocl-icd/liblldELF.so.9roc failed
attempt to open /usr/lib64/OpenCL/vendors/ocl-icd/liblldELF.so.9roc failed
attempt to open /usr/lib/llvm/8/lib/liblldELF.so.9roc failed
attempt to open /usr/lib/llvm/8/lib64/liblldELF.so.9roc failed
attempt to open /usr/lib64/oprofile/liblldELF.so.9roc failed
attempt to open /lib64/liblldELF.so.9roc failed
attempt to open /usr/lib64/liblldELF.so.9roc failed
attempt to open /usr/local/lib64/liblldELF.so.9roc failed
attempt to open /lib/liblldELF.so.9roc failed
attempt to open /usr/lib/liblldELF.so.9roc failed
attempt to open /usr/local/lib/liblldELF.so.9roc failed
attempt to open /opt/rust-bin-1.37.0/lib/liblldELF.so.9roc failed
attempt to open /usr/games/lib64/liblldELF.so.9roc failed
attempt to open /usr/games/lib/liblldELF.so.9roc failed
attempt to open /usr/lib/root/6.18/lib/liblldELF.so.9roc failed
attempt to open /opt/cuda/lib64/liblldELF.so.9roc failed
attempt to open /opt/cuda/lib/liblldELF.so.9roc failed
attempt to open /opt/cuda/nvvm/lib64/liblldELF.so.9roc failed
attempt to open /usr/lib64/fltk/liblldELF.so.9roc failed
attempt to open /usr/lib/hcc/2.7/lib/liblldELF.so.9roc failed
attempt to open /usr/lib/hip/lib/liblldELF.so.9roc failed
found liblldELF.so.9roc at /usr/lib/llvm/roc/lib/liblldELF.so.9roc
liblldCommon.so.9roc needed by /usr/lib64/libamd_comgr.so
attempt to open /usr/lib/hcc/2.7/bin/../lib/liblldCommon.so.9roc failed
attempt to open /usr/lib/hip/lib/liblldCommon.so.9roc failed
attempt to open /usr/lib/hcc/2.7/lib/liblldCommon.so.9roc failed
attempt to open /usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/32/liblldCommon.so.9roc failed
attempt to open /usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/liblldCommon.so.9roc failed
attempt to open /usr/lib/gcc/x86_64-pc-linux-gnu/7.4.0/32/liblldCommon.so.9roc failed
attempt to open /usr/lib/gcc/x86_64-pc-linux-gnu/7.4.0/liblldCommon.so.9roc failed
attempt to open /usr/lib/OpenCL/vendors/ocl-icd/liblldCommon.so.9roc failed
attempt to open /usr/lib64/OpenCL/vendors/ocl-icd/liblldCommon.so.9roc failed
attempt to open /usr/lib/llvm/8/lib/liblldCommon.so.9roc failed
attempt to open /usr/lib/llvm/8/lib64/liblldCommon.so.9roc failed
attempt to open /usr/lib64/oprofile/liblldCommon.so.9roc failed
attempt to open /lib64/liblldCommon.so.9roc failed
attempt to open /usr/lib64/liblldCommon.so.9roc failed
attempt to open /usr/local/lib64/liblldCommon.so.9roc failed
attempt to open /lib/liblldCommon.so.9roc failed
attempt to open /usr/lib/liblldCommon.so.9roc failed
attempt to open /usr/local/lib/liblldCommon.so.9roc failed
attempt to open /opt/rust-bin-1.37.0/lib/liblldCommon.so.9roc failed
attempt to open /usr/games/lib64/liblldCommon.so.9roc failed
attempt to open /usr/games/lib/liblldCommon.so.9roc failed
attempt to open /usr/lib/root/6.18/lib/liblldCommon.so.9roc failed
attempt to open /opt/cuda/lib64/liblldCommon.so.9roc failed
attempt to open /opt/cuda/lib/liblldCommon.so.9roc failed
attempt to open /opt/cuda/nvvm/lib64/liblldCommon.so.9roc failed
attempt to open /usr/lib64/fltk/liblldCommon.so.9roc failed
attempt to open /usr/lib/hcc/2.7/lib/liblldCommon.so.9roc failed
attempt to open /usr/lib/hip/lib/liblldCommon.so.9roc failed
found liblldCommon.so.9roc at /usr/lib/llvm/roc/lib/liblldCommon.so.9roc
libLLVMAMDGPUCodeGen.so.9roc needed by /usr/lib64/libamd_comgr.so
attempt to open /usr/lib/hcc/2.7/bin/../lib/libLLVMAMDGPUCodeGen.so.9roc failed
attempt to open /usr/lib/hip/lib/libLLVMAMDGPUCodeGen.so.9roc failed
attempt to open /usr/lib/hcc/2.7/lib/libLLVMAMDGPUCodeGen.so.9roc failed
attempt to open /usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/32/libLLVMAMDGPUCodeGen.so.9roc failed
attempt to open /usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/libLLVMAMDGPUCodeGen.so.9roc failed
attempt to open /usr/lib/gcc/x86_64-pc-linux-gnu/7.4.0/32/libLLVMAMDGPUCodeGen.so.9roc failed
attempt to open /usr/lib/gcc/x86_64-pc-linux-gnu/7.4.0/libLLVMAMDGPUCodeGen.so.9roc failed
attempt to open /usr/lib/OpenCL/vendors/ocl-icd/libLLVMAMDGPUCodeGen.so.9roc failed
attempt to open /usr/lib64/OpenCL/vendors/ocl-icd/libLLVMAMDGPUCodeGen.so.9roc failed
attempt to open /usr/lib/llvm/8/lib/libLLVMAMDGPUCodeGen.so.9roc failed
attempt to open /usr/lib/llvm/8/lib64/libLLVMAMDGPUCodeGen.so.9roc failed
attempt to open /usr/lib64/oprofile/libLLVMAMDGPUCodeGen.so.9roc failed
attempt to open /lib64/libLLVMAMDGPUCodeGen.so.9roc failed
attempt to open /usr/lib64/libLLVMAMDGPUCodeGen.so.9roc failed
attempt to open /usr/local/lib64/libLLVMAMDGPUCodeGen.so.9roc failed
attempt to open /lib/libLLVMAMDGPUCodeGen.so.9roc failed
attempt to open /usr/lib/libLLVMAMDGPUCodeGen.so.9roc failed
attempt to open /usr/local/lib/libLLVMAMDGPUCodeGen.so.9roc failed
attempt to open /opt/rust-bin-1.37.0/lib/libLLVMAMDGPUCodeGen.so.9roc failed
attempt to open /usr/games/lib64/libLLVMAMDGPUCodeGen.so.9roc failed
attempt to open /usr/games/lib/libLLVMAMDGPUCodeGen.so.9roc failed
attempt to open /usr/lib/root/6.18/lib/libLLVMAMDGPUCodeGen.so.9roc failed
attempt to open /opt/cuda/lib64/libLLVMAMDGPUCodeGen.so.9roc failed
attempt to open /opt/cuda/lib/libLLVMAMDGPUCodeGen.so.9roc failed
attempt to open /opt/cuda/nvvm/lib64/libLLVMAMDGPUCodeGen.so.9roc failed
attempt to open /usr/lib64/fltk/libLLVMAMDGPUCodeGen.so.9roc failed
attempt to open /usr/lib/hcc/2.7/lib/libLLVMAMDGPUCodeGen.so.9roc failed
attempt to open /usr/lib/hip/lib/libLLVMAMDGPUCodeGen.so.9roc failed
found libLLVMAMDGPUCodeGen.so.9roc at /usr/lib/llvm/roc/lib/libLLVMAMDGPUCodeGen.so.9roc
libLLVMAMDGPUAsmParser.so.9roc needed by /usr/lib64/libamd_comgr.so
attempt to open /usr/lib/hcc/2.7/bin/../lib/libLLVMAMDGPUAsmParser.so.9roc failed
attempt to open /usr/lib/hip/lib/libLLVMAMDGPUAsmParser.so.9roc failed
attempt to open /usr/lib/hcc/2.7/lib/libLLVMAMDGPUAsmParser.so.9roc failed
attempt to open /usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/32/libLLVMAMDGPUAsmParser.so.9roc failed
attempt to open /usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/libLLVMAMDGPUAsmParser.so.9roc failed
attempt to open /usr/lib/gcc/x86_64-pc-linux-gnu/7.4.0/32/libLLVMAMDGPUAsmParser.so.9roc failed
attempt to open /usr/lib/gcc/x86_64-pc-linux-gnu/7.4.0/libLLVMAMDGPUAsmParser.so.9roc failed
attempt to open /usr/lib/OpenCL/vendors/ocl-icd/libLLVMAMDGPUAsmParser.so.9roc failed
attempt to open /usr/lib64/OpenCL/vendors/ocl-icd/libLLVMAMDGPUAsmParser.so.9roc failed
attempt to open /usr/lib/llvm/8/lib/libLLVMAMDGPUAsmParser.so.9roc failed
attempt to open /usr/lib/llvm/8/lib64/libLLVMAMDGPUAsmParser.so.9roc failed
attempt to open /usr/lib64/oprofile/libLLVMAMDGPUAsmParser.so.9roc failed
attempt to open /lib64/libLLVMAMDGPUAsmParser.so.9roc failed
attempt to open /usr/lib64/libLLVMAMDGPUAsmParser.so.9roc failed
attempt to open /usr/local/lib64/libLLVMAMDGPUAsmParser.so.9roc failed
attempt to open /lib/libLLVMAMDGPUAsmParser.so.9roc failed
attempt to open /usr/lib/libLLVMAMDGPUAsmParser.so.9roc failed
attempt to open /usr/local/lib/libLLVMAMDGPUAsmParser.so.9roc failed
attempt to open /opt/rust-bin-1.37.0/lib/libLLVMAMDGPUAsmParser.so.9roc failed
attempt to open /usr/games/lib64/libLLVMAMDGPUAsmParser.so.9roc failed
attempt to open /usr/games/lib/libLLVMAMDGPUAsmParser.so.9roc failed
attempt to open /usr/lib/root/6.18/lib/libLLVMAMDGPUAsmParser.so.9roc failed
attempt to open /opt/cuda/lib64/libLLVMAMDGPUAsmParser.so.9roc failed
attempt to open /opt/cuda/lib/libLLVMAMDGPUAsmParser.so.9roc failed
attempt to open /opt/cuda/nvvm/lib64/libLLVMAMDGPUAsmParser.so.9roc failed
attempt to open /usr/lib64/fltk/libLLVMAMDGPUAsmParser.so.9roc failed
attempt to open /usr/lib/hcc/2.7/lib/libLLVMAMDGPUAsmParser.so.9roc failed
attempt to open /usr/lib/hip/lib/libLLVMAMDGPUAsmParser.so.9roc failed
found libLLVMAMDGPUAsmParser.so.9roc at /usr/lib/llvm/roc/lib/libLLVMAMDGPUAsmParser.so.9roc
libLLVMAMDGPUDesc.so.9roc needed by /usr/lib64/libamd_comgr.so
attempt to open /usr/lib/hcc/2.7/bin/../lib/libLLVMAMDGPUDesc.so.9roc failed
attempt to open /usr/lib/hip/lib/libLLVMAMDGPUDesc.so.9roc failed
attempt to open /usr/lib/hcc/2.7/lib/libLLVMAMDGPUDesc.so.9roc failed
attempt to open /usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/32/libLLVMAMDGPUDesc.so.9roc failed
attempt to open /usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/libLLVMAMDGPUDesc.so.9roc failed
attempt to open /usr/lib/gcc/x86_64-pc-linux-gnu/7.4.0/32/libLLVMAMDGPUDesc.so.9roc failed
attempt to open /usr/lib/gcc/x86_64-pc-linux-gnu/7.4.0/libLLVMAMDGPUDesc.so.9roc failed
attempt to open /usr/lib/OpenCL/vendors/ocl-icd/libLLVMAMDGPUDesc.so.9roc failed
attempt to open /usr/lib64/OpenCL/vendors/ocl-icd/libLLVMAMDGPUDesc.so.9roc failed
attempt to open /usr/lib/llvm/8/lib/libLLVMAMDGPUDesc.so.9roc failed
attempt to open /usr/lib/llvm/8/lib64/libLLVMAMDGPUDesc.so.9roc failed
attempt to open /usr/lib64/oprofile/libLLVMAMDGPUDesc.so.9roc failed
attempt to open /lib64/libLLVMAMDGPUDesc.so.9roc failed
attempt to open /usr/lib64/libLLVMAMDGPUDesc.so.9roc failed
attempt to open /usr/local/lib64/libLLVMAMDGPUDesc.so.9roc failed
attempt to open /lib/libLLVMAMDGPUDesc.so.9roc failed
attempt to open /usr/lib/libLLVMAMDGPUDesc.so.9roc failed
attempt to open /usr/local/lib/libLLVMAMDGPUDesc.so.9roc failed
attempt to open /opt/rust-bin-1.37.0/lib/libLLVMAMDGPUDesc.so.9roc failed
attempt to open /usr/games/lib64/libLLVMAMDGPUDesc.so.9roc failed
attempt to open /usr/games/lib/libLLVMAMDGPUDesc.so.9roc failed
attempt to open /usr/lib/root/6.18/lib/libLLVMAMDGPUDesc.so.9roc failed
attempt to open /opt/cuda/lib64/libLLVMAMDGPUDesc.so.9roc failed
attempt to open /opt/cuda/lib/libLLVMAMDGPUDesc.so.9roc failed
attempt to open /opt/cuda/nvvm/lib64/libLLVMAMDGPUDesc.so.9roc failed
attempt to open /usr/lib64/fltk/libLLVMAMDGPUDesc.so.9roc failed
attempt to open /usr/lib/hcc/2.7/lib/libLLVMAMDGPUDesc.so.9roc failed
attempt to open /usr/lib/hip/lib/libLLVMAMDGPUDesc.so.9roc failed
found libLLVMAMDGPUDesc.so.9roc at /usr/lib/llvm/roc/lib/libLLVMAMDGPUDesc.so.9roc
libLLVMAMDGPUDisassembler.so.9roc needed by /usr/lib64/libamd_comgr.so
attempt to open /usr/lib/hcc/2.7/bin/../lib/libLLVMAMDGPUDisassembler.so.9roc failed
attempt to open /usr/lib/hip/lib/libLLVMAMDGPUDisassembler.so.9roc failed
attempt to open /usr/lib/hcc/2.7/lib/libLLVMAMDGPUDisassembler.so.9roc failed
attempt to open /usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/32/libLLVMAMDGPUDisassembler.so.9roc failed
attempt to open /usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/libLLVMAMDGPUDisassembler.so.9roc failed
attempt to open /usr/lib/gcc/x86_64-pc-linux-gnu/7.4.0/32/libLLVMAMDGPUDisassembler.so.9roc failed
attempt to open /usr/lib/gcc/x86_64-pc-linux-gnu/7.4.0/libLLVMAMDGPUDisassembler.so.9roc failed
attempt to open /usr/lib/OpenCL/vendors/ocl-icd/libLLVMAMDGPUDisassembler.so.9roc failed
attempt to open /usr/lib64/OpenCL/vendors/ocl-icd/libLLVMAMDGPUDisassembler.so.9roc failed
attempt to open /usr/lib/llvm/8/lib/libLLVMAMDGPUDisassembler.so.9roc failed
attempt to open /usr/lib/llvm/8/lib64/libLLVMAMDGPUDisassembler.so.9roc failed
attempt to open /usr/lib64/oprofile/libLLVMAMDGPUDisassembler.so.9roc failed
attempt to open /lib64/libLLVMAMDGPUDisassembler.so.9roc failed
attempt to open /usr/lib64/libLLVMAMDGPUDisassembler.so.9roc failed
attempt to open /usr/local/lib64/libLLVMAMDGPUDisassembler.so.9roc failed
attempt to open /lib/libLLVMAMDGPUDisassembler.so.9roc failed
attempt to open /usr/lib/libLLVMAMDGPUDisassembler.so.9roc failed
attempt to open /usr/local/lib/libLLVMAMDGPUDisassembler.so.9roc failed
attempt to open /opt/rust-bin-1.37.0/lib/libLLVMAMDGPUDisassembler.so.9roc failed
attempt to open /usr/games/lib64/libLLVMAMDGPUDisassembler.so.9roc failed
attempt to open /usr/games/lib/libLLVMAMDGPUDisassembler.so.9roc failed
attempt to open /usr/lib/root/6.18/lib/libLLVMAMDGPUDisassembler.so.9roc failed
attempt to open /opt/cuda/lib64/libLLVMAMDGPUDisassembler.so.9roc failed
attempt to open /opt/cuda/lib/libLLVMAMDGPUDisassembler.so.9roc failed
attempt to open /opt/cuda/nvvm/lib64/libLLVMAMDGPUDisassembler.so.9roc failed
attempt to open /usr/lib64/fltk/libLLVMAMDGPUDisassembler.so.9roc failed
attempt to open /usr/lib/hcc/2.7/lib/libLLVMAMDGPUDisassembler.so.9roc failed
attempt to open /usr/lib/hip/lib/libLLVMAMDGPUDisassembler.so.9roc failed
found libLLVMAMDGPUDisassembler.so.9roc at /usr/lib/llvm/roc/lib/libLLVMAMDGPUDisassembler.so.9roc
libLLVMAMDGPUInfo.so.9roc needed by /usr/lib64/libamd_comgr.so
attempt to open /usr/lib/hcc/2.7/bin/../lib/libLLVMAMDGPUInfo.so.9roc failed
attempt to open /usr/lib/hip/lib/libLLVMAMDGPUInfo.so.9roc failed
attempt to open /usr/lib/hcc/2.7/lib/libLLVMAMDGPUInfo.so.9roc failed
attempt to open /usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/32/libLLVMAMDGPUInfo.so.9roc failed
attempt to open /usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/libLLVMAMDGPUInfo.so.9roc failed
attempt to open /usr/lib/gcc/x86_64-pc-linux-gnu/7.4.0/32/libLLVMAMDGPUInfo.so.9roc failed
attempt to open /usr/lib/gcc/x86_64-pc-linux-gnu/7.4.0/libLLVMAMDGPUInfo.so.9roc failed
attempt to open /usr/lib/OpenCL/vendors/ocl-icd/libLLVMAMDGPUInfo.so.9roc failed
attempt to open /usr/lib64/OpenCL/vendors/ocl-icd/libLLVMAMDGPUInfo.so.9roc failed
attempt to open /usr/lib/llvm/8/lib/libLLVMAMDGPUInfo.so.9roc failed
attempt to open /usr/lib/llvm/8/lib64/libLLVMAMDGPUInfo.so.9roc failed
attempt to open /usr/lib64/oprofile/libLLVMAMDGPUInfo.so.9roc failed
attempt to open /lib64/libLLVMAMDGPUInfo.so.9roc failed
attempt to open /usr/lib64/libLLVMAMDGPUInfo.so.9roc failed
attempt to open /usr/local/lib64/libLLVMAMDGPUInfo.so.9roc failed
attempt to open /lib/libLLVMAMDGPUInfo.so.9roc failed
attempt to open /usr/lib/libLLVMAMDGPUInfo.so.9roc failed
attempt to open /usr/local/lib/libLLVMAMDGPUInfo.so.9roc failed
attempt to open /opt/rust-bin-1.37.0/lib/libLLVMAMDGPUInfo.so.9roc failed
attempt to open /usr/games/lib64/libLLVMAMDGPUInfo.so.9roc failed
attempt to open /usr/games/lib/libLLVMAMDGPUInfo.so.9roc failed
attempt to open /usr/lib/root/6.18/lib/libLLVMAMDGPUInfo.so.9roc failed
attempt to open /opt/cuda/lib64/libLLVMAMDGPUInfo.so.9roc failed
attempt to open /opt/cuda/lib/libLLVMAMDGPUInfo.so.9roc failed
attempt to open /opt/cuda/nvvm/lib64/libLLVMAMDGPUInfo.so.9roc failed
attempt to open /usr/lib64/fltk/libLLVMAMDGPUInfo.so.9roc failed
attempt to open /usr/lib/hcc/2.7/lib/libLLVMAMDGPUInfo.so.9roc failed
attempt to open /usr/lib/hip/lib/libLLVMAMDGPUInfo.so.9roc failed
attempt to open /usr/lib64/octave/4.2.2/libLLVMAMDGPUInfo.so.9roc failed
attempt to open /usr/x86_64-pc-linux-gnu/lib64/libLLVMAMDGPUInfo.so.9roc failed
attempt to open /usr/lib64/binutils/x86_64-pc-linux-gnu/2.3264/libLLVMAMDGPUInfo.so.9roc failed
attempt to open /usr/local/lib64/libLLVMAMDGPUInfo.so.9roc failed
attempt to open /lib64/libLLVMAMDGPUInfo.so.9roc failed
attempt to open /usr/lib64/libLLVMAMDGPUInfo.so.9roc failed
attempt to open /usr/x86_64-pc-linux-gnu/lib/libLLVMAMDGPUInfo.so.9roc failed
attempt to open /usr/lib64/binutils/x86_64-pc-linux-gnu/2.32/libLLVMAMDGPUInfo.so.9roc failed
attempt to open /usr/local/lib/libLLVMAMDGPUInfo.so.9roc failed
attempt to open /lib/libLLVMAMDGPUInfo.so.9roc failed
attempt to open /usr/lib/libLLVMAMDGPUInfo.so.9roc failed
attempt to open /usr/lib/hcc/2.7/bin/../lib/libLLVMAMDGPUInfo.so.9roc failed
attempt to open /usr/lib/hip/lib/libLLVMAMDGPUInfo.so.9roc failed
attempt to open /usr/lib/hcc/2.7/lib/libLLVMAMDGPUInfo.so.9roc failed
attempt to open /usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/32/libLLVMAMDGPUInfo.so.9roc failed
attempt to open /usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/libLLVMAMDGPUInfo.so.9roc failed
attempt to open /usr/lib/gcc/x86_64-pc-linux-gnu/7.4.0/32/libLLVMAMDGPUInfo.so.9roc failed
attempt to open /usr/lib/gcc/x86_64-pc-linux-gnu/7.4.0/libLLVMAMDGPUInfo.so.9roc failed
attempt to open /usr/lib/OpenCL/vendors/ocl-icd/libLLVMAMDGPUInfo.so.9roc failed
attempt to open /usr/lib64/OpenCL/vendors/ocl-icd/libLLVMAMDGPUInfo.so.9roc failed
attempt to open /usr/lib/llvm/8/lib/libLLVMAMDGPUInfo.so.9roc failed
attempt to open /usr/lib/llvm/8/lib64/libLLVMAMDGPUInfo.so.9roc failed
attempt to open /usr/lib64/oprofile/libLLVMAMDGPUInfo.so.9roc failed
attempt to open /lib64/libLLVMAMDGPUInfo.so.9roc failed
attempt to open /usr/lib64/libLLVMAMDGPUInfo.so.9roc failed
attempt to open /usr/local/lib64/libLLVMAMDGPUInfo.so.9roc failed
attempt to open /lib/libLLVMAMDGPUInfo.so.9roc failed
attempt to open /usr/lib/libLLVMAMDGPUInfo.so.9roc failed
attempt to open /usr/local/lib/libLLVMAMDGPUInfo.so.9roc failed
attempt to open /opt/rust-bin-1.37.0/lib/libLLVMAMDGPUInfo.so.9roc failed
attempt to open /usr/games/lib64/libLLVMAMDGPUInfo.so.9roc failed
attempt to open /usr/games/lib/libLLVMAMDGPUInfo.so.9roc failed
attempt to open /usr/lib/root/6.18/lib/libLLVMAMDGPUInfo.so.9roc failed
attempt to open /opt/cuda/lib64/libLLVMAMDGPUInfo.so.9roc failed
attempt to open /opt/cuda/lib/libLLVMAMDGPUInfo.so.9roc failed
attempt to open /opt/cuda/nvvm/lib64/libLLVMAMDGPUInfo.so.9roc failed
attempt to open /usr/lib64/fltk/libLLVMAMDGPUInfo.so.9roc failed
attempt to open /usr/lib/hcc/2.7/lib/libLLVMAMDGPUInfo.so.9roc failed
attempt to open /usr/lib/hip/lib/libLLVMAMDGPUInfo.so.9roc failed
found libLLVMAMDGPUInfo.so.9roc at /usr/lib/llvm/roc/lib/libLLVMAMDGPUInfo.so.9roc
libLLVMOption.so.9roc needed by /usr/lib64/libamd_comgr.so
attempt to open /usr/lib/hcc/2.7/bin/../lib/libLLVMOption.so.9roc failed
attempt to open /usr/lib/hip/lib/libLLVMOption.so.9roc failed
attempt to open /usr/lib/hcc/2.7/lib/libLLVMOption.so.9roc failed
attempt to open /usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/32/libLLVMOption.so.9roc failed
attempt to open /usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/libLLVMOption.so.9roc failed
attempt to open /usr/lib/gcc/x86_64-pc-linux-gnu/7.4.0/32/libLLVMOption.so.9roc failed
attempt to open /usr/lib/gcc/x86_64-pc-linux-gnu/7.4.0/libLLVMOption.so.9roc failed
attempt to open /usr/lib/OpenCL/vendors/ocl-icd/libLLVMOption.so.9roc failed
attempt to open /usr/lib64/OpenCL/vendors/ocl-icd/libLLVMOption.so.9roc failed
attempt to open /usr/lib/llvm/8/lib/libLLVMOption.so.9roc failed
attempt to open /usr/lib/llvm/8/lib64/libLLVMOption.so.9roc failed
attempt to open /usr/lib64/oprofile/libLLVMOption.so.9roc failed
attempt to open /lib64/libLLVMOption.so.9roc failed
attempt to open /usr/lib64/libLLVMOption.so.9roc failed
attempt to open /usr/local/lib64/libLLVMOption.so.9roc failed
attempt to open /lib/libLLVMOption.so.9roc failed
attempt to open /usr/lib/libLLVMOption.so.9roc failed
attempt to open /usr/local/lib/libLLVMOption.so.9roc failed
attempt to open /opt/rust-bin-1.37.0/lib/libLLVMOption.so.9roc failed
attempt to open /usr/games/lib64/libLLVMOption.so.9roc failed
attempt to open /usr/games/lib/libLLVMOption.so.9roc failed
attempt to open /usr/lib/root/6.18/lib/libLLVMOption.so.9roc failed
attempt to open /opt/cuda/lib64/libLLVMOption.so.9roc failed
attempt to open /opt/cuda/lib/libLLVMOption.so.9roc failed
attempt to open /opt/cuda/nvvm/lib64/libLLVMOption.so.9roc failed
attempt to open /usr/lib64/fltk/libLLVMOption.so.9roc failed
attempt to open /usr/lib/hcc/2.7/lib/libLLVMOption.so.9roc failed
attempt to open /usr/lib/hip/lib/libLLVMOption.so.9roc failed
found libLLVMOption.so.9roc at /usr/lib/llvm/roc/lib/libLLVMOption.so.9roc
libLLVMDebugInfoDWARF.so.9roc needed by /usr/lib64/libamd_comgr.so
attempt to open /usr/lib/hcc/2.7/bin/../lib/libLLVMDebugInfoDWARF.so.9roc failed
attempt to open /usr/lib/hip/lib/libLLVMDebugInfoDWARF.so.9roc failed
attempt to open /usr/lib/hcc/2.7/lib/libLLVMDebugInfoDWARF.so.9roc failed
attempt to open /usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/32/libLLVMDebugInfoDWARF.so.9roc failed
attempt to open /usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/libLLVMDebugInfoDWARF.so.9roc failed
attempt to open /usr/lib/gcc/x86_64-pc-linux-gnu/7.4.0/32/libLLVMDebugInfoDWARF.so.9roc failed
attempt to open /usr/lib/gcc/x86_64-pc-linux-gnu/7.4.0/libLLVMDebugInfoDWARF.so.9roc failed
attempt to open /usr/lib/OpenCL/vendors/ocl-icd/libLLVMDebugInfoDWARF.so.9roc failed
attempt to open /usr/lib64/OpenCL/vendors/ocl-icd/libLLVMDebugInfoDWARF.so.9roc failed
attempt to open /usr/lib/llvm/8/lib/libLLVMDebugInfoDWARF.so.9roc failed
attempt to open /usr/lib/llvm/8/lib64/libLLVMDebugInfoDWARF.so.9roc failed
attempt to open /usr/lib64/oprofile/libLLVMDebugInfoDWARF.so.9roc failed
attempt to open /lib64/libLLVMDebugInfoDWARF.so.9roc failed
attempt to open /usr/lib64/libLLVMDebugInfoDWARF.so.9roc failed
attempt to open /usr/local/lib64/libLLVMDebugInfoDWARF.so.9roc failed
attempt to open /lib/libLLVMDebugInfoDWARF.so.9roc failed
attempt to open /usr/lib/libLLVMDebugInfoDWARF.so.9roc failed
attempt to open /usr/local/lib/libLLVMDebugInfoDWARF.so.9roc failed
attempt to open /opt/rust-bin-1.37.0/lib/libLLVMDebugInfoDWARF.so.9roc failed
attempt to open /usr/games/lib64/libLLVMDebugInfoDWARF.so.9roc failed
attempt to open /usr/games/lib/libLLVMDebugInfoDWARF.so.9roc failed
attempt to open /usr/lib/root/6.18/lib/libLLVMDebugInfoDWARF.so.9roc failed
attempt to open /opt/cuda/lib64/libLLVMDebugInfoDWARF.so.9roc failed
attempt to open /opt/cuda/lib/libLLVMDebugInfoDWARF.so.9roc failed
attempt to open /opt/cuda/nvvm/lib64/libLLVMDebugInfoDWARF.so.9roc failed
attempt to open /usr/lib64/fltk/libLLVMDebugInfoDWARF.so.9roc failed
attempt to open /usr/lib/hcc/2.7/lib/libLLVMDebugInfoDWARF.so.9roc failed
attempt to open /usr/lib/hip/lib/libLLVMDebugInfoDWARF.so.9roc failed
found libLLVMDebugInfoDWARF.so.9roc at /usr/lib/llvm/roc/lib/libLLVMDebugInfoDWARF.so.9roc
libLLVMSymbolize.so.9roc needed by /usr/lib64/libamd_comgr.so
attempt to open /usr/lib/hcc/2.7/bin/../lib/libLLVMSymbolize.so.9roc failed
attempt to open /usr/lib/hip/lib/libLLVMSymbolize.so.9roc failed
attempt to open /usr/lib/hcc/2.7/lib/libLLVMSymbolize.so.9roc failed
attempt to open /usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/32/libLLVMSymbolize.so.9roc failed
attempt to open /usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/libLLVMSymbolize.so.9roc failed
attempt to open /usr/lib/gcc/x86_64-pc-linux-gnu/7.4.0/32/libLLVMSymbolize.so.9roc failed
attempt to open /usr/lib/gcc/x86_64-pc-linux-gnu/7.4.0/libLLVMSymbolize.so.9roc failed
attempt to open /usr/lib/OpenCL/vendors/ocl-icd/libLLVMSymbolize.so.9roc failed
attempt to open /usr/lib64/OpenCL/vendors/ocl-icd/libLLVMSymbolize.so.9roc failed
attempt to open /usr/lib/llvm/8/lib/libLLVMSymbolize.so.9roc failed
attempt to open /usr/lib/llvm/8/lib64/libLLVMSymbolize.so.9roc failed
attempt to open /usr/lib64/oprofile/libLLVMSymbolize.so.9roc failed
attempt to open /lib64/libLLVMSymbolize.so.9roc failed
attempt to open /usr/lib64/libLLVMSymbolize.so.9roc failed
attempt to open /usr/local/lib64/libLLVMSymbolize.so.9roc failed
attempt to open /lib/libLLVMSymbolize.so.9roc failed
attempt to open /usr/lib/libLLVMSymbolize.so.9roc failed
attempt to open /usr/local/lib/libLLVMSymbolize.so.9roc failed
attempt to open /opt/rust-bin-1.37.0/lib/libLLVMSymbolize.so.9roc failed
attempt to open /usr/games/lib64/libLLVMSymbolize.so.9roc failed
attempt to open /usr/games/lib/libLLVMSymbolize.so.9roc failed
attempt to open /usr/lib/root/6.18/lib/libLLVMSymbolize.so.9roc failed
attempt to open /opt/cuda/lib64/libLLVMSymbolize.so.9roc failed
attempt to open /opt/cuda/lib/libLLVMSymbolize.so.9roc failed
attempt to open /opt/cuda/nvvm/lib64/libLLVMSymbolize.so.9roc failed
attempt to open /usr/lib64/fltk/libLLVMSymbolize.so.9roc failed
attempt to open /usr/lib/hcc/2.7/lib/libLLVMSymbolize.so.9roc failed
attempt to open /usr/lib/hip/lib/libLLVMSymbolize.so.9roc failed
found libLLVMSymbolize.so.9roc at /usr/lib/llvm/roc/lib/libLLVMSymbolize.so.9roc
libLLVMSupport.so.9roc needed by /usr/lib64/libamd_comgr.so
attempt to open /usr/lib/hcc/2.7/bin/../lib/libLLVMSupport.so.9roc failed
attempt to open /usr/lib/hip/lib/libLLVMSupport.so.9roc failed
attempt to open /usr/lib/hcc/2.7/lib/libLLVMSupport.so.9roc failed
attempt to open /usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/32/libLLVMSupport.so.9roc failed
attempt to open /usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/libLLVMSupport.so.9roc failed
attempt to open /usr/lib/gcc/x86_64-pc-linux-gnu/7.4.0/32/libLLVMSupport.so.9roc failed
attempt to open /usr/lib/gcc/x86_64-pc-linux-gnu/7.4.0/libLLVMSupport.so.9roc failed
attempt to open /usr/lib/OpenCL/vendors/ocl-icd/libLLVMSupport.so.9roc failed
attempt to open /usr/lib64/OpenCL/vendors/ocl-icd/libLLVMSupport.so.9roc failed
attempt to open /usr/lib/llvm/8/lib/libLLVMSupport.so.9roc failed
attempt to open /usr/lib/llvm/8/lib64/libLLVMSupport.so.9roc failed
attempt to open /usr/lib64/oprofile/libLLVMSupport.so.9roc failed
attempt to open /lib64/libLLVMSupport.so.9roc failed
attempt to open /usr/lib64/libLLVMSupport.so.9roc failed
attempt to open /usr/local/lib64/libLLVMSupport.so.9roc failed
attempt to open /lib/libLLVMSupport.so.9roc failed
attempt to open /usr/lib/libLLVMSupport.so.9roc failed
attempt to open /usr/local/lib/libLLVMSupport.so.9roc failed
attempt to open /opt/rust-bin-1.37.0/lib/libLLVMSupport.so.9roc failed
attempt to open /usr/games/lib64/libLLVMSupport.so.9roc failed
attempt to open /usr/games/lib/libLLVMSupport.so.9roc failed
attempt to open /usr/lib/root/6.18/lib/libLLVMSupport.so.9roc failed
attempt to open /opt/cuda/lib64/libLLVMSupport.so.9roc failed
attempt to open /opt/cuda/lib/libLLVMSupport.so.9roc failed
attempt to open /opt/cuda/nvvm/lib64/libLLVMSupport.so.9roc failed
attempt to open /usr/lib64/fltk/libLLVMSupport.so.9roc failed
attempt to open /usr/lib/hcc/2.7/lib/libLLVMSupport.so.9roc failed
attempt to open /usr/lib/hip/lib/libLLVMSupport.so.9roc failed
found libLLVMSupport.so.9roc at /usr/lib/llvm/roc/lib/libLLVMSupport.so.9roc
libLLVMObject.so.9roc needed by /usr/lib64/libamd_comgr.so
attempt to open /usr/lib/hcc/2.7/bin/../lib/libLLVMObject.so.9roc failed
attempt to open /usr/lib/hip/lib/libLLVMObject.so.9roc failed
attempt to open /usr/lib/hcc/2.7/lib/libLLVMObject.so.9roc failed
attempt to open /usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/32/libLLVMObject.so.9roc failed
attempt to open /usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/libLLVMObject.so.9roc failed
attempt to open /usr/lib/gcc/x86_64-pc-linux-gnu/7.4.0/32/libLLVMObject.so.9roc failed
attempt to open /usr/lib/gcc/x86_64-pc-linux-gnu/7.4.0/libLLVMObject.so.9roc failed
attempt to open /usr/lib/OpenCL/vendors/ocl-icd/libLLVMObject.so.9roc failed
attempt to open /usr/lib64/OpenCL/vendors/ocl-icd/libLLVMObject.so.9roc failed
attempt to open /usr/lib/llvm/8/lib/libLLVMObject.so.9roc failed
attempt to open /usr/lib/llvm/8/lib64/libLLVMObject.so.9roc failed
attempt to open /usr/lib64/oprofile/libLLVMObject.so.9roc failed
attempt to open /lib64/libLLVMObject.so.9roc failed
attempt to open /usr/lib64/libLLVMObject.so.9roc failed
attempt to open /usr/local/lib64/libLLVMObject.so.9roc failed
attempt to open /lib/libLLVMObject.so.9roc failed
attempt to open /usr/lib/libLLVMObject.so.9roc failed
attempt to open /usr/local/lib/libLLVMObject.so.9roc failed
attempt to open /opt/rust-bin-1.37.0/lib/libLLVMObject.so.9roc failed
attempt to open /usr/games/lib64/libLLVMObject.so.9roc failed
attempt to open /usr/games/lib/libLLVMObject.so.9roc failed
attempt to open /usr/lib/root/6.18/lib/libLLVMObject.so.9roc failed
attempt to open /opt/cuda/lib64/libLLVMObject.so.9roc failed
attempt to open /opt/cuda/lib/libLLVMObject.so.9roc failed
attempt to open /opt/cuda/nvvm/lib64/libLLVMObject.so.9roc failed
attempt to open /usr/lib64/fltk/libLLVMObject.so.9roc failed
attempt to open /usr/lib/hcc/2.7/lib/libLLVMObject.so.9roc failed
attempt to open /usr/lib/hip/lib/libLLVMObject.so.9roc failed
found libLLVMObject.so.9roc at /usr/lib/llvm/roc/lib/libLLVMObject.so.9roc
libLLVMBitWriter.so.9roc needed by /usr/lib64/libamd_comgr.so
attempt to open /usr/lib/hcc/2.7/bin/../lib/libLLVMBitWriter.so.9roc failed
attempt to open /usr/lib/hip/lib/libLLVMBitWriter.so.9roc failed
attempt to open /usr/lib/hcc/2.7/lib/libLLVMBitWriter.so.9roc failed
attempt to open /usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/32/libLLVMBitWriter.so.9roc failed
attempt to open /usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/libLLVMBitWriter.so.9roc failed
attempt to open /usr/lib/gcc/x86_64-pc-linux-gnu/7.4.0/32/libLLVMBitWriter.so.9roc failed
attempt to open /usr/lib/gcc/x86_64-pc-linux-gnu/7.4.0/libLLVMBitWriter.so.9roc failed
attempt to open /usr/lib/OpenCL/vendors/ocl-icd/libLLVMBitWriter.so.9roc failed
attempt to open /usr/lib64/OpenCL/vendors/ocl-icd/libLLVMBitWriter.so.9roc failed
attempt to open /usr/lib/llvm/8/lib/libLLVMBitWriter.so.9roc failed
attempt to open /usr/lib/llvm/8/lib64/libLLVMBitWriter.so.9roc failed
attempt to open /usr/lib64/oprofile/libLLVMBitWriter.so.9roc failed
attempt to open /lib64/libLLVMBitWriter.so.9roc failed
attempt to open /usr/lib64/libLLVMBitWriter.so.9roc failed
attempt to open /usr/local/lib64/libLLVMBitWriter.so.9roc failed
attempt to open /lib/libLLVMBitWriter.so.9roc failed
attempt to open /usr/lib/libLLVMBitWriter.so.9roc failed
attempt to open /usr/local/lib/libLLVMBitWriter.so.9roc failed
attempt to open /opt/rust-bin-1.37.0/lib/libLLVMBitWriter.so.9roc failed
attempt to open /usr/games/lib64/libLLVMBitWriter.so.9roc failed
attempt to open /usr/games/lib/libLLVMBitWriter.so.9roc failed
attempt to open /usr/lib/root/6.18/lib/libLLVMBitWriter.so.9roc failed
attempt to open /opt/cuda/lib64/libLLVMBitWriter.so.9roc failed
attempt to open /opt/cuda/lib/libLLVMBitWriter.so.9roc failed
attempt to open /opt/cuda/nvvm/lib64/libLLVMBitWriter.so.9roc failed
attempt to open /usr/lib64/fltk/libLLVMBitWriter.so.9roc failed
attempt to open /usr/lib/hcc/2.7/lib/libLLVMBitWriter.so.9roc failed
attempt to open /usr/lib/hip/lib/libLLVMBitWriter.so.9roc failed
found libLLVMBitWriter.so.9roc at /usr/lib/llvm/roc/lib/libLLVMBitWriter.so.9roc
libLLVMMC.so.9roc needed by /usr/lib64/libamd_comgr.so
attempt to open /usr/lib/hcc/2.7/bin/../lib/libLLVMMC.so.9roc failed
attempt to open /usr/lib/hip/lib/libLLVMMC.so.9roc failed
attempt to open /usr/lib/hcc/2.7/lib/libLLVMMC.so.9roc failed
attempt to open /usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/32/libLLVMMC.so.9roc failed
attempt to open /usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/libLLVMMC.so.9roc failed
attempt to open /usr/lib/gcc/x86_64-pc-linux-gnu/7.4.0/32/libLLVMMC.so.9roc failed
attempt to open /usr/lib/gcc/x86_64-pc-linux-gnu/7.4.0/libLLVMMC.so.9roc failed
attempt to open /usr/lib/OpenCL/vendors/ocl-icd/libLLVMMC.so.9roc failed
attempt to open /usr/lib64/OpenCL/vendors/ocl-icd/libLLVMMC.so.9roc failed
attempt to open /usr/lib/llvm/8/lib/libLLVMMC.so.9roc failed
attempt to open /usr/lib/llvm/8/lib64/libLLVMMC.so.9roc failed
attempt to open /usr/lib64/oprofile/libLLVMMC.so.9roc failed
attempt to open /lib64/libLLVMMC.so.9roc failed
attempt to open /usr/lib64/libLLVMMC.so.9roc failed
attempt to open /usr/local/lib64/libLLVMMC.so.9roc failed
attempt to open /lib/libLLVMMC.so.9roc failed
attempt to open /usr/lib/libLLVMMC.so.9roc failed
attempt to open /usr/local/lib/libLLVMMC.so.9roc failed
attempt to open /opt/rust-bin-1.37.0/lib/libLLVMMC.so.9roc failed
attempt to open /usr/games/lib64/libLLVMMC.so.9roc failed
attempt to open /usr/games/lib/libLLVMMC.so.9roc failed
attempt to open /usr/lib/root/6.18/lib/libLLVMMC.so.9roc failed
attempt to open /opt/cuda/lib64/libLLVMMC.so.9roc failed
attempt to open /opt/cuda/lib/libLLVMMC.so.9roc failed
attempt to open /opt/cuda/nvvm/lib64/libLLVMMC.so.9roc failed
attempt to open /usr/lib64/fltk/libLLVMMC.so.9roc failed
attempt to open /usr/lib/hcc/2.7/lib/libLLVMMC.so.9roc failed
attempt to open /usr/lib/hip/lib/libLLVMMC.so.9roc failed
found libLLVMMC.so.9roc at /usr/lib/llvm/roc/lib/libLLVMMC.so.9roc
libLLVMMCParser.so.9roc needed by /usr/lib64/libamd_comgr.so
attempt to open /usr/lib/hcc/2.7/bin/../lib/libLLVMMCParser.so.9roc failed
attempt to open /usr/lib/hip/lib/libLLVMMCParser.so.9roc failed
attempt to open /usr/lib/hcc/2.7/lib/libLLVMMCParser.so.9roc failed
attempt to open /usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/32/libLLVMMCParser.so.9roc failed
attempt to open /usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/libLLVMMCParser.so.9roc failed
attempt to open /usr/lib/gcc/x86_64-pc-linux-gnu/7.4.0/32/libLLVMMCParser.so.9roc failed
attempt to open /usr/lib/gcc/x86_64-pc-linux-gnu/7.4.0/libLLVMMCParser.so.9roc failed
attempt to open /usr/lib/OpenCL/vendors/ocl-icd/libLLVMMCParser.so.9roc failed
attempt to open /usr/lib64/OpenCL/vendors/ocl-icd/libLLVMMCParser.so.9roc failed
attempt to open /usr/lib/llvm/8/lib/libLLVMMCParser.so.9roc failed
attempt to open /usr/lib/llvm/8/lib64/libLLVMMCParser.so.9roc failed
attempt to open /usr/lib64/oprofile/libLLVMMCParser.so.9roc failed
attempt to open /lib64/libLLVMMCParser.so.9roc failed
attempt to open /usr/lib64/libLLVMMCParser.so.9roc failed
attempt to open /usr/local/lib64/libLLVMMCParser.so.9roc failed
attempt to open /lib/libLLVMMCParser.so.9roc failed
attempt to open /usr/lib/libLLVMMCParser.so.9roc failed
attempt to open /usr/local/lib/libLLVMMCParser.so.9roc failed
attempt to open /opt/rust-bin-1.37.0/lib/libLLVMMCParser.so.9roc failed
attempt to open /usr/games/lib64/libLLVMMCParser.so.9roc failed
attempt to open /usr/games/lib/libLLVMMCParser.so.9roc failed
attempt to open /usr/lib/root/6.18/lib/libLLVMMCParser.so.9roc failed
attempt to open /opt/cuda/lib64/libLLVMMCParser.so.9roc failed
attempt to open /opt/cuda/lib/libLLVMMCParser.so.9roc failed
attempt to open /opt/cuda/nvvm/lib64/libLLVMMCParser.so.9roc failed
attempt to open /usr/lib64/fltk/libLLVMMCParser.so.9roc failed
attempt to open /usr/lib/hcc/2.7/lib/libLLVMMCParser.so.9roc failed
attempt to open /usr/lib/hip/lib/libLLVMMCParser.so.9roc failed
found libLLVMMCParser.so.9roc at /usr/lib/llvm/roc/lib/libLLVMMCParser.so.9roc
libLLVMMCDisassembler.so.9roc needed by /usr/lib64/libamd_comgr.so
attempt to open /usr/lib/hcc/2.7/bin/../lib/libLLVMMCDisassembler.so.9roc failed
attempt to open /usr/lib/hip/lib/libLLVMMCDisassembler.so.9roc failed
attempt to open /usr/lib/hcc/2.7/lib/libLLVMMCDisassembler.so.9roc failed
attempt to open /usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/32/libLLVMMCDisassembler.so.9roc failed
attempt to open /usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/libLLVMMCDisassembler.so.9roc failed
attempt to open /usr/lib/gcc/x86_64-pc-linux-gnu/7.4.0/32/libLLVMMCDisassembler.so.9roc failed
attempt to open /usr/lib/gcc/x86_64-pc-linux-gnu/7.4.0/libLLVMMCDisassembler.so.9roc failed
attempt to open /usr/lib/OpenCL/vendors/ocl-icd/libLLVMMCDisassembler.so.9roc failed
attempt to open /usr/lib64/OpenCL/vendors/ocl-icd/libLLVMMCDisassembler.so.9roc failed
attempt to open /usr/lib/llvm/8/lib/libLLVMMCDisassembler.so.9roc failed
attempt to open /usr/lib/llvm/8/lib64/libLLVMMCDisassembler.so.9roc failed
attempt to open /usr/lib64/oprofile/libLLVMMCDisassembler.so.9roc failed
attempt to open /lib64/libLLVMMCDisassembler.so.9roc failed
attempt to open /usr/lib64/libLLVMMCDisassembler.so.9roc failed
attempt to open /usr/local/lib64/libLLVMMCDisassembler.so.9roc failed
attempt to open /lib/libLLVMMCDisassembler.so.9roc failed
attempt to open /usr/lib/libLLVMMCDisassembler.so.9roc failed
attempt to open /usr/local/lib/libLLVMMCDisassembler.so.9roc failed
attempt to open /opt/rust-bin-1.37.0/lib/libLLVMMCDisassembler.so.9roc failed
attempt to open /usr/games/lib64/libLLVMMCDisassembler.so.9roc failed
attempt to open /usr/games/lib/libLLVMMCDisassembler.so.9roc failed
attempt to open /usr/lib/root/6.18/lib/libLLVMMCDisassembler.so.9roc failed
attempt to open /opt/cuda/lib64/libLLVMMCDisassembler.so.9roc failed
attempt to open /opt/cuda/lib/libLLVMMCDisassembler.so.9roc failed
attempt to open /opt/cuda/nvvm/lib64/libLLVMMCDisassembler.so.9roc failed
attempt to open /usr/lib64/fltk/libLLVMMCDisassembler.so.9roc failed
attempt to open /usr/lib/hcc/2.7/lib/libLLVMMCDisassembler.so.9roc failed
attempt to open /usr/lib/hip/lib/libLLVMMCDisassembler.so.9roc failed
found libLLVMMCDisassembler.so.9roc at /usr/lib/llvm/roc/lib/libLLVMMCDisassembler.so.9roc
libLLVMCore.so.9roc needed by /usr/lib64/libamd_comgr.so
attempt to open /usr/lib/hcc/2.7/bin/../lib/libLLVMCore.so.9roc failed
attempt to open /usr/lib/hip/lib/libLLVMCore.so.9roc failed
attempt to open /usr/lib/hcc/2.7/lib/libLLVMCore.so.9roc failed
attempt to open /usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/32/libLLVMCore.so.9roc failed
attempt to open /usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/libLLVMCore.so.9roc failed
attempt to open /usr/lib/gcc/x86_64-pc-linux-gnu/7.4.0/32/libLLVMCore.so.9roc failed
attempt to open /usr/lib/gcc/x86_64-pc-linux-gnu/7.4.0/libLLVMCore.so.9roc failed
attempt to open /usr/lib/OpenCL/vendors/ocl-icd/libLLVMCore.so.9roc failed
attempt to open /usr/lib64/OpenCL/vendors/ocl-icd/libLLVMCore.so.9roc failed
attempt to open /usr/lib/llvm/8/lib/libLLVMCore.so.9roc failed
attempt to open /usr/lib/llvm/8/lib64/libLLVMCore.so.9roc failed
attempt to open /usr/lib64/oprofile/libLLVMCore.so.9roc failed
attempt to open /lib64/libLLVMCore.so.9roc failed
attempt to open /usr/lib64/libLLVMCore.so.9roc failed
attempt to open /usr/local/lib64/libLLVMCore.so.9roc failed
attempt to open /lib/libLLVMCore.so.9roc failed
attempt to open /usr/lib/libLLVMCore.so.9roc failed
attempt to open /usr/local/lib/libLLVMCore.so.9roc failed
attempt to open /opt/rust-bin-1.37.0/lib/libLLVMCore.so.9roc failed
attempt to open /usr/games/lib64/libLLVMCore.so.9roc failed
attempt to open /usr/games/lib/libLLVMCore.so.9roc failed
attempt to open /usr/lib/root/6.18/lib/libLLVMCore.so.9roc failed
attempt to open /opt/cuda/lib64/libLLVMCore.so.9roc failed
attempt to open /opt/cuda/lib/libLLVMCore.so.9roc failed
attempt to open /opt/cuda/nvvm/lib64/libLLVMCore.so.9roc failed
attempt to open /usr/lib64/fltk/libLLVMCore.so.9roc failed
attempt to open /usr/lib/hcc/2.7/lib/libLLVMCore.so.9roc failed
attempt to open /usr/lib/hip/lib/libLLVMCore.so.9roc failed
found libLLVMCore.so.9roc at /usr/lib/llvm/roc/lib/libLLVMCore.so.9roc
libLLVMIRReader.so.9roc needed by /usr/lib64/libamd_comgr.so
attempt to open /usr/lib/hcc/2.7/bin/../lib/libLLVMIRReader.so.9roc failed
attempt to open /usr/lib/hip/lib/libLLVMIRReader.so.9roc failed
attempt to open /usr/lib/hcc/2.7/lib/libLLVMIRReader.so.9roc failed
attempt to open /usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/32/libLLVMIRReader.so.9roc failed
attempt to open /usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/libLLVMIRReader.so.9roc failed
attempt to open /usr/lib/gcc/x86_64-pc-linux-gnu/7.4.0/32/libLLVMIRReader.so.9roc failed
attempt to open /usr/lib/gcc/x86_64-pc-linux-gnu/7.4.0/libLLVMIRReader.so.9roc failed
attempt to open /usr/lib/OpenCL/vendors/ocl-icd/libLLVMIRReader.so.9roc failed
attempt to open /usr/lib64/OpenCL/vendors/ocl-icd/libLLVMIRReader.so.9roc failed
attempt to open /usr/lib/llvm/8/lib/libLLVMIRReader.so.9roc failed
attempt to open /usr/lib/llvm/8/lib64/libLLVMIRReader.so.9roc failed
attempt to open /usr/lib64/oprofile/libLLVMIRReader.so.9roc failed
attempt to open /lib64/libLLVMIRReader.so.9roc failed
attempt to open /usr/lib64/libLLVMIRReader.so.9roc failed
attempt to open /usr/local/lib64/libLLVMIRReader.so.9roc failed
attempt to open /lib/libLLVMIRReader.so.9roc failed
attempt to open /usr/lib/libLLVMIRReader.so.9roc failed
attempt to open /usr/local/lib/libLLVMIRReader.so.9roc failed
attempt to open /opt/rust-bin-1.37.0/lib/libLLVMIRReader.so.9roc failed
attempt to open /usr/games/lib64/libLLVMIRReader.so.9roc failed
attempt to open /usr/games/lib/libLLVMIRReader.so.9roc failed
attempt to open /usr/lib/root/6.18/lib/libLLVMIRReader.so.9roc failed
attempt to open /opt/cuda/lib64/libLLVMIRReader.so.9roc failed
attempt to open /opt/cuda/lib/libLLVMIRReader.so.9roc failed
attempt to open /opt/cuda/nvvm/lib64/libLLVMIRReader.so.9roc failed
attempt to open /usr/lib64/fltk/libLLVMIRReader.so.9roc failed
attempt to open /usr/lib/hcc/2.7/lib/libLLVMIRReader.so.9roc failed
attempt to open /usr/lib/hip/lib/libLLVMIRReader.so.9roc failed
found libLLVMIRReader.so.9roc at /usr/lib/llvm/roc/lib/libLLVMIRReader.so.9roc
libLLVMCodeGen.so.9roc needed by /usr/lib64/libamd_comgr.so
attempt to open /usr/lib/hcc/2.7/bin/../lib/libLLVMCodeGen.so.9roc failed
attempt to open /usr/lib/hip/lib/libLLVMCodeGen.so.9roc failed
attempt to open /usr/lib/hcc/2.7/lib/libLLVMCodeGen.so.9roc failed
attempt to open /usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/32/libLLVMCodeGen.so.9roc failed
attempt to open /usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/libLLVMCodeGen.so.9roc failed
attempt to open /usr/lib/gcc/x86_64-pc-linux-gnu/7.4.0/32/libLLVMCodeGen.so.9roc failed
attempt to open /usr/lib/gcc/x86_64-pc-linux-gnu/7.4.0/libLLVMCodeGen.so.9roc failed
attempt to open /usr/lib/OpenCL/vendors/ocl-icd/libLLVMCodeGen.so.9roc failed
attempt to open /usr/lib64/OpenCL/vendors/ocl-icd/libLLVMCodeGen.so.9roc failed
attempt to open /usr/lib/llvm/8/lib/libLLVMCodeGen.so.9roc failed
attempt to open /usr/lib/llvm/8/lib64/libLLVMCodeGen.so.9roc failed
attempt to open /usr/lib64/oprofile/libLLVMCodeGen.so.9roc failed
attempt to open /lib64/libLLVMCodeGen.so.9roc failed
attempt to open /usr/lib64/libLLVMCodeGen.so.9roc failed
attempt to open /usr/local/lib64/libLLVMCodeGen.so.9roc failed
attempt to open /lib/libLLVMCodeGen.so.9roc failed
attempt to open /usr/lib/libLLVMCodeGen.so.9roc failed
attempt to open /usr/local/lib/libLLVMCodeGen.so.9roc failed
attempt to open /opt/rust-bin-1.37.0/lib/libLLVMCodeGen.so.9roc failed
attempt to open /usr/games/lib64/libLLVMCodeGen.so.9roc failed
attempt to open /usr/games/lib/libLLVMCodeGen.so.9roc failed
attempt to open /usr/lib/root/6.18/lib/libLLVMCodeGen.so.9roc failed
attempt to open /opt/cuda/lib64/libLLVMCodeGen.so.9roc failed
attempt to open /opt/cuda/lib/libLLVMCodeGen.so.9roc failed
attempt to open /opt/cuda/nvvm/lib64/libLLVMCodeGen.so.9roc failed
attempt to open /usr/lib64/fltk/libLLVMCodeGen.so.9roc failed
attempt to open /usr/lib/hcc/2.7/lib/libLLVMCodeGen.so.9roc failed
attempt to open /usr/lib/hip/lib/libLLVMCodeGen.so.9roc failed
found libLLVMCodeGen.so.9roc at /usr/lib/llvm/roc/lib/libLLVMCodeGen.so.9roc
libLLVMLinker.so.9roc needed by /usr/lib64/libamd_comgr.so
attempt to open /usr/lib/hcc/2.7/bin/../lib/libLLVMLinker.so.9roc failed
attempt to open /usr/lib/hip/lib/libLLVMLinker.so.9roc failed
attempt to open /usr/lib/hcc/2.7/lib/libLLVMLinker.so.9roc failed
attempt to open /usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/32/libLLVMLinker.so.9roc failed
attempt to open /usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/libLLVMLinker.so.9roc failed
attempt to open /usr/lib/gcc/x86_64-pc-linux-gnu/7.4.0/32/libLLVMLinker.so.9roc failed
attempt to open /usr/lib/gcc/x86_64-pc-linux-gnu/7.4.0/libLLVMLinker.so.9roc failed
attempt to open /usr/lib/OpenCL/vendors/ocl-icd/libLLVMLinker.so.9roc failed
attempt to open /usr/lib64/OpenCL/vendors/ocl-icd/libLLVMLinker.so.9roc failed
attempt to open /usr/lib/llvm/8/lib/libLLVMLinker.so.9roc failed
attempt to open /usr/lib/llvm/8/lib64/libLLVMLinker.so.9roc failed
attempt to open /usr/lib64/oprofile/libLLVMLinker.so.9roc failed
attempt to open /lib64/libLLVMLinker.so.9roc failed
attempt to open /usr/lib64/libLLVMLinker.so.9roc failed
attempt to open /usr/local/lib64/libLLVMLinker.so.9roc failed
attempt to open /lib/libLLVMLinker.so.9roc failed
attempt to open /usr/lib/libLLVMLinker.so.9roc failed
attempt to open /usr/local/lib/libLLVMLinker.so.9roc failed
attempt to open /opt/rust-bin-1.37.0/lib/libLLVMLinker.so.9roc failed
attempt to open /usr/games/lib64/libLLVMLinker.so.9roc failed
attempt to open /usr/games/lib/libLLVMLinker.so.9roc failed
attempt to open /usr/lib/root/6.18/lib/libLLVMLinker.so.9roc failed
attempt to open /opt/cuda/lib64/libLLVMLinker.so.9roc failed
attempt to open /opt/cuda/lib/libLLVMLinker.so.9roc failed
attempt to open /opt/cuda/nvvm/lib64/libLLVMLinker.so.9roc failed
attempt to open /usr/lib64/fltk/libLLVMLinker.so.9roc failed
attempt to open /usr/lib/hcc/2.7/lib/libLLVMLinker.so.9roc failed
attempt to open /usr/lib/hip/lib/libLLVMLinker.so.9roc failed
found libLLVMLinker.so.9roc at /usr/lib/llvm/roc/lib/libLLVMLinker.so.9roc
libnuma.so.1 needed by /usr/lib64/libhsakmt.so.1
attempt to open /usr/lib/hcc/2.7/bin/../lib/libnuma.so.1 failed
attempt to open /usr/lib/hip/lib/libnuma.so.1 failed
attempt to open /usr/lib/hcc/2.7/lib/libnuma.so.1 failed
attempt to open /usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/32/libnuma.so.1 failed
attempt to open /usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/libnuma.so.1 failed
attempt to open /usr/lib/gcc/x86_64-pc-linux-gnu/7.4.0/32/libnuma.so.1 failed
attempt to open /usr/lib/gcc/x86_64-pc-linux-gnu/7.4.0/libnuma.so.1 failed
attempt to open /usr/lib/OpenCL/vendors/ocl-icd/libnuma.so.1 failed
attempt to open /usr/lib64/OpenCL/vendors/ocl-icd/libnuma.so.1 failed
attempt to open /usr/lib/llvm/8/lib/libnuma.so.1 failed
attempt to open /usr/lib/llvm/8/lib64/libnuma.so.1 failed
attempt to open /usr/lib64/oprofile/libnuma.so.1 failed
attempt to open /lib64/libnuma.so.1 failed
found libnuma.so.1 at /usr/lib64/libnuma.so.1
libpci.so.3 needed by /usr/lib64/libhsakmt.so.1
attempt to open /usr/lib/hcc/2.7/bin/../lib/libpci.so.3 failed
attempt to open /usr/lib/hip/lib/libpci.so.3 failed
attempt to open /usr/lib/hcc/2.7/lib/libpci.so.3 failed
attempt to open /usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/32/libpci.so.3 failed
attempt to open /usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/libpci.so.3 failed
attempt to open /usr/lib/gcc/x86_64-pc-linux-gnu/7.4.0/32/libpci.so.3 failed
attempt to open /usr/lib/gcc/x86_64-pc-linux-gnu/7.4.0/libpci.so.3 failed
attempt to open /usr/lib/OpenCL/vendors/ocl-icd/libpci.so.3 failed
attempt to open /usr/lib64/OpenCL/vendors/ocl-icd/libpci.so.3 failed
attempt to open /usr/lib/llvm/8/lib/libpci.so.3 failed
attempt to open /usr/lib/llvm/8/lib64/libpci.so.3 failed
attempt to open /usr/lib64/oprofile/libpci.so.3 failed
attempt to open /lib64/libpci.so.3 failed
found libpci.so.3 at /usr/lib64/libpci.so.3
libz.so.1 needed by /usr/lib64/libelf.so.1
attempt to open /usr/lib/hcc/2.7/bin/../lib/libz.so.1 failed
attempt to open /usr/lib/hip/lib/libz.so.1 failed
attempt to open /usr/lib/hcc/2.7/lib/libz.so.1 failed
attempt to open /usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/32/libz.so.1 failed
attempt to open /usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/libz.so.1 failed
attempt to open /usr/lib/gcc/x86_64-pc-linux-gnu/7.4.0/32/libz.so.1 failed
attempt to open /usr/lib/gcc/x86_64-pc-linux-gnu/7.4.0/libz.so.1 failed
attempt to open /usr/lib/OpenCL/vendors/ocl-icd/libz.so.1 failed
attempt to open /usr/lib64/OpenCL/vendors/ocl-icd/libz.so.1 failed
attempt to open /usr/lib/llvm/8/lib/libz.so.1 failed
attempt to open /usr/lib/llvm/8/lib64/libz.so.1 failed
attempt to open /usr/lib64/oprofile/libz.so.1 failed
found libz.so.1 at /lib64/libz.so.1
libclangCodeGen.so.9roc needed by /usr/lib/llvm/roc/lib/libclangFrontendTool.so.9roc
attempt to open /usr/lib/hcc/2.7/bin/../lib/libclangCodeGen.so.9roc failed
attempt to open /usr/lib/hip/lib/libclangCodeGen.so.9roc failed
attempt to open /usr/lib/hcc/2.7/lib/libclangCodeGen.so.9roc failed
found libclangCodeGen.so.9roc at /usr/lib/llvm/roc/lib/../lib/libclangCodeGen.so.9roc
libclangRewriteFrontend.so.9roc needed by /usr/lib/llvm/roc/lib/libclangFrontendTool.so.9roc
attempt to open /usr/lib/hcc/2.7/bin/../lib/libclangRewriteFrontend.so.9roc failed
attempt to open /usr/lib/hip/lib/libclangRewriteFrontend.so.9roc failed
attempt to open /usr/lib/hcc/2.7/lib/libclangRewriteFrontend.so.9roc failed
found libclangRewriteFrontend.so.9roc at /usr/lib/llvm/roc/lib/../lib/libclangRewriteFrontend.so.9roc
libclangARCMigrate.so.9roc needed by /usr/lib/llvm/roc/lib/libclangFrontendTool.so.9roc
attempt to open /usr/lib/hcc/2.7/bin/../lib/libclangARCMigrate.so.9roc failed
attempt to open /usr/lib/hip/lib/libclangARCMigrate.so.9roc failed
attempt to open /usr/lib/hcc/2.7/lib/libclangARCMigrate.so.9roc failed
found libclangARCMigrate.so.9roc at /usr/lib/llvm/roc/lib/../lib/libclangARCMigrate.so.9roc
libclangStaticAnalyzerFrontend.so.9roc needed by /usr/lib/llvm/roc/lib/libclangFrontendTool.so.9roc
attempt to open /usr/lib/hcc/2.7/bin/../lib/libclangStaticAnalyzerFrontend.so.9roc failed
attempt to open /usr/lib/hip/lib/libclangStaticAnalyzerFrontend.so.9roc failed
attempt to open /usr/lib/hcc/2.7/lib/libclangStaticAnalyzerFrontend.so.9roc failed
found libclangStaticAnalyzerFrontend.so.9roc at /usr/lib/llvm/roc/lib/../lib/libclangStaticAnalyzerFrontend.so.9roc
libclangAST.so.9roc needed by /usr/lib/llvm/roc/lib/libclangFrontend.so.9roc
attempt to open /usr/lib/hcc/2.7/bin/../lib/libclangAST.so.9roc failed
attempt to open /usr/lib/hip/lib/libclangAST.so.9roc failed
attempt to open /usr/lib/hcc/2.7/lib/libclangAST.so.9roc failed
found libclangAST.so.9roc at /usr/lib/llvm/roc/lib/../lib/libclangAST.so.9roc
libclangEdit.so.9roc needed by /usr/lib/llvm/roc/lib/libclangFrontend.so.9roc
attempt to open /usr/lib/hcc/2.7/bin/../lib/libclangEdit.so.9roc failed
attempt to open /usr/lib/hip/lib/libclangEdit.so.9roc failed
attempt to open /usr/lib/hcc/2.7/lib/libclangEdit.so.9roc failed
found libclangEdit.so.9roc at /usr/lib/llvm/roc/lib/../lib/libclangEdit.so.9roc
libclangLex.so.9roc needed by /usr/lib/llvm/roc/lib/libclangFrontend.so.9roc
attempt to open /usr/lib/hcc/2.7/bin/../lib/libclangLex.so.9roc failed
attempt to open /usr/lib/hip/lib/libclangLex.so.9roc failed
attempt to open /usr/lib/hcc/2.7/lib/libclangLex.so.9roc failed
found libclangLex.so.9roc at /usr/lib/llvm/roc/lib/../lib/libclangLex.so.9roc
libclangParse.so.9roc needed by /usr/lib/llvm/roc/lib/libclangFrontend.so.9roc
attempt to open /usr/lib/hcc/2.7/bin/../lib/libclangParse.so.9roc failed
attempt to open /usr/lib/hip/lib/libclangParse.so.9roc failed
attempt to open /usr/lib/hcc/2.7/lib/libclangParse.so.9roc failed
found libclangParse.so.9roc at /usr/lib/llvm/roc/lib/../lib/libclangParse.so.9roc
libclangSema.so.9roc needed by /usr/lib/llvm/roc/lib/libclangFrontend.so.9roc
attempt to open /usr/lib/hcc/2.7/bin/../lib/libclangSema.so.9roc failed
attempt to open /usr/lib/hip/lib/libclangSema.so.9roc failed
attempt to open /usr/lib/hcc/2.7/lib/libclangSema.so.9roc failed
found libclangSema.so.9roc at /usr/lib/llvm/roc/lib/../lib/libclangSema.so.9roc
libLLVMBitstreamReader.so.9roc needed by /usr/lib/llvm/roc/lib/libclangFrontend.so.9roc
attempt to open /usr/lib/hcc/2.7/bin/../lib/libLLVMBitstreamReader.so.9roc failed
attempt to open /usr/lib/hip/lib/libLLVMBitstreamReader.so.9roc failed
attempt to open /usr/lib/hcc/2.7/lib/libLLVMBitstreamReader.so.9roc failed
found libLLVMBitstreamReader.so.9roc at /usr/lib/llvm/roc/lib/../lib/libLLVMBitstreamReader.so.9roc
libLLVMProfileData.so.9roc needed by /usr/lib/llvm/roc/lib/libclangFrontend.so.9roc
attempt to open /usr/lib/hcc/2.7/bin/../lib/libLLVMProfileData.so.9roc failed
attempt to open /usr/lib/hip/lib/libLLVMProfileData.so.9roc failed
attempt to open /usr/lib/hcc/2.7/lib/libLLVMProfileData.so.9roc failed
found libLLVMProfileData.so.9roc at /usr/lib/llvm/roc/lib/../lib/libLLVMProfileData.so.9roc
libLLVMX86CodeGen.so.9roc needed by /usr/lib/llvm/roc/lib/liblldELF.so.9roc
attempt to open /usr/lib/hcc/2.7/bin/../lib/libLLVMX86CodeGen.so.9roc failed
attempt to open /usr/lib/hip/lib/libLLVMX86CodeGen.so.9roc failed
attempt to open /usr/lib/hcc/2.7/lib/libLLVMX86CodeGen.so.9roc failed
found libLLVMX86CodeGen.so.9roc at /usr/lib/llvm/roc/lib/../lib/libLLVMX86CodeGen.so.9roc
libLLVMX86AsmParser.so.9roc needed by /usr/lib/llvm/roc/lib/liblldELF.so.9roc
attempt to open /usr/lib/hcc/2.7/bin/../lib/libLLVMX86AsmParser.so.9roc failed
attempt to open /usr/lib/hip/lib/libLLVMX86AsmParser.so.9roc failed
attempt to open /usr/lib/hcc/2.7/lib/libLLVMX86AsmParser.so.9roc failed
found libLLVMX86AsmParser.so.9roc at /usr/lib/llvm/roc/lib/../lib/libLLVMX86AsmParser.so.9roc
libLLVMX86Desc.so.9roc needed by /usr/lib/llvm/roc/lib/liblldELF.so.9roc
attempt to open /usr/lib/hcc/2.7/bin/../lib/libLLVMX86Desc.so.9roc failed
attempt to open /usr/lib/hip/lib/libLLVMX86Desc.so.9roc failed
attempt to open /usr/lib/hcc/2.7/lib/libLLVMX86Desc.so.9roc failed
found libLLVMX86Desc.so.9roc at /usr/lib/llvm/roc/lib/../lib/libLLVMX86Desc.so.9roc
libLLVMX86Info.so.9roc needed by /usr/lib/llvm/roc/lib/liblldELF.so.9roc
attempt to open /usr/lib/hcc/2.7/bin/../lib/libLLVMX86Info.so.9roc failed
attempt to open /usr/lib/hip/lib/libLLVMX86Info.so.9roc failed
attempt to open /usr/lib/hcc/2.7/lib/libLLVMX86Info.so.9roc failed
attempt to open /usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/32/libLLVMX86Info.so.9roc failed
attempt to open /usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/libLLVMX86Info.so.9roc failed
attempt to open /usr/lib/gcc/x86_64-pc-linux-gnu/7.4.0/32/libLLVMX86Info.so.9roc failed
attempt to open /usr/lib/gcc/x86_64-pc-linux-gnu/7.4.0/libLLVMX86Info.so.9roc failed
attempt to open /usr/lib/OpenCL/vendors/ocl-icd/libLLVMX86Info.so.9roc failed
attempt to open /usr/lib64/OpenCL/vendors/ocl-icd/libLLVMX86Info.so.9roc failed
attempt to open /usr/lib/llvm/8/lib/libLLVMX86Info.so.9roc failed
attempt to open /usr/lib/llvm/8/lib64/libLLVMX86Info.so.9roc failed
attempt to open /usr/lib64/oprofile/libLLVMX86Info.so.9roc failed
attempt to open /lib64/libLLVMX86Info.so.9roc failed
attempt to open /usr/lib64/libLLVMX86Info.so.9roc failed
attempt to open /usr/local/lib64/libLLVMX86Info.so.9roc failed
attempt to open /lib/libLLVMX86Info.so.9roc failed
attempt to open /usr/lib/libLLVMX86Info.so.9roc failed
attempt to open /usr/local/lib/libLLVMX86Info.so.9roc failed
attempt to open /opt/rust-bin-1.37.0/lib/libLLVMX86Info.so.9roc failed
attempt to open /usr/games/lib64/libLLVMX86Info.so.9roc failed
attempt to open /usr/games/lib/libLLVMX86Info.so.9roc failed
attempt to open /usr/lib/root/6.18/lib/libLLVMX86Info.so.9roc failed
attempt to open /opt/cuda/lib64/libLLVMX86Info.so.9roc failed
attempt to open /opt/cuda/lib/libLLVMX86Info.so.9roc failed
attempt to open /opt/cuda/nvvm/lib64/libLLVMX86Info.so.9roc failed
attempt to open /usr/lib64/fltk/libLLVMX86Info.so.9roc failed
attempt to open /usr/lib/hcc/2.7/lib/libLLVMX86Info.so.9roc failed
attempt to open /usr/lib/hip/lib/libLLVMX86Info.so.9roc failed
attempt to open /usr/lib64/octave/4.2.2/libLLVMX86Info.so.9roc failed
attempt to open /usr/x86_64-pc-linux-gnu/lib64/libLLVMX86Info.so.9roc failed
attempt to open /usr/lib64/binutils/x86_64-pc-linux-gnu/2.3264/libLLVMX86Info.so.9roc failed
attempt to open /usr/local/lib64/libLLVMX86Info.so.9roc failed
attempt to open /lib64/libLLVMX86Info.so.9roc failed
attempt to open /usr/lib64/libLLVMX86Info.so.9roc failed
attempt to open /usr/x86_64-pc-linux-gnu/lib/libLLVMX86Info.so.9roc failed
attempt to open /usr/lib64/binutils/x86_64-pc-linux-gnu/2.32/libLLVMX86Info.so.9roc failed
attempt to open /usr/local/lib/libLLVMX86Info.so.9roc failed
attempt to open /lib/libLLVMX86Info.so.9roc failed
attempt to open /usr/lib/libLLVMX86Info.so.9roc failed
attempt to open /usr/lib/hcc/2.7/bin/../lib/libLLVMX86Info.so.9roc failed
attempt to open /usr/lib/hip/lib/libLLVMX86Info.so.9roc failed
attempt to open /usr/lib/hcc/2.7/lib/libLLVMX86Info.so.9roc failed
found libLLVMX86Info.so.9roc at /usr/lib/llvm/roc/lib/../lib/libLLVMX86Info.so.9roc
libLLVMBinaryFormat.so.9roc needed by /usr/lib/llvm/roc/lib/liblldELF.so.9roc
attempt to open /usr/lib/hcc/2.7/bin/../lib/libLLVMBinaryFormat.so.9roc failed
attempt to open /usr/lib/hip/lib/libLLVMBinaryFormat.so.9roc failed
attempt to open /usr/lib/hcc/2.7/lib/libLLVMBinaryFormat.so.9roc failed
found libLLVMBinaryFormat.so.9roc at /usr/lib/llvm/roc/lib/../lib/libLLVMBinaryFormat.so.9roc
libLLVMLTO.so.9roc needed by /usr/lib/llvm/roc/lib/liblldELF.so.9roc
attempt to open /usr/lib/hcc/2.7/bin/../lib/libLLVMLTO.so.9roc failed
attempt to open /usr/lib/hip/lib/libLLVMLTO.so.9roc failed
attempt to open /usr/lib/hcc/2.7/lib/libLLVMLTO.so.9roc failed
found libLLVMLTO.so.9roc at /usr/lib/llvm/roc/lib/../lib/libLLVMLTO.so.9roc
libLLVMDemangle.so.9roc needed by /usr/lib/llvm/roc/lib/liblldCommon.so.9roc
attempt to open /usr/lib/hcc/2.7/bin/../lib/libLLVMDemangle.so.9roc failed
attempt to open /usr/lib/hip/lib/libLLVMDemangle.so.9roc failed
attempt to open /usr/lib/hcc/2.7/lib/libLLVMDemangle.so.9roc failed
found libLLVMDemangle.so.9roc at /usr/lib/llvm/roc/lib/../lib/libLLVMDemangle.so.9roc
libLLVMAMDGPUUtils.so.9roc needed by /usr/lib/llvm/roc/lib/libLLVMAMDGPUCodeGen.so.9roc
attempt to open /usr/lib/hcc/2.7/bin/../lib/libLLVMAMDGPUUtils.so.9roc failed
attempt to open /usr/lib/hip/lib/libLLVMAMDGPUUtils.so.9roc failed
attempt to open /usr/lib/hcc/2.7/lib/libLLVMAMDGPUUtils.so.9roc failed
found libLLVMAMDGPUUtils.so.9roc at /usr/lib/llvm/roc/lib/../lib/libLLVMAMDGPUUtils.so.9roc
libLLVMAnalysis.so.9roc needed by /usr/lib/llvm/roc/lib/libLLVMAMDGPUCodeGen.so.9roc
attempt to open /usr/lib/hcc/2.7/bin/../lib/libLLVMAnalysis.so.9roc failed
attempt to open /usr/lib/hip/lib/libLLVMAnalysis.so.9roc failed
attempt to open /usr/lib/hcc/2.7/lib/libLLVMAnalysis.so.9roc failed
found libLLVMAnalysis.so.9roc at /usr/lib/llvm/roc/lib/../lib/libLLVMAnalysis.so.9roc
libLLVMAsmPrinter.so.9roc needed by /usr/lib/llvm/roc/lib/libLLVMAMDGPUCodeGen.so.9roc
attempt to open /usr/lib/hcc/2.7/bin/../lib/libLLVMAsmPrinter.so.9roc failed
attempt to open /usr/lib/hip/lib/libLLVMAsmPrinter.so.9roc failed
attempt to open /usr/lib/hcc/2.7/lib/libLLVMAsmPrinter.so.9roc failed
found libLLVMAsmPrinter.so.9roc at /usr/lib/llvm/roc/lib/../lib/libLLVMAsmPrinter.so.9roc
libLLVMGlobalISel.so.9roc needed by /usr/lib/llvm/roc/lib/libLLVMAMDGPUCodeGen.so.9roc
attempt to open /usr/lib/hcc/2.7/bin/../lib/libLLVMGlobalISel.so.9roc failed
attempt to open /usr/lib/hip/lib/libLLVMGlobalISel.so.9roc failed
attempt to open /usr/lib/hcc/2.7/lib/libLLVMGlobalISel.so.9roc failed
found libLLVMGlobalISel.so.9roc at /usr/lib/llvm/roc/lib/../lib/libLLVMGlobalISel.so.9roc
libLLVMMIRParser.so.9roc needed by /usr/lib/llvm/roc/lib/libLLVMAMDGPUCodeGen.so.9roc
attempt to open /usr/lib/hcc/2.7/bin/../lib/libLLVMMIRParser.so.9roc failed
attempt to open /usr/lib/hip/lib/libLLVMMIRParser.so.9roc failed
attempt to open /usr/lib/hcc/2.7/lib/libLLVMMIRParser.so.9roc failed
found libLLVMMIRParser.so.9roc at /usr/lib/llvm/roc/lib/../lib/libLLVMMIRParser.so.9roc
libLLVMScalarOpts.so.9roc needed by /usr/lib/llvm/roc/lib/libLLVMAMDGPUCodeGen.so.9roc
attempt to open /usr/lib/hcc/2.7/bin/../lib/libLLVMScalarOpts.so.9roc failed
attempt to open /usr/lib/hip/lib/libLLVMScalarOpts.so.9roc failed
attempt to open /usr/lib/hcc/2.7/lib/libLLVMScalarOpts.so.9roc failed
found libLLVMScalarOpts.so.9roc at /usr/lib/llvm/roc/lib/../lib/libLLVMScalarOpts.so.9roc
libLLVMSelectionDAG.so.9roc needed by /usr/lib/llvm/roc/lib/libLLVMAMDGPUCodeGen.so.9roc
attempt to open /usr/lib/hcc/2.7/bin/../lib/libLLVMSelectionDAG.so.9roc failed
attempt to open /usr/lib/hip/lib/libLLVMSelectionDAG.so.9roc failed
attempt to open /usr/lib/hcc/2.7/lib/libLLVMSelectionDAG.so.9roc failed
found libLLVMSelectionDAG.so.9roc at /usr/lib/llvm/roc/lib/../lib/libLLVMSelectionDAG.so.9roc
libLLVMTarget.so.9roc needed by /usr/lib/llvm/roc/lib/libLLVMAMDGPUCodeGen.so.9roc
attempt to open /usr/lib/hcc/2.7/bin/../lib/libLLVMTarget.so.9roc failed
attempt to open /usr/lib/hip/lib/libLLVMTarget.so.9roc failed
attempt to open /usr/lib/hcc/2.7/lib/libLLVMTarget.so.9roc failed
found libLLVMTarget.so.9roc at /usr/lib/llvm/roc/lib/../lib/libLLVMTarget.so.9roc
libLLVMTransformUtils.so.9roc needed by /usr/lib/llvm/roc/lib/libLLVMAMDGPUCodeGen.so.9roc
attempt to open /usr/lib/hcc/2.7/bin/../lib/libLLVMTransformUtils.so.9roc failed
attempt to open /usr/lib/hip/lib/libLLVMTransformUtils.so.9roc failed
attempt to open /usr/lib/hcc/2.7/lib/libLLVMTransformUtils.so.9roc failed
found libLLVMTransformUtils.so.9roc at /usr/lib/llvm/roc/lib/../lib/libLLVMTransformUtils.so.9roc
libLLVMVectorize.so.9roc needed by /usr/lib/llvm/roc/lib/libLLVMAMDGPUCodeGen.so.9roc
attempt to open /usr/lib/hcc/2.7/bin/../lib/libLLVMVectorize.so.9roc failed
attempt to open /usr/lib/hip/lib/libLLVMVectorize.so.9roc failed
attempt to open /usr/lib/hcc/2.7/lib/libLLVMVectorize.so.9roc failed
found libLLVMVectorize.so.9roc at /usr/lib/llvm/roc/lib/../lib/libLLVMVectorize.so.9roc
libLLVMipo.so.9roc needed by /usr/lib/llvm/roc/lib/libLLVMAMDGPUCodeGen.so.9roc
attempt to open /usr/lib/hcc/2.7/bin/../lib/libLLVMipo.so.9roc failed
attempt to open /usr/lib/hip/lib/libLLVMipo.so.9roc failed
attempt to open /usr/lib/hcc/2.7/lib/libLLVMipo.so.9roc failed
found libLLVMipo.so.9roc at /usr/lib/llvm/roc/lib/../lib/libLLVMipo.so.9roc
libLLVMDebugInfoPDB.so.9roc needed by /usr/lib/llvm/roc/lib/libLLVMSymbolize.so.9roc
attempt to open /usr/lib/hcc/2.7/bin/../lib/libLLVMDebugInfoPDB.so.9roc failed
attempt to open /usr/lib/hip/lib/libLLVMDebugInfoPDB.so.9roc failed
attempt to open /usr/lib/hcc/2.7/lib/libLLVMDebugInfoPDB.so.9roc failed
found libLLVMDebugInfoPDB.so.9roc at /usr/lib/llvm/roc/lib/../lib/libLLVMDebugInfoPDB.so.9roc
libtinfo.so.6 needed by /usr/lib/llvm/roc/lib/libLLVMSupport.so.9roc
attempt to open /usr/lib/hcc/2.7/bin/../lib/libtinfo.so.6 failed
attempt to open /usr/lib/hip/lib/libtinfo.so.6 failed
attempt to open /usr/lib/hcc/2.7/lib/libtinfo.so.6 failed
attempt to open /usr/lib/llvm/roc/lib/../lib/libtinfo.so.6 failed
attempt to open /usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/32/libtinfo.so.6 failed
attempt to open /usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/libtinfo.so.6 failed
attempt to open /usr/lib/gcc/x86_64-pc-linux-gnu/7.4.0/32/libtinfo.so.6 failed
attempt to open /usr/lib/gcc/x86_64-pc-linux-gnu/7.4.0/libtinfo.so.6 failed
attempt to open /usr/lib/OpenCL/vendors/ocl-icd/libtinfo.so.6 failed
attempt to open /usr/lib64/OpenCL/vendors/ocl-icd/libtinfo.so.6 failed
attempt to open /usr/lib/llvm/8/lib/libtinfo.so.6 failed
attempt to open /usr/lib/llvm/8/lib64/libtinfo.so.6 failed
attempt to open /usr/lib64/oprofile/libtinfo.so.6 failed
found libtinfo.so.6 at /lib64/libtinfo.so.6
libLLVMBitReader.so.9roc needed by /usr/lib/llvm/roc/lib/libLLVMObject.so.9roc
attempt to open /usr/lib/hcc/2.7/bin/../lib/libLLVMBitReader.so.9roc failed
attempt to open /usr/lib/hip/lib/libLLVMBitReader.so.9roc failed
attempt to open /usr/lib/hcc/2.7/lib/libLLVMBitReader.so.9roc failed
found libLLVMBitReader.so.9roc at /usr/lib/llvm/roc/lib/../lib/libLLVMBitReader.so.9roc
libLLVMRemarks.so.9roc needed by /usr/lib/llvm/roc/lib/libLLVMCore.so.9roc
attempt to open /usr/lib/hcc/2.7/bin/../lib/libLLVMRemarks.so.9roc failed
attempt to open /usr/lib/hip/lib/libLLVMRemarks.so.9roc failed
attempt to open /usr/lib/hcc/2.7/lib/libLLVMRemarks.so.9roc failed
found libLLVMRemarks.so.9roc at /usr/lib/llvm/roc/lib/../lib/libLLVMRemarks.so.9roc
libLLVMAsmParser.so.9roc needed by /usr/lib/llvm/roc/lib/libLLVMIRReader.so.9roc
attempt to open /usr/lib/hcc/2.7/bin/../lib/libLLVMAsmParser.so.9roc failed
attempt to open /usr/lib/hip/lib/libLLVMAsmParser.so.9roc failed
attempt to open /usr/lib/hcc/2.7/lib/libLLVMAsmParser.so.9roc failed
found libLLVMAsmParser.so.9roc at /usr/lib/llvm/roc/lib/../lib/libLLVMAsmParser.so.9roc
libudev.so.1 needed by /usr/lib64/libpci.so.3
attempt to open /usr/lib/hcc/2.7/bin/../lib/libudev.so.1 failed
attempt to open /usr/lib/hip/lib/libudev.so.1 failed
attempt to open /usr/lib/hcc/2.7/lib/libudev.so.1 failed
attempt to open /usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/32/libudev.so.1 failed
attempt to open /usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/libudev.so.1 failed
attempt to open /usr/lib/gcc/x86_64-pc-linux-gnu/7.4.0/32/libudev.so.1 failed
attempt to open /usr/lib/gcc/x86_64-pc-linux-gnu/7.4.0/libudev.so.1 failed
attempt to open /usr/lib/OpenCL/vendors/ocl-icd/libudev.so.1 failed
attempt to open /usr/lib64/OpenCL/vendors/ocl-icd/libudev.so.1 failed
attempt to open /usr/lib/llvm/8/lib/libudev.so.1 failed
attempt to open /usr/lib/llvm/8/lib64/libudev.so.1 failed
attempt to open /usr/lib64/oprofile/libudev.so.1 failed
found libudev.so.1 at /lib64/libudev.so.1
libclangAnalysis.so.9roc needed by /usr/lib/llvm/roc/lib/../lib/libclangCodeGen.so.9roc
attempt to open /usr/lib/hcc/2.7/bin/../lib/libclangAnalysis.so.9roc failed
attempt to open /usr/lib/hip/lib/libclangAnalysis.so.9roc failed
attempt to open /usr/lib/hcc/2.7/lib/libclangAnalysis.so.9roc failed
found libclangAnalysis.so.9roc at /usr/lib/llvm/roc/lib/../lib/../lib/libclangAnalysis.so.9roc
libclangASTMatchers.so.9roc needed by /usr/lib/llvm/roc/lib/../lib/libclangCodeGen.so.9roc
attempt to open /usr/lib/hcc/2.7/bin/../lib/libclangASTMatchers.so.9roc failed
attempt to open /usr/lib/hip/lib/libclangASTMatchers.so.9roc failed
attempt to open /usr/lib/hcc/2.7/lib/libclangASTMatchers.so.9roc failed
found libclangASTMatchers.so.9roc at /usr/lib/llvm/roc/lib/../lib/../lib/libclangASTMatchers.so.9roc
libLLVMCoroutines.so.9roc needed by /usr/lib/llvm/roc/lib/../lib/libclangCodeGen.so.9roc
attempt to open /usr/lib/hcc/2.7/bin/../lib/libLLVMCoroutines.so.9roc failed
attempt to open /usr/lib/hip/lib/libLLVMCoroutines.so.9roc failed
attempt to open /usr/lib/hcc/2.7/lib/libLLVMCoroutines.so.9roc failed
found libLLVMCoroutines.so.9roc at /usr/lib/llvm/roc/lib/../lib/../lib/libLLVMCoroutines.so.9roc
libLLVMCoverage.so.9roc needed by /usr/lib/llvm/roc/lib/../lib/libclangCodeGen.so.9roc
attempt to open /usr/lib/hcc/2.7/bin/../lib/libLLVMCoverage.so.9roc failed
attempt to open /usr/lib/hip/lib/libLLVMCoverage.so.9roc failed
attempt to open /usr/lib/hcc/2.7/lib/libLLVMCoverage.so.9roc failed
found libLLVMCoverage.so.9roc at /usr/lib/llvm/roc/lib/../lib/../lib/libLLVMCoverage.so.9roc
libLLVMInstCombine.so.9roc needed by /usr/lib/llvm/roc/lib/../lib/libclangCodeGen.so.9roc
attempt to open /usr/lib/hcc/2.7/bin/../lib/libLLVMInstCombine.so.9roc failed
attempt to open /usr/lib/hip/lib/libLLVMInstCombine.so.9roc failed
attempt to open /usr/lib/hcc/2.7/lib/libLLVMInstCombine.so.9roc failed
found libLLVMInstCombine.so.9roc at /usr/lib/llvm/roc/lib/../lib/../lib/libLLVMInstCombine.so.9roc
libLLVMInstrumentation.so.9roc needed by /usr/lib/llvm/roc/lib/../lib/libclangCodeGen.so.9roc
attempt to open /usr/lib/hcc/2.7/bin/../lib/libLLVMInstrumentation.so.9roc failed
attempt to open /usr/lib/hip/lib/libLLVMInstrumentation.so.9roc failed
attempt to open /usr/lib/hcc/2.7/lib/libLLVMInstrumentation.so.9roc failed
found libLLVMInstrumentation.so.9roc at /usr/lib/llvm/roc/lib/../lib/../lib/libLLVMInstrumentation.so.9roc
libLLVMObjCARCOpts.so.9roc needed by /usr/lib/llvm/roc/lib/../lib/libclangCodeGen.so.9roc
attempt to open /usr/lib/hcc/2.7/bin/../lib/libLLVMObjCARCOpts.so.9roc failed
attempt to open /usr/lib/hip/lib/libLLVMObjCARCOpts.so.9roc failed
attempt to open /usr/lib/hcc/2.7/lib/libLLVMObjCARCOpts.so.9roc failed
found libLLVMObjCARCOpts.so.9roc at /usr/lib/llvm/roc/lib/../lib/../lib/libLLVMObjCARCOpts.so.9roc
libLLVMPasses.so.9roc needed by /usr/lib/llvm/roc/lib/../lib/libclangCodeGen.so.9roc
attempt to open /usr/lib/hcc/2.7/bin/../lib/libLLVMPasses.so.9roc failed
attempt to open /usr/lib/hip/lib/libLLVMPasses.so.9roc failed
attempt to open /usr/lib/hcc/2.7/lib/libLLVMPasses.so.9roc failed
found libLLVMPasses.so.9roc at /usr/lib/llvm/roc/lib/../lib/../lib/libLLVMPasses.so.9roc
libclangRewrite.so.9roc needed by /usr/lib/llvm/roc/lib/../lib/libclangRewriteFrontend.so.9roc
attempt to open /usr/lib/hcc/2.7/bin/../lib/libclangRewrite.so.9roc failed
attempt to open /usr/lib/hip/lib/libclangRewrite.so.9roc failed
attempt to open /usr/lib/hcc/2.7/lib/libclangRewrite.so.9roc failed
found libclangRewrite.so.9roc at /usr/lib/llvm/roc/lib/../lib/../lib/libclangRewrite.so.9roc
libclangCrossTU.so.9roc needed by /usr/lib/llvm/roc/lib/../lib/libclangStaticAnalyzerFrontend.so.9roc
attempt to open /usr/lib/hcc/2.7/bin/../lib/libclangCrossTU.so.9roc failed
attempt to open /usr/lib/hip/lib/libclangCrossTU.so.9roc failed
attempt to open /usr/lib/hcc/2.7/lib/libclangCrossTU.so.9roc failed
found libclangCrossTU.so.9roc at /usr/lib/llvm/roc/lib/../lib/../lib/libclangCrossTU.so.9roc
libclangStaticAnalyzerCheckers.so.9roc needed by /usr/lib/llvm/roc/lib/../lib/libclangStaticAnalyzerFrontend.so.9roc
attempt to open /usr/lib/hcc/2.7/bin/../lib/libclangStaticAnalyzerCheckers.so.9roc failed
attempt to open /usr/lib/hip/lib/libclangStaticAnalyzerCheckers.so.9roc failed
attempt to open /usr/lib/hcc/2.7/lib/libclangStaticAnalyzerCheckers.so.9roc failed
found libclangStaticAnalyzerCheckers.so.9roc at /usr/lib/llvm/roc/lib/../lib/../lib/libclangStaticAnalyzerCheckers.so.9roc
libclangStaticAnalyzerCore.so.9roc needed by /usr/lib/llvm/roc/lib/../lib/libclangStaticAnalyzerFrontend.so.9roc
attempt to open /usr/lib/hcc/2.7/bin/../lib/libclangStaticAnalyzerCore.so.9roc failed
attempt to open /usr/lib/hip/lib/libclangStaticAnalyzerCore.so.9roc failed
attempt to open /usr/lib/hcc/2.7/lib/libclangStaticAnalyzerCore.so.9roc failed
found libclangStaticAnalyzerCore.so.9roc at /usr/lib/llvm/roc/lib/../lib/../lib/libclangStaticAnalyzerCore.so.9roc
libLLVMX86Utils.so.9roc needed by /usr/lib/llvm/roc/lib/../lib/libLLVMX86CodeGen.so.9roc
attempt to open /usr/lib/hcc/2.7/bin/../lib/libLLVMX86Utils.so.9roc failed
attempt to open /usr/lib/hip/lib/libLLVMX86Utils.so.9roc failed
attempt to open /usr/lib/hcc/2.7/lib/libLLVMX86Utils.so.9roc failed
found libLLVMX86Utils.so.9roc at /usr/lib/llvm/roc/lib/../lib/../lib/libLLVMX86Utils.so.9roc
libLLVMDebugInfoCodeView.so.9roc needed by /usr/lib/llvm/roc/lib/../lib/libLLVMAsmPrinter.so.9roc
attempt to open /usr/lib/hcc/2.7/bin/../lib/libLLVMDebugInfoCodeView.so.9roc failed
attempt to open /usr/lib/hip/lib/libLLVMDebugInfoCodeView.so.9roc failed
attempt to open /usr/lib/hcc/2.7/lib/libLLVMDebugInfoCodeView.so.9roc failed
found libLLVMDebugInfoCodeView.so.9roc at /usr/lib/llvm/roc/lib/../lib/../lib/libLLVMDebugInfoCodeView.so.9roc
libLLVMAggressiveInstCombine.so.9roc needed by /usr/lib/llvm/roc/lib/../lib/libLLVMipo.so.9roc
attempt to open /usr/lib/hcc/2.7/bin/../lib/libLLVMAggressiveInstCombine.so.9roc failed
attempt to open /usr/lib/hip/lib/libLLVMAggressiveInstCombine.so.9roc failed
attempt to open /usr/lib/hcc/2.7/lib/libLLVMAggressiveInstCombine.so.9roc failed
found libLLVMAggressiveInstCombine.so.9roc at /usr/lib/llvm/roc/lib/../lib/../lib/libLLVMAggressiveInstCombine.so.9roc
libLLVMDebugInfoMSF.so.9roc needed by /usr/lib/llvm/roc/lib/../lib/libLLVMDebugInfoPDB.so.9roc
attempt to open /usr/lib/hcc/2.7/bin/../lib/libLLVMDebugInfoMSF.so.9roc failed
attempt to open /usr/lib/hip/lib/libLLVMDebugInfoMSF.so.9roc failed
attempt to open /usr/lib/hcc/2.7/lib/libLLVMDebugInfoMSF.so.9roc failed
found libLLVMDebugInfoMSF.so.9roc at /usr/lib/llvm/roc/lib/../lib/../lib/libLLVMDebugInfoMSF.so.9roc
libclangIndex.so.9roc needed by /usr/lib/llvm/roc/lib/../lib/../lib/libclangCrossTU.so.9roc
attempt to open /usr/lib/hcc/2.7/bin/../lib/libclangIndex.so.9roc failed
attempt to open /usr/lib/hip/lib/libclangIndex.so.9roc failed
attempt to open /usr/lib/hcc/2.7/lib/libclangIndex.so.9roc failed
found libclangIndex.so.9roc at /usr/lib/llvm/roc/lib/../lib/../lib/../lib/libclangIndex.so.9roc
libclangFormat.so.9roc needed by /usr/lib/llvm/roc/lib/../lib/../lib/../lib/libclangIndex.so.9roc
attempt to open /usr/lib/hcc/2.7/bin/../lib/libclangFormat.so.9roc failed
attempt to open /usr/lib/hip/lib/libclangFormat.so.9roc failed
attempt to open /usr/lib/hcc/2.7/lib/libclangFormat.so.9roc failed
found libclangFormat.so.9roc at /usr/lib/llvm/roc/lib/../lib/../lib/../lib/../lib/libclangFormat.so.9roc
libclangToolingCore.so.9roc needed by /usr/lib/llvm/roc/lib/../lib/../lib/../lib/libclangIndex.so.9roc
attempt to open /usr/lib/hcc/2.7/bin/../lib/libclangToolingCore.so.9roc failed
attempt to open /usr/lib/hip/lib/libclangToolingCore.so.9roc failed
attempt to open /usr/lib/hcc/2.7/lib/libclangToolingCore.so.9roc failed
found libclangToolingCore.so.9roc at /usr/lib/llvm/roc/lib/../lib/../lib/../lib/../lib/libclangToolingCore.so.9roc
libclangToolingInclusions.so.9roc needed by /usr/lib/llvm/roc/lib/../lib/../lib/../lib/../lib/libclangFormat.so.9roc
attempt to open /usr/lib/hcc/2.7/bin/../lib/libclangToolingInclusions.so.9roc failed
attempt to open /usr/lib/hip/lib/libclangToolingInclusions.so.9roc failed
attempt to open /usr/lib/hcc/2.7/lib/libclangToolingInclusions.so.9roc failed
found libclangToolingInclusions.so.9roc at /usr/lib/llvm/roc/lib/../lib/../lib/../lib/../lib/../lib/libclangToolingInclusions.so.9roc
ld: /usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../lib64/crt1.o: in function `_start':
(.text+0x20): undefined reference to `main'
ld: link errors found, deleting executable `a.out'
clang-9: error: linker command failed with exit code 1 (use -v to see invocation)

lost link to library to llvm-roc during build rocm-opencl-runtime

 [ 97%] Linking CXX shared library ../../../lib/libamdocl64.so
 cd /var/tmp/portage/dev-libs/rocm-opencl-runtime-2.0.0/work/build/api/opencl/amdocl && /usr/bin/cmake -E cmake_link_script CMakeFiles/amdocl64.dir/link.txt --verbose=1
/usr/bin/x86_64-pc-linux-gnu-g++ -fPIC -O2 -march=znver1 -std=c++11 -Wl,-Bsymbolic -Wl,--unresolved-symbols=report-all -Wl,--version-script=/var/tmp/portage/dev-libs/rocm-opencl-runtime-2.0.0/work/ROCm-OpenCL-Runtime-roc-2.0.0/api/opencl/amdocl/amdocl.map -shared -Wl,-soname,libamdocl64.so -o ../../../lib/libamdocl64.so CMakeFiles/amdocl64.dir/cl_memobj.cpp.o CMakeFiles/amdocl64.dir/cl_program.cpp.o CMakeFiles/amdocl64.dir/cl_sdi_amd.cpp.o CMakeFiles/amdocl64.dir/cl_device.cpp.o CMakeFiles/amdocl64.dir/cl_debugger_amd.cpp.o CMakeFiles/amdocl64.dir/cl_svm.cpp.o CMakeFiles/amdocl64.dir/cl_sampler.cpp.o CMakeFiles/amdocl64.dir/cl_thread_trace_amd.cpp.o CMakeFiles/amdocl64.dir/cl_object.cpp.o CMakeFiles/amdocl64.dir/cl_counter.cpp.o CMakeFiles/amdocl64.dir/cl_d3d10.cpp.o CMakeFiles/amdocl64.dir/cl_d3d9.cpp.o CMakeFiles/amdocl64.dir/cl_command.cpp.o CMakeFiles/amdocl64.dir/cl_platform_amd.cpp.o CMakeFiles/amdocl64.dir/cl_event.cpp.o CMakeFiles/amdocl64.dir/cl_lqdflash_amd.cpp.o CMakeFiles/amdocl64.dir/cl_kernel_info_amd.cpp.o CMakeFiles/amdocl64.dir/cl_execute.cpp.o CMakeFiles/amdocl64.dir/cl_gl.cpp.o CMakeFiles/amdocl64.dir/cl_icd.cpp.o CMakeFiles/amdocl64.dir/cl_pipe.cpp.o CMakeFiles/amdocl64.dir/cl_d3d11.cpp.o CMakeFiles/amdocl64.dir/cl_context.cpp.o CMakeFiles/amdocl64.dir/cl_profile_amd.cpp.o CMakeFiles/amdocl64.dir/cl_p2p_amd.cpp.o CMakeFiles/amdocl64.dir/glibc_functions.cpp.o ../../../runtime/CMakeFiles/oclruntime.dir/thread/thread.cpp.o ../../../runtime/CMakeFiles/oclruntime.dir/thread/monitor.cpp.o ../../../runtime/CMakeFiles/oclruntime.dir/thread/semaphore.cpp.o ../../../runtime/CMakeFiles/oclruntime.dir/utils/flags.cpp.o ../../../runtime/CMakeFiles/oclruntime.dir/utils/debug.cpp.o ../../../runtime/CMakeFiles/oclruntime.dir/device/appprofile.cpp.o ../../../runtime/CMakeFiles/oclruntime.dir/device/device.cpp.o ../../../runtime/CMakeFiles/oclruntime.dir/device/hwdebug.cpp.o ../../../runtime/CMakeFiles/oclruntime.dir/device/blitcl.cpp.o ../../../runtime/CMakeFiles/oclruntime.dir/device/blit.cpp.o ../../../runtime/CMakeFiles/oclruntime.dir/device/devkernel.cpp.o ../../../runtime/CMakeFiles/oclruntime.dir/device/devwavelimiter.cpp.o ../../../runtime/CMakeFiles/oclruntime.dir/device/devprogram.cpp.o ../../../runtime/CMakeFiles/oclruntime.dir/platform/kernel.cpp.o ../../../runtime/CMakeFiles/oclruntime.dir/platform/context.cpp.o ../../../runtime/CMakeFiles/oclruntime.dir/platform/command.cpp.o ../../../runtime/CMakeFiles/oclruntime.dir/platform/ndrange.cpp.o ../../../runtime/CMakeFiles/oclruntime.dir/platform/runtime.cpp.o ../../../runtime/CMakeFiles/oclruntime.dir/platform/object.cpp.o ../../../runtime/CMakeFiles/oclruntime.dir/platform/memory.cpp.o ../../../runtime/CMakeFiles/oclruntime.dir/platform/program.cpp.o ../../../runtime/CMakeFiles/oclruntime.dir/platform/commandqueue.cpp.o ../../../runtime/CMakeFiles/oclruntime.dir/platform/agent.cpp.o ../../../runtime/CMakeFiles/oclruntime.dir/os/os_win32.cpp.o ../../../runtime/CMakeFiles/oclruntime.dir/os/alloc.cpp.o ../../../runtime/CMakeFiles/oclruntime.dir/os/os.cpp.o ../../../runtime/CMakeFiles/oclruntime.dir/os/os_posix.cpp.o ../../../runtime/CMakeFiles/oclruntime.dir/__/compiler/lib/utils/options.cpp.o ../../../runtime/CMakeFiles/oclruntime.dir/__/compiler/lib/loaders/elf/elf.cpp.o ../../../runtime/CMakeFiles/oclruntime.dir/__/compiler/lib/loaders/elf/elf_utils.cpp.o ../../../runtime/CMakeFiles/oclruntime.dir/__/compiler/tools/caching/cache.cpp.o ../../../runtime/device/rocm/CMakeFiles/oclrocm.dir/roccounters.cpp.o ../../../runtime/device/rocm/CMakeFiles/oclrocm.dir/rocprintf.cpp.o ../../../runtime/device/rocm/CMakeFiles/oclrocm.dir/rocprogram.cpp.o ../../../runtime/device/rocm/CMakeFiles/oclrocm.dir/rocmemory.cpp.o ../../../runtime/device/rocm/CMakeFiles/oclrocm.dir/rocdevice.cpp.o ../../../runtime/device/rocm/CMakeFiles/oclrocm.dir/rocblit.cpp.o ../../../runtime/device/rocm/CMakeFiles/oclrocm.dir/rockernel.cpp.o ../../../runtime/device/rocm/CMakeFiles/oclrocm.dir/rocvirtual.cpp.o ../../../runtime/device/rocm/CMakeFiles/oclrocm.dir/rocglinterop.cpp.o ../../../runtime/device/rocm/CMakeFiles/oclrocm.dir/rocappprofile.cpp.o ../../../runtime/device/rocm/CMakeFiles/oclrocm.dir/rocsettings.cpp.o ../../../runtime/device/rocm/CMakeFiles/oclrocm.dir/rocschedcl.cpp.o ../../../compiler/driver/src/driver/libopencl_driver.a ../../../compiler/lib/loaders/elf/utils/libelf/liboclelf.a -lpthread -ldl /usr/lib/libhsa-runtime64.so -lclangDriver -lclangFrontend -lclangEdit -lclangLex -lclangBasic -lclangCodeGen -lclangAST -lclangASTMatchers -lclangSerialization -lclangDynamicASTMatchers -lclangParse -lclangSema -lclangAnalysis -lclangRewrite -lclangRewriteFrontend -lclangFrontend -lclangEdit -lclangLex -lclangBasic -lclangCodeGen -lclangAST -lclangASTMatchers -lclangSerialization -lclangDynamicASTMatchers -lclangParse -lclangSema -lclangAnalysis -lclangRewrite -lclangRewriteFrontend -llldELF -llldCore -llldCommon /usr/lib/llvm/roc-2.0.0/lib/libLLVMLTO.a /usr/lib/llvm/roc-2.0.0/lib/libLLVMObjCARCOpts.a /usr/lib/llvm/roc-2.0.0/lib/libLLVMPasses.a /usr/lib/llvm/roc-2.0.0/lib/libLLVMCoverage.a /usr/lib/llvm/roc-2.0.0/lib/libLLVMX86AsmParser.a /usr/lib/llvm/roc-2.0.0/lib/libLLVMX86CodeGen.a /usr/lib/llvm/roc-2.0.0/lib/libLLVMCoroutines.a /usr/lib/llvm/roc-2.0.0/lib/libLLVMX86Desc.a /usr/lib/llvm/roc-2.0.0/lib/libLLVMX86AsmPrinter.a /usr/lib/llvm/roc-2.0.0/lib/libLLVMX86Utils.a /usr/lib/llvm/roc-2.0.0/lib/libLLVMAMDGPUDisassembler.a /usr/lib/llvm/roc-2.0.0/lib/libLLVMX86Disassembler.a /usr/lib/llvm/roc-2.0.0/lib/libLLVMX86Info.a /usr/lib/llvm/roc-2.0.0/lib/libLLVMMCDisassembler.a /usr/lib/llvm/roc-2.0.0/lib/libLLVMSymbolize.a /usr/lib/llvm/roc-2.0.0/lib/libLLVMDebugInfoDWARF.a /usr/lib/llvm/roc-2.0.0/lib/libLLVMDebugInfoPDB.a /usr/lib/llvm/roc-2.0.0/lib/libLLVMOption.a /usr/lib/llvm/roc-2.0.0/lib/libLLVMAMDGPUCodeGen.a /usr/lib/llvm/roc-2.0.0/lib/libLLVMipo.a /usr/lib/llvm/roc-2.0.0/lib/libLLVMLinker.a /usr/lib/llvm/roc-2.0.0/lib/libLLVMInstrumentation.a /usr/lib/llvm/roc-2.0.0/lib/libLLVMIRReader.a /usr/lib/llvm/roc-2.0.0/lib/libLLVMAsmParser.a /usr/lib/llvm/roc-2.0.0/lib/libLLVMAsmPrinter.a /usr/lib/llvm/roc-2.0.0/lib/libLLVMGlobalISel.a /usr/lib/llvm/roc-2.0.0/lib/libLLVMSelectionDAG.a /usr/lib/llvm/roc-2.0.0/lib/libLLVMCodeGen.a /usr/lib/llvm/roc-2.0.0/lib/libLLVMBitWriter.a /usr/lib/llvm/roc-2.0.0/lib/libLLVMScalarOpts.a /usr/lib/llvm/roc-2.0.0/lib/libLLVMAggressiveInstCombine.a /usr/lib/llvm/roc-2.0.0/lib/libLLVMInstCombine.a /usr/lib/llvm/roc-2.0.0/lib/libLLVMTarget.a /usr/lib/llvm/roc-2.0.0/lib/libLLVMVectorize.a /usr/lib/llvm/roc-2.0.0/lib/libLLVMTransformUtils.a /usr/lib/llvm/roc-2.0.0/lib/libLLVMAnalysis.a /usr/lib/llvm/roc-2.0.0/lib/libLLVMObject.a /usr/lib/llvm/roc-2.0.0/lib/libLLVMBitReader.a /usr/lib/llvm/roc-2.0.0/lib/libLLVMProfileData.a /usr/lib/llvm/roc-2.0.0/lib/libLLVMAMDGPUAsmParser.a /usr/lib/llvm/roc-2.0.0/lib/libLLVMAMDGPUDesc.a /usr/lib/llvm/roc-2.0.0/lib/libLLVMAMDGPUAsmPrinter.a /usr/lib/llvm/roc-2.0.0/lib/libLLVMAMDGPUInfo.a /usr/lib/llvm/roc-2.0.0/lib/libLLVMMCParser.a /usr/lib/llvm/roc-2.0.0/lib/libLLVMAMDGPUUtils.a /usr/lib/llvm/roc-2.0.0/lib/libLLVMMC.a /usr/lib/llvm/roc-2.0.0/lib/libLLVMDebugInfoCodeView.a /usr/lib/llvm/roc-2.0.0/lib/libLLVMDebugInfoMSF.a /usr/lib/llvm/roc-2.0.0/lib/libLLVMCore.a /usr/lib/llvm/roc-2.0.0/lib/libLLVMBinaryFormat.a /usr/lib/llvm/roc-2.0.0/lib/libLLVMSupport.a /usr/lib/llvm/roc-2.0.0/lib/libLLVMDemangle.a -lz -lrt -ltinfo -lpthread -lm -ldl 
/usr/lib/gcc/x86_64-pc-linux-gnu/8.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: cannot find -lclangDriver
/usr/lib/gcc/x86_64-pc-linux-gnu/8.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: cannot find -lclangFrontend
/usr/lib/gcc/x86_64-pc-linux-gnu/8.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: cannot find -lclangEdit
/usr/lib/gcc/x86_64-pc-linux-gnu/8.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: cannot find -lclangLex
/usr/lib/gcc/x86_64-pc-linux-gnu/8.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: cannot find -lclangBasic
/usr/lib/gcc/x86_64-pc-linux-gnu/8.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: cannot find -lclangCodeGen
/usr/lib/gcc/x86_64-pc-linux-gnu/8.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: cannot find -lclangAST
/usr/lib/gcc/x86_64-pc-linux-gnu/8.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: cannot find -lclangASTMatchers
/usr/lib/gcc/x86_64-pc-linux-gnu/8.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: cannot find -lclangSerialization
/usr/lib/gcc/x86_64-pc-linux-gnu/8.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: cannot find -lclangDynamicASTMatchers
/usr/lib/gcc/x86_64-pc-linux-gnu/8.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: cannot find -lclangParse
/usr/lib/gcc/x86_64-pc-linux-gnu/8.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: cannot find -lclangSema
/usr/lib/gcc/x86_64-pc-linux-gnu/8.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: cannot find -lclangAnalysis
/usr/lib/gcc/x86_64-pc-linux-gnu/8.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: cannot find -lclangRewrite
/usr/lib/gcc/x86_64-pc-linux-gnu/8.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: cannot find -lclangRewriteFrontend
/usr/lib/gcc/x86_64-pc-linux-gnu/8.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: cannot find -lclangFrontend
/usr/lib/gcc/x86_64-pc-linux-gnu/8.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: cannot find -lclangEdit
/usr/lib/gcc/x86_64-pc-linux-gnu/8.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: cannot find -lclangLex
/usr/lib/gcc/x86_64-pc-linux-gnu/8.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: cannot find -lclangBasic
/usr/lib/gcc/x86_64-pc-linux-gnu/8.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: cannot find -lclangCodeGen
/usr/lib/gcc/x86_64-pc-linux-gnu/8.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: cannot find -lclangAST
/usr/lib/gcc/x86_64-pc-linux-gnu/8.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: cannot find -lclangASTMatchers
/usr/lib/gcc/x86_64-pc-linux-gnu/8.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: cannot find -lclangSerialization
/usr/lib/gcc/x86_64-pc-linux-gnu/8.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: cannot find -lclangDynamicASTMatchers
/usr/lib/gcc/x86_64-pc-linux-gnu/8.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: cannot find -lclangParse
/usr/lib/gcc/x86_64-pc-linux-gnu/8.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: cannot find -lclangSema
/usr/lib/gcc/x86_64-pc-linux-gnu/8.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: cannot find -lclangAnalysis
/usr/lib/gcc/x86_64-pc-linux-gnu/8.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: cannot find -lclangRewrite
/usr/lib/gcc/x86_64-pc-linux-gnu/8.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: cannot find -lclangRewriteFrontend
/usr/lib/gcc/x86_64-pc-linux-gnu/8.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: cannot find -llldELF
/usr/lib/gcc/x86_64-pc-linux-gnu/8.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: cannot find -llldCore
/usr/lib/gcc/x86_64-pc-linux-gnu/8.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: cannot find -llldCommon

I can finish build manualy, just add -L/usr/lib/llvm/roc-2.0.0/lib

opencl/clinfo not working because LLVM

GPU Vega56
For any interaction with OpenCL I have next error:
LLVM ERROR: Invalid abbrev number

After some googling, I found it's bound with LLVM. Also, I have no this error if I install ROCM from the git master (clinfo working fine and even some Blender cycles jobs).
Strace not show anything good.

dev-libs/rocm-opencl-driver-2.7.9999 is broken

Tried to build this because the portage 2.7.0 won't link with llvm-roc-2.7.9999 (llvm-10) from this overlay.

The rocm-opencl-driver-2.6.0-install-header.patch fails to apply cleanly.

Copy headers properly

During install opencl-runtime you copy all headers into /usr/include/opencl2.2 but by default it should be in /usr/inlcude/CL . Looks like we should put it into /usr/lib64/OpenCL/vendors/ for eselect script.

My machine status

Ok, not an issue, just some info. In theory and from what I've been told on irc by amd hw guys, rocm should work without atomics with a hawaii card. I'm on FX-8350 and R9 390.

Linux rogue 5.1.15-gentoo #3 SMP PREEMPT Tue Aug 6 12:48:09 BST 2019 x86_64 AMD FX(tm)-8350 Eight-Core Processor AuthenticAMD GNU/Linux

Now, the dev-sci/* libs don't have port to gfx702 series cards (seems mine is 702 not 701), so I don't really know what I can test, any ideas?

Here's the output of rocminfo for my machine:

�[37mROCk module is loaded�[0m
�[37mlaguest is member of video group�[0m
=====================    
HSA System Attributes    
=====================    
Runtime Version:         1.1
System Timestamp Freq.:  1000.000000MHz
Sig. Max Wait Duration:  18446744073709551615 (0xFFFFFFFFFFFFFFFF) (timestamp count)
Machine Model:           LARGE                              
System Endianness:       LITTLE                             

==========               
HSA Agents               
==========               
*******                  
Agent 1                  
*******                  
  Name:                    AMD FX(tm)-8350 Eight-Core Processor
  Marketing Name:          AMD FX(tm)-8350 Eight-Core Processor
  Vendor Name:             CPU                                
  Feature:                 None specified                     
  Profile:                 FULL_PROFILE                       
  Float Round Mode:        NEAR                               
  Max Queue Number:        0(0x0)                             
  Queue Min Size:          0(0x0)                             
  Queue Max Size:          0(0x0)                             
  Queue Type:              MULTI                              
  Node:                    0                                  
  Device Type:             CPU                                
  Cache Info:              
  Chip ID:                 0(0x0)                             
  Cacheline Size:          64(0x40)                           
  Max Clock Freq. (MHz):   4000                               
  BDFID:                   0                                  
  Internal Node ID:        0                                  
  Compute Unit:            8                                  
  SIMDs per CU:            0                                  
  Shader Engines:          0                                  
  Shader Arrs. per Eng.:   0                                  
  WatchPts on Addr. Ranges:1                                  
  Features:                None
  Pool Info:               
    Pool 1                   
      Segment:                 GLOBAL; FLAGS: KERNARG, FINE GRAINED
      Size:                    32787752(0x1f44d28) KB             
      Allocatable:             TRUE                               
      Alloc Granule:           4KB                                
      Alloc Alignment:         4KB                                
      Acessible by all:        TRUE                               
    Pool 2                   
      Segment:                 GLOBAL; FLAGS: COARSE GRAINED      
      Size:                    32787752(0x1f44d28) KB             
      Allocatable:             TRUE                               
      Alloc Granule:           4KB                                
      Alloc Alignment:         4KB                                
      Acessible by all:        TRUE                               
  ISA Info:                
    N/A                      
*******                  
Agent 2                  
*******                  
  Name:                    gfx701                             
  Marketing Name:          Hawaii PRO [Radeon R9 290/390]     
  Vendor Name:             AMD                                
  Feature:                 KERNEL_DISPATCH                    
  Profile:                 BASE_PROFILE                       
  Float Round Mode:        NEAR                               
  Max Queue Number:        128(0x80)                          
  Queue Min Size:          4096(0x1000)                       
  Queue Max Size:          131072(0x20000)                    
  Queue Type:              MULTI                              
  Node:                    1                                  
  Device Type:             GPU                                
  Cache Info:              
    L1:                      16(0x10) KB                        
  Chip ID:                 26545(0x67b1)                      
  Cacheline Size:          64(0x40)                           
  Max Clock Freq. (MHz):   1040                               
  BDFID:                   256                                
  Internal Node ID:        1                                  
  Compute Unit:            40                                 
  SIMDs per CU:            4                                  
  Shader Engines:          4                                  
  Shader Arrs. per Eng.:   1                                  
  WatchPts on Addr. Ranges:4                                  
  Features:                KERNEL_DISPATCH 
  Fast F16 Operation:      FALSE                              
  Wavefront Size:          64(0x40)                           
  Workgroup Max Size:      1024(0x400)                        
  Workgroup Max Size per Dimension:
    x                        1024(0x400)                        
    y                        1024(0x400)                        
    z                        1024(0x400)                        
  Max Waves Per CU:        40(0x28)                           
  Max Work-item Per CU:    2560(0xa00)                        
  Grid Max Size:           4294967295(0xffffffff)             
  Grid Max Size per Dimension:
    x                        4294967295(0xffffffff)             
    y                        4294967295(0xffffffff)             
    z                        4294967295(0xffffffff)             
  Max fbarriers/Workgrp:   32                                 
  Pool Info:               
    Pool 1                   
      Segment:                 GLOBAL; FLAGS: COARSE GRAINED      
      Size:                    8388608(0x800000) KB               
      Allocatable:             TRUE                               
      Alloc Granule:           4KB                                
      Alloc Alignment:         4KB                                
      Acessible by all:        FALSE                              
    Pool 2                   
      Segment:                 GROUP                              
      Size:                    64(0x40) KB                        
      Allocatable:             FALSE                              
      Alloc Granule:           0KB                                
      Alloc Alignment:         0KB                                
      Acessible by all:        FALSE                              
  ISA Info:                
    ISA 1                    
      Name:                    amdgcn-amd-amdhsa--gfx701          
      Machine Models:          HSA_MACHINE_MODEL_LARGE            
      Profiles:                HSA_PROFILE_BASE                   
      Default Rounding Mode:   NEAR                               
      Default Rounding Mode:   NEAR                               
      Fast f16:                FALSE                              
      Workgroup Max Size:      1024(0x400)                        
      Workgroup Max Size per Dimension:
        x                        1024(0x400)                        
        y                        1024(0x400)                        
        z                        1024(0x400)                        
      Grid Max Size:           4294967295(0xffffffff)             
      Grid Max Size per Dimension:
        x                        4294967295(0xffffffff)             
        y                        4294967295(0xffffffff)             
        z                        4294967295(0xffffffff)             
      FBarrier Max Size:       32                                 
*** Done ***             

Wrong CMake targets in sci-libs after installing to /usr

The CMake config files for the sci-libs packages are wrong since we have moved the headers to /usr/include. E.g., hipCUB'sa hipcub-config.cmake exports /usr/hipcub/include instead of /usr/include/hipcub. I think it is the same problem for all of them, since beforehand the includes were in /opt/rocm/hipcub/include, etc.

hcc not finding a shared object

I just updated hcc from 1.9 to 2.1 using the latest ebuilds. Now if I try to run an executable compiled with hcc's -hc mode, it will not run because it is unable to find a library:

C++AMP runtime load error: libmcwamp_cpu.so: cannot open shared object file: No such file or directory
Can't load CPU runtime!

The mentioned library is in /usr/lib64/hcc/2.1/lib/, and if I put this directory in LD_LIBRARY_PATH then the executable runs fine. Not sure if this is an hcc issue or if this is specific to the gentoo ebuild.

hipconfig output

Here's my output when I run hipconfig, where HSA_PATH seems wrong:

HIP version  : 1.5.19353

== hipconfig
HIP_PATH     : /usr/lib/hip
HIP_PLATFORM : hcc
CPP_CONFIG   :  -D__HIP_PLATFORM_HCC__=   -I/usr/lib/hip/include -I/usr/lib/hcc/2.7/include

== hcc
HSA_PATH     : /opt/rocm
HCC_HOME     : /usr/lib/hcc/2.7
HCC clang version 9.0.0 ...
Target: x86_64-unknown-linux-gnu
Thread model: posix
InstalledDir: /usr/lib/hcc/2.7/bin
LLVM (http://llvm.org/):
  LLVM version 9.0.0svn
  Optimized build.
  Default target: x86_64-unknown-linux-gnu
  Host CPU: znver1

  Registered Targets:
    amdgcn - AMD GCN GPUs
    r600   - AMD GPUs HD2XXX-HD6XXX
    x86    - 32-bit X86: Pentium-Pro and above
    x86-64 - 64-bit X86: EM64T and AMD64
HCC-cxxflags :  -hc -std=c++amp -I/usr/lib/hcc/2.7/includeHCC-ldflags  :  -hc -std=c++amp -L/usr/lib/hcc/2.7/lib -Wl,--rpath=/usr/lib/hcc/2.7/lib -ldl -lm -lpthread -lhc_am -Wl,--whole-archive -lmcwamp -Wl,--no-whole-archive

=== Environment Variables
PATH=/usr/local/bin:/usr/bin:/bin:...
HIP_PLATFORM=hcc
HSA_PATH=/opt/rocm
HCC_HOME=/usr/lib/hcc/2.7
HIP_PATH=/usr/lib/hip

== Linux Kernel
Hostname     : ryzen
Linux ryzen 5.1.16-gentoo #4 SMP Sun Sep 1 20:04:00 PDT 2019 x86_64 AMD Ryzen 7 1700 Eight-Core Processor AuthenticAMD GNU/Linux
LSB Version:    n/a
Distributor ID: Gentoo
Description:    Gentoo Base System release 2.6
Release:        2.6
Codename:       n/a

Running:

pip3 install --user tensorflow-rocm && echo -e "import tensorflow as tf\nprint(tf.config.experimental.get_visible_devices())"|python3

gets:

I tensorflow/stream_executor/platform/default/dso_loader.cc:42] Successfully opened dynamic library libhip_hcc.so
No suitable runtime detected. Fall back to CPU!
E tensorflow/stream_executor/rocm/rocm_driver.cc:993] could not retrieve ROCM device count: HIP_ERROR_NoDevice
[PhysicalDevice(name='/physical_device:CPU:0', device_type='CPU')]

it should be something like:

Successfully opened dynamic library libhip_hcc.so
I tensorflow/core/common_runtime/gpu/gpu_device.cc:1651] Found device 0 with properties: 
name: Device 67df
AMDGPU ISA: gfx803
memoryClockRate (GHz) 1.34
pciBusID 0000:08:00.0
I tensorflow/stream_executor/platform/default/dso_loader.cc:42] Successfully opened dynamic library librocblas.so
I tensorflow/stream_executor/platform/default/dso_loader.cc:42] Successfully opened dynamic library libMIOpen.so
I tensorflow/stream_executor/platform/default/dso_loader.cc:42] Successfully opened dynamic library librocfft.so
I tensorflow/stream_executor/platform/default/dso_loader.cc:42] Successfully opened dynamic library librocrand.so
I tensorflow/core/common_runtime/gpu/gpu_device.cc:1763] Adding visible gpu devices: 0
[PhysicalDevice(name='/physical_device:CPU:0', device_type='CPU'), PhysicalDevice(name='/physical_device:GPU:0', device_type='GPU')]

I think I have the right kernel config, otherwise my rocminfo probably wouldn't work:

=====================    
HSA System Attributes    
=====================    
Runtime Version:         1.1
System Timestamp Freq.:  1000.000000MHz
Sig. Max Wait Duration:  18446744073709551615 (0xFFFFFFFFFFFFFFFF) (timestamp count)
Machine Model:           LARGE                              
System Endianness:       LITTLE                             

==========               
HSA Agents               
==========               
*******                  
Agent 1                  
*******                  
  Name:                    AMD Ryzen 7 1700 Eight-Core Processor
  Marketing Name:          AMD Ryzen 7 1700 Eight-Core Processor
  Vendor Name:             CPU                                
  Feature:                 None specified                     
  Profile:                 FULL_PROFILE                       
  Float Round Mode:        NEAR                               
  Max Queue Number:        0(0x0)                             
  Queue Min Size:          0(0x0)                             
  Queue Max Size:          0(0x0)                             
  Queue Type:              MULTI                              
  Node:                    0                                  
  Device Type:             CPU                                
  Cache Info:              
    L1:                      32768(0x8000) KB                   
  Chip ID:                 0(0x0)                             
  Cacheline Size:          64(0x40)                           
  Max Clock Freq. (MHz):   0                                  
  BDFID:                   0                                  
  Internal Node ID:        0                                  
  Compute Unit:            16                                 
  SIMDs per CU:            0                                  
  Shader Engines:          0                                  
  Shader Arrs. per Eng.:   0                                  
  WatchPts on Addr. Ranges:1                                  
  Features:                None
  Pool Info:               
    Pool 1                   
      Segment:                 GLOBAL; FLAGS: KERNARG, FINE GRAINED
      Size:                    65948632(0x3ee4bd8) KB             
      Allocatable:             TRUE                               
      Alloc Granule:           4KB                                
      Alloc Alignment:         4KB                                
      Acessible by all:        TRUE                               
    Pool 2                   
      Segment:                 GLOBAL; FLAGS: COARSE GRAINED      
      Size:                    65948632(0x3ee4bd8) KB             
      Allocatable:             TRUE                               
      Alloc Granule:           4KB                                
      Alloc Alignment:         4KB                                
      Acessible by all:        TRUE                               
  ISA Info:                
    N/A                      
*******                  
Agent 2                  
*******                  
  Name:                    gfx803                             
  Marketing Name:          Ellesmere [Radeon RX 470/480/570/570X/580/580X/590]
  Vendor Name:             AMD                                
  Feature:                 KERNEL_DISPATCH                    
  Profile:                 BASE_PROFILE                       
  Float Round Mode:        NEAR                               
  Max Queue Number:        128(0x80)                          
  Queue Min Size:          4096(0x1000)                       
  Queue Max Size:          131072(0x20000)                    
  Queue Type:              MULTI                              
  Node:                    1                                  
  Device Type:             GPU                                
  Cache Info:              
    L1:                      16(0x10) KB                        
  Chip ID:                 26591(0x67df)                      
  Cacheline Size:          64(0x40)                           
  Max Clock Freq. (MHz):   1340                               
  BDFID:                   2048                               
  Internal Node ID:        1                                  
  Compute Unit:            36                                 
  SIMDs per CU:            4                                  
  Shader Engines:          4                                  
  Shader Arrs. per Eng.:   1                                  
  WatchPts on Addr. Ranges:4                                  
  Features:                KERNEL_DISPATCH 
  Fast F16 Operation:      FALSE                              
  Wavefront Size:          64(0x40)                           
  Workgroup Max Size:      1024(0x400)                        
  Workgroup Max Size per Dimension:
    x                        1024(0x400)                        
    y                        1024(0x400)                        
    z                        1024(0x400)                        
  Max Waves Per CU:        40(0x28)                           
  Max Work-item Per CU:    2560(0xa00)                        
  Grid Max Size:           4294967295(0xffffffff)             
  Grid Max Size per Dimension:
    x                        4294967295(0xffffffff)             
    y                        4294967295(0xffffffff)             
    z                        4294967295(0xffffffff)             
  Max fbarriers/Workgrp:   32                                 
  Pool Info:               
    Pool 1                   
      Segment:                 GLOBAL; FLAGS: COARSE GRAINED      
      Size:                    8388608(0x800000) KB               
      Allocatable:             TRUE                               
      Alloc Granule:           4KB                                
      Alloc Alignment:         4KB                                
      Acessible by all:        FALSE                              
    Pool 2                   
      Segment:                 GROUP                              
      Size:                    64(0x40) KB                        
      Allocatable:             FALSE                              
      Alloc Granule:           0KB                                
      Alloc Alignment:         0KB                                
      Acessible by all:        FALSE                              
  ISA Info:                
    ISA 1                    
      Name:                    amdgcn-amd-amdhsa--gfx803          
      Machine Models:          HSA_MACHINE_MODEL_LARGE            
      Profiles:                HSA_PROFILE_BASE                   
      Default Rounding Mode:   NEAR                               
      Default Rounding Mode:   NEAR                               
      Fast f16:                TRUE                               
      Workgroup Max Size:      1024(0x400)                        
      Workgroup Max Size per Dimension:
        x                        1024(0x400)                        
        y                        1024(0x400)                        
        z                        1024(0x400)                        
      Grid Max Size:           4294967295(0xffffffff)             
      Grid Max Size per Dimension:
        x                        4294967295(0xffffffff)             
        y                        4294967295(0xffffffff)             
        z                        4294967295(0xffffffff)             
      FBarrier Max Size:       32                                 
*** Done ***             

clinfo segfaulting by passing corrupt pointer to Clang

clinfo is segfaulting when I call it

libamdocl is passing a pointer to uninitialized memory to clang::ASTReader::ReadVersionTuple via a call to clang::CompilerInstance::ExecuteAction

I'm seeing this with the build for rocm-opencl-runtime-2.0.0, as I'm not able to make 2.1.0 build just yet.

I'll add details as I investigate; this might be an upstream problem, but I'm not seeing it on Ubuntu, which currently leads me to believe it's due to packaging.

sys-devel/hip-2.1.0: sandbox violation - ACCESS DENIED: mkdir: /usr/lib/hip

>>> Configuring source in /var/tmp/portage/sys-devel/hip-2.1.0/work/hip-2.1.0 ...
 * cmake-utils_src_prepare has not been run, please open a bug on https://bugs.gentoo.org/
>>> Working in BUILD_DIR: "/var/tmp/portage/sys-devel/hip-2.1.0/work/hip-2.1.0_build"
cmake -C /var/tmp/portage/sys-devel/hip-2.1.0/work/hip-2.1.0_build/gentoo_common_config.cmake -G Unix Makefiles -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_INSTALL_PREFIX=/usr/lib/hip/2.1 /var/tmp/portage/sys-devel/hip-2.1.0/work/hip-2.1.0 -DHIP_PLATFORM=hcc -DBUILD_HIPIFY_CLANG=ON -DHIP_COMPILER=hcc -DHCC_HOME=/usr/lib/hcc/2.1/ -DHSA_PATH=/usr/lib -DCMAKE_BUILD_TYPE=Release -DCMAKE_TOOLCHAIN_FILE=/var/tmp/portage/sys-devel/hip-2.1.0/work/hip-2.1.0_build/gentoo_toolchain.cmake  /var/tmp/portage/sys-devel/hip-2.1.0/work/hip-2.1.0
loading initial cache file /var/tmp/portage/sys-devel/hip-2.1.0/work/hip-2.1.0_build/gentoo_common_config.cmake
-- The C compiler identification is GNU 8.3.0
-- The CXX compiler identification is GNU 8.3.0
-- Check for working C compiler: /usr/bin/x86_64-pc-linux-gnu-gcc
-- Check for working C compiler: /usr/bin/x86_64-pc-linux-gnu-gcc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler: /usr/bin/x86_64-pc-linux-gnu-g++
-- Check for working CXX compiler: /usr/bin/x86_64-pc-linux-gnu-g++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
fatal: not a git repository (or any parent up to mount point /var)
Stopping at filesystem boundary (GIT_DISCOVERY_ACROSS_FILESYSTEM not set).
-- HIP Platform: hcc
-- HIP Compiler: hcc
-- Looking for HCC in: /usr/lib/hcc/2.1/. Found version: 1.3.19045-fea3e2b4-683c680a6b-6e349ce3445
-- Looking for HSA runtime in: /usr/lib
-- HIP will be installed in: /usr/lib/hip/2.1
-- Found LLVM 7.0.1:
--    - CMake module path: /usr/lib/llvm/7/lib64/cmake/llvm
--    - Include path     : /usr/lib/llvm/7/include
--    - Binary path      : /usr/lib/llvm/7/bin
-- Linker detection: GNU ld
 * ACCESS DENIED:  mkdir:        /usr/lib/hip
-- Testing targets will not be available. To enable them please ensure that the HIP installation directory is writeable. Use -DCMAKE_INSTALL_PREFIX to specify a suitable location
-- Configuring done
-- Generating done
-- Build files have been written to: /var/tmp/portage/sys-devel/hip-2.1.0/work/hip-2.1.0_build
>>> Source configured.
 * --------------------------- ACCESS VIOLATION SUMMARY ---------------------------
 * LOG FILE: "/var/log/sandbox/sandbox-23076.log"
 * 
VERSION 1.0
FORMAT: F - Function called
FORMAT: S - Access Status
FORMAT: P - Path as passed to function
FORMAT: A - Absolute Path (not canonical)
FORMAT: R - Canonical Path
FORMAT: C - Command Line

F: mkdir
S: deny
P: /usr/lib/hip
A: /usr/lib/hip
R: /usr/lib64/hip
C: /usr/bin/cmake -E copy_directory /var/tmp/portage/sys-devel/hip-2.1.0/work/hip-2.1.0/cmake /usr/lib/hip/2.1/cmake 
 * --------------------------------------------------------------------------------

rocBLAS and miopen ebuilds not working

When I try to emerge miopen-2.6.0 I get this:

-- Configuring done
CMake Error in src/CMakeLists.txt:
  Imported target "roc::rocblas" includes non-existent path

    "PORTAGE_TMPDIR/portage/sci-libs/rocBLAS-2.6/work/rocBLAS-rocm-2.6/library/src/"

  in its INTERFACE_INCLUDE_DIRECTORIES.  Possible reasons include:

  * The path was deleted, renamed, or moved to another location.

  * An install or uninstall procedure did not complete successfully.

  * The installation package was faulty and references files it does not
  provide.

When I try to emerge miopen-2.7.0, I get a compilation failure from not finding the rocBLAS headers, until I turn rocBLAS off (which it is currently). Can we change rocBLAS for this?

Not sure what is going on with rocBLAS and miopen 2.6, but the rocBLAS ebuild seems to be setting some paths wrong.

PRs to Gentoo

Can you please submit PRs to Gentoo? (I'm a Gentoo developer and will be happy to help you get them accepted) See https://wiki.gentoo.org/wiki/GitHub_Pull_Requests for reference.

I suggest you start with the OpenCL runtime. ROCT-Thunk-Interface, ROCR-Runtime, and ROCm-OpenCL-Runtime seem to be the base set. You'll need to change the names (as they don't comply with Gentoo standards right now) as well as some other things, please take a gander at https://devmanual.gentoo.org/ebuild-writing/file-format/index.html as a starting point. I think one PR adding all 3 packages (one commit per package - you're not allowed to modify multiple packages in one commit) would be great. I suggest adding one "final" version (ex "1.0") and one live ("9999") version per package (which you're already doing here in this overlay, so keep that up!).

I look forward to working with you and getting all of this into Gentoo for everyone to easily use! Thanks!

rocm-opencl-runtime-2.1.0 fails to install: Files matching a file type that is not allowed: usr/lib/libamdocl64.so

Building rocm-opencl-runtime-2.1.0 works, but it errors out at installing:

[...]
-- Installing: /var/tmp/portage/dev-libs/rocm-opencl-runtime-2.1.0/image/usr/lib/x86_64/libamdocl64.so
-- Set runtime path of "/var/tmp/portage/dev-libs/rocm-opencl-runtime-2.1.0/image//usr/lib/x86_64/libamdocl64.so" to ""
-- Installing: /var/tmp/portage/dev-libs/rocm-opencl-runtime-2.1.0/image/usr/bin/clinfo
-- Set runtime path of "/var/tmp/portage/dev-libs/rocm-opencl-runtime-2.1.0/image//usr/bin/clinfo" to ""
>>> Completed installing rocm-opencl-runtime-2.1.0 into /var/tmp/portage/dev-libs/rocm-opencl-runtime-2.1.0/image/

 * Final size of build directory: 365176 KiB (356.6 MiB)
 * Final size of installed tree:  166260 KiB (162.3 MiB)

Files matching a file type that is not allowed:
   usr/lib/libamdocl64.so
 * ERROR: dev-libs/rocm-opencl-runtime-2.1.0::rocm failed:
 *   multilib-strict check failed!

Compiler and dependencies for HIP

@davidrohr We have different ebuilds for llvm-roc in my repo and in Gentoo portage. Which do you use to build HIP? When the ones in Gentoo portage are ok, then I will remove the other from my repo.

Compile errors rocRAND-2.7.0

Output of emerge --info '=sci-libs/rocRAND-2.7.0-r1::rocm':

Portage 2.3.73 (python 3.7.4-final-0, default/linux/amd64/17.0/desktop/plasma, gcc-9.2.0, glibc-2.29-r4, 5.1.15-gentoo x86_64)
=================================================================
                         System Settings
=================================================================
System uname: Linux-5.1.15-gentoo-x86_64-AMD_FX-tm-8350_Eight-Core_Processor-with-gentoo-2.6
KiB Mem:    32787752 total,   7073672 free
KiB Swap:   67108860 total,  66535932 free
Timestamp of repository gentoo: Sat, 24 Aug 2019 11:06:26 +0000
Head commit of repository gentoo: 9003c29d132bb02ce7cacfdf08144b6dc6fa35a3

Timestamp of repository poly-c: Sat, 24 Aug 2019 08:05:27 +0000
sh bash 5.0_p9
ld GNU ld (Gentoo 2.32 p2) 2.32.0
app-shells/bash:          5.0_p9::gentoo
dev-java/java-config:     2.2.0-r4::gentoo
dev-lang/perl:            5.30.0::gentoo
dev-lang/python:          2.7.16::gentoo, 3.6.9::gentoo, 3.7.4-r1::gentoo
dev-util/cmake:           3.15.2::gentoo
dev-util/pkgconfig:       0.29.2::gentoo
sys-apps/baselayout:      2.6-r1::gentoo
sys-apps/openrc:          0.42.1::gentoo
sys-apps/sandbox:         2.18::gentoo
sys-devel/autoconf:       2.13-r1::gentoo, 2.69-r4::gentoo
sys-devel/automake:       1.13.4-r2::gentoo, 1.15.1-r2::gentoo, 1.16.1-r1::gentoo
sys-devel/binutils:       2.30-r3::gentoo, 2.31.1-r4::gentoo, 2.32-r1::gentoo
sys-devel/gcc:            7.3.0-r3::gentoo, 8.2.0-r6::gentoo, 8.3.0-r1::gentoo, 9.1.0-r1::gentoo, 9.2.0::gentoo
sys-devel/gcc-config:     2.0::gentoo
sys-devel/libtool:        2.4.6-r5::gentoo
sys-devel/make:           4.2.1-r4::gentoo
sys-kernel/linux-headers: 5.2::gentoo (virtual/os-headers)
sys-libs/glibc:           2.29-r4::gentoo
Repositories:

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

amd
    location: /home/laguest/src/gentoo-overlays/amd
    masters: gentoo
    priority: 20

fp
    location: /home/laguest/src/gentoo-overlays/fp
    masters: gentoo
    priority: 20

rocm
    location: /home/laguest/src/gentoo-overlays/rocm
    masters: gentoo
    priority: 20

lucretia
    location: /home/laguest/src/gentoo-overlays/lucretia
    masters: gentoo
    priority: 30

audio-overlay
    location: /var/lib/layman/audio-overlay
    sync-type: rsync
    sync-uri: https://github.com/gentoo-audio/audio-overlay.git
    masters: gentoo
    priority: 50
    sync-rsync-extra-opts: 

bloody
    location: /var/lib/layman/bloody
    sync-type: rsync
    sync-uri: https://github.com/bloodywing/bloody.git
    masters: gentoo
    priority: 50
    sync-rsync-extra-opts: 

dlang
    location: /var/lib/layman/dlang
    sync-type: rsync
    sync-uri: https://github.com/gentoo/dlang.git
    masters: gentoo
    priority: 50
    sync-rsync-extra-opts: 

dotnet
    location: /var/lib/layman/dotnet
    sync-type: rsync
    sync-uri: https://github.com/gentoo/dotnet.git
    masters: gentoo
    priority: 50
    sync-rsync-extra-opts: 

go-overlay
    location: /var/lib/layman/go-overlay
    sync-type: rsync
    sync-uri: https://github.com/Dr-Terrible/go-overlay.git
    masters: gentoo
    priority: 50
    sync-rsync-extra-opts: 

haskell
    location: /var/lib/layman/haskell
    sync-type: rsync
    sync-uri: https://github.com/gentoo-haskell/gentoo-haskell.git
    masters: gentoo
    priority: 50
    sync-rsync-extra-opts: 

java
    location: /var/lib/layman/java
    sync-type: rsync
    sync-uri: https://anongit.gentoo.org/git/proj/java.git
    masters: gentoo
    priority: 50
    sync-rsync-extra-opts: 

kde
    location: /var/lib/layman/kde
    sync-type: rsync
    sync-uri: https://anongit.gentoo.org/git/proj/kde.git
    masters: gentoo
    priority: 50
    sync-rsync-extra-opts: 

lisp
    location: /var/lib/layman/lisp
    sync-type: rsync
    sync-uri: https://anongit.gentoo.org/git/proj/lisp.git
    masters: gentoo
    priority: 50
    sync-rsync-extra-opts: 

poly-c
    location: /var/lib/layman/poly-c
    sync-type: rsync
    sync-uri: rsync://rsync.gentoofan.org/poly-c
    masters: gentoo
    priority: 50
    sync-rsync-extra-opts: 

qt
    location: /var/lib/layman/qt
    sync-type: rsync
    sync-uri: https://anongit.gentoo.org/git/proj/qt.git
    masters: gentoo
    priority: 50
    sync-rsync-extra-opts: 

steam-overlay
    location: /var/lib/layman/steam-overlay
    sync-type: rsync
    sync-uri: https://github.com/anyc/steam-overlay.git
    masters: gentoo
    priority: 50
    sync-rsync-extra-opts: 

4nykey
    location: /var/lib/layman/4nykey
    sync-type: rsync
    sync-uri: https://github.com/4nykey/4nykey.git
    masters: gentoo
    priority: 60
    sync-rsync-extra-opts: 

graphics-tablet
    location: /home/laguest/src/gentoo-overlays/graphics-tablet
    masters: gentoo
    priority: 70

promedia
    location: /home/laguest/src/gentoo-overlays/promedia
    masters: gentoo
    priority: 70

Installed sets: @llvm
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=native -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/lib64/libreoffice/program/sofficerc /usr/share/config /usr/share/gnupg/qualified.txt /usr/share/maven-bin-3.6/conf"
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 /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-march=native -O2 -pipe"
DISTDIR="/usr/portage/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"
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 sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="ftp://mirror.bytemark.co.uk/gentoo/ http://mirror.bytemark.co.uk/gentoo/ rsync://mirror.bytemark.co.uk/gentoo/ http://mirrors.evowise.com/gentoo/ http://www.mirrorservice.org/sites/distfiles.gentoo.org/ ftp://ftp.mirrorservice.org/sites/distfiles.gentoo.org/ rsync://rsync.mirrorservice.org/distfiles.gentoo.org/"
LANG="en_GB.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="en"
MAKEOPTS="-j6"
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="X a52 aac aacs acl acpi activities ada alsa amd64 amr amrenc appstream berkdb bluetooth bluray branding brightness-control browser-integration bzip2 cairo cdda cdio cdr celt cli collada color-management colorio cpudetection crypt cups cxx dbus declarative display-manager dri dssi dts dvd dvdr elogind emboss encode exif fam fdk ffmpeg fftw flac fontconfig fortran frei0r gdbm gif glamor gpm grub gstreamer gtk gtk2 iconv icu imagemagick ipv6 jack jack-session jpeg kde kipi kvazaar kwallet ladspa lash lcms ldap libilbc libnotify librtmp libsamplerate libsoxr libtirpc libv4l llvm lm_sensors lv2 mad matroska mng modplug mp3 mp4 mpeg mtp multilib musepack ncurses networkmanager nls nptl ocr ogg omxil opencl opencv openexr opengl openh264 openimageio openmp opus osc pam pango pcre pdf phonon plasma png policykit ppds pulseaudio qalculate qml qt5 readline rtaudio rubberband s3tc sasl scanner schroedinger sdk sdl seccomp semantic-desktop spell split-usr ssdm ssl startup-notification svg tcpd theora tiff truetype udev udisks unicode upower usb v4l vaapi vc vdpau vorbis vpx vst vulkan wallpapers wavpack wayland webp widgets wxwidgets x264 x265 xattr xcb xcomposite xml xv xvid zlib" ABI_X86="64 32" 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 fma3 f16c fma4 mmx mmxext pclmul popcnt sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3 xop" 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 keyboard libinput mouse wacom" KERNEL="linux" L10N="en-GB" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" NETBEANS_MODULES="apisupport cnd groovy gsf harness ide identity j2ee java mobility nb php profiler soa visualweb webcommon websvccommon xml" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php7-2" POSTGRES_TARGETS="postgres10 postgres11" PYTHON_SINGLE_TARGET="python3_7" PYTHON_TARGETS="python2_7 python3_6 python3_7" RUBY_TARGETS="ruby24 ruby25 ruby26" SANE_BACKENDS="snapscan" USERLAND="GNU" VIDEO_CARDS="amdgpu radeon radeonsi" 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, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS

Output of emerge -pqv '=sci-libs/rocRAND-2.7.0-r1::rocm':

[ebuild  N    ] sci-libs/rocRAND-2.7.0-r1 

build.log:

 * �[39;49;00mPackage:    sci-libs/rocRAND-2.7.0-r1
 * �[39;49;00mRepository: rocm
 * �[39;49;00mUSE:        abi_x86_64 amd64 elibc_glibc kernel_linux userland_GNU
 * �[39;49;00mFEATURES:   network-sandbox preserve-libs sandbox userpriv usersandbox
>>> Unpacking source...
>>> Unpacking rocRAND-2.7.0.tar.gz to /var/tmp/portage/sci-libs/rocRAND-2.7.0-r1/work
>>> Source unpacked in /var/tmp/portage/sci-libs/rocRAND-2.7.0-r1/work
>>> Preparing source in /var/tmp/portage/sci-libs/rocRAND-2.7.0-r1/work/rocRAND-rocm-2.7 ...
 * Applying master-disable2ndfindhcc.patch ...
�[A�[230C [ ok ]
 * Hardcoded definition(s) removed in CMakeLists.txt:
 *  set(CMAKE_INSTALL_PREFIX "/opt/rocm" CACHE PATH "Install path prefix, prepend
 *    set(CMAKE_BUILD_TYPE "Release" CACHE STRING "Choose the type of build." FOR
>>> Source prepared.
>>> Configuring source in /var/tmp/portage/sci-libs/rocRAND-2.7.0-r1/work/rocRAND-rocm-2.7 ...
>>> Working in BUILD_DIR: "/var/tmp/portage/sci-libs/rocRAND-2.7.0-r1/work/rocRAND-2.7.0_build"
cmake -C /var/tmp/portage/sci-libs/rocRAND-2.7.0-r1/work/rocRAND-2.7.0_build/gentoo_common_config.cmake -G Ninja -DCMAKE_INSTALL_PREFIX=/usr -DHIP_PLATFORM=hcc -DHIP_ROOT_DIR=/usr/lib/hip -DBUILD_TEST=OFF -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_CXX_FLAGS:STRING=-I/usr/lib/hcc/2.7/include -DCMAKE_BUILD_TYPE=Gentoo -DCMAKE_TOOLCHAIN_FILE=/var/tmp/portage/sci-libs/rocRAND-2.7.0-r1/work/rocRAND-2.7.0_build/gentoo_toolchain.cmake  /var/tmp/portage/sci-libs/rocRAND-2.7.0-r1/work/rocRAND-rocm-2.7
loading initial cache file /var/tmp/portage/sci-libs/rocRAND-2.7.0-r1/work/rocRAND-2.7.0_build/gentoo_common_config.cmake
CMake Warning (dev) at gentoo_common_config.cmake:8 (SET):
  implicitly converting 'BOOLEAN' to 'STRING' type.
This warning is for project developers.  Use -Wno-dev to suppress it.

-- The CXX compiler identification is Clang 9.0.0
-- Check for working CXX compiler: /usr/lib/hcc/2.7/bin/hcc
-- Check for working CXX compiler: /usr/lib/hcc/2.7/bin/hcc -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
CMake Warning (dev) at CMakeLists.txt:47 (set):
  implicitly converting 'BOOLEAN' to 'STRING' type.
This warning is for project developers.  Use -Wno-dev to suppress it.

-- Found Git: /usr/bin/git (found version "2.23.0") 
-- 
-- ******** Summary ********
-- General:
--   System                : Linux
--   HIP ROOT              : /usr/lib/hip
--   C++ compiler          : /usr/lib/hcc/2.7/bin/hcc
--   C++ compiler version  : 9.0.0
--   CXX flags             : -I/usr/lib/hcc/2.7/include -Wno-unused-command-line-argument -Wall -Wextra
--   Build type            : Gentoo
--   Install prefix        : /usr
--   Device targets        : gfx803;gfx900;gfx906
-- 
--   BUILD_SHARED_LIBS     : ON
--   BUILD_FORTRAN_WRAPPER : OFF
--   BUILD_TEST            : OFF
--   BUILD_BENCHMARK       : OFF
-- <<< Gentoo configuration >>>
Build type      Gentoo
Install path    /usr
Compiler flags:
C               
C++             -I/usr/lib/hcc/2.7/include -Wno-unused-command-line-argument -Wall -Wextra
Linker flags:
Executable      -Wl,-O1 -Wl,--as-needed
Module          -Wl,-O1 -Wl,--as-needed
Shared          -Wl,-O1 -Wl,--as-needed

-- Configuring done
-- Generating done
-- Build files have been written to: /var/tmp/portage/sci-libs/rocRAND-2.7.0-r1/work/rocRAND-2.7.0_build
>>> Source configured.
>>> Compiling source in /var/tmp/portage/sci-libs/rocRAND-2.7.0-r1/work/rocRAND-rocm-2.7 ...
>>> Working in BUILD_DIR: "/var/tmp/portage/sci-libs/rocRAND-2.7.0-r1/work/rocRAND-2.7.0_build"
ninja -v -j6 -l0
[1/12] /usr/lib/hcc/2.7/bin/hcc    -DNDEBUG -I/usr/lib/hcc/2.7/include -Wno-unused-command-line-argument -Wall -Wextra   -std=c++11 -MD -MT tools/CMakeFiles/xorwow_precomputed_generator.dir/xorwow_precomputed_generator.cpp.o -MF tools/CMakeFiles/xorwow_precomputed_generator.dir/xorwow_precomputed_generator.cpp.o.d -o tools/CMakeFiles/xorwow_precomputed_generator.dir/xorwow_precomputed_generator.cpp.o -c /var/tmp/portage/sci-libs/rocRAND-2.7.0-r1/work/rocRAND-rocm-2.7/tools/xorwow_precomputed_generator.cpp
[2/12] : && /usr/lib/hcc/2.7/bin/hcc  -I/usr/lib/hcc/2.7/include -Wno-unused-command-line-argument -Wall -Wextra  -Wl,-O1 -Wl,--as-needed tools/CMakeFiles/xorwow_precomputed_generator.dir/xorwow_precomputed_generator.cpp.o  -o tools/xorwow_precomputed_generator   && :
[3/12] /usr/lib/hcc/2.7/bin/hcc    -DNDEBUG -I/usr/lib/hcc/2.7/include -Wno-unused-command-line-argument -Wall -Wextra   -std=c++11 -MD -MT tools/CMakeFiles/sobol_direction_vector_generator.dir/sobol_direction_vector_generator.cpp.o -MF tools/CMakeFiles/sobol_direction_vector_generator.dir/sobol_direction_vector_generator.cpp.o.d -o tools/CMakeFiles/sobol_direction_vector_generator.dir/sobol_direction_vector_generator.cpp.o -c /var/tmp/portage/sci-libs/rocRAND-2.7.0-r1/work/rocRAND-rocm-2.7/tools/sobol_direction_vector_generator.cpp
[4/12] /usr/lib/hcc/2.7/bin/hcc    -DNDEBUG -I/usr/lib/hcc/2.7/include -Wno-unused-command-line-argument -Wall -Wextra   -std=c++11 -MD -MT tools/CMakeFiles/mrg32k3a_precomputed_generator.dir/mrg32k3a_precomputed_generator.cpp.o -MF tools/CMakeFiles/mrg32k3a_precomputed_generator.dir/mrg32k3a_precomputed_generator.cpp.o.d -o tools/CMakeFiles/mrg32k3a_precomputed_generator.dir/mrg32k3a_precomputed_generator.cpp.o -c /var/tmp/portage/sci-libs/rocRAND-2.7.0-r1/work/rocRAND-rocm-2.7/tools/mrg32k3a_precomputed_generator.cpp
[5/12] : && /usr/lib/hcc/2.7/bin/hcc  -I/usr/lib/hcc/2.7/include -Wno-unused-command-line-argument -Wall -Wextra  -Wl,-O1 -Wl,--as-needed tools/CMakeFiles/sobol_direction_vector_generator.dir/sobol_direction_vector_generator.cpp.o  -o tools/sobol_direction_vector_generator   && :
[6/12] : && /usr/lib/hcc/2.7/bin/hcc  -I/usr/lib/hcc/2.7/include -Wno-unused-command-line-argument -Wall -Wextra  -Wl,-O1 -Wl,--as-needed tools/CMakeFiles/mrg32k3a_precomputed_generator.dir/mrg32k3a_precomputed_generator.cpp.o  -o tools/mrg32k3a_precomputed_generator   && :
[7/12] /usr/lib/hcc/2.7/bin/hcc -Dhiprand_EXPORTS -Ilibrary/include -I/var/tmp/portage/sci-libs/rocRAND-2.7.0-r1/work/rocRAND-rocm-2.7/library/include -isystem /usr/lib/hip/include  -DNDEBUG -I/usr/lib/hcc/2.7/include -Wno-unused-command-line-argument -Wall -Wextra -fPIC   -std=c++11 -MD -MT library/CMakeFiles/hiprand.dir/src/hiprand/hiprand_hcc.cpp.o -MF library/CMakeFiles/hiprand.dir/src/hiprand/hiprand_hcc.cpp.o.d -o library/CMakeFiles/hiprand.dir/src/hiprand/hiprand_hcc.cpp.o -c /var/tmp/portage/sci-libs/rocRAND-2.7.0-r1/work/rocRAND-rocm-2.7/library/src/hiprand/hiprand_hcc.cpp
FAILED: library/CMakeFiles/hiprand.dir/src/hiprand/hiprand_hcc.cpp.o 
/usr/lib/hcc/2.7/bin/hcc -Dhiprand_EXPORTS -Ilibrary/include -I/var/tmp/portage/sci-libs/rocRAND-2.7.0-r1/work/rocRAND-rocm-2.7/library/include -isystem /usr/lib/hip/include  -DNDEBUG -I/usr/lib/hcc/2.7/include -Wno-unused-command-line-argument -Wall -Wextra -fPIC   -std=c++11 -MD -MT library/CMakeFiles/hiprand.dir/src/hiprand/hiprand_hcc.cpp.o -MF library/CMakeFiles/hiprand.dir/src/hiprand/hiprand_hcc.cpp.o.d -o library/CMakeFiles/hiprand.dir/src/hiprand/hiprand_hcc.cpp.o -c /var/tmp/portage/sci-libs/rocRAND-2.7.0-r1/work/rocRAND-rocm-2.7/library/src/hiprand/hiprand_hcc.cpp
In file included from /var/tmp/portage/sci-libs/rocRAND-2.7.0-r1/work/rocRAND-rocm-2.7/library/src/hiprand/hiprand_hcc.cpp:21:
In file included from /usr/lib/hip/include/hip/hip_runtime.h:56:
In file included from /usr/lib/hip/include/hip/hcc_detail/hip_runtime.h:69:
In file included from /usr/lib/hcc/2.7/include/hc_printf.hpp:13:
In file included from /usr/lib/hcc/2.7/include/hc_am_internal.hpp:3:
In file included from /usr/lib/hcc/2.7/include/hc_am.hpp:3:
In file included from /usr/lib/hcc/2.7/include/hc.hpp:17:
/usr/lib/hcc/2.7/include/kalmar_index.h:42:35: error: expected ';' at end of declaration list
    explicit __index_leaf(int __t) restrict(amp,cpu) : __idx(__t) {}
                                  ^
/usr/lib/hcc/2.7/include/kalmar_index.h:76:17: error: expected ';' at end of declaration list
    index_impl() restrict(amp,cpu) : __index_leaf<N>(0)... {}
                ^
/usr/lib/hcc/2.7/include/kalmar_index.h:150:37: error: expected ';' at end of declaration list
    static inline void set(_Tp& now) restrict(amp,cpu) {
                                    ^
/usr/lib/hcc/2.7/include/kalmar_index.h:166:37: error: expected ';' at end of declaration list
    static inline void set(_Tp& now) restrict(amp,cpu) {
                                    ^
/usr/lib/hcc/2.7/include/kalmar_index.h:180:66: error: expected ';' at end of declaration list
    static bool inline contains(const _Tp1& idx, const _Tp2& ext) restrict(amp,cpu) {
                                                                 ^
/usr/lib/hcc/2.7/include/kalmar_index.h:201:66: error: expected ';' at end of declaration list
    static bool inline contains(const _Tp1& idx, const _Tp2& ext) restrict(amp,cpu) {
                                                                 ^
/usr/lib/hcc/2.7/include/kalmar_index.h:242:12: error: expected ';' at end of declaration list
    index() restrict(amp,cpu) : base_() {
           ^
/usr/lib/hcc/2.7/include/kalmar_index.h:253:30: error: expected ';' at end of declaration list
    index(const index& other) restrict(amp,cpu)
                             ^
/usr/lib/hcc/2.7/include/kalmar_index.h:446:5: error: unknown type name 'base'
    base base_;
    ^
/usr/lib/hcc/2.7/include/kalmar_index.h:454:33: error: expected ';' at end of declaration list
    void __cxxamp_opencl_index() restrict(amp,cpu)
                                ^
/usr/lib/hcc/2.7/include/kalmar_index.h:492:61: error: expected ';' at end of declaration
index<N> operator+(const index<N>& lhs, const index<N>& rhs) restrict(amp,cpu) {
                                                            ^
/usr/lib/hcc/2.7/include/kalmar_index.h:492:71: error: unknown type name 'amp'
index<N> operator+(const index<N>& lhs, const index<N>& rhs) restrict(amp,cpu) {
                                                                      ^
/usr/lib/hcc/2.7/include/kalmar_index.h:492:75: error: unknown type name 'cpu'
index<N> operator+(const index<N>& lhs, const index<N>& rhs) restrict(amp,cpu) {
                                                                          ^
/usr/lib/hcc/2.7/include/kalmar_index.h:492:62: error: C++ requires a type specifier for all declarations
index<N> operator+(const index<N>& lhs, const index<N>& rhs) restrict(amp,cpu) {
                                                             ^
/usr/lib/hcc/2.7/include/kalmar_index.h:493:11: error: use of undeclared identifier 'N'
    index<N> __r = lhs;
          ^
/usr/lib/hcc/2.7/include/kalmar_index.h:494:5: error: use of undeclared identifier '__r'
    __r += rhs;
    ^
/usr/lib/hcc/2.7/include/kalmar_index.h:494:12: error: use of undeclared identifier 'rhs'
    __r += rhs;
           ^
/usr/lib/hcc/2.7/include/kalmar_index.h:495:12: error: use of undeclared identifier '__r'
    return __r;
           ^
/usr/lib/hcc/2.7/include/kalmar_index.h:498:61: error: expected ';' at end of declaration
index<N> operator-(const index<N>& lhs, const index<N>& rhs) restrict(amp,cpu) {
                                                            ^
fatal error: too many errors emitted, stopping now [-ferror-limit=]
20 errors generated.
[8/12] /usr/lib/hcc/2.7/bin/hcc -Drocrand_EXPORTS -Ilibrary/include -I/var/tmp/portage/sci-libs/rocRAND-2.7.0-r1/work/rocRAND-rocm-2.7/library/include -isystem /usr/lib/hip/include  -DNDEBUG -I/usr/lib/hcc/2.7/include -Wno-unused-command-line-argument -Wall -Wextra -fPIC   -std=c++11 -MD -MT library/CMakeFiles/rocrand.dir/src/rocrand.cpp.o -MF library/CMakeFiles/rocrand.dir/src/rocrand.cpp.o.d -o library/CMakeFiles/rocrand.dir/src/rocrand.cpp.o -c /var/tmp/portage/sci-libs/rocRAND-2.7.0-r1/work/rocRAND-rocm-2.7/library/src/rocrand.cpp
FAILED: library/CMakeFiles/rocrand.dir/src/rocrand.cpp.o 
/usr/lib/hcc/2.7/bin/hcc -Drocrand_EXPORTS -Ilibrary/include -I/var/tmp/portage/sci-libs/rocRAND-2.7.0-r1/work/rocRAND-rocm-2.7/library/include -isystem /usr/lib/hip/include  -DNDEBUG -I/usr/lib/hcc/2.7/include -Wno-unused-command-line-argument -Wall -Wextra -fPIC   -std=c++11 -MD -MT library/CMakeFiles/rocrand.dir/src/rocrand.cpp.o -MF library/CMakeFiles/rocrand.dir/src/rocrand.cpp.o.d -o library/CMakeFiles/rocrand.dir/src/rocrand.cpp.o -c /var/tmp/portage/sci-libs/rocRAND-2.7.0-r1/work/rocRAND-rocm-2.7/library/src/rocrand.cpp
In file included from /var/tmp/portage/sci-libs/rocRAND-2.7.0-r1/work/rocRAND-rocm-2.7/library/src/rocrand.cpp:21:
In file included from /usr/lib/hip/include/hip/hip_runtime.h:56:
In file included from /usr/lib/hip/include/hip/hcc_detail/hip_runtime.h:69:
In file included from /usr/lib/hcc/2.7/include/hc_printf.hpp:13:
In file included from /usr/lib/hcc/2.7/include/hc_am_internal.hpp:3:
In file included from /usr/lib/hcc/2.7/include/hc_am.hpp:3:
In file included from /usr/lib/hcc/2.7/include/hc.hpp:17:
/usr/lib/hcc/2.7/include/kalmar_index.h:42:35: error: expected ';' at end of declaration list
    explicit __index_leaf(int __t) restrict(amp,cpu) : __idx(__t) {}
                                  ^
/usr/lib/hcc/2.7/include/kalmar_index.h:76:17: error: expected ';' at end of declaration list
    index_impl() restrict(amp,cpu) : __index_leaf<N>(0)... {}
                ^
/usr/lib/hcc/2.7/include/kalmar_index.h:150:37: error: expected ';' at end of declaration list
    static inline void set(_Tp& now) restrict(amp,cpu) {
                                    ^
/usr/lib/hcc/2.7/include/kalmar_index.h:166:37: error: expected ';' at end of declaration list
    static inline void set(_Tp& now) restrict(amp,cpu) {
                                    ^
/usr/lib/hcc/2.7/include/kalmar_index.h:180:66: error: expected ';' at end of declaration list
    static bool inline contains(const _Tp1& idx, const _Tp2& ext) restrict(amp,cpu) {
                                                                 ^
/usr/lib/hcc/2.7/include/kalmar_index.h:201:66: error: expected ';' at end of declaration list
    static bool inline contains(const _Tp1& idx, const _Tp2& ext) restrict(amp,cpu) {
                                                                 ^
/usr/lib/hcc/2.7/include/kalmar_index.h:242:12: error: expected ';' at end of declaration list
    index() restrict(amp,cpu) : base_() {
           ^
/usr/lib/hcc/2.7/include/kalmar_index.h:253:30: error: expected ';' at end of declaration list
    index(const index& other) restrict(amp,cpu)
                             ^
/usr/lib/hcc/2.7/include/kalmar_index.h:446:5: error: unknown type name 'base'
    base base_;
    ^
/usr/lib/hcc/2.7/include/kalmar_index.h:454:33: error: expected ';' at end of declaration list
    void __cxxamp_opencl_index() restrict(amp,cpu)
                                ^
/usr/lib/hcc/2.7/include/kalmar_index.h:492:61: error: expected ';' at end of declaration
index<N> operator+(const index<N>& lhs, const index<N>& rhs) restrict(amp,cpu) {
                                                            ^
/usr/lib/hcc/2.7/include/kalmar_index.h:492:71: error: unknown type name 'amp'
index<N> operator+(const index<N>& lhs, const index<N>& rhs) restrict(amp,cpu) {
                                                                      ^
/usr/lib/hcc/2.7/include/kalmar_index.h:492:75: error: unknown type name 'cpu'
index<N> operator+(const index<N>& lhs, const index<N>& rhs) restrict(amp,cpu) {
                                                                          ^
/usr/lib/hcc/2.7/include/kalmar_index.h:492:62: error: C++ requires a type specifier for all declarations
index<N> operator+(const index<N>& lhs, const index<N>& rhs) restrict(amp,cpu) {
                                                             ^
/usr/lib/hcc/2.7/include/kalmar_index.h:493:11: error: use of undeclared identifier 'N'
    index<N> __r = lhs;
          ^
/usr/lib/hcc/2.7/include/kalmar_index.h:494:5: error: use of undeclared identifier '__r'
    __r += rhs;
    ^
/usr/lib/hcc/2.7/include/kalmar_index.h:494:12: error: use of undeclared identifier 'rhs'
    __r += rhs;
           ^
/usr/lib/hcc/2.7/include/kalmar_index.h:495:12: error: use of undeclared identifier '__r'
    return __r;
           ^
/usr/lib/hcc/2.7/include/kalmar_index.h:498:61: error: expected ';' at end of declaration
index<N> operator-(const index<N>& lhs, const index<N>& rhs) restrict(amp,cpu) {
                                                            ^
fatal error: too many errors emitted, stopping now [-ferror-limit=]
20 errors generated.
ninja: build stopped: subcommand failed.
 * ERROR: sci-libs/rocRAND-2.7.0-r1::rocm failed (compile phase):
 *   ninja -v -j6 -l0 failed
 * 
 * Call stack:
 *     ebuild.sh, line  125:  Called src_compile
 *   environment, line 2025:  Called cmake-utils_src_compile
 *   environment, line  714:  Called cmake-utils_src_make
 *   environment, line  895:  Called _cmake_ninja_src_make
 *   environment, line  449:  Called eninja
 *   environment, line 1194:  Called die
 * The specific snippet of code:
 *       "$@" || die "${nonfatal_args[@]}" "${*} failed"
 * 
 * If you need support, post the output of `emerge --info '=sci-libs/rocRAND-2.7.0-r1::rocm'`,
 * the complete build log and the output of `emerge -pqv '=sci-libs/rocRAND-2.7.0-r1::rocm'`.
 * The complete build log is located at '/var/tmp/portage/sci-libs/rocRAND-2.7.0-r1/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/sci-libs/rocRAND-2.7.0-r1/temp/environment'.
 * Working directory: '/var/tmp/portage/sci-libs/rocRAND-2.7.0-r1/work/rocRAND-2.7.0_build'
 * S: '/var/tmp/portage/sci-libs/rocRAND-2.7.0-r1/work/rocRAND-rocm-2.7'

after upgrading to amd64 17.1 profile symlinks in /usr/lib/ are lost

Upgraded to [22] default/linux/amd64/17.1/desktop/gnome/systemd (stable) yesterday. dev-libs/rocm-opencl-runtime-2.6.0 still builds fine.

>>> Install dev-libs/rocm-opencl-runtime-2.6.0 into /var/tmp/portage/dev-libs/rocm-opencl-runtime-2.6.0/image/
>>> Completed installing dev-libs/rocm-opencl-runtime-2.6.0 into /var/tmp/portage/dev-libs/rocm-opencl-runtime-2.6.0/image/

 * Final size of build directory: 1756584 KiB (  1.6 GiB)
 * Final size of installed tree:   107820 KiB (105.2 MiB)

strip: x86_64-pc-linux-gnu-strip --strip-unneeded -N __gentoo_check_ldflags__ -R .comment -R .GCC.command.line -R .note.gnu.gold-version
   /usr/lib64/OpenCL/vendors/roc/libOpenCL.so.1.2
   /usr/lib64/OpenCL/vendors/roc/libOpenCLDriverStub.so
   /usr/lib64/OpenCL/vendors/roc/libIcdLog.so
   /usr/lib64/libamdocl64.so

But it does not create symlinks in /usr/lib/ where net-p2p/xmr-stak-2.10.7 wants to pick them up:

[...]
-- Configuring done
-- Generating done
-- Build files have been written to: /var/tmp/portage/net-p2p/xmr-stak-2.10.7/work/xmr-stak-2.10.7_build
>>> Source configured.
>>> Compiling source in /var/tmp/portage/net-p2p/xmr-stak-2.10.7/work/xmr-stak-2.10.7 ...
>>> Working in BUILD_DIR: "/var/tmp/portage/net-p2p/xmr-stak-2.10.7/work/xmr-stak-2.10.7_build"
ninja -v -j14 -l13
ninja: error: '/usr/lib/libOpenCL.so', needed by 'lib64/libxmrstak_opencl_backend.so', missing and no known rule to make it
 * ERROR: net-p2p/xmr-stak-2.10.7::gentoo failed (compile phase):
 *   ninja -v -j14 -l13 failed

xmr-stak-2.10.7:20190805-114337.log

USE="extra" dev-util/amd-rocm-meta failure to emerge: sci-libs/rocPRIM needs dev-util/rocm-cmake in order to build

Title. When emerging =dev-util/amd-rocm-meta-2.7.0 for the first time, sci-libs/rocPRIM spits:

cmake -C /var/tmp/portage/sci-libs/rocPRIM-2.7.0-r1/work/rocPRIM-2.7.0_build/gentoo_common_config.cmake -G Ninja -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_CXX_COMPILER_FORCED=1 -DHIP_ROOT_DIR=/usr/lib/hip/ -DBUILD_TEST=OFF -DHIP_PLATFORM=hcc -DCMAKE_INSTALL_PREFIX=/usr/ -DCMAKE_BUILD_TYPE=Gentoo -DCMAKE_TOOLCHAIN_FILE=/var/tmp/portage/sci-libs/rocPRIM-2.7.0-r1/work/rocPRIM-2.7.0_build/gentoo_toolchain.cmake  /var/tmp/portage/sci-libs/rocPRIM-2.7.0-r1/work/rocPRIM-rocm-2.7
loading initial cache file /var/tmp/portage/sci-libs/rocPRIM-2.7.0-r1/work/rocPRIM-2.7.0_build/gentoo_common_config.cmake
CMake Warning (dev) at gentoo_common_config.cmake:8 (SET):
  implicitly converting 'BOOLEAN' to 'STRING' type.
This warning is for project developers.  Use -Wno-dev to suppress it.

-- The CXX compiler identification is Clang 9.0.0
CMake Warning (dev) at CMakeLists.txt:44 (set):
  implicitly converting 'BOOLEAN' to 'STRING' type.
This warning is for project developers.  Use -Wno-dev to suppress it.

-- Found PkgConfig: x86_64-pc-linux-gnu-pkg-config (found version "1.6.3") 
-- HIP Compiler: hcc
-- Found Git: /usr/bin/git (found version "2.21.0") 
CMake Error at cmake/Dependencies.cmake:104 (message):
  Error: downloading
  https://github.com/RadeonOpenCompute/rocm-cmake/archive/master.zip failed
  error_code: 6 log: Could not resolve host: github.com

emerge -1 dev-util/rocm-cmake lets rocPRIM be emerged.
Solution: add =dev-util/rocm-cmake-2.7.0 to RDEPEND.

Could NOT find ROCT (missing: FIND_ROCT_INCLUDES)

With rocm-opencl-runtime-2.6.0-r1 and rocm-opencl-runtime-2.7.0, I encounter this CMake error in src_configure():

CMake Error at /usr/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:137 (message):
  Could NOT find ROCT (missing: FIND_ROCT_INCLUDES)
Call Stack (most recent call first):
  /usr/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:378 (_FPHSA_FAILURE_MESSAGE)
  cmake/modules/FindROCT.cmake:11 (find_package_handle_standard_args)
  CMakeLists.txt:36 (find_package)

In version 2.5.0 of the ebuild, I was able to merge successfully. I will attach my emerge --info and the build log for 2.7.0 here. I imagine you may need more information to help troubleshoot, but just ask and I will be happy to provide.

Attachments:
build.log
emerge-info.txt

Streamline installation directories

I think the install directories are currently a bit inconsistent.

  • Some stuff still goes to /opt/rocm
  • llvm-roc / hip / hcc goes to their own directories, like the clang compiler, which is probably OK.
  • Some go to /usr/[package_name]
  • Some go directly to /usr
    This seems a bit weird to me, also picking up the packages via CMake is annoying, basically for everything that is not directly in /usr, we have to set ROOTPATH or CMAKE_..._PREFIX in an env file. I think this is OK for llvm-roc / hip / cub, but doesn't make much sense for all the sci-libs.
    Should we perhaps just install them to /opt/rocm, or move everything to /usr/rocm. Then we'd basically need only one ROOTPATH for CMake to pick everything up.

Digest verification and wrong verison

[usr@gen3] ~ $ sudo emerge --ask dev-libs/rocm-opencl-runtime

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild U ~] dev-libs/rocm-opencl-runtime-2.2.0 [2.1.0]

Would you like to merge these packages? [Yes/No] y

Verifying ebuild manifests

!!! Digest verification failed:
!!! /var/lib/layman/rocm/dev-libs/rocm-opencl-runtime/files/rocm-opencl-runtime-2.2.0-add-paths.patch
!!! Reason: Failed on BLAKE2B verification
!!! Got: 6927b5cb85bb6108539418d92f4dad2c2642de3baf2a8a5dd2f539b580769fdb24a59fb1fa8b6d80a2e0257d8a9e20484bc11027a62006b014a8e93e0dacd9ad
!!! Expected: d8c62da9d1b01e5d62d8fd82f50af53dcee687a035a7f4f3a3e89410992405679962dc011fab8c17626952ef79c505c8eaea04f53649a6ad721384bdd326cbc7

Can no longer build dev-libs/rocm-opencl-driver-2.7.0-r1 with sys-devel/llvm-roc-2.7.0

As the title says, I can no longer build this lib.

Here's the build.log

�[32;01m * �[39;49;00mRepository: gentoo
�[32;01m * �[39;49;00mMaintainer: [email protected]
�[32;01m * �[39;49;00mUSE:        abi_x86_64 amd64 elibc_glibc kernel_linux userland_GNU
�[32;01m * �[39;49;00mFEATURES:   network-sandbox preserve-libs sandbox userpriv usersandbox
>>> Unpacking source...
>>> Unpacking rocm-opencl-driver-2.7.0.tar.gz to /var/tmp/portage/dev-libs/rocm-opencl-driver-2.7.0/work
>>> Source unpacked in /var/tmp/portage/dev-libs/rocm-opencl-driver-2.7.0/work
>>> Preparing source in /var/tmp/portage/dev-libs/rocm-opencl-driver-2.7.0/work/ROCm-OpenCL-Driver-roc-2.7.0 ...
 �[32;01m*�[0m Applying rocm-opencl-driver-2.6.0-install-correctly.patch ...
�[A�[230C �[34;01m[ �[32;01mok�[34;01m ]�[0m
 �[32;01m*�[0m Applying rocm-opencl-driver-2.6.0-install-header.patch ...
�[A�[230C �[34;01m[ �[32;01mok�[34;01m ]�[0m
 �[32;01m*�[0m Hardcoded definition(s) removed in CMakeLists.txt:
 �[32;01m*�[0m    set(CMAKE_INSTALL_PREFIX ${CMAKE_BINARY_DIR}/dist CACHE INTERNAL "Prefix pr
>>> Source prepared.
>>> Configuring source in /var/tmp/portage/dev-libs/rocm-opencl-driver-2.7.0/work/ROCm-OpenCL-Driver-roc-2.7.0 ...
>>> Working in BUILD_DIR: "/var/tmp/portage/dev-libs/rocm-opencl-driver-2.7.0/work/rocm-opencl-driver-2.7.0_build"
cmake -C /var/tmp/portage/dev-libs/rocm-opencl-driver-2.7.0/work/rocm-opencl-driver-2.7.0_build/gentoo_common_config.cmake -G Ninja -DCMAKE_INSTALL_PREFIX=/usr -DLLVM_DIR=/usr/lib/llvm/roc/ -DCMAKE_INSTALL_PREFIX=/usr/ -DCMAKE_BUILD_TYPE=Gentoo -DCMAKE_TOOLCHAIN_FILE=/var/tmp/portage/dev-libs/rocm-opencl-driver-2.7.0/work/rocm-opencl-driver-2.7.0_build/gentoo_toolchain.cmake  /var/tmp/portage/dev-libs/rocm-opencl-driver-2.7.0/work/ROCm-OpenCL-Driver-roc-2.7.0
loading initial cache file /var/tmp/portage/dev-libs/rocm-opencl-driver-2.7.0/work/rocm-opencl-driver-2.7.0_build/gentoo_common_config.cmake
CMake Warning (dev) at gentoo_common_config.cmake:8 (SET):
  implicitly converting 'BOOLEAN' to 'STRING' type.
This warning is for project developers.  Use -Wno-dev to suppress it.

-- The C compiler identification is GNU 9.2.0
-- The CXX compiler identification is GNU 9.2.0
-- Check for working C compiler: /usr/bin/x86_64-pc-linux-gnu-gcc
-- Check for working C compiler: /usr/bin/x86_64-pc-linux-gnu-gcc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler: /usr/bin/x86_64-pc-linux-gnu-g++
-- Check for working CXX compiler: /usr/bin/x86_64-pc-linux-gnu-g++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Linker detection: GNU ld
-- <<< Gentoo configuration >>>
Build type      Gentoo
Install path    /usr
Compiler flags:
C               -march=native -O2 -pipe
C++             -march=native -O2 -pipe -std=c++11 -fno-rtti -Wall
Linker flags:
Executable      -Wl,-O1 -Wl,--as-needed
Module          -Wl,-O1 -Wl,--as-needed
Shared          -Wl,-O1 -Wl,--as-needed

-- Configuring done
-- Generating done
-- Build files have been written to: /var/tmp/portage/dev-libs/rocm-opencl-driver-2.7.0/work/rocm-opencl-driver-2.7.0_build
>>> Source configured.
>>> Compiling source in /var/tmp/portage/dev-libs/rocm-opencl-driver-2.7.0/work/ROCm-OpenCL-Driver-roc-2.7.0 ...
>>> Working in BUILD_DIR: "/var/tmp/portage/dev-libs/rocm-opencl-driver-2.7.0/work/rocm-opencl-driver-2.7.0_build"
ninja -v -j6 -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.7.0/work/ROCm-OpenCL-Driver-roc-2.7.0/src/driver  -DNDEBUG -march=native -O2 -pipe -std=c++11 -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.7.0/work/ROCm-OpenCL-Driver-roc-2.7.0/src/roc-cl/roc-cl.cpp
FAILED: src/roc-cl/CMakeFiles/roc-cl.dir/roc-cl.cpp.o 
/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.7.0/work/ROCm-OpenCL-Driver-roc-2.7.0/src/driver  -DNDEBUG -march=native -O2 -pipe -std=c++11 -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.7.0/work/ROCm-OpenCL-Driver-roc-2.7.0/src/roc-cl/roc-cl.cpp
In file included from /usr/lib/llvm/roc/include/llvm/ADT/StringRef.h:12,
                 from /usr/lib/llvm/roc/include/llvm/ADT/StringMap.h:16,
                 from /usr/lib/llvm/roc/include/llvm/Support/Host.h:16,
                 from /usr/lib/llvm/roc/include/llvm/ADT/Hashing.h:48,
                 from /usr/lib/llvm/roc/include/llvm/ADT/ArrayRef.h:12,
                 from /usr/lib/llvm/roc/include/llvm/Support/CommandLine.h:22,
                 from /var/tmp/portage/dev-libs/rocm-opencl-driver-2.7.0/work/ROCm-OpenCL-Driver-roc-2.7.0/src/roc-cl/roc-cl.cpp:3:
/usr/lib/llvm/roc/include/llvm/ADT/STLExtras.h:555:49: error: ‘std::index_sequence’ has not been declared
  555 |   template <size_t... Ns> value_type deref(std::index_sequence<Ns...>) const {
      |                                                 ^~~~~~~~~~~~~~
/usr/lib/llvm/roc/include/llvm/ADT/STLExtras.h:555:63: error: expected ‘,’ or ‘...’ before ‘<’ token
  555 |   template <size_t... Ns> value_type deref(std::index_sequence<Ns...>) const {
      |                                                               ^
/usr/lib/llvm/roc/include/llvm/ADT/STLExtras.h:560:36: error: ‘std::index_sequence’ has not been declared
  560 |   decltype(iterators) tup_inc(std::index_sequence<Ns...>) const {
      |                                    ^~~~~~~~~~~~~~
/usr/lib/llvm/roc/include/llvm/ADT/STLExtras.h:560:50: error: expected ‘,’ or ‘...’ before ‘<’ token
  560 |   decltype(iterators) tup_inc(std::index_sequence<Ns...>) const {
      |                                                  ^
/usr/lib/llvm/roc/include/llvm/ADT/STLExtras.h:565:36: error: ‘std::index_sequence’ has not been declared
  565 |   decltype(iterators) tup_dec(std::index_sequence<Ns...>) const {
      |                                    ^~~~~~~~~~~~~~
/usr/lib/llvm/roc/include/llvm/ADT/STLExtras.h:565:50: error: expected ‘,’ or ‘...’ before ‘<’ token
  565 |   decltype(iterators) tup_dec(std::index_sequence<Ns...>) const {
      |                                                  ^
/usr/lib/llvm/roc/include/llvm/ADT/STLExtras.h: In member function ‘llvm::detail::zip_common<ZipType, Iters>::value_type llvm::detail::zip_common<ZipType, Iters>::operator*()’:
/usr/lib/llvm/roc/include/llvm/ADT/STLExtras.h:572:46: error: ‘index_sequence_for’ is not a member of ‘std’
  572 |   value_type operator*() { return deref(std::index_sequence_for<Iters...>{}); }
      |                                              ^~~~~~~~~~~~~~~~~~
/usr/lib/llvm/roc/include/llvm/ADT/STLExtras.h:572:70: error: expected primary-expression before ‘...’ token
  572 |   value_type operator*() { return deref(std::index_sequence_for<Iters...>{}); }
      |                                                                      ^~~
/usr/lib/llvm/roc/include/llvm/ADT/STLExtras.h: In member function ‘const value_type llvm::detail::zip_common<ZipType, Iters>::operator*() const’:
/usr/lib/llvm/roc/include/llvm/ADT/STLExtras.h:575:23: error: ‘index_sequence_for’ is not a member of ‘std’
  575 |     return deref(std::index_sequence_for<Iters...>{});
      |                       ^~~~~~~~~~~~~~~~~~
/usr/lib/llvm/roc/include/llvm/ADT/STLExtras.h:575:47: error: expected primary-expression before ‘...’ token
  575 |     return deref(std::index_sequence_for<Iters...>{});
      |                                               ^~~
/usr/lib/llvm/roc/include/llvm/ADT/STLExtras.h: In member function ‘ZipType& llvm::detail::zip_common<ZipType, Iters>::operator++()’:
/usr/lib/llvm/roc/include/llvm/ADT/STLExtras.h:579:30: error: ‘index_sequence_for’ is not a member of ‘std’
  579 |     iterators = tup_inc(std::index_sequence_for<Iters...>{});
      |                              ^~~~~~~~~~~~~~~~~~
/usr/lib/llvm/roc/include/llvm/ADT/STLExtras.h:579:54: error: expected primary-expression before ‘...’ token
  579 |     iterators = tup_inc(std::index_sequence_for<Iters...>{});
      |                                                      ^~~
/usr/lib/llvm/roc/include/llvm/ADT/STLExtras.h: In member function ‘ZipType& llvm::detail::zip_common<ZipType, Iters>::operator--()’:
/usr/lib/llvm/roc/include/llvm/ADT/STLExtras.h:586:30: error: ‘index_sequence_for’ is not a member of ‘std’
  586 |     iterators = tup_dec(std::index_sequence_for<Iters...>{});
      |                              ^~~~~~~~~~~~~~~~~~
/usr/lib/llvm/roc/include/llvm/ADT/STLExtras.h:586:54: error: expected primary-expression before ‘...’ token
  586 |     iterators = tup_dec(std::index_sequence_for<Iters...>{});
      |                                                      ^~~
/usr/lib/llvm/roc/include/llvm/ADT/STLExtras.h: At global scope:
/usr/lib/llvm/roc/include/llvm/ADT/STLExtras.h:606:18: error: ‘std::index_sequence’ has not been declared
  606 |             std::index_sequence<Ns...>) const {
      |                  ^~~~~~~~~~~~~~
/usr/lib/llvm/roc/include/llvm/ADT/STLExtras.h:606:32: error: expected ‘,’ or ‘...’ before ‘<’ token
  606 |             std::index_sequence<Ns...>) const {
      |                                ^
/usr/lib/llvm/roc/include/llvm/ADT/STLExtras.h: In member function ‘bool llvm::detail::zip_shortest<Iters>::operator==(const llvm::detail::zip_shortest<Iters>&) const’:
/usr/lib/llvm/roc/include/llvm/ADT/STLExtras.h:618:30: error: ‘index_sequence_for’ is not a member of ‘std’
  618 |     return !test(other, std::index_sequence_for<Iters...>{});
      |                              ^~~~~~~~~~~~~~~~~~
/usr/lib/llvm/roc/include/llvm/ADT/STLExtras.h:618:54: error: expected primary-expression before ‘...’ token
  618 |     return !test(other, std::index_sequence_for<Iters...>{});
      |                                                      ^~~
/usr/lib/llvm/roc/include/llvm/ADT/STLExtras.h: At global scope:
/usr/lib/llvm/roc/include/llvm/ADT/STLExtras.h:635:28: error: ‘std::index_sequence’ has not been declared
  635 |   iterator begin_impl(std::index_sequence<Ns...>) const {
      |                            ^~~~~~~~~~~~~~
/usr/lib/llvm/roc/include/llvm/ADT/STLExtras.h:635:42: error: expected ‘,’ or ‘...’ before ‘<’ token
  635 |   iterator begin_impl(std::index_sequence<Ns...>) const {
      |                                          ^
/usr/lib/llvm/roc/include/llvm/ADT/STLExtras.h:638:50: error: ‘std::index_sequence’ has not been declared
  638 |   template <size_t... Ns> iterator end_impl(std::index_sequence<Ns...>) const {
      |                                                  ^~~~~~~~~~~~~~
/usr/lib/llvm/roc/include/llvm/ADT/STLExtras.h:638:64: error: expected ‘,’ or ‘...’ before ‘<’ token
  638 |   template <size_t... Ns> iterator end_impl(std::index_sequence<Ns...>) const {
      |                                                                ^
/usr/lib/llvm/roc/include/llvm/ADT/STLExtras.h: In member function ‘llvm::detail::zippy<ItType, Args>::iterator llvm::detail::zippy<ItType, Args>::begin() const’:
/usr/lib/llvm/roc/include/llvm/ADT/STLExtras.h:646:28: error: ‘index_sequence_for’ is not a member of ‘std’
  646 |     return begin_impl(std::index_sequence_for<Args...>{});
      |                            ^~~~~~~~~~~~~~~~~~
/usr/lib/llvm/roc/include/llvm/ADT/STLExtras.h:646:51: error: expected primary-expression before ‘...’ token
  646 |     return begin_impl(std::index_sequence_for<Args...>{});
      |                                                   ^~~
/usr/lib/llvm/roc/include/llvm/ADT/STLExtras.h: In member function ‘llvm::detail::zippy<ItType, Args>::iterator llvm::detail::zippy<ItType, Args>::end() const’:
/usr/lib/llvm/roc/include/llvm/ADT/STLExtras.h:648:47: error: ‘index_sequence_for’ is not a member of ‘std’
  648 |   iterator end() const { return end_impl(std::index_sequence_for<Args...>{}); }
      |                                               ^~~~~~~~~~~~~~~~~~
/usr/lib/llvm/roc/include/llvm/ADT/STLExtras.h:648:70: error: expected primary-expression before ‘...’ token
  648 |   iterator end() const { return end_impl(std::index_sequence_for<Args...>{}); }
      |                                                                      ^~~
/usr/lib/llvm/roc/include/llvm/ADT/STLExtras.h: At global scope:
/usr/lib/llvm/roc/include/llvm/ADT/STLExtras.h:718:18: error: ‘std::index_sequence’ has not been declared
  718 |             std::index_sequence<Ns...>) const {
      |                  ^~~~~~~~~~~~~~
/usr/lib/llvm/roc/include/llvm/ADT/STLExtras.h:718:32: error: expected ‘,’ or ‘...’ before ‘<’ token
  718 |             std::index_sequence<Ns...>) const {
      |                                ^
/usr/lib/llvm/roc/include/llvm/ADT/STLExtras.h:725:49: error: ‘std::index_sequence’ has not been declared
  725 |   template <size_t... Ns> value_type deref(std::index_sequence<Ns...>) const {
      |                                                 ^~~~~~~~~~~~~~
/usr/lib/llvm/roc/include/llvm/ADT/STLExtras.h:725:63: error: expected ‘,’ or ‘...’ before ‘<’ token
  725 |   template <size_t... Ns> value_type deref(std::index_sequence<Ns...>) const {
      |                                                               ^
/usr/lib/llvm/roc/include/llvm/ADT/STLExtras.h:731:36: error: ‘std::index_sequence’ has not been declared
  731 |   decltype(iterators) tup_inc(std::index_sequence<Ns...>) const {
      |                                    ^~~~~~~~~~~~~~
/usr/lib/llvm/roc/include/llvm/ADT/STLExtras.h:731:50: error: expected ‘,’ or ‘...’ before ‘<’ token
  731 |   decltype(iterators) tup_inc(std::index_sequence<Ns...>) const {
      |                                                  ^
/usr/lib/llvm/roc/include/llvm/ADT/STLExtras.h: In member function ‘llvm::detail::zip_longest_iterator<Iters>::value_type llvm::detail::zip_longest_iterator<Iters>::operator*()’:
/usr/lib/llvm/roc/include/llvm/ADT/STLExtras.h:741:46: error: ‘index_sequence_for’ is not a member of ‘std’
  741 |   value_type operator*() { return deref(std::index_sequence_for<Iters...>{}); }
      |                                              ^~~~~~~~~~~~~~~~~~
/usr/lib/llvm/roc/include/llvm/ADT/STLExtras.h:741:70: error: expected primary-expression before ‘...’ token
  741 |   value_type operator*() { return deref(std::index_sequence_for<Iters...>{}); }
      |                                                                      ^~~
/usr/lib/llvm/roc/include/llvm/ADT/STLExtras.h: In member function ‘llvm::detail::zip_longest_iterator<Iters>::value_type llvm::detail::zip_longest_iterator<Iters>::operator*() const’:
/usr/lib/llvm/roc/include/llvm/ADT/STLExtras.h:744:23: error: ‘index_sequence_for’ is not a member of ‘std’
  744 |     return deref(std::index_sequence_for<Iters...>{});
      |                       ^~~~~~~~~~~~~~~~~~
/usr/lib/llvm/roc/include/llvm/ADT/STLExtras.h:744:47: error: expected primary-expression before ‘...’ token
  744 |     return deref(std::index_sequence_for<Iters...>{});
      |                                               ^~~
/usr/lib/llvm/roc/include/llvm/ADT/STLExtras.h: In member function ‘llvm::detail::zip_longest_iterator<Iters>& llvm::detail::zip_longest_iterator<Iters>::operator++()’:
/usr/lib/llvm/roc/include/llvm/ADT/STLExtras.h:748:30: error: ‘index_sequence_for’ is not a member of ‘std’
  748 |     iterators = tup_inc(std::index_sequence_for<Iters...>{});
      |                              ^~~~~~~~~~~~~~~~~~
/usr/lib/llvm/roc/include/llvm/ADT/STLExtras.h:748:54: error: expected primary-expression before ‘...’ token
  748 |     iterators = tup_inc(std::index_sequence_for<Iters...>{});
      |                                                      ^~~
/usr/lib/llvm/roc/include/llvm/ADT/STLExtras.h: In member function ‘bool llvm::detail::zip_longest_iterator<Iters>::operator==(const llvm::detail::zip_longest_iterator<Iters>&) const’:
/usr/lib/llvm/roc/include/llvm/ADT/STLExtras.h:753:30: error: ‘index_sequence_for’ is not a member of ‘std’
  753 |     return !test(other, std::index_sequence_for<Iters...>{});
      |                              ^~~~~~~~~~~~~~~~~~
/usr/lib/llvm/roc/include/llvm/ADT/STLExtras.h:753:54: error: expected primary-expression before ‘...’ token
  753 |     return !test(other, std::index_sequence_for<Iters...>{});
      |                                                      ^~~
/usr/lib/llvm/roc/include/llvm/ADT/STLExtras.h: At global scope:
/usr/lib/llvm/roc/include/llvm/ADT/STLExtras.h:771:28: error: ‘std::index_sequence’ has not been declared
  771 |   iterator begin_impl(std::index_sequence<Ns...>) const {
      |                            ^~~~~~~~~~~~~~
/usr/lib/llvm/roc/include/llvm/ADT/STLExtras.h:771:42: error: expected ‘,’ or ‘...’ before ‘<’ token
  771 |   iterator begin_impl(std::index_sequence<Ns...>) const {
      |                                          ^
/usr/lib/llvm/roc/include/llvm/ADT/STLExtras.h:776:50: error: ‘std::index_sequence’ has not been declared
  776 |   template <size_t... Ns> iterator end_impl(std::index_sequence<Ns...>) const {
      |                                                  ^~~~~~~~~~~~~~
/usr/lib/llvm/roc/include/llvm/ADT/STLExtras.h:776:64: error: expected ‘,’ or ‘...’ before ‘<’ token
  776 |   template <size_t... Ns> iterator end_impl(std::index_sequence<Ns...>) const {
      |                                                                ^
/usr/lib/llvm/roc/include/llvm/ADT/STLExtras.h: In member function ‘llvm::detail::zip_longest_range<Args>::iterator llvm::detail::zip_longest_range<Args>::begin() const’:
/usr/lib/llvm/roc/include/llvm/ADT/STLExtras.h:785:28: error: ‘index_sequence_for’ is not a member of ‘std’
  785 |     return begin_impl(std::index_sequence_for<Args...>{});
      |                            ^~~~~~~~~~~~~~~~~~
/usr/lib/llvm/roc/include/llvm/ADT/STLExtras.h:785:51: error: expected primary-expression before ‘...’ token
  785 |     return begin_impl(std::index_sequence_for<Args...>{});
      |                                                   ^~~
/usr/lib/llvm/roc/include/llvm/ADT/STLExtras.h: In member function ‘llvm::detail::zip_longest_range<Args>::iterator llvm::detail::zip_longest_range<Args>::end() const’:
/usr/lib/llvm/roc/include/llvm/ADT/STLExtras.h:787:47: error: ‘index_sequence_for’ is not a member of ‘std’
  787 |   iterator end() const { return end_impl(std::index_sequence_for<Args...>{}); }
      |                                               ^~~~~~~~~~~~~~~~~~
/usr/lib/llvm/roc/include/llvm/ADT/STLExtras.h:787:70: error: expected primary-expression before ‘...’ token
  787 |   iterator end() const { return end_impl(std::index_sequence_for<Args...>{}); }
      |                                                                      ^~~
/usr/lib/llvm/roc/include/llvm/ADT/STLExtras.h: At global scope:
/usr/lib/llvm/roc/include/llvm/ADT/STLExtras.h:843:47: error: ‘std::index_sequence’ has not been declared
  843 |   template <size_t... Ns> void increment(std::index_sequence<Ns...>) {
      |                                               ^~~~~~~~~~~~~~
/usr/lib/llvm/roc/include/llvm/ADT/STLExtras.h:843:61: error: expected ‘,’ or ‘...’ before ‘<’ token
  843 |   template <size_t... Ns> void increment(std::index_sequence<Ns...>) {
      |                                                             ^
/usr/lib/llvm/roc/include/llvm/ADT/STLExtras.h:872:44: error: ‘index_sequence’ is not a member of ‘std’
  872 |   template <size_t... Ns> ValueT &get(std::index_sequence<Ns...>) const {
      |                                            ^~~~~~~~~~~~~~
/usr/lib/llvm/roc/include/llvm/ADT/STLExtras.h:872:66: error: expected ‘;’ before ‘const’
  872 |   template <size_t... Ns> ValueT &get(std::index_sequence<Ns...>) const {
      |                                                                  ^~~~~~
      |                                                                  ;
/usr/lib/llvm/roc/include/llvm/ADT/STLExtras.h:883:3: error: data member ‘get’ cannot be a member template
  883 |   }
      |   ^
/usr/lib/llvm/roc/include/llvm/ADT/STLExtras.h: In member function ‘llvm::concat_iterator<ValueT, IterTs>& llvm::concat_iterator<ValueT, IterTs>::operator++()’:
/usr/lib/llvm/roc/include/llvm/ADT/STLExtras.h:897:20: error: ‘index_sequence_for’ is not a member of ‘std’
  897 |     increment(std::index_sequence_for<IterTs...>());
      |                    ^~~~~~~~~~~~~~~~~~
/usr/lib/llvm/roc/include/llvm/ADT/STLExtras.h:897:45: error: expected primary-expression before ‘...’ token
  897 |     increment(std::index_sequence_for<IterTs...>());
      |                                             ^~~
/usr/lib/llvm/roc/include/llvm/ADT/STLExtras.h: In member function ‘ValueT& llvm::concat_iterator<ValueT, IterTs>::operator*() const’:
/usr/lib/llvm/roc/include/llvm/ADT/STLExtras.h:902:21: error: ‘index_sequence_for’ is not a member of ‘std’
  902 |     return get(std::index_sequence_for<IterTs...>());
      |                     ^~~~~~~~~~~~~~~~~~
/usr/lib/llvm/roc/include/llvm/ADT/STLExtras.h:902:46: error: expected primary-expression before ‘...’ token
  902 |     return get(std::index_sequence_for<IterTs...>());
      |                                              ^~~
/usr/lib/llvm/roc/include/llvm/ADT/STLExtras.h:902:12: error: there are no arguments to ‘get’ that depend on a template parameter, so a declaration of ‘get’ must be available [-fpermissive]
  902 |     return get(std::index_sequence_for<IterTs...>());
      |            ^~~
/usr/lib/llvm/roc/include/llvm/ADT/STLExtras.h:902:12: note: (if you use ‘-fpermissive’, G++ will accept your code, but allowing the use of an undeclared name is deprecated)
/usr/lib/llvm/roc/include/llvm/ADT/STLExtras.h: At global scope:
/usr/lib/llvm/roc/include/llvm/ADT/STLExtras.h:926:52: error: ‘std::index_sequence’ has not been declared
  926 |   template <size_t... Ns> iterator begin_impl(std::index_sequence<Ns...>) {
      |                                                    ^~~~~~~~~~~~~~
/usr/lib/llvm/roc/include/llvm/ADT/STLExtras.h:926:66: error: expected ‘,’ or ‘...’ before ‘<’ token
  926 |   template <size_t... Ns> iterator begin_impl(std::index_sequence<Ns...>) {
      |                                                                  ^
/usr/lib/llvm/roc/include/llvm/ADT/STLExtras.h:929:50: error: ‘std::index_sequence’ has not been declared
  929 |   template <size_t... Ns> iterator end_impl(std::index_sequence<Ns...>) {
      |                                                  ^~~~~~~~~~~~~~
/usr/lib/llvm/roc/include/llvm/ADT/STLExtras.h:929:64: error: expected ‘,’ or ‘...’ before ‘<’ token
  929 |   template <size_t... Ns> iterator end_impl(std::index_sequence<Ns...>) {
      |                                                                ^
/usr/lib/llvm/roc/include/llvm/ADT/STLExtras.h: In member function ‘llvm::detail::concat_range<ValueT, RangeTs>::iterator llvm::detail::concat_range<ValueT, RangeTs>::begin()’:
/usr/lib/llvm/roc/include/llvm/ADT/STLExtras.h:938:45: error: ‘index_sequence_for’ is not a member of ‘std’
  938 |   iterator begin() { return begin_impl(std::index_sequence_for<RangeTs...>{}); }
      |                                             ^~~~~~~~~~~~~~~~~~
/usr/lib/llvm/roc/include/llvm/ADT/STLExtras.h:938:71: error: expected primary-expression before ‘...’ token
  938 |   iterator begin() { return begin_impl(std::index_sequence_for<RangeTs...>{}); }
      |                                                                       ^~~
/usr/lib/llvm/roc/include/llvm/ADT/STLExtras.h: In member function ‘llvm::detail::concat_range<ValueT, RangeTs>::iterator llvm::detail::concat_range<ValueT, RangeTs>::end()’:
/usr/lib/llvm/roc/include/llvm/ADT/STLExtras.h:939:41: error: ‘index_sequence_for’ is not a member of ‘std’
  939 |   iterator end() { return end_impl(std::index_sequence_for<RangeTs...>{}); }
      |                                         ^~~~~~~~~~~~~~~~~~
/usr/lib/llvm/roc/include/llvm/ADT/STLExtras.h:939:67: error: expected primary-expression before ‘...’ token
  939 |   iterator end() { return end_impl(std::index_sequence_for<RangeTs...>{}); }
      |                                                                   ^~~
/usr/lib/llvm/roc/include/llvm/ADT/STLExtras.h: At global scope:
/usr/lib/llvm/roc/include/llvm/ADT/STLExtras.h:1507:46: error: ‘std::index_sequence’ has not been declared
 1507 | auto apply_tuple_impl(F &&f, Tuple &&t, std::index_sequence<I...>)
      |                                              ^~~~~~~~~~~~~~
/usr/lib/llvm/roc/include/llvm/ADT/STLExtras.h:1507:60: error: expected ‘,’ or ‘...’ before ‘<’ token
 1507 | auto apply_tuple_impl(F &&f, Tuple &&t, std::index_sequence<I...>)
      |                                                            ^
/usr/lib/llvm/roc/include/llvm/ADT/STLExtras.h:1520:10: error: ‘make_index_sequence’ is not a member of ‘std’
 1520 |     std::make_index_sequence<
      |          ^~~~~~~~~~~~~~~~~~~
/usr/lib/llvm/roc/include/llvm/ADT/STLExtras.h:1520:10: error: ‘make_index_sequence’ is not a member of ‘std’
/usr/lib/llvm/roc/include/llvm/ADT/STLExtras.h:1521:66: error: expected primary-expression before ‘{’ token
 1521 |         std::tuple_size<typename std::decay<Tuple>::type>::value>{})) {
      |                                                                  ^
/usr/lib/llvm/roc/include/llvm/ADT/STLExtras.h:1521:66: error: expected ‘)’ before ‘{’ token
 1521 |         std::tuple_size<typename std::decay<Tuple>::type>::value>{})) {
      |                                                                  ^
      |                                                                  )
/usr/lib/llvm/roc/include/llvm/ADT/STLExtras.h:1518:72: note: to match this ‘(’
 1518 | auto apply_tuple(F &&f, Tuple &&t) -> decltype(detail::apply_tuple_impl(
      |                                                                        ^
/usr/lib/llvm/roc/include/llvm/ADT/STLExtras.h: In function ‘decltype (llvm::detail::apply_tuple_impl(forward<F>(f), forward<Tuple>(t), ((<expression error> < std::tuple_size<typename std::decay<_Func>::type>::value) > <expression error>))) llvm::apply_tuple(F&&, Tuple&&)’:
/usr/lib/llvm/roc/include/llvm/ADT/STLExtras.h:1522:24: error: ‘make_index_sequence’ in namespace ‘std’ does not name a template type
 1522 |   using Indices = std::make_index_sequence<
      |                        ^~~~~~~~~~~~~~~~~~~
/usr/lib/llvm/roc/include/llvm/ADT/STLExtras.h:1526:35: error: ‘Indices’ was not declared in this scope
 1526 |                                   Indices{});
      |                                   ^~~~~~~
[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.7.0/work/ROCm-OpenCL-Driver-roc-2.7.0/src/driver  -DNDEBUG -march=native -O2 -pipe -std=c++11 -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.7.0/work/ROCm-OpenCL-Driver-roc-2.7.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.7.0/work/ROCm-OpenCL-Driver-roc-2.7.0/src/driver  -DNDEBUG -march=native -O2 -pipe -std=c++11 -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.7.0/work/ROCm-OpenCL-Driver-roc-2.7.0/src/driver/AmdCompiler.cpp
In file included from /usr/lib/llvm/roc/include/llvm/ADT/StringRef.h:12,
                 from /usr/lib/llvm/roc/include/llvm/ADT/SmallString.h:17,
                 from /usr/lib/llvm/roc/include/llvm/Support/FileSystem.h:29,
                 from /var/tmp/portage/dev-libs/rocm-opencl-driver-2.7.0/work/ROCm-OpenCL-Driver-roc-2.7.0/src/driver/AmdCompiler.cpp:6:
/usr/lib/llvm/roc/include/llvm/ADT/STLExtras.h:555:49: error: ‘std::index_sequence’ has not been declared
  555 |   template <size_t... Ns> value_type deref(std::index_sequence<Ns...>) const {
      |                                                 ^~~~~~~~~~~~~~
/usr/lib/llvm/roc/include/llvm/ADT/STLExtras.h:555:63: error: expected ‘,’ or ‘...’ before ‘<’ token
  555 |   template <size_t... Ns> value_type deref(std::index_sequence<Ns...>) const {
      |                                                               ^
/usr/lib/llvm/roc/include/llvm/ADT/STLExtras.h:560:36: error: ‘std::index_sequence’ has not been declared
  560 |   decltype(iterators) tup_inc(std::index_sequence<Ns...>) const {
      |                                    ^~~~~~~~~~~~~~
/usr/lib/llvm/roc/include/llvm/ADT/STLExtras.h:560:50: error: expected ‘,’ or ‘...’ before ‘<’ token
  560 |   decltype(iterators) tup_inc(std::index_sequence<Ns...>) const {
      |                                                  ^
/usr/lib/llvm/roc/include/llvm/ADT/STLExtras.h:565:36: error: ‘std::index_sequence’ has not been declared
  565 |   decltype(iterators) tup_dec(std::index_sequence<Ns...>) const {
      |                                    ^~~~~~~~~~~~~~
/usr/lib/llvm/roc/include/llvm/ADT/STLExtras.h:565:50: error: expected ‘,’ or ‘...’ before ‘<’ token
  565 |   decltype(iterators) tup_dec(std::index_sequence<Ns...>) const {
      |                                                  ^
/usr/lib/llvm/roc/include/llvm/ADT/STLExtras.h: In member function ‘llvm::detail::zip_common<ZipType, Iters>::value_type llvm::detail::zip_common<ZipType, Iters>::operator*()’:
/usr/lib/llvm/roc/include/llvm/ADT/STLExtras.h:572:46: error: ‘index_sequence_for’ is not a member of ‘std’
  572 |   value_type operator*() { return deref(std::index_sequence_for<Iters...>{}); }
      |                                              ^~~~~~~~~~~~~~~~~~
/usr/lib/llvm/roc/include/llvm/ADT/STLExtras.h:572:70: error: expected primary-expression before ‘...’ token
  572 |   value_type operator*() { return deref(std::index_sequence_for<Iters...>{}); }
      |                                                                      ^~~
/usr/lib/llvm/roc/include/llvm/ADT/STLExtras.h: In member function ‘const value_type llvm::detail::zip_common<ZipType, Iters>::operator*() const’:
/usr/lib/llvm/roc/include/llvm/ADT/STLExtras.h:575:23: error: ‘index_sequence_for’ is not a member of ‘std’
  575 |     return deref(std::index_sequence_for<Iters...>{});
      |                       ^~~~~~~~~~~~~~~~~~
/usr/lib/llvm/roc/include/llvm/ADT/STLExtras.h:575:47: error: expected primary-expression before ‘...’ token
  575 |     return deref(std::index_sequence_for<Iters...>{});
      |                                               ^~~
/usr/lib/llvm/roc/include/llvm/ADT/STLExtras.h: In member function ‘ZipType& llvm::detail::zip_common<ZipType, Iters>::operator++()’:
/usr/lib/llvm/roc/include/llvm/ADT/STLExtras.h:579:30: error: ‘index_sequence_for’ is not a member of ‘std’
  579 |     iterators = tup_inc(std::index_sequence_for<Iters...>{});
      |                              ^~~~~~~~~~~~~~~~~~
/usr/lib/llvm/roc/include/llvm/ADT/STLExtras.h:579:54: error: expected primary-expression before ‘...’ token
  579 |     iterators = tup_inc(std::index_sequence_for<Iters...>{});
      |                                                      ^~~
/usr/lib/llvm/roc/include/llvm/ADT/STLExtras.h: In member function ‘ZipType& llvm::detail::zip_common<ZipType, Iters>::operator--()’:
/usr/lib/llvm/roc/include/llvm/ADT/STLExtras.h:586:30: error: ‘index_sequence_for’ is not a member of ‘std’
  586 |     iterators = tup_dec(std::index_sequence_for<Iters...>{});
      |                              ^~~~~~~~~~~~~~~~~~
/usr/lib/llvm/roc/include/llvm/ADT/STLExtras.h:586:54: error: expected primary-expression before ‘...’ token
  586 |     iterators = tup_dec(std::index_sequence_for<Iters...>{});
      |                                                      ^~~
/usr/lib/llvm/roc/include/llvm/ADT/STLExtras.h: At global scope:
/usr/lib/llvm/roc/include/llvm/ADT/STLExtras.h:606:18: error: ‘std::index_sequence’ has not been declared
  606 |             std::index_sequence<Ns...>) const {
      |                  ^~~~~~~~~~~~~~
/usr/lib/llvm/roc/include/llvm/ADT/STLExtras.h:606:32: error: expected ‘,’ or ‘...’ before ‘<’ token
  606 |             std::index_sequence<Ns...>) const {
      |                                ^
/usr/lib/llvm/roc/include/llvm/ADT/STLExtras.h: In member function ‘bool llvm::detail::zip_shortest<Iters>::operator==(const llvm::detail::zip_shortest<Iters>&) const’:
/usr/lib/llvm/roc/include/llvm/ADT/STLExtras.h:618:30: error: ‘index_sequence_for’ is not a member of ‘std’
  618 |     return !test(other, std::index_sequence_for<Iters...>{});
      |                              ^~~~~~~~~~~~~~~~~~
/usr/lib/llvm/roc/include/llvm/ADT/STLExtras.h:618:54: error: expected primary-expression before ‘...’ token
  618 |     return !test(other, std::index_sequence_for<Iters...>{});
      |                                                      ^~~
/usr/lib/llvm/roc/include/llvm/ADT/STLExtras.h: At global scope:
/usr/lib/llvm/roc/include/llvm/ADT/STLExtras.h:635:28: error: ‘std::index_sequence’ has not been declared
  635 |   iterator begin_impl(std::index_sequence<Ns...>) const {
      |                            ^~~~~~~~~~~~~~
/usr/lib/llvm/roc/include/llvm/ADT/STLExtras.h:635:42: error: expected ‘,’ or ‘...’ before ‘<’ token
  635 |   iterator begin_impl(std::index_sequence<Ns...>) const {
      |                                          ^
/usr/lib/llvm/roc/include/llvm/ADT/STLExtras.h:638:50: error: ‘std::index_sequence’ has not been declared
  638 |   template <size_t... Ns> iterator end_impl(std::index_sequence<Ns...>) const {
      |                                                  ^~~~~~~~~~~~~~
/usr/lib/llvm/roc/include/llvm/ADT/STLExtras.h:638:64: error: expected ‘,’ or ‘...’ before ‘<’ token
  638 |   template <size_t... Ns> iterator end_impl(std::index_sequence<Ns...>) const {
      |                                                                ^
/usr/lib/llvm/roc/include/llvm/ADT/STLExtras.h: In member function ‘llvm::detail::zippy<ItType, Args>::iterator llvm::detail::zippy<ItType, Args>::begin() const’:
/usr/lib/llvm/roc/include/llvm/ADT/STLExtras.h:646:28: error: ‘index_sequence_for’ is not a member of ‘std’
  646 |     return begin_impl(std::index_sequence_for<Args...>{});
      |                            ^~~~~~~~~~~~~~~~~~
/usr/lib/llvm/roc/include/llvm/ADT/STLExtras.h:646:51: error: expected primary-expression before ‘...’ token
  646 |     return begin_impl(std::index_sequence_for<Args...>{});
      |                                                   ^~~
/usr/lib/llvm/roc/include/llvm/ADT/STLExtras.h: In member function ‘llvm::detail::zippy<ItType, Args>::iterator llvm::detail::zippy<ItType, Args>::end() const’:
/usr/lib/llvm/roc/include/llvm/ADT/STLExtras.h:648:47: error: ‘index_sequence_for’ is not a member of ‘std’
  648 |   iterator end() const { return end_impl(std::index_sequence_for<Args...>{}); }
      |                                               ^~~~~~~~~~~~~~~~~~
/usr/lib/llvm/roc/include/llvm/ADT/STLExtras.h:648:70: error: expected primary-expression before ‘...’ token
  648 |   iterator end() const { return end_impl(std::index_sequence_for<Args...>{}); }
      |                                                                      ^~~
/usr/lib/llvm/roc/include/llvm/ADT/STLExtras.h: At global scope:
/usr/lib/llvm/roc/include/llvm/ADT/STLExtras.h:718:18: error: ‘std::index_sequence’ has not been declared
  718 |             std::index_sequence<Ns...>) const {
      |                  ^~~~~~~~~~~~~~
/usr/lib/llvm/roc/include/llvm/ADT/STLExtras.h:718:32: error: expected ‘,’ or ‘...’ before ‘<’ token
  718 |             std::index_sequence<Ns...>) const {
      |                                ^
/usr/lib/llvm/roc/include/llvm/ADT/STLExtras.h:725:49: error: ‘std::index_sequence’ has not been declared
  725 |   template <size_t... Ns> value_type deref(std::index_sequence<Ns...>) const {
      |                                                 ^~~~~~~~~~~~~~
/usr/lib/llvm/roc/include/llvm/ADT/STLExtras.h:725:63: error: expected ‘,’ or ‘...’ before ‘<’ token
  725 |   template <size_t... Ns> value_type deref(std::index_sequence<Ns...>) const {
      |                                                               ^
/usr/lib/llvm/roc/include/llvm/ADT/STLExtras.h:731:36: error: ‘std::index_sequence’ has not been declared
  731 |   decltype(iterators) tup_inc(std::index_sequence<Ns...>) const {
      |                                    ^~~~~~~~~~~~~~
/usr/lib/llvm/roc/include/llvm/ADT/STLExtras.h:731:50: error: expected ‘,’ or ‘...’ before ‘<’ token
  731 |   decltype(iterators) tup_inc(std::index_sequence<Ns...>) const {
      |                                                  ^
/usr/lib/llvm/roc/include/llvm/ADT/STLExtras.h: In member function ‘llvm::detail::zip_longest_iterator<Iters>::value_type llvm::detail::zip_longest_iterator<Iters>::operator*()’:
/usr/lib/llvm/roc/include/llvm/ADT/STLExtras.h:741:46: error: ‘index_sequence_for’ is not a member of ‘std’
  741 |   value_type operator*() { return deref(std::index_sequence_for<Iters...>{}); }
      |                                              ^~~~~~~~~~~~~~~~~~
/usr/lib/llvm/roc/include/llvm/ADT/STLExtras.h:741:70: error: expected primary-expression before ‘...’ token
  741 |   value_type operator*() { return deref(std::index_sequence_for<Iters...>{}); }
      |                                                                      ^~~
/usr/lib/llvm/roc/include/llvm/ADT/STLExtras.h: In member function ‘llvm::detail::zip_longest_iterator<Iters>::value_type llvm::detail::zip_longest_iterator<Iters>::operator*() const’:
/usr/lib/llvm/roc/include/llvm/ADT/STLExtras.h:744:23: error: ‘index_sequence_for’ is not a member of ‘std’
  744 |     return deref(std::index_sequence_for<Iters...>{});
      |                       ^~~~~~~~~~~~~~~~~~
/usr/lib/llvm/roc/include/llvm/ADT/STLExtras.h:744:47: error: expected primary-expression before ‘...’ token
  744 |     return deref(std::index_sequence_for<Iters...>{});
      |                                               ^~~
/usr/lib/llvm/roc/include/llvm/ADT/STLExtras.h: In member function ‘llvm::detail::zip_longest_iterator<Iters>& llvm::detail::zip_longest_iterator<Iters>::operator++()’:
/usr/lib/llvm/roc/include/llvm/ADT/STLExtras.h:748:30: error: ‘index_sequence_for’ is not a member of ‘std’
  748 |     iterators = tup_inc(std::index_sequence_for<Iters...>{});
      |                              ^~~~~~~~~~~~~~~~~~
/usr/lib/llvm/roc/include/llvm/ADT/STLExtras.h:748:54: error: expected primary-expression before ‘...’ token
  748 |     iterators = tup_inc(std::index_sequence_for<Iters...>{});
      |                                                      ^~~
/usr/lib/llvm/roc/include/llvm/ADT/STLExtras.h: In member function ‘bool llvm::detail::zip_longest_iterator<Iters>::operator==(const llvm::detail::zip_longest_iterator<Iters>&) const’:
/usr/lib/llvm/roc/include/llvm/ADT/STLExtras.h:753:30: error: ‘index_sequence_for’ is not a member of ‘std’
  753 |     return !test(other, std::index_sequence_for<Iters...>{});
      |                              ^~~~~~~~~~~~~~~~~~
/usr/lib/llvm/roc/include/llvm/ADT/STLExtras.h:753:54: error: expected primary-expression before ‘...’ token
  753 |     return !test(other, std::index_sequence_for<Iters...>{});
      |                                                      ^~~
/usr/lib/llvm/roc/include/llvm/ADT/STLExtras.h: At global scope:
/usr/lib/llvm/roc/include/llvm/ADT/STLExtras.h:771:28: error: ‘std::index_sequence’ has not been declared
  771 |   iterator begin_impl(std::index_sequence<Ns...>) const {
      |                            ^~~~~~~~~~~~~~
/usr/lib/llvm/roc/include/llvm/ADT/STLExtras.h:771:42: error: expected ‘,’ or ‘...’ before ‘<’ token
  771 |   iterator begin_impl(std::index_sequence<Ns...>) const {
      |                                          ^
/usr/lib/llvm/roc/include/llvm/ADT/STLExtras.h:776:50: error: ‘std::index_sequence’ has not been declared
  776 |   template <size_t... Ns> iterator end_impl(std::index_sequence<Ns...>) const {
      |                                                  ^~~~~~~~~~~~~~
/usr/lib/llvm/roc/include/llvm/ADT/STLExtras.h:776:64: error: expected ‘,’ or ‘...’ before ‘<’ token
  776 |   template <size_t... Ns> iterator end_impl(std::index_sequence<Ns...>) const {
      |                                                                ^
/usr/lib/llvm/roc/include/llvm/ADT/STLExtras.h: In member function ‘llvm::detail::zip_longest_range<Args>::iterator llvm::detail::zip_longest_range<Args>::begin() const’:
/usr/lib/llvm/roc/include/llvm/ADT/STLExtras.h:785:28: error: ‘index_sequence_for’ is not a member of ‘std’
  785 |     return begin_impl(std::index_sequence_for<Args...>{});
      |                            ^~~~~~~~~~~~~~~~~~
/usr/lib/llvm/roc/include/llvm/ADT/STLExtras.h:785:51: error: expected primary-expression before ‘...’ token
  785 |     return begin_impl(std::index_sequence_for<Args...>{});
      |                                                   ^~~
/usr/lib/llvm/roc/include/llvm/ADT/STLExtras.h: In member function ‘llvm::detail::zip_longest_range<Args>::iterator llvm::detail::zip_longest_range<Args>::end() const’:
/usr/lib/llvm/roc/include/llvm/ADT/STLExtras.h:787:47: error: ‘index_sequence_for’ is not a member of ‘std’
  787 |   iterator end() const { return end_impl(std::index_sequence_for<Args...>{}); }
      |                                               ^~~~~~~~~~~~~~~~~~
/usr/lib/llvm/roc/include/llvm/ADT/STLExtras.h:787:70: error: expected primary-expression before ‘...’ token
  787 |   iterator end() const { return end_impl(std::index_sequence_for<Args...>{}); }
      |                                                                      ^~~
/usr/lib/llvm/roc/include/llvm/ADT/STLExtras.h: At global scope:
/usr/lib/llvm/roc/include/llvm/ADT/STLExtras.h:843:47: error: ‘std::index_sequence’ has not been declared
  843 |   template <size_t... Ns> void increment(std::index_sequence<Ns...>) {
      |                                               ^~~~~~~~~~~~~~
/usr/lib/llvm/roc/include/llvm/ADT/STLExtras.h:843:61: error: expected ‘,’ or ‘...’ before ‘<’ token
  843 |   template <size_t... Ns> void increment(std::index_sequence<Ns...>) {
      |                                                             ^
/usr/lib/llvm/roc/include/llvm/ADT/STLExtras.h:872:44: error: ‘index_sequence’ is not a member of ‘std’
  872 |   template <size_t... Ns> ValueT &get(std::index_sequence<Ns...>) const {
      |                                            ^~~~~~~~~~~~~~
/usr/lib/llvm/roc/include/llvm/ADT/STLExtras.h:872:66: error: expected ‘;’ before ‘const’
  872 |   template <size_t... Ns> ValueT &get(std::index_sequence<Ns...>) const {
      |                                                                  ^~~~~~
      |                                                                  ;
/usr/lib/llvm/roc/include/llvm/ADT/STLExtras.h:883:3: error: data member ‘get’ cannot be a member template
  883 |   }
      |   ^
/usr/lib/llvm/roc/include/llvm/ADT/STLExtras.h: In member function ‘llvm::concat_iterator<ValueT, IterTs>& llvm::concat_iterator<ValueT, IterTs>::operator++()’:
/usr/lib/llvm/roc/include/llvm/ADT/STLExtras.h:897:20: error: ‘index_sequence_for’ is not a member of ‘std’
  897 |     increment(std::index_sequence_for<IterTs...>());
      |                    ^~~~~~~~~~~~~~~~~~
/usr/lib/llvm/roc/include/llvm/ADT/STLExtras.h:897:45: error: expected primary-expression before ‘...’ token
  897 |     increment(std::index_sequence_for<IterTs...>());
      |                                             ^~~
/usr/lib/llvm/roc/include/llvm/ADT/STLExtras.h: In member function ‘ValueT& llvm::concat_iterator<ValueT, IterTs>::operator*() const’:
/usr/lib/llvm/roc/include/llvm/ADT/STLExtras.h:902:21: error: ‘index_sequence_for’ is not a member of ‘std’
  902 |     return get(std::index_sequence_for<IterTs...>());
      |                     ^~~~~~~~~~~~~~~~~~
/usr/lib/llvm/roc/include/llvm/ADT/STLExtras.h:902:46: error: expected primary-expression before ‘...’ token
  902 |     return get(std::index_sequence_for<IterTs...>());
      |                                              ^~~
/usr/lib/llvm/roc/include/llvm/ADT/STLExtras.h:902:12: error: there are no arguments to ‘get’ that depend on a template parameter, so a declaration of ‘get’ must be available [-fpermissive]
  902 |     return get(std::index_sequence_for<IterTs...>());
      |            ^~~
/usr/lib/llvm/roc/include/llvm/ADT/STLExtras.h:902:12: note: (if you use ‘-fpermissive’, G++ will accept your code, but allowing the use of an undeclared name is deprecated)
/usr/lib/llvm/roc/include/llvm/ADT/STLExtras.h: At global scope:
/usr/lib/llvm/roc/include/llvm/ADT/STLExtras.h:926:52: error: ‘std::index_sequence’ has not been declared
  926 |   template <size_t... Ns> iterator begin_impl(std::index_sequence<Ns...>) {
      |                                                    ^~~~~~~~~~~~~~
/usr/lib/llvm/roc/include/llvm/ADT/STLExtras.h:926:66: error: expected ‘,’ or ‘...’ before ‘<’ token
  926 |   template <size_t... Ns> iterator begin_impl(std::index_sequence<Ns...>) {
      |                                                                  ^
/usr/lib/llvm/roc/include/llvm/ADT/STLExtras.h:929:50: error: ‘std::index_sequence’ has not been declared
  929 |   template <size_t... Ns> iterator end_impl(std::index_sequence<Ns...>) {
      |                                                  ^~~~~~~~~~~~~~
/usr/lib/llvm/roc/include/llvm/ADT/STLExtras.h:929:64: error: expected ‘,’ or ‘...’ before ‘<’ token
  929 |   template <size_t... Ns> iterator end_impl(std::index_sequence<Ns...>) {
      |                                                                ^
/usr/lib/llvm/roc/include/llvm/ADT/STLExtras.h: In member function ‘llvm::detail::concat_range<ValueT, RangeTs>::iterator llvm::detail::concat_range<ValueT, RangeTs>::begin()’:
/usr/lib/llvm/roc/include/llvm/ADT/STLExtras.h:938:45: error: ‘index_sequence_for’ is not a member of ‘std’
  938 |   iterator begin() { return begin_impl(std::index_sequence_for<RangeTs...>{}); }
      |                                             ^~~~~~~~~~~~~~~~~~
/usr/lib/llvm/roc/include/llvm/ADT/STLExtras.h:938:71: error: expected primary-expression before ‘...’ token
  938 |   iterator begin() { return begin_impl(std::index_sequence_for<RangeTs...>{}); }
      |                                                                       ^~~
/usr/lib/llvm/roc/include/llvm/ADT/STLExtras.h: In member function ‘llvm::detail::concat_range<ValueT, RangeTs>::iterator llvm::detail::concat_range<ValueT, RangeTs>::end()’:
/usr/lib/llvm/roc/include/llvm/ADT/STLExtras.h:939:41: error: ‘index_sequence_for’ is not a member of ‘std’
  939 |   iterator end() { return end_impl(std::index_sequence_for<RangeTs...>{}); }
      |                                         ^~~~~~~~~~~~~~~~~~
/usr/lib/llvm/roc/include/llvm/ADT/STLExtras.h:939:67: error: expected primary-expression before ‘...’ token
  939 |   iterator end() { return end_impl(std::index_sequence_for<RangeTs...>{}); }
      |                                                                   ^~~
/usr/lib/llvm/roc/include/llvm/ADT/STLExtras.h: At global scope:
/usr/lib/llvm/roc/include/llvm/ADT/STLExtras.h:1507:46: error: ‘std::index_sequence’ has not been declared
 1507 | auto apply_tuple_impl(F &&f, Tuple &&t, std::index_sequence<I...>)
      |                                              ^~~~~~~~~~~~~~
/usr/lib/llvm/roc/include/llvm/ADT/STLExtras.h:1507:60: error: expected ‘,’ or ‘...’ before ‘<’ token
 1507 | auto apply_tuple_impl(F &&f, Tuple &&t, std::index_sequence<I...>)
      |                                                            ^
/usr/lib/llvm/roc/include/llvm/ADT/STLExtras.h:1520:10: error: ‘make_index_sequence’ is not a member of ‘std’
 1520 |     std::make_index_sequence<
      |          ^~~~~~~~~~~~~~~~~~~
/usr/lib/llvm/roc/include/llvm/ADT/STLExtras.h:1520:10: error: ‘make_index_sequence’ is not a member of ‘std’
/usr/lib/llvm/roc/include/llvm/ADT/STLExtras.h:1521:66: error: expected primary-expression before ‘{’ token
 1521 |         std::tuple_size<typename std::decay<Tuple>::type>::value>{})) {
      |                                                                  ^
/usr/lib/llvm/roc/include/llvm/ADT/STLExtras.h:1521:66: error: expected ‘)’ before ‘{’ token
 1521 |         std::tuple_size<typename std::decay<Tuple>::type>::value>{})) {
      |                                                                  ^
      |                                                                  )
/usr/lib/llvm/roc/include/llvm/ADT/STLExtras.h:1518:72: note: to match this ‘(’
 1518 | auto apply_tuple(F &&f, Tuple &&t) -> decltype(detail::apply_tuple_impl(
      |                                                                        ^
/usr/lib/llvm/roc/include/llvm/ADT/STLExtras.h: In function ‘decltype (llvm::detail::apply_tuple_impl(forward<F>(f), forward<Tuple>(t), ((<expression error> < std::tuple_size<typename std::decay<_Func>::type>::value) > <expression error>))) llvm::apply_tuple(F&&, Tuple&&)’:
/usr/lib/llvm/roc/include/llvm/ADT/STLExtras.h:1522:24: error: ‘make_index_sequence’ in namespace ‘std’ does not name a template type
 1522 |   using Indices = std::make_index_sequence<
      |                        ^~~~~~~~~~~~~~~~~~~
/usr/lib/llvm/roc/include/llvm/ADT/STLExtras.h:1526:35: error: ‘Indices’ was not declared in this scope
 1526 |                                   Indices{});
      |                                   ^~~~~~~
In file included from /usr/lib/llvm/roc/include/llvm/Support/Error.h:27,
                 from /usr/lib/llvm/roc/include/llvm/Support/FileSystem.h:34,
                 from /var/tmp/portage/dev-libs/rocm-opencl-driver-2.7.0/work/ROCm-OpenCL-Driver-roc-2.7.0/src/driver/AmdCompiler.cpp:6:
/usr/lib/llvm/roc/include/llvm/Support/Format.h: At global scope:
/usr/lib/llvm/roc/include/llvm/Support/Format.h:95:26: error: ‘std::index_sequence’ has not been declared
   95 |                     std::index_sequence<Is...>) const {
      |                          ^~~~~~~~~~~~~~
/usr/lib/llvm/roc/include/llvm/Support/Format.h:95:40: error: expected ‘,’ or ‘...’ before ‘<’ token
   95 |                     std::index_sequence<Is...>) const {
      |                                        ^
/usr/lib/llvm/roc/include/llvm/Support/Format.h: In member function ‘int llvm::format_object<Ts>::snprint(char*, unsigned int) const’:
/usr/lib/llvm/roc/include/llvm/Support/Format.h:110:51: error: ‘index_sequence_for’ is not a member of ‘std’
  110 |     return snprint_tuple(Buffer, BufferSize, std::index_sequence_for<Ts...>());
      |                                                   ^~~~~~~~~~~~~~~~~~
/usr/lib/llvm/roc/include/llvm/Support/Format.h:110:72: error: expected primary-expression before ‘...’ token
  110 |     return snprint_tuple(Buffer, BufferSize, std::index_sequence_for<Ts...>());
      |                                                                        ^~~
In file included from /usr/lib/llvm/roc/include/llvm/Support/FileSystem.h:34,
                 from /var/tmp/portage/dev-libs/rocm-opencl-driver-2.7.0/work/ROCm-OpenCL-Driver-roc-2.7.0/src/driver/AmdCompiler.cpp:6:
/usr/lib/llvm/roc/include/llvm/Support/Error.h: In function ‘llvm::Error llvm::make_error(ArgTs&& ...)’:
/usr/lib/llvm/roc/include/llvm/Support/Error.h:331:21: error: ‘make_unique’ is not a member of ‘std’
  331 |   return Error(std::make_unique<ErrT>(std::forward<ArgTs>(Args)...));
      |                     ^~~~~~~~~~~
/usr/lib/llvm/roc/include/llvm/Support/Error.h:33:1: note: ‘std::make_unique’ is defined in header ‘<memory>’; did you forget to ‘#include <memory>’?
   32 | #include <cstdlib>
  +++ |+#include <memory>
   33 | #include <functional>
/usr/lib/llvm/roc/include/llvm/Support/Error.h:331:15: error: expected primary-expression before ‘(’ token
  331 |   return Error(std::make_unique<ErrT>(std::forward<ArgTs>(Args)...));
      |               ^
/usr/lib/llvm/roc/include/llvm/Support/Error.h:331:21: error: ‘make_unique’ is not a member of ‘std’
  331 |   return Error(std::make_unique<ErrT>(std::forward<ArgTs>(Args)...));
      |                     ^~~~~~~~~~~
/usr/lib/llvm/roc/include/llvm/Support/Error.h:331:21: note: ‘std::make_unique’ is defined in header ‘<memory>’; did you forget to ‘#include <memory>’?
/usr/lib/llvm/roc/include/llvm/Support/Error.h:331:37: error: expected primary-expression before ‘>’ token
  331 |   return Error(std::make_unique<ErrT>(std::forward<ArgTs>(Args)...));
      |                                     ^
/usr/lib/llvm/roc/include/llvm/Support/Error.h:331:67: error: expected binary operator before ‘)’ token
  331 |   return Error(std::make_unique<ErrT>(std::forward<ArgTs>(Args)...));
      |                                                                   ^
In file included from /usr/lib/llvm/roc/include/llvm/Object/ELFObjectFile.h:23,
                 from /usr/lib/llvm/roc/include/llvm/Target/AMDGPU/Disassembler/CodeObjectDisassembler.h:21,
                 from /var/tmp/portage/dev-libs/rocm-opencl-driver-2.7.0/work/ROCm-OpenCL-Driver-roc-2.7.0/src/driver/AmdCompiler.cpp:21:
/usr/lib/llvm/roc/include/llvm/MC/SubtargetFeature.h: In constructor ‘llvm::FeatureBitset::FeatureBitset(const std::array<long unsigned int, 3>&)’:
/usr/lib/llvm/roc/include/llvm/MC/SubtargetFeature.h:50:3: error: ‘constexpr’ constructor does not have empty body
   50 |   }
      |   ^
/usr/lib/llvm/roc/include/llvm/MC/SubtargetFeature.h: In constructor ‘llvm::FeatureBitset::FeatureBitset(std::initializer_list<unsigned int>)’:
/usr/lib/llvm/roc/include/llvm/MC/SubtargetFeature.h:57:3: error: ‘constexpr’ constructor does not have empty body
   57 |   }
      |   ^
/usr/lib/llvm/roc/include/llvm/MC/SubtargetFeature.h: In member function ‘constexpr llvm::FeatureBitset& llvm::FeatureBitset::set(unsigned int) const’:
/usr/lib/llvm/roc/include/llvm/MC/SubtargetFeature.h:67:18: error: assignment of read-only location ‘((const llvm::FeatureBitset*)this)->llvm::FeatureBitset::Bits[(I / 64)]’
   67 |     Bits[I / 64] = NewBits;
      |     ~~~~~~~~~~~~~^~~~~~~~~
/usr/lib/llvm/roc/include/llvm/MC/SubtargetFeature.h:68:12: error: binding reference of type ‘llvm::FeatureBitset&’ to ‘const llvm::FeatureBitset’ discards qualifiers
   68 |     return *this;
      |            ^~~~~
/usr/lib/llvm/roc/include/llvm/MC/SubtargetFeature.h:69:3: error: body of ‘constexpr’ function ‘constexpr llvm::FeatureBitset& llvm::FeatureBitset::set(unsigned int) const’ not a return-statement
   69 |   }
      |   ^
/usr/lib/llvm/roc/include/llvm/MC/SubtargetFeature.h: In member function ‘constexpr llvm::FeatureBitset& llvm::FeatureBitset::reset(unsigned int) const’:
/usr/lib/llvm/roc/include/llvm/MC/SubtargetFeature.h:74:18: error: assignment of read-only location ‘((const llvm::FeatureBitset*)this)->llvm::FeatureBitset::Bits[(I / 64)]’
   74 |     Bits[I / 64] = NewBits;
      |     ~~~~~~~~~~~~~^~~~~~~~~
/usr/lib/llvm/roc/include/llvm/MC/SubtargetFeature.h:75:12: error: binding reference of type ‘llvm::FeatureBitset&’ to ‘const llvm::FeatureBitset’ discards qualifiers
   75 |     return *this;
      |            ^~~~~
/usr/lib/llvm/roc/include/llvm/MC/SubtargetFeature.h:76:3: error: body of ‘constexpr’ function ‘constexpr llvm::FeatureBitset& llvm::FeatureBitset::reset(unsigned int) const’ not a return-statement
   76 |   }
      |   ^
/usr/lib/llvm/roc/include/llvm/MC/SubtargetFeature.h: In member function ‘constexpr llvm::FeatureBitset& llvm::FeatureBitset::flip(unsigned int) const’:
/usr/lib/llvm/roc/include/llvm/MC/SubtargetFeature.h:81:18: error: assignment of read-only location ‘((const llvm::FeatureBitset*)this)->llvm::FeatureBitset::Bits[(I / 64)]’
   81 |     Bits[I / 64] = NewBits;
      |     ~~~~~~~~~~~~~^~~~~~~~~
/usr/lib/llvm/roc/include/llvm/MC/SubtargetFeature.h:82:12: error: binding reference of type ‘llvm::FeatureBitset&’ to ‘const llvm::FeatureBitset’ discards qualifiers
   82 |     return *this;
      |            ^~~~~
/usr/lib/llvm/roc/include/llvm/MC/SubtargetFeature.h:83:3: error: body of ‘constexpr’ function ‘constexpr llvm::FeatureBitset& llvm::FeatureBitset::flip(unsigned int) const’ not a return-statement
   83 |   }
      |   ^
/usr/lib/llvm/roc/include/llvm/MC/SubtargetFeature.h: In member function ‘constexpr bool llvm::FeatureBitset::operator[](unsigned int) const’:
/usr/lib/llvm/roc/include/llvm/MC/SubtargetFeature.h:88:3: error: body of ‘constexpr’ function ‘constexpr bool llvm::FeatureBitset::operator[](unsigned int) const’ not a return-statement
   88 |   }
      |   ^
/usr/lib/llvm/roc/include/llvm/MC/SubtargetFeature.h: In member function ‘constexpr llvm::FeatureBitset& llvm::FeatureBitset::operator^=(const llvm::FeatureBitset&) const’:
/usr/lib/llvm/roc/include/llvm/MC/SubtargetFeature.h:107:15: error: assignment of read-only location ‘((const llvm::FeatureBitset*)this)->llvm::FeatureBitset::Bits[I]’
  107 |       Bits[I] ^= RHS.Bits[I];
      |       ~~~~~~~~^~~~~~~~~~~~~~
/usr/lib/llvm/roc/include/llvm/MC/SubtargetFeature.h:109:12: error: binding reference of type ‘llvm::FeatureBitset&’ to ‘const llvm::FeatureBitset’ discards qualifiers
  109 |     return *this;
      |            ^~~~~
/usr/lib/llvm/roc/include/llvm/MC/SubtargetFeature.h:110:3: error: body of ‘constexpr’ function ‘constexpr llvm::FeatureBitset& llvm::FeatureBitset::operator^=(const llvm::FeatureBitset&) const’ not a return-statement
  110 |   }
      |   ^
/usr/lib/llvm/roc/include/llvm/MC/SubtargetFeature.h: In member function ‘constexpr llvm::FeatureBitset llvm::FeatureBitset::operator^(const llvm::FeatureBitset&) const’:
/usr/lib/llvm/roc/include/llvm/MC/SubtargetFeature.h:115:3: error: body of ‘constexpr’ function ‘constexpr llvm::FeatureBitset llvm::FeatureBitset::operator^(const llvm::FeatureBitset&) const’ not a return-statement
  115 |   }
      |   ^
/usr/lib/llvm/roc/include/llvm/MC/SubtargetFeature.h: In member function ‘constexpr llvm::FeatureBitset& llvm::FeatureBitset::operator&=(const llvm::FeatureBitset&) const’:
/usr/lib/llvm/roc/include/llvm/MC/SubtargetFeature.h:119:15: error: assignment of read-only location ‘((const llvm::FeatureBitset*)this)->llvm::FeatureBitset::Bits[I]’
  119 |       Bits[I] &= RHS.Bits[I];
      |       ~~~~~~~~^~~~~~~~~~~~~~
/usr/lib/llvm/roc/include/llvm/MC/SubtargetFeature.h:121:12: error: binding reference of type ‘llvm::FeatureBitset&’ to ‘const llvm::FeatureBitset’ discards qualifiers
  121 |     return *this;
      |            ^~~~~
/usr/lib/llvm/roc/include/llvm/MC/SubtargetFeature.h:122:3: error: body of ‘constexpr’ function ‘constexpr llvm::FeatureBitset& llvm::FeatureBitset::operator&=(const llvm::FeatureBitset&) const’ not a return-statement
  122 |   }
      |   ^
/usr/lib/llvm/roc/include/llvm/MC/SubtargetFeature.h: In member function ‘constexpr llvm::FeatureBitset llvm::FeatureBitset::operator&(const llvm::FeatureBitset&) const’:
/usr/lib/llvm/roc/include/llvm/MC/SubtargetFeature.h:127:3: error: body of ‘constexpr’ function ‘constexpr llvm::FeatureBitset llvm::FeatureBitset::operator&(const llvm::FeatureBitset&) const’ not a return-statement
  127 |   }
      |   ^
/usr/lib/llvm/roc/include/llvm/MC/SubtargetFeature.h: In member function ‘constexpr llvm::FeatureBitset& llvm::FeatureBitset::operator|=(const llvm::FeatureBitset&) const’:
/usr/lib/llvm/roc/include/llvm/MC/SubtargetFeature.h:131:15: error: assignment of read-only location ‘((const llvm::FeatureBitset*)this)->llvm::FeatureBitset::Bits[I]’
  131 |       Bits[I] |= RHS.Bits[I];
      |       ~~~~~~~~^~~~~~~~~~~~~~
/usr/lib/llvm/roc/include/llvm/MC/SubtargetFeature.h:133:12: error: binding reference of type ‘llvm::FeatureBitset&’ to ‘const llvm::FeatureBitset’ discards qualifiers
  133 |     return *this;
      |            ^~~~~
/usr/lib/llvm/roc/include/llvm/MC/SubtargetFeature.h:134:3: error: body of ‘constexpr’ function ‘constexpr llvm::FeatureBitset& llvm::FeatureBitset::operator|=(const llvm::FeatureBitset&) const’ not a return-statement
  134 |   }
      |   ^
/usr/lib/llvm/roc/include/llvm/MC/SubtargetFeature.h: In member function ‘constexpr llvm::FeatureBitset llvm::FeatureBitset::operator|(const llvm::FeatureBitset&) const’:
/usr/lib/llvm/roc/include/llvm/MC/SubtargetFeature.h:139:3: error: body of ‘constexpr’ function ‘constexpr llvm::FeatureBitset llvm::FeatureBitset::operator|(const llvm::FeatureBitset&) const’ not a return-statement
  139 |   }
      |   ^
/usr/lib/llvm/roc/include/llvm/MC/SubtargetFeature.h: In member function ‘constexpr llvm::FeatureBitset llvm::FeatureBitset::operator~() const’:
/usr/lib/llvm/roc/include/llvm/MC/SubtargetFeature.h:146:3: error: body of ‘constexpr’ function ‘constexpr llvm::FeatureBitset llvm::FeatureBitset::operator~() const’ not a return-statement
  146 |   }
      |   ^
/usr/lib/llvm/roc/include/llvm/MC/SubtargetFeature.h: In constructor ‘constexpr llvm::FeatureBitArray::FeatureBitArray(const std::array<long unsigned int, 3>&)’:
/usr/lib/llvm/roc/include/llvm/MC/SubtargetFeature.h:168:24: error: call to non-‘constexpr’ function ‘llvm::FeatureBitset::FeatureBitset(const std::array<long unsigned int, 3>&)’
  168 |       : FeatureBitset(B) {}
      |                        ^
In file included from /usr/lib/llvm/roc/include/clang/AST/Type.h:48,
                 from /usr/lib/llvm/roc/include/clang/AST/DeclarationName.h:16,
                 from /usr/lib/llvm/roc/include/clang/AST/DeclBase.h:18,
                 from /usr/lib/llvm/roc/include/clang/AST/Decl.h:18,
                 from /usr/lib/llvm/roc/include/clang/AST/ASTTypeTraits.h:19,
                 from /usr/lib/llvm/roc/include/clang/AST/ASTContext.h:18,
                 from /usr/lib/llvm/roc/include/clang/Frontend/ASTUnit.h:17,
                 from /usr/lib/llvm/roc/include/clang/Frontend/FrontendAction.h:23,
                 from /usr/lib/llvm/roc/include/clang/CodeGen/CodeGenAction.h:12,
                 from /var/tmp/portage/dev-libs/rocm-opencl-driver-2.7.0/work/ROCm-OpenCL-Driver-roc-2.7.0/src/driver/AmdCompiler.cpp:47:
/usr/lib/llvm/roc/include/llvm/Support/TrailingObjects.h: In static member function ‘static void llvm::TrailingObjects<BaseTy, TrailingTys>::verifyTrailingObjectsAssertions()’:
/usr/lib/llvm/roc/include/llvm/Support/TrailingObjects.h:252:24: error: ‘is_final’ is not a member of ‘std’
  252 |     static_assert(std::is_final<BaseTy>(), "BaseTy must be final.");
      |                        ^~~~~~~~
/usr/lib/llvm/roc/include/llvm/Support/TrailingObjects.h:252:39: error: expected primary-expression before ‘>’ token
  252 |     static_assert(std::is_final<BaseTy>(), "BaseTy must be final.");
      |                                       ^
/usr/lib/llvm/roc/include/llvm/Support/TrailingObjects.h:252:41: error: expected primary-expression before ‘)’ token
  252 |     static_assert(std::is_final<BaseTy>(), "BaseTy must be final.");
      |                                         ^
In file included from /usr/lib/llvm/roc/include/llvm/Support/SourceMgr.h:20,
                 from /usr/lib/llvm/roc/include/llvm/Support/VirtualFileSystem.h:27,
                 from /var/tmp/portage/dev-libs/rocm-opencl-driver-2.7.0/work/ROCm-OpenCL-Driver-roc-2.7.0/src/driver/AmdCompiler.cpp:12:
/usr/lib/llvm/roc/include/llvm/ADT/PointerUnion.h: In instantiation of ‘constexpr const int llvm::pointer_union_detail::PointerUnionUIntTraits<const clang::Type*, const clang::ExtQuals*>::NumLowBitsAvailable’:
/usr/lib/llvm/roc/include/llvm/ADT/PointerIntPair.h:237:63:   required from ‘struct llvm::PointerLikeTypeTraits<llvm::PointerIntPair<void*, 1, int, llvm::pointer_union_detail::PointerUnionUIntTraits<const clang::Type*, const clang::ExtQuals*>, llvm::PointerIntPairInfo<void*, 1, llvm::pointer_union_detail::PointerUnionUIntTraits<const clang::Type*, const clang::ExtQuals*> > > >’
/usr/lib/llvm/roc/include/llvm/ADT/PointerUnion.h:271:24:   required from ‘constexpr const int llvm::PointerLikeTypeTraits<llvm::PointerUnion<const clang::Type*, const clang::ExtQuals*> >::NumLowBitsAvailable’
/usr/lib/llvm/roc/include/llvm/ADT/PointerIntPair.h:144:48:   required from ‘struct llvm::PointerIntPairInfo<llvm::PointerUnion<const clang::Type*, const clang::ExtQuals*>, 3, llvm::PointerLikeTypeTraits<llvm::PointerUnion<const clang::Type*, const clang::ExtQuals*> > >’
/usr/lib/llvm/roc/include/clang/AST/Type.h:970:29:   required from here
/usr/lib/llvm/roc/include/llvm/ADT/PointerUnion.h:93:72: error: ‘constexpr int llvm::pointer_union_detail::lowBitsAvailable() [with Ts = {const clang::Type*, const clang::ExtQuals*}]’ called in a constant expression
   93 |     static constexpr int NumLowBitsAvailable = lowBitsAvailable<PTs...>();
      |                                                ~~~~~~~~~~~~~~~~~~~~~~~~^~
/usr/lib/llvm/roc/include/llvm/ADT/PointerUnion.h:63:43: note: ‘constexpr int llvm::pointer_union_detail::lowBitsAvailable() [with Ts = {const clang::Type*, const clang::ExtQuals*}]’ is not usable as a ‘constexpr’ function because:
   63 |   template <typename... Ts> constexpr int lowBitsAvailable() {
      |                                           ^~~~~~~~~~~~~~~~
/usr/lib/llvm/roc/include/llvm/ADT/PointerUnion.h:64:25: error: call to non-‘constexpr’ function ‘_Tp std::min(std::initializer_list<_Tp>) [with _Tp = int]’
   64 |     return std::min<int>({PointerLikeTypeTraits<Ts>::NumLowBitsAvailable...});
      |            ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/lib/llvm/roc/include/llvm/ADT/PointerUnion.h:18,
                 from /usr/lib/llvm/roc/include/llvm/Support/SourceMgr.h:20,
                 from /usr/lib/llvm/roc/include/llvm/Support/VirtualFileSystem.h:27,
                 from /var/tmp/portage/dev-libs/rocm-opencl-driver-2.7.0/work/ROCm-OpenCL-Driver-roc-2.7.0/src/driver/AmdCompiler.cpp:12:
/usr/lib/llvm/roc/include/llvm/ADT/PointerIntPair.h: In instantiation of ‘struct llvm::PointerIntPairInfo<llvm::PointerUnion<const clang::Type*, const clang::ExtQuals*>, 3, llvm::PointerLikeTypeTraits<llvm::PointerUnion<const clang::Type*, const clang::ExtQuals*> > >’:
/usr/lib/llvm/roc/include/clang/AST/Type.h:970:29:   required from here
/usr/lib/llvm/roc/include/llvm/ADT/PointerIntPair.h:147:25: error: static assertion failed: PointerIntPair with integer size too large for pointer
  147 |   static_assert(IntBits <= PtrTraits::NumLowBitsAvailable,
      |                 ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/lib/llvm/roc/include/llvm/ADT/PointerIntPair.h:162:42: warning: left shift count >= width of type [-Wshift-count-overflow]
  162 |     ShiftedIntMask = (uintptr_t)(IntMask << IntShift)
      |                                 ~~~~~~~~~^~~~~~~~~~~~
/usr/lib/llvm/roc/include/llvm/ADT/PointerIntPair.h:162:42: error: right operand of shift expression ‘(7 << 18446744073709551613)’ is >= than the precision of the left operand [-fpermissive]
/usr/lib/llvm/roc/include/llvm/ADT/PointerIntPair.h:149:8: error: enumerator value for ‘ShiftedIntMask’ is not an integer constant
  149 |   enum : uintptr_t {
      |        ^
In file included from /usr/lib/llvm/roc/include/clang/AST/Expr.h:27,
                 from /usr/lib/llvm/roc/include/clang/AST/OpenMPClause.h:21,
                 from /usr/lib/llvm/roc/include/clang/AST/ASTTypeTraits.h:21,
                 from /usr/lib/llvm/roc/include/clang/AST/ASTContext.h:18,
                 from /usr/lib/llvm/roc/include/clang/Frontend/ASTUnit.h:17,
                 from /usr/lib/llvm/roc/include/clang/Frontend/FrontendAction.h:23,
                 from /usr/lib/llvm/roc/include/clang/CodeGen/CodeGenAction.h:12,
                 from /var/tmp/portage/dev-libs/rocm-opencl-driver-2.7.0/work/ROCm-OpenCL-Driver-roc-2.7.0/src/driver/AmdCompiler.cpp:47:
/usr/lib/llvm/roc/include/clang/Basic/SyncScope.h: In static member function ‘static std::unique_ptr<clang::AtomicScopeModel> clang::AtomicScopeModel::create(clang::AtomicScopeModelKind)’:
/usr/lib/llvm/roc/include/clang/Basic/SyncScope.h:147:17: error: ‘make_unique’ is not a member of ‘std’
  147 |     return std::make_unique<AtomicScopeOpenCLModel>();
      |                 ^~~~~~~~~~~
/usr/lib/llvm/roc/include/clang/Basic/SyncScope.h:1:1: note: ‘std::make_unique’ is defined in header ‘<memory>’; did you forget to ‘#include <memory>’?
  +++ |+#include <memory>
    1 | //===--- SyncScope.h - Atomic synchronization scopes ------------*- C++ -*-===//
/usr/lib/llvm/roc/include/clang/Basic/SyncScope.h:147:51: error: expected primary-expression before ‘>’ token
  147 |     return std::make_unique<AtomicScopeOpenCLModel>();
      |                                                   ^
/usr/lib/llvm/roc/include/clang/Basic/SyncScope.h:147:53: error: expected primary-expression before ‘)’ token
  147 |     return std::make_unique<AtomicScopeOpenCLModel>();
      |                                                     ^
In file included from /usr/lib/llvm/roc/include/clang/AST/TypeLoc.h:17,
                 from /usr/lib/llvm/roc/include/clang/AST/ASTTypeTraits.h:24,
                 from /usr/lib/llvm/roc/include/clang/AST/ASTContext.h:18,
                 from /usr/lib/llvm/roc/include/clang/Frontend/ASTUnit.h:17,
                 from /usr/lib/llvm/roc/include/clang/Frontend/FrontendAction.h:23,
                 from /usr/lib/llvm/roc/include/clang/CodeGen/CodeGenAction.h:12,
                 from /var/tmp/portage/dev-libs/rocm-opencl-driver-2.7.0/work/ROCm-OpenCL-Driver-roc-2.7.0/src/driver/AmdCompiler.cpp:47:
/usr/lib/llvm/roc/include/clang/AST/Attr.h: In static member function ‘static clang::ParamIdx clang::ParamIdx::deserialize(clang::ParamIdx::SerialType)’:
/usr/lib/llvm/roc/include/clang/AST/Attr.h:262:17: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
  262 |     ParamIdx P(*reinterpret_cast<ParamIdx *>(&S));
      |                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/lib/llvm/roc/include/clang/AST/Attr.h:262:17: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
In file included from /usr/lib/llvm/roc/include/llvm/PassRegistry.h:23,
                 from /usr/lib/llvm/roc/include/llvm/PassSupport.h:25,
                 from /usr/lib/llvm/roc/include/llvm/Pass.h:364,
                 from /usr/lib/llvm/roc/include/llvm/IR/DataLayout.h:28,
                 from /usr/lib/llvm/roc/include/clang/Basic/TargetInfo.h:29,
                 from /usr/lib/llvm/roc/include/clang/AST/ASTContext.h:44,
                 from /usr/lib/llvm/roc/include/clang/Frontend/ASTUnit.h:17,
                 from /usr/lib/llvm/roc/include/clang/Frontend/FrontendAction.h:23,
                 from /usr/lib/llvm/roc/include/clang/CodeGen/CodeGenAction.h:12,
                 from /var/tmp/portage/dev-libs/rocm-opencl-driver-2.7.0/work/ROCm-OpenCL-Driver-roc-2.7.0/src/driver/AmdCompiler.cpp:47:
/usr/lib/llvm/roc/include/llvm/Support/RWMutex.h: At global scope:
/usr/lib/llvm/roc/include/llvm/Support/RWMutex.h:101:8: error: ‘shared_timed_mutex’ in namespace ‘std’ does not name a type
  101 |   std::shared_timed_mutex impl;
      |        ^~~~~~~~~~~~~~~~~~
/usr/lib/llvm/roc/include/llvm/Support/RWMutex.h:101:3: note: ‘std::shared_timed_mutex’ is only available from C++14 onwards
  101 |   std::shared_timed_mutex impl;
      |   ^~~
/usr/lib/llvm/roc/include/llvm/Support/RWMutex.h: In member function ‘bool llvm::sys::SmartRWMutex<mt_only>::lock_shared()’:
/usr/lib/llvm/roc/include/llvm/Support/RWMutex.h:112:7: error: ‘impl’ was not declared in this scope
  112 |       impl.lock_shared();
      |       ^~~~
/usr/lib/llvm/roc/include/llvm/Support/RWMutex.h: In member function ‘bool llvm::sys::SmartRWMutex<mt_only>::unlock_shared()’:
/usr/lib/llvm/roc/include/llvm/Support/RWMutex.h:124:7: error: ‘impl’ was not declared in this scope
  124 |       impl.unlock_shared();
      |       ^~~~
/usr/lib/llvm/roc/include/llvm/Support/RWMutex.h: In member function ‘bool llvm::sys::SmartRWMutex<mt_only>::lock()’:
/usr/lib/llvm/roc/include/llvm/Support/RWMutex.h:137:7: error: ‘impl’ was not declared in this scope
  137 |       impl.lock();
      |       ^~~~
/usr/lib/llvm/roc/include/llvm/Support/RWMutex.h: In member function ‘bool llvm::sys::SmartRWMutex<mt_only>::unlock()’:
/usr/lib/llvm/roc/include/llvm/Support/RWMutex.h:150:7: error: ‘impl’ was not declared in this scope
  150 |       impl.unlock();
      |       ^~~~
/usr/lib/llvm/roc/include/llvm/Support/RWMutex.h: At global scope:
/usr/lib/llvm/roc/include/llvm/Support/RWMutex.h:167:38: error: ISO C++ forbids declaration of ‘type name’ with no type [-fpermissive]
  167 | using SmartScopedReader = const std::shared_lock<SmartRWMutex<mt_only>>;
      |                                      ^~~~~~~~~~~
/usr/lib/llvm/roc/include/llvm/Support/RWMutex.h:167:32: error: expected ‘;’
  167 | using SmartScopedReader = const std::shared_lock<SmartRWMutex<mt_only>>;
      |                                ^~~~
      |                                ;
/usr/lib/llvm/roc/include/llvm/Support/RWMutex.h:179:9: error: ‘SmartScopedReader’ does not name a type
  179 | typedef SmartScopedReader<false> ScopedReader;
      |         ^~~~~~~~~~~~~~~~~
In file included from /usr/lib/llvm/roc/include/clang/Lex/Preprocessor.h:48,
                 from /usr/lib/llvm/roc/include/clang/Frontend/PrecompiledPreamble.h:17,
                 from /usr/lib/llvm/roc/include/clang/Frontend/ASTUnit.h:30,
                 from /usr/lib/llvm/roc/include/clang/Frontend/FrontendAction.h:23,
                 from /usr/lib/llvm/roc/include/clang/CodeGen/CodeGenAction.h:12,
                 from /var/tmp/portage/dev-libs/rocm-opencl-driver-2.7.0/work/ROCm-OpenCL-Driver-roc-2.7.0/src/driver/AmdCompiler.cpp:47:
/usr/lib/llvm/roc/include/llvm/Support/Registry.h: In static member function ‘static std::unique_ptr<ErrT> llvm::Registry<T>::Add<V>::CtorFn()’:
/usr/lib/llvm/roc/include/llvm/Support/Registry.h:118:56: error: ‘make_unique’ is not a member of ‘std’
  118 |       static std::unique_ptr<T> CtorFn() { return std::make_unique<V>(); }
      |                                                        ^~~~~~~~~~~
/usr/lib/llvm/roc/include/llvm/Support/Registry.h:21:1: note: ‘std::make_unique’ is defined in header ‘<memory>’; did you forget to ‘#include <memory>’?
   20 | #include "llvm/Support/DynamicLibrary.h"
  +++ |+#include <memory>
   21 | #include <memory>
/usr/lib/llvm/roc/include/llvm/Support/Registry.h:118:69: error: expected primary-expression before ‘>’ token
  118 |       static std::unique_ptr<T> CtorFn() { return std::make_unique<V>(); }
      |                                                                     ^
/usr/lib/llvm/roc/include/llvm/Support/Registry.h:118:71: error: expected primary-expression before ‘)’ token
  118 |       static std::unique_ptr<T> CtorFn() { return std::make_unique<V>(); }
      |                                                                       ^
In file included from /usr/lib/llvm/roc/include/clang/Frontend/PrecompiledPreamble.h:17,
                 from /usr/lib/llvm/roc/include/clang/Frontend/ASTUnit.h:30,
                 from /usr/lib/llvm/roc/include/clang/Frontend/FrontendAction.h:23,
                 from /usr/lib/llvm/roc/include/clang/CodeGen/CodeGenAction.h:12,
                 from /var/tmp/portage/dev-libs/rocm-opencl-driver-2.7.0/work/ROCm-OpenCL-Driver-roc-2.7.0/src/driver/AmdCompiler.cpp:47:
/usr/lib/llvm/roc/include/clang/Lex/Preprocessor.h: In member function ‘void clang::Preprocessor::addPPCallbacks(std::unique_ptr<clang::PPCallbacks>)’:
/usr/lib/llvm/roc/include/clang/Lex/Preprocessor.h:997:16: error: ‘make_unique’ is not a member of ‘std’
  997 |       C = std::make_unique<PPChainedCallbacks>(std::move(C),
      |                ^~~~~~~~~~~
/usr/lib/llvm/roc/include/clang/Lex/Preprocessor.h:50:1: note: ‘std::make_unique’ is defined in header ‘<memory>’; did you forget to ‘#include <memory>’?
   49 | #include <cassert>
  +++ |+#include <memory>
   50 | #include <cstddef>
/usr/lib/llvm/roc/include/clang/Lex/Preprocessor.h:997:46: error: expected primary-expression before ‘>’ token
  997 |       C = std::make_unique<PPChainedCallbacks>(std::move(C),
      |                                              ^
/usr/lib/llvm/roc/include/clang/Lex/Preprocessor.h: In member function ‘void clang::Preprocessor::EnterToken(const clang::Token&, bool)’:
/usr/lib/llvm/roc/include/clang/Lex/Preprocessor.h:1474:27: error: ‘make_unique’ is not a member of ‘std’
 1474 |       auto TokCopy = std::make_unique<Token[]>(1);
      |                           ^~~~~~~~~~~
/usr/lib/llvm/roc/include/clang/Lex/Preprocessor.h:1474:27: note: ‘std::make_unique’ is defined in header ‘<memory>’; did you forget to ‘#include <memory>’?
/usr/lib/llvm/roc/include/clang/Lex/Preprocessor.h:1474:44: error: expected primary-expression before ‘[’ token
 1474 |       auto TokCopy = std::make_unique<Token[]>(1);
      |                                            ^
/usr/lib/llvm/roc/include/clang/Lex/Preprocessor.h:1474:45: error: expected primary-expression before ‘]’ token
 1474 |       auto TokCopy = std::make_unique<Token[]>(1);
      |                                             ^
In file included from /usr/lib/llvm/roc/include/clang/Frontend/FrontendAction.h:23,
                 from /usr/lib/llvm/roc/include/clang/CodeGen/CodeGenAction.h:12,
                 from /var/tmp/portage/dev-libs/rocm-opencl-driver-2.7.0/work/ROCm-OpenCL-Driver-roc-2.7.0/src/driver/AmdCompiler.cpp:47:
/usr/lib/llvm/roc/include/clang/Frontend/ASTUnit.h: In member function ‘clang::CodeCompletionTUInfo& clang::ASTUnit::getCodeCompletionTUInfo()’:
/usr/lib/llvm/roc/include/clang/Frontend/ASTUnit.h:318:23: error: ‘make_unique’ is not a member of ‘std’
  318 |       CCTUInfo = std::make_unique<CodeCompletionTUInfo>(
      |                       ^~~~~~~~~~~
/usr/lib/llvm/roc/include/clang/Frontend/ASTUnit.h:42:1: note: ‘std::make_unique’ is defined in header ‘<memory>’; did you forget to ‘#include <memory>’?
   41 | #include <cassert>
  +++ |+#include <memory>
   42 | #include <cstddef>
/usr/lib/llvm/roc/include/clang/Frontend/ASTUnit.h:318:55: error: expected primary-expression before ‘>’ token
  318 |       CCTUInfo = std::make_unique<CodeCompletionTUInfo>(
      |                                                       ^
In file included from /usr/lib/llvm/roc/include/llvm/IR/Module.h:23,
                 from /usr/lib/llvm/roc/include/llvm/IR/ModuleSummaryIndex.h:27,
                 from /usr/lib/llvm/roc/include/clang/CodeGen/BackendUtil.h:13,
                 from /var/tmp/portage/dev-libs/rocm-opencl-driver-2.7.0/work/ROCm-OpenCL-Driver-roc-2.7.0/src/driver/AmdCompiler.cpp:48:
/usr/lib/llvm/roc/include/llvm/IR/Attributes.h: At global scope:
/usr/lib/llvm/roc/include/llvm/IR/Attributes.h:708:47: error: wrong number of template arguments (0, should be 1)
  708 |   std::map<std::string, std::string, std::less<>> TargetDepAttrs;
      |                                               ^
In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/include/g++-v9/string:48,
                 from /var/tmp/portage/dev-libs/rocm-opencl-driver-2.7.0/work/ROCm-OpenCL-Driver-roc-2.7.0/src/driver/AmdCompiler.h:4,
                 from /var/tmp/portage/dev-libs/rocm-opencl-driver-2.7.0/work/ROCm-OpenCL-Driver-roc-2.7.0/src/driver/AmdCompiler.cpp:1:
/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/include/g++-v9/bits/stl_function.h:381:12: note: provided for ‘template<class _Tp> struct std::less’
  381 |     struct less : public binary_function<_Tp, _Tp, bool>
      |            ^~~~
In file included from /usr/lib/llvm/roc/include/llvm/IR/Module.h:23,
                 from /usr/lib/llvm/roc/include/llvm/IR/ModuleSummaryIndex.h:27,
                 from /usr/lib/llvm/roc/include/clang/CodeGen/BackendUtil.h:13,
                 from /var/tmp/portage/dev-libs/rocm-opencl-driver-2.7.0/work/ROCm-OpenCL-Driver-roc-2.7.0/src/driver/AmdCompiler.cpp:48:
/usr/lib/llvm/roc/include/llvm/IR/Attributes.h:708:48: error: template argument 3 is invalid
  708 |   std::map<std::string, std::string, std::less<>> TargetDepAttrs;
      |                                                ^~
/usr/lib/llvm/roc/include/llvm/IR/Attributes.h: In member function ‘llvm::AttrBuilder::td_iterator llvm::AttrBuilder::td_begin()’:
/usr/lib/llvm/roc/include/llvm/IR/Attributes.h:837:50: error: request for member ‘begin’ in ‘((llvm::AttrBuilder*)this)->llvm::AttrBuilder::TargetDepAttrs’, which is of non-class type ‘int’
  837 |   td_iterator td_begin() { return TargetDepAttrs.begin(); }
      |                                                  ^~~~~
/usr/lib/llvm/roc/include/llvm/IR/Attributes.h: In member function ‘llvm::AttrBuilder::td_iterator llvm::AttrBuilder::td_end()’:
/usr/lib/llvm/roc/include/llvm/IR/Attributes.h:838:48: error: request for member ‘end’ in ‘((llvm::AttrBuilder*)this)->llvm::AttrBuilder::TargetDepAttrs’, which is of non-class type ‘int’
  838 |   td_iterator td_end() { return TargetDepAttrs.end(); }
      |                                                ^~~
/usr/lib/llvm/roc/include/llvm/IR/Attributes.h: In member function ‘llvm::AttrBuilder::td_const_iterator llvm::AttrBuilder::td_begin() const’:
/usr/lib/llvm/roc/include/llvm/IR/Attributes.h:840:62: error: request for member ‘begin’ in ‘((const llvm::AttrBuilder*)this)->llvm::AttrBuilder::TargetDepAttrs’, which is of non-class type ‘const int’
  840 |   td_const_iterator td_begin() const { return TargetDepAttrs.begin(); }
      |                                                              ^~~~~
/usr/lib/llvm/roc/include/llvm/IR/Attributes.h: In member function ‘llvm::AttrBuilder::td_const_iterator llvm::AttrBuilder::td_end() const’:
/usr/lib/llvm/roc/include/llvm/IR/Attributes.h:841:60: error: request for member ‘end’ in ‘((const llvm::AttrBuilder*)this)->llvm::AttrBuilder::TargetDepAttrs’, which is of non-class type ‘const int’
  841 |   td_const_iterator td_end() const { return TargetDepAttrs.end(); }
      |                                                            ^~~
/usr/lib/llvm/roc/include/llvm/IR/Attributes.h: In member function ‘bool llvm::AttrBuilder::td_empty() const’:
/usr/lib/llvm/roc/include/llvm/IR/Attributes.h:849:49: error: request for member ‘empty’ in ‘((const llvm::AttrBuilder*)this)->llvm::AttrBuilder::TargetDepAttrs’, which is of non-class type ‘const int’
  849 |   bool td_empty() const { return TargetDepAttrs.empty(); }
      |                                                 ^~~~~
In file included from /usr/lib/llvm/roc/include/llvm/IR/TrackingMDRef.h:16,
                 from /usr/lib/llvm/roc/include/llvm/IR/DebugLoc.h:17,
                 from /usr/lib/llvm/roc/include/llvm/IR/Instruction.h:21,
                 from /usr/lib/llvm/roc/include/llvm/IR/BasicBlock.h:22,
                 from /usr/lib/llvm/roc/include/llvm/IR/Function.h:27,
                 from /usr/lib/llvm/roc/include/llvm/IR/Module.h:26,
                 from /usr/lib/llvm/roc/include/llvm/IR/ModuleSummaryIndex.h:27,
                 from /usr/lib/llvm/roc/include/clang/CodeGen/BackendUtil.h:13,
                 from /var/tmp/portage/dev-libs/rocm-opencl-driver-2.7.0/work/ROCm-OpenCL-Driver-roc-2.7.0/src/driver/AmdCompiler.cpp:48:
/usr/lib/llvm/roc/include/llvm/IR/Metadata.h: In member function ‘llvm::ReplaceableMetadataImpl* llvm::ContextAndReplaceableUses::getOrCreateReplaceableUses()’:
/usr/lib/llvm/roc/include/llvm/IR/Metadata.h:809:28: error: ‘make_unique’ is not a member of ‘std’
  809 |       makeReplaceable(std::make_unique<ReplaceableMetadataImpl>(getContext()));
      |                            ^~~~~~~~~~~
/usr/lib/llvm/roc/include/llvm/IR/Metadata.h:160:1: note: ‘std::make_unique’ is defined in header ‘<memory>’; did you forget to ‘#include <memory>’?
  159 | #include "llvm/IR/Metadata.def"
  +++ |+#include <memory>
  160 | 
/usr/lib/llvm/roc/include/llvm/IR/Metadata.h:809:63: error: expected primary-expression before ‘>’ token
  809 |       makeReplaceable(std::make_unique<ReplaceableMetadataImpl>(getContext()));
      |                                                               ^
In file included from /usr/lib/llvm/roc/include/clang/CodeGen/BackendUtil.h:13,
                 from /var/tmp/portage/dev-libs/rocm-opencl-driver-2.7.0/work/ROCm-OpenCL-Driver-roc-2.7.0/src/driver/AmdCompiler.cpp:48:
/usr/lib/llvm/roc/include/llvm/IR/ModuleSummaryIndex.h: In constructor ‘llvm::FunctionSummary::FunctionSummary(llvm::GlobalValueSummary::GVFlags, unsigned int, llvm::FunctionSummary::FFlags, uint64_t, std::vector<llvm::ValueInfo>, std::vector<std::pair<llvm::ValueInfo, llvm::CalleeInfo> >, std::vector<long unsigned int>, std::vector<llvm::FunctionSummary::VFuncId>, std::vector<llvm::FunctionSummary::VFuncId>, std::vector<llvm::FunctionSummary::ConstVCall>, std::vector<llvm::FunctionSummary::ConstVCall>)’:
/usr/lib/llvm/roc/include/llvm/IR/ModuleSummaryIndex.h:606:22: error: ‘make_unique’ is not a member of ‘std’
  606 |       TIdInfo = std::make_unique<TypeIdInfo>(TypeIdInfo{
      |                      ^~~~~~~~~~~
/usr/lib/llvm/roc/include/llvm/IR/ModuleSummaryIndex.h:35:1: note: ‘std::make_unique’ is defined in header ‘<memory>’; did you forget to ‘#include <memory>’?
   34 | #include <cassert>
  +++ |+#include <memory>
   35 | #include <cstddef>
/usr/lib/llvm/roc/include/llvm/IR/ModuleSummaryIndex.h:606:44: error: expected primary-expression before ‘>’ token
  606 |       TIdInfo = std::make_unique<TypeIdInfo>(TypeIdInfo{
      |                                            ^
/usr/lib/llvm/roc/include/llvm/IR/ModuleSummaryIndex.h: In member function ‘void llvm::FunctionSummary::addTypeTest(llvm::GlobalValue::GUID)’:
/usr/lib/llvm/roc/include/llvm/IR/ModuleSummaryIndex.h:685:22: error: ‘make_unique’ is not a member of ‘std’
  685 |       TIdInfo = std::make_unique<TypeIdInfo>();
      |                      ^~~~~~~~~~~
/usr/lib/llvm/roc/include/llvm/IR/ModuleSummaryIndex.h:685:22: note: ‘std::make_unique’ is defined in header ‘<memory>’; did you forget to ‘#include <memory>’?
/usr/lib/llvm/roc/include/llvm/IR/ModuleSummaryIndex.h:685:44: error: expected primary-expression before ‘>’ token
  685 |       TIdInfo = std::make_unique<TypeIdInfo>();
      |                                            ^
/usr/lib/llvm/roc/include/llvm/IR/ModuleSummaryIndex.h:685:46: error: expected primary-expression before ‘)’ token
  685 |       TIdInfo = std::make_unique<TypeIdInfo>();
      |                                              ^
/usr/lib/llvm/roc/include/llvm/IR/ModuleSummaryIndex.h: In member function ‘void llvm::GlobalVarSummary::setVTableFuncs(llvm::VTableFuncList)’:
/usr/lib/llvm/roc/include/llvm/IR/ModuleSummaryIndex.h:785:24: error: ‘make_unique’ is not a member of ‘std’
  785 |     VTableFuncs = std::make_unique<VTableFuncList>(std::move(Funcs));
      |                        ^~~~~~~~~~~
/usr/lib/llvm/roc/include/llvm/IR/ModuleSummaryIndex.h:785:24: note: ‘std::make_unique’ is defined in header ‘<memory>’; did you forget to ‘#include <memory>’?
/usr/lib/llvm/roc/include/llvm/IR/ModuleSummaryIndex.h:785:50: error: expected primary-expression before ‘>’ token
  785 |     VTableFuncs = std::make_unique<VTableFuncList>(std::move(Funcs));
      |                                                  ^
/usr/lib/llvm/roc/include/llvm/IR/ModuleSummaryIndex.h: In static member function ‘static llvm::GraphTraits<llvm::ValueInfo>::NodeRef llvm::GraphTraits<llvm::ModuleSummaryIndex*>::getEntryNode(llvm::ModuleSummaryIndex*)’:
/usr/lib/llvm/roc/include/llvm/IR/ModuleSummaryIndex.h:1422:14: error: ‘make_unique’ is not a member of ‘std’
 1422 |         std::make_unique<FunctionSummary>(I->calculateCallGraphRoot());
      |              ^~~~~~~~~~~
/usr/lib/llvm/roc/include/llvm/IR/ModuleSummaryIndex.h:1422:14: note: ‘std::make_unique’ is defined in header ‘<memory>’; did you forget to ‘#include <memory>’?
/usr/lib/llvm/roc/include/llvm/IR/ModuleSummaryIndex.h:1422:41: error: expected primary-expression before ‘>’ token
 1422 |         std::make_unique<FunctionSummary>(I->calculateCallGraphRoot());
      |                                         ^
In file included from /usr/lib/llvm/roc/include/llvm/IR/PassInstrumentation.h:56,
                 from /usr/lib/llvm/roc/include/llvm/IR/PassManager.h:46,
                 from /usr/lib/llvm/roc/include/llvm/IR/Verifier.h:24,
                 from /var/tmp/portage/dev-libs/rocm-opencl-driver-2.7.0/work/ROCm-OpenCL-Driver-roc-2.7.0/src/driver/AmdCompiler.cpp:53:
/usr/lib/llvm/roc/include/llvm/ADT/Any.h: In member function ‘std::unique_ptr<llvm::Any::StorageBase> llvm::Any::StorageImpl<T>::clone() const’:
/usr/lib/llvm/roc/include/llvm/ADT/Any.h:41:19: error: ‘make_unique’ is not a member of ‘std’
   41 |       return std::make_unique<StorageImpl<T>>(Value);
      |                   ^~~~~~~~~~~
/usr/lib/llvm/roc/include/llvm/ADT/Any.h:21:1: note: ‘std::make_unique’ is defined in header ‘<memory>’; did you forget to ‘#include <memory>’?
   20 | #include <cassert>
  +++ |+#include <memory>
   21 | #include <memory>
/usr/lib/llvm/roc/include/llvm/ADT/Any.h:41:44: error: expected primary-expression before ‘>’ token
   41 |       return std::make_unique<StorageImpl<T>>(Value);
      |                                            ^~
/usr/lib/llvm/roc/include/llvm/ADT/Any.h: In constructor ‘llvm::Any::Any(T&&)’:
/usr/lib/llvm/roc/include/llvm/ADT/Any.h:81:20: error: ‘make_unique’ is not a member of ‘std’
   81 |     Storage = std::make_unique<StorageImpl<U>>(std::forward<T>(Value));
      |                    ^~~~~~~~~~~
/usr/lib/llvm/roc/include/llvm/ADT/Any.h:81:20: note: ‘std::make_unique’ is defined in header ‘<memory>’; did you forget to ‘#include <memory>’?
/usr/lib/llvm/roc/include/llvm/ADT/Any.h:81:45: error: expected primary-expression before ‘>’ token
   81 |     Storage = std::make_unique<StorageImpl<U>>(std::forward<T>(Value));
      |                                             ^~
In file included from /usr/lib/llvm/roc/include/llvm/IR/PassManager.h:47,
                 from /usr/lib/llvm/roc/include/llvm/IR/Verifier.h:24,
                 from /var/tmp/portage/dev-libs/rocm-opencl-driver-2.7.0/work/ROCm-OpenCL-Driver-roc-2.7.0/src/driver/AmdCompiler.cpp:53:
/usr/lib/llvm/roc/include/llvm/IR/PassManagerInternal.h: In member function ‘std::unique_ptr<llvm::detail::AnalysisResultConcept<IRUnitT, PreservedAnalysesT, InvalidatorT> > llvm::detail::AnalysisPassModel<IRUnitT, PassT, PreservedAnalysesT, InvalidatorT, ExtraArgTs>::run(IRUnitT&, llvm::AnalysisManager<IRUnitT, ExtraArgTs ...>&, ExtraArgTs ...)’:
/usr/lib/llvm/roc/include/llvm/IR/PassManagerInternal.h:292:17: error: ‘make_unique’ is not a member of ‘std’
  292 |     return std::make_unique<ResultModelT>(
      |                 ^~~~~~~~~~~
/usr/lib/llvm/roc/include/llvm/IR/PassManagerInternal.h:1:1: note: ‘std::make_unique’ is defined in header ‘<memory>’; did you forget to ‘#include <memory>’?
  +++ |+#include <memory>
    1 | //===- PassManager internal APIs and implementation details -----*- C++ -*-===//
/usr/lib/llvm/roc/include/llvm/IR/PassManagerInternal.h:292:41: error: expected primary-expression before ‘>’ token
  292 |     return std::make_unique<ResultModelT>(
      |                                         ^
In file included from /usr/lib/llvm/roc/include/llvm/IR/Verifier.h:24,
                 from /var/tmp/portage/dev-libs/rocm-opencl-driver-2.7.0/work/ROCm-OpenCL-Driver-roc-2.7.0/src/driver/AmdCompiler.cpp:53:
/usr/lib/llvm/roc/include/llvm/IR/PassManager.h: At global scope:
/usr/lib/llvm/roc/include/llvm/IR/PassManager.h:421:35: error: ‘std::index_sequence’ has not been declared
  421 |                              std::index_sequence<Ns...>) {
      |                                   ^~~~~~~~~~~~~~
/usr/lib/llvm/roc/include/llvm/IR/PassManager.h:421:49: error: expected ‘,’ or ‘...’ before ‘<’ token
  421 |                              std::index_sequence<Ns...>) {
      |                                                 ^
/usr/lib/llvm/roc/include/llvm/IR/PassManager.h: In function ‘typename PassT::Result llvm::detail::getAnalysisResult(llvm::AnalysisManager<IRUnitT, AnalysisArgTs ...>&, IRUnitT&, std::tuple<ArgTs ...>)’:
/usr/lib/llvm/roc/include/llvm/IR/PassManager.h:438:33: error: ‘index_sequence_for’ is not a member of ‘std’
  438 |                            std::index_sequence_for<AnalysisArgTs...>{});
      |                                 ^~~~~~~~~~~~~~~~~~
/usr/lib/llvm/roc/include/llvm/IR/PassManager.h:438:65: error: expected primary-expression before ‘...’ token
  438 |                            std::index_sequence_for<AnalysisArgTs...>{});
      |                                                                 ^~~
/var/tmp/portage/dev-libs/rocm-opencl-driver-2.7.0/work/ROCm-OpenCL-Driver-roc-2.7.0/src/driver/AmdCompiler.cpp: In member function ‘std::unique_ptr<llvm::raw_fd_ostream> amd::opencl_driver::AMDGPUCompiler::GetAssemblerOutputStream(amd::opencl_driver::AMDGPUCompiler::AssemblerInvocation&, bool)’:
/var/tmp/portage/dev-libs/rocm-opencl-driver-2.7.0/work/ROCm-OpenCL-Driver-roc-2.7.0/src/driver/AmdCompiler.cpp:486:20: error: ‘make_unique’ is not a member of ‘llvm’
  486 |   auto Out = llvm::make_unique<raw_fd_ostream>(Opts.OutputPath, EC, (Binary ? sys::fs::F_None : sys::fs::F_Text));
      |                    ^~~~~~~~~~~
/var/tmp/portage/dev-libs/rocm-opencl-driver-2.7.0/work/ROCm-OpenCL-Driver-roc-2.7.0/src/driver/AmdCompiler.cpp:486:46: error: expected primary-expression before ‘>’ token
  486 |   auto Out = llvm::make_unique<raw_fd_ostream>(Opts.OutputPath, EC, (Binary ? sys::fs::F_None : sys::fs::F_Text));
      |                                              ^
/var/tmp/portage/dev-libs/rocm-opencl-driver-2.7.0/work/ROCm-OpenCL-Driver-roc-2.7.0/src/driver/AmdCompiler.cpp:486:53: warning: left operand of comma operator has no effect [-Wunused-value]
  486 |   auto Out = llvm::make_unique<raw_fd_ostream>(Opts.OutputPath, EC, (Binary ? sys::fs::F_None : sys::fs::F_Text));
      |                                                ~~~~~^~~~~~~~~~
/var/tmp/portage/dev-libs/rocm-opencl-driver-2.7.0/work/ROCm-OpenCL-Driver-roc-2.7.0/src/driver/AmdCompiler.cpp:486:112: warning: right operand of comma operator has no effect [-Wunused-value]
  486 |   auto Out = llvm::make_unique<raw_fd_ostream>(Opts.OutputPath, EC, (Binary ? sys::fs::F_None : sys::fs::F_Text));
      |                                                                                                                ^
/var/tmp/portage/dev-libs/rocm-opencl-driver-2.7.0/work/ROCm-OpenCL-Driver-roc-2.7.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.7.0/work/ROCm-OpenCL-Driver-roc-2.7.0/src/driver/AmdCompiler.cpp:660:23: error: ‘make_unique’ is not a member of ‘llvm’
  660 |     auto FOut = llvm::make_unique<formatted_raw_ostream>(*Out);
      |                       ^~~~~~~~~~~
/var/tmp/portage/dev-libs/rocm-opencl-driver-2.7.0/work/ROCm-OpenCL-Driver-roc-2.7.0/src/driver/AmdCompiler.cpp:660:56: error: expected primary-expression before ‘>’ token
  660 |     auto FOut = llvm::make_unique<formatted_raw_ostream>(*Out);
      |                                                        ^
/var/tmp/portage/dev-libs/rocm-opencl-driver-2.7.0/work/ROCm-OpenCL-Driver-roc-2.7.0/src/driver/AmdCompiler.cpp:669:13: error: ‘make_unique’ was not declared in this scope
  669 |       BOS = make_unique<buffer_ostream>(*FDOS);
      |             ^~~~~~~~~~~
/var/tmp/portage/dev-libs/rocm-opencl-driver-2.7.0/work/ROCm-OpenCL-Driver-roc-2.7.0/src/driver/AmdCompiler.cpp:669:39: error: expected primary-expression before ‘>’ token
  669 |       BOS = make_unique<buffer_ostream>(*FDOS);
      |                                       ^
/var/tmp/portage/dev-libs/rocm-opencl-driver-2.7.0/work/ROCm-OpenCL-Driver-roc-2.7.0/src/driver/AmdCompiler.cpp: In member function ‘virtual bool amd::opencl_driver::AMDGPUCompiler::LinkLLVMBitcode(const std::vector<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.7.0/work/ROCm-OpenCL-Driver-roc-2.7.0/src/driver/AmdCompiler.cpp:1137:15: error: ‘make_unique’ is not a member of ‘llvm’
 1137 |         llvm::make_unique<AMDGPUCompilerDiagnosticHandler>(this), true);
      |               ^~~~~~~~~~~
/var/tmp/portage/dev-libs/rocm-opencl-driver-2.7.0/work/ROCm-OpenCL-Driver-roc-2.7.0/src/driver/AmdCompiler.cpp:1137:58: error: expected primary-expression before ‘>’ token
 1137 |         llvm::make_unique<AMDGPUCompilerDiagnosticHandler>(this), true);
      |                                                          ^
/var/tmp/portage/dev-libs/rocm-opencl-driver-2.7.0/work/ROCm-OpenCL-Driver-roc-2.7.0/src/driver/AmdCompiler.cpp:1138:22: error: ‘make_unique’ was not declared in this scope
 1138 |     auto Composite = make_unique<llvm::Module>("composite", context);
      |                      ^~~~~~~~~~~
/var/tmp/portage/dev-libs/rocm-opencl-driver-2.7.0/work/ROCm-OpenCL-Driver-roc-2.7.0/src/driver/AmdCompiler.cpp:1138:46: error: expected primary-expression before ‘>’ token
 1138 |     auto Composite = make_unique<llvm::Module>("composite", context);
      |                                              ^
/var/tmp/portage/dev-libs/rocm-opencl-driver-2.7.0/work/ROCm-OpenCL-Driver-roc-2.7.0/src/driver/AmdCompiler.cpp:1138:48: warning: left operand of comma operator has no effect [-Wunused-value]
 1138 |     auto Composite = make_unique<llvm::Module>("composite", context);
      |                                                ^~~~~~~~~~~
/var/tmp/portage/dev-libs/rocm-opencl-driver-2.7.0/work/ROCm-OpenCL-Driver-roc-2.7.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.7.0/work/ROCm-OpenCL-Driver-roc-2.7.0/src/driver/AmdCompiler.cpp:1317:15: error: ‘make_unique’ was not declared in this scope
 1317 |   auto FOut = make_unique<formatted_raw_ostream>(FO);
      |               ^~~~~~~~~~~
/var/tmp/portage/dev-libs/rocm-opencl-driver-2.7.0/work/ROCm-OpenCL-Driver-roc-2.7.0/src/driver/AmdCompiler.cpp:1317:48: error: expected primary-expression before ‘>’ token
 1317 |   auto FOut = make_unique<formatted_raw_ostream>(FO);
      |                                                ^
In file included from /usr/lib/llvm/roc/include/llvm/Support/SourceMgr.h:20,
                 from /usr/lib/llvm/roc/include/llvm/Support/VirtualFileSystem.h:27,
                 from /var/tmp/portage/dev-libs/rocm-opencl-driver-2.7.0/work/ROCm-OpenCL-Driver-roc-2.7.0/src/driver/AmdCompiler.cpp:12:
/usr/lib/llvm/roc/include/llvm/ADT/PointerUnion.h: In instantiation of ‘constexpr const int llvm::pointer_union_detail::PointerUnionUIntTraits<clang::TypeSourceInfo*, clang::TypedefNameDecl::ModedTInfo*>::NumLowBitsAvailable’:
/usr/lib/llvm/roc/include/llvm/ADT/PointerIntPair.h:237:63:   required from ‘struct llvm::PointerLikeTypeTraits<llvm::PointerIntPair<void*, 1, int, llvm::pointer_union_detail::PointerUnionUIntTraits<clang::TypeSourceInfo*, clang::TypedefNameDecl::ModedTInfo*>, llvm::PointerIntPairInfo<void*, 1, llvm::pointer_union_detail::PointerUnionUIntTraits<clang::TypeSourceInfo*, clang::TypedefNameDecl::ModedTInfo*> > > >’
/usr/lib/llvm/roc/include/llvm/ADT/PointerUnion.h:271:24:   required from ‘constexpr const int llvm::PointerLikeTypeTraits<llvm::PointerUnion<clang::TypeSourceInfo*, clang::TypedefNameDecl::ModedTInfo*> >::NumLowBitsAvailable’
/usr/lib/llvm/roc/include/llvm/ADT/PointerIntPair.h:144:48:   required from ‘struct llvm::PointerIntPairInfo<llvm::PointerUnion<clang::TypeSourceInfo*, clang::TypedefNameDecl::ModedTInfo*>, 2, llvm::PointerLikeTypeTraits<llvm::PointerUnion<clang::TypeSourceInfo*, clang::TypedefNameDecl::ModedTInfo*> > >’
/usr/lib/llvm/roc/include/llvm/ADT/PointerIntPair.h:58:57:   required from ‘PointerTy llvm::PointerIntPair<PointerTy, IntBits, IntType, PtrTraits, Info>::getPointer() const [with PointerTy = llvm::PointerUnion<clang::TypeSourceInfo*, clang::TypedefNameDecl::ModedTInfo*>; unsigned int IntBits = 2; IntType = unsigned int; PtrTraits = llvm::PointerLikeTypeTraits<llvm::PointerUnion<clang::TypeSourceInfo*, clang::TypedefNameDecl::ModedTInfo*> >; Info = llvm::PointerIntPairInfo<llvm::PointerUnion<clang::TypeSourceInfo*, clang::TypedefNameDecl::ModedTInfo*>, 2, llvm::PointerLikeTypeTraits<llvm::PointerUnion<clang::TypeSourceInfo*, clang::TypedefNameDecl::ModedTInfo*> > >]’
/usr/lib/llvm/roc/include/clang/AST/Decl.h:2996:39:   required from here
/usr/lib/llvm/roc/include/llvm/ADT/PointerUnion.h:93:72: error: ‘constexpr int llvm::pointer_union_detail::lowBitsAvailable() [with Ts = {clang::TypeSourceInfo*, clang::TypedefNameDecl::ModedTInfo*}]’ called in a constant expression
   93 |     static constexpr int NumLowBitsAvailable = lowBitsAvailable<PTs...>();
      |                                                ~~~~~~~~~~~~~~~~~~~~~~~~^~
/usr/lib/llvm/roc/include/llvm/ADT/PointerUnion.h:63:43: note: ‘constexpr int llvm::pointer_union_detail::lowBitsAvailable() [with Ts = {clang::TypeSourceInfo*, clang::TypedefNameDecl::ModedTInfo*}]’ is not usable as a ‘constexpr’ function because:
   63 |   template <typename... Ts> constexpr int lowBitsAvailable() {
      |                                           ^~~~~~~~~~~~~~~~
/usr/lib/llvm/roc/include/llvm/ADT/PointerUnion.h:64:25: error: call to non-‘constexpr’ function ‘_Tp std::min(std::initializer_list<_Tp>) [with _Tp = int]’
   64 |     return std::min<int>({PointerLikeTypeTraits<Ts>::NumLowBitsAvailable...});
      |            ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/lib/llvm/roc/include/llvm/ADT/PointerUnion.h:18,
                 from /usr/lib/llvm/roc/include/llvm/Support/SourceMgr.h:20,
                 from /usr/lib/llvm/roc/include/llvm/Support/VirtualFileSystem.h:27,
                 from /var/tmp/portage/dev-libs/rocm-opencl-driver-2.7.0/work/ROCm-OpenCL-Driver-roc-2.7.0/src/driver/AmdCompiler.cpp:12:
/usr/lib/llvm/roc/include/llvm/ADT/PointerIntPair.h: In instantiation of ‘struct llvm::PointerIntPairInfo<llvm::PointerUnion<clang::TypeSourceInfo*, clang::TypedefNameDecl::ModedTInfo*>, 2, llvm::PointerLikeTypeTraits<llvm::PointerUnion<clang::TypeSourceInfo*, clang::TypedefNameDecl::ModedTInfo*> > >’:
/usr/lib/llvm/roc/include/llvm/ADT/PointerIntPair.h:58:57:   required from ‘PointerTy llvm::PointerIntPair<PointerTy, IntBits, IntType, PtrTraits, Info>::getPointer() const [with PointerTy = llvm::PointerUnion<clang::TypeSourceInfo*, clang::TypedefNameDecl::ModedTInfo*>; unsigned int IntBits = 2; IntType = unsigned int; PtrTraits = llvm::PointerLikeTypeTraits<llvm::PointerUnion<clang::TypeSourceInfo*, clang::TypedefNameDecl::ModedTInfo*> >; Info = llvm::PointerIntPairInfo<llvm::PointerUnion<clang::TypeSourceInfo*, clang::TypedefNameDecl::ModedTInfo*>, 2, llvm::PointerLikeTypeTraits<llvm::PointerUnion<clang::TypeSourceInfo*, clang::TypedefNameDecl::ModedTInfo*> > >]’
/usr/lib/llvm/roc/include/clang/AST/Decl.h:2996:39:   required from here
/usr/lib/llvm/roc/include/llvm/ADT/PointerIntPair.h:147:25: error: static assertion failed: PointerIntPair with integer size too large for pointer
  147 |   static_assert(IntBits <= PtrTraits::NumLowBitsAvailable,
      |                 ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/lib/llvm/roc/include/llvm/ADT/PointerIntPair.h:162:42: warning: left shift count >= width of type [-Wshift-count-overflow]
  162 |     ShiftedIntMask = (uintptr_t)(IntMask << IntShift)
      |                                 ~~~~~~~~~^~~~~~~~~~~~
/usr/lib/llvm/roc/include/llvm/ADT/PointerIntPair.h:162:42: error: right operand of shift expression ‘(3 << 18446744073709551614)’ is >= than the precision of the left operand [-fpermissive]
/usr/lib/llvm/roc/include/llvm/ADT/PointerIntPair.h:149:8: error: enumerator value for ‘ShiftedIntMask’ is not an integer constant
  149 |   enum : uintptr_t {
      |        ^
In file included from /usr/lib/llvm/roc/include/llvm/Support/SourceMgr.h:20,
                 from /usr/lib/llvm/roc/include/llvm/Support/VirtualFileSystem.h:27,
                 from /var/tmp/portage/dev-libs/rocm-opencl-driver-2.7.0/work/ROCm-OpenCL-Driver-roc-2.7.0/src/driver/AmdCompiler.cpp:12:
/usr/lib/llvm/roc/include/llvm/ADT/PointerUnion.h: In instantiation of ‘constexpr const int llvm::pointer_union_detail::PointerUnionUIntTraits<const clang::DirectoryEntry*, const clang::FileEntry*>::NumLowBitsAvailable’:
/usr/lib/llvm/roc/include/llvm/ADT/PointerIntPair.h:144:48:   required from ‘struct llvm::PointerIntPairInfo<void*, 1, llvm::pointer_union_detail::PointerUnionUIntTraits<const clang::DirectoryEntry*, const clang::FileEntry*> >’
/usr/lib/llvm/roc/include/llvm/ADT/PointerIntPair.h:60:56:   required from ‘IntType llvm::PointerIntPair<PointerTy, IntBits, IntType, PtrTraits, Info>::getInt() const [with PointerTy = void*; unsigned int IntBits = 1; IntType = int; PtrTraits = llvm::pointer_union_detail::PointerUnionUIntTraits<const clang::DirectoryEntry*, const clang::FileEntry*>; Info = llvm::PointerIntPairInfo<void*, 1, llvm::pointer_union_detail::PointerUnionUIntTraits<const clang::DirectoryEntry*, const clang::FileEntry*> >]’
/usr/lib/llvm/roc/include/llvm/ADT/PointerUnion.h:188:31:   required from ‘int llvm::PointerUnion<PTs>::is() const [with T = const clang::DirectoryEntry*; PTs = {const clang::DirectoryEntry*, const clang::FileEntry*}]’
/usr/lib/llvm/roc/include/clang/Basic/Module.h:498:60:   required from here
/usr/lib/llvm/roc/include/llvm/ADT/PointerUnion.h:93:72: error: ‘constexpr int llvm::pointer_union_detail::lowBitsAvailable() [with Ts = {const clang::DirectoryEntry*, const clang::FileEntry*}]’ called in a constant expression
   93 |     static constexpr int NumLowBitsAvailable = lowBitsAvailable<PTs...>();
      |                                                ~~~~~~~~~~~~~~~~~~~~~~~~^~
/usr/lib/llvm/roc/include/llvm/ADT/PointerUnion.h:63:43: note: ‘constexpr int llvm::pointer_union_detail::lowBitsAvailable() [with Ts = {const clang::DirectoryEntry*, const clang::FileEntry*}]’ is not usable as a ‘constexpr’ function because:
   63 |   template <typename... Ts> constexpr int lowBitsAvailable() {
      |                                           ^~~~~~~~~~~~~~~~
/usr/lib/llvm/roc/include/llvm/ADT/PointerUnion.h:64:25: error: call to non-‘constexpr’ function ‘_Tp std::min(std::initializer_list<_Tp>) [with _Tp = int]’
   64 |     return std::min<int>({PointerLikeTypeTraits<Ts>::NumLowBitsAvailable...});
      |            ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/lib/llvm/roc/include/llvm/ADT/PointerUnion.h:18,
                 from /usr/lib/llvm/roc/include/llvm/Support/SourceMgr.h:20,
                 from /usr/lib/llvm/roc/include/llvm/Support/VirtualFileSystem.h:27,
                 from /var/tmp/portage/dev-libs/rocm-opencl-driver-2.7.0/work/ROCm-OpenCL-Driver-roc-2.7.0/src/driver/AmdCompiler.cpp:12:
/usr/lib/llvm/roc/include/llvm/ADT/PointerIntPair.h: In instantiation of ‘struct llvm::PointerIntPairInfo<void*, 1, llvm::pointer_union_detail::PointerUnionUIntTraits<const clang::DirectoryEntry*, const clang::FileEntry*> >’:
/usr/lib/llvm/roc/include/llvm/ADT/PointerIntPair.h:60:56:   required from ‘IntType llvm::PointerIntPair<PointerTy, IntBits, IntType, PtrTraits, Info>::getInt() const [with PointerTy = void*; unsigned int IntBits = 1; IntType = int; PtrTraits = llvm::pointer_union_detail::PointerUnionUIntTraits<const clang::DirectoryEntry*, const clang::FileEntry*>; Info = llvm::PointerIntPairInfo<void*, 1, llvm::pointer_union_detail::PointerUnionUIntTraits<const clang::DirectoryEntry*, const clang::FileEntry*> >]’
/usr/lib/llvm/roc/include/llvm/ADT/PointerUnion.h:188:31:   required from ‘int llvm::PointerUnion<PTs>::is() const [with T = const clang::DirectoryEntry*; PTs = {const clang::DirectoryEntry*, const clang::FileEntry*}]’
/usr/lib/llvm/roc/include/clang/Basic/Module.h:498:60:   required from here
/usr/lib/llvm/roc/include/llvm/ADT/PointerIntPair.h:149:8: error: enumerator value for ‘IntShift’ is not an integer constant
  149 |   enum : uintptr_t {
      |        ^
/usr/lib/llvm/roc/include/llvm/ADT/PointerIntPair.h: In instantiation of ‘struct llvm::PointerIntPairInfo<void*, 1, llvm::pointer_union_detail::PointerUnionUIntTraits<const clang::Type*, const clang::ExtQuals*> >’:
/usr/lib/llvm/roc/include/llvm/ADT/PointerIntPair.h:58:57:   required from ‘PointerTy llvm::PointerIntPair<PointerTy, IntBits, IntType, PtrTraits, Info>::getPointer() const [with PointerTy = void*; unsigned int IntBits = 1; IntType = int; PtrTraits = llvm::pointer_union_detail::PointerUnionUIntTraits<const clang::Type*, const clang::ExtQuals*>; Info = llvm::PointerIntPairInfo<void*, 1, llvm::pointer_union_detail::PointerUnionUIntTraits<const clang::Type*, const clang::ExtQuals*> >]’
/usr/lib/llvm/roc/include/llvm/ADT/PointerUnion.h:196:56:   required from ‘T llvm::PointerUnion<PTs>::get() const [with T = const clang::ExtQuals*; PTs = {const clang::Type*, const clang::ExtQuals*}]’
/usr/lib/llvm/roc/include/clang/AST/Type.h:651:52:   required from here
/usr/lib/llvm/roc/include/llvm/ADT/PointerIntPair.h:149:8: error: enumerator value for ‘IntShift’ is not an integer constant
/usr/lib/llvm/roc/include/llvm/ADT/PointerIntPair.h: In instantiation of ‘static intptr_t llvm::PointerIntPairInfo<PointerT, IntBits, PtrTraits>::getInt(intptr_t) [with PointerT = llvm::PointerUnion<const clang::Type*, const clang::ExtQuals*>; unsigned int IntBits = 3; PtrTraits = llvm::PointerLikeTypeTraits<llvm::PointerUnion<const clang::Type*, const clang::ExtQuals*> >; intptr_t = long int]’:
/usr/lib/llvm/roc/include/llvm/ADT/PointerIntPair.h:60:56:   required from ‘IntType llvm::PointerIntPair<PointerTy, IntBits, IntType, PtrTraits, Info>::getInt() const [with PointerTy = llvm::PointerUnion<const clang::Type*, const clang::ExtQuals*>; unsigned int IntBits = 3; IntType = unsigned int; PtrTraits = llvm::PointerLikeTypeTraits<llvm::PointerUnion<const clang::Type*, const clang::ExtQuals*> >; Info = llvm::PointerIntPairInfo<llvm::PointerUnion<const clang::Type*, const clang::ExtQuals*>, 3, llvm::PointerLikeTypeTraits<llvm::PointerUnion<const clang::Type*, const clang::ExtQuals*> > >]’
/usr/lib/llvm/roc/include/clang/AST/Type.h:670:65:   required from here
/usr/lib/llvm/roc/include/llvm/ADT/PointerIntPair.h:171:19: warning: right shift count >= width of type [-Wshift-count-overflow]
  171 |     return (Value >> IntShift) & IntMask;
      |            ~~~~~~~^~~~~~~~~~~~
/usr/lib/llvm/roc/include/llvm/ADT/PointerIntPair.h: In instantiation of ‘static intptr_t llvm::PointerIntPairInfo<PointerT, IntBits, PtrTraits>::updateInt(intptr_t, intptr_t) [with PointerT = llvm::PointerUnion<const clang::Type*, const clang::ExtQuals*>; unsigned int IntBits = 3; PtrTraits = llvm::PointerLikeTypeTraits<llvm::PointerUnion<const clang::Type*, const clang::ExtQuals*> >; intptr_t = long int]’:
/usr/lib/llvm/roc/include/llvm/ADT/PointerIntPair.h:67:28:   required from ‘void llvm::PointerIntPair<PointerTy, IntBits, IntType, PtrTraits, Info>::setInt(IntType) [with PointerTy = llvm::PointerUnion<const clang::Type*, const clang::ExtQuals*>; unsigned int IntBits = 3; IntType = unsigned int; PtrTraits = llvm::PointerLikeTypeTraits<llvm::PointerUnion<const clang::Type*, const clang::ExtQuals*> >; Info = llvm::PointerIntPairInfo<llvm::PointerUnion<const clang::Type*, const clang::ExtQuals*>, 3, llvm::PointerLikeTypeTraits<llvm::PointerUnion<const clang::Type*, const clang::ExtQuals*> > >]’
/usr/lib/llvm/roc/include/clang/AST/Type.h:671:67:   required from here
/usr/lib/llvm/roc/include/llvm/ADT/PointerIntPair.h:188:52: warning: left shift count >= width of type [-Wshift-count-overflow]
  188 |     return (OrigValue & ~ShiftedIntMask) | IntWord << IntShift;
      |                                            ~~~~~~~~^~~~~~~~~~~
In file included from /usr/lib/llvm/roc/include/llvm/Support/SourceMgr.h:20,
                 from /usr/lib/llvm/roc/include/llvm/Support/VirtualFileSystem.h:27,
                 from /var/tmp/portage/dev-libs/rocm-opencl-driver-2.7.0/work/ROCm-OpenCL-Driver-roc-2.7.0/src/driver/AmdCompiler.cpp:12:
/usr/lib/llvm/roc/include/llvm/ADT/PointerUnion.h: In instantiation of ‘constexpr const int llvm::pointer_union_detail::PointerUnionUIntTraits<clang::DeclContext*, clang::Decl::MultipleDC*>::NumLowBitsAvailable’:
/usr/lib/llvm/roc/include/llvm/ADT/PointerIntPair.h:144:48:   required from ‘struct llvm::PointerIntPairInfo<void*, 1, llvm::pointer_union_detail::PointerUnionUIntTraits<clang::DeclContext*, clang::Decl::MultipleDC*> >’
/usr/lib/llvm/roc/include/llvm/ADT/PointerIntPair.h:60:56:   required from ‘IntType llvm::PointerIntPair<PointerTy, IntBits, IntType, PtrTraits, Info>::getInt() const [with PointerTy = void*; unsigned int IntBits = 1; IntType = int; PtrTraits = llvm::pointer_union_detail::PointerUnionUIntTraits<clang::DeclContext*, clang::Decl::MultipleDC*>; Info = llvm::PointerIntPairInfo<void*, 1, llvm::pointer_union_detail::PointerUnionUIntTraits<clang::DeclContext*, clang::Decl::MultipleDC*> >]’
/usr/lib/llvm/roc/include/llvm/ADT/PointerUnion.h:188:31:   required from ‘int llvm::PointerUnion<PTs>::is() const [with T = clang::DeclContext*; PTs = {clang::DeclContext*, clang::Decl::MultipleDC*}]’
/usr/lib/llvm/roc/include/clang/AST/DeclBase.h:269:61:   required from here
/usr/lib/llvm/roc/include/llvm/ADT/PointerUnion.h:93:72: error: ‘constexpr int llvm::pointer_union_detail::lowBitsAvailable() [with Ts = {clang::DeclContext*, clang::Decl::MultipleDC*}]’ called in a constant expression
   93 |     static constexpr int NumLowBitsAvailable = lowBitsAvailable<PTs...>();
      |                                                ~~~~~~~~~~~~~~~~~~~~~~~~^~
/usr/lib/llvm/roc/include/llvm/ADT/PointerUnion.h:63:43: note: ‘constexpr int llvm::pointer_union_detail::lowBitsAvailable() [with Ts = {clang::DeclContext*, clang::Decl::MultipleDC*}]’ is not usable as a ‘constexpr’ function because:
   63 |   template <typename... Ts> constexpr int lowBitsAvailable() {
      |                                           ^~~~~~~~~~~~~~~~
/usr/lib/llvm/roc/include/llvm/ADT/PointerUnion.h:64:25: error: call to non-‘constexpr’ function ‘_Tp std::min(std::initializer_list<_Tp>) [with _Tp = int]’
   64 |     return std::min<int>({PointerLikeTypeTraits<Ts>::NumLowBitsAvailable...});
      |            ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/lib/llvm/roc/include/llvm/ADT/PointerUnion.h:18,
                 from /usr/lib/llvm/roc/include/llvm/Support/SourceMgr.h:20,
                 from /usr/lib/llvm/roc/include/llvm/Support/VirtualFileSystem.h:27,
                 from /var/tmp/portage/dev-libs/rocm-opencl-driver-2.7.0/work/ROCm-OpenCL-Driver-roc-2.7.0/src/driver/AmdCompiler.cpp:12:
/usr/lib/llvm/roc/include/llvm/ADT/PointerIntPair.h: In instantiation of ‘struct llvm::PointerIntPairInfo<void*, 1, llvm::pointer_union_detail::PointerUnionUIntTraits<clang::DeclContext*, clang::Decl::MultipleDC*> >’:
/usr/lib/llvm/roc/include/llvm/ADT/PointerIntPair.h:60:56:   required from ‘IntType llvm::PointerIntPair<PointerTy, IntBits, IntType, PtrTraits, Info>::getInt() const [with PointerTy = void*; unsigned int IntBits = 1; IntType = int; PtrTraits = llvm::pointer_union_detail::PointerUnionUIntTraits<clang::DeclContext*, clang::Decl::MultipleDC*>; Info = llvm::PointerIntPairInfo<void*, 1, llvm::pointer_union_detail::PointerUnionUIntTraits<clang::DeclContext*, clang::Decl::MultipleDC*> >]’
/usr/lib/llvm/roc/include/llvm/ADT/PointerUnion.h:188:31:   required from ‘int llvm::PointerUnion<PTs>::is() const [with T = clang::DeclContext*; PTs = {clang::DeclContext*, clang::Decl::MultipleDC*}]’
/usr/lib/llvm/roc/include/clang/AST/DeclBase.h:269:61:   required from here
/usr/lib/llvm/roc/include/llvm/ADT/PointerIntPair.h:149:8: error: enumerator value for ‘IntShift’ is not an integer constant
  149 |   enum : uintptr_t {
      |        ^
In file included from /usr/lib/llvm/roc/include/llvm/Support/SourceMgr.h:20,
                 from /usr/lib/llvm/roc/include/llvm/Support/VirtualFileSystem.h:27,
                 from /var/tmp/portage/dev-libs/rocm-opencl-driver-2.7.0/work/ROCm-OpenCL-Driver-roc-2.7.0/src/driver/AmdCompiler.cpp:12:
/usr/lib/llvm/roc/include/llvm/ADT/PointerUnion.h: In instantiation of ‘constexpr const int llvm::pointer_union_detail::PointerUnionUIntTraits<clang::TypeSourceInfo*, clang::DeclaratorDecl::ExtInfo*>::NumLowBitsAvailable’:
/usr/lib/llvm/roc/include/llvm/ADT/PointerIntPair.h:144:48:   required from ‘struct llvm::PointerIntPairInfo<void*, 1, llvm::pointer_union_detail::PointerUnionUIntTraits<clang::TypeSourceInfo*, clang::DeclaratorDecl::ExtInfo*> >’
/usr/lib/llvm/roc/include/llvm/ADT/PointerIntPair.h:60:56:   required from ‘IntType llvm::PointerIntPair<PointerTy, IntBits, IntType, PtrTraits, Info>::getInt() const [with PointerTy = void*; unsigned int IntBits = 1; IntType = int; PtrTraits = llvm::pointer_union_detail::PointerUnionUIntTraits<clang::TypeSourceInfo*, clang::DeclaratorDecl::ExtInfo*>; Info = llvm::PointerIntPairInfo<void*, 1, llvm::pointer_union_detail::PointerUnionUIntTraits<clang::TypeSourceInfo*, clang::DeclaratorDecl::ExtInfo*> >]’
/usr/lib/llvm/roc/include/llvm/ADT/PointerUnion.h:188:31:   required from ‘int llvm::PointerUnion<PTs>::is() const [with T = clang::DeclaratorDecl::ExtInfo*; PTs = {clang::TypeSourceInfo*, clang::DeclaratorDecl::ExtInfo*}]’
/usr/lib/llvm/roc/include/clang/AST/Decl.h:701:58:   required from here
/usr/lib/llvm/roc/include/llvm/ADT/PointerUnion.h:93:72: error: ‘constexpr int llvm::pointer_union_detail::lowBitsAvailable() [with Ts = {clang::TypeSourceInfo*, clang::DeclaratorDecl::ExtInfo*}]’ called in a constant expression
   93 |     static constexpr int NumLowBitsAvailable = lowBitsAvailable<PTs...>();
      |                                                ~~~~~~~~~~~~~~~~~~~~~~~~^~
/usr/lib/llvm/roc/include/llvm/ADT/PointerUnion.h:63:43: note: ‘constexpr int llvm::pointer_union_detail::lowBitsAvailable() [with Ts = {clang::TypeSourceInfo*, clang::DeclaratorDecl::ExtInfo*}]’ is not usable as a ‘constexpr’ function because:
   63 |   template <typename... Ts> constexpr int lowBitsAvailable() {
      |                                           ^~~~~~~~~~~~~~~~
/usr/lib/llvm/roc/include/llvm/ADT/PointerUnion.h:64:25: error: call to non-‘constexpr’ function ‘_Tp std::min(std::initializer_list<_Tp>) [with _Tp = int]’
   64 |     return std::min<int>({PointerLikeTypeTraits<Ts>::NumLowBitsAvailable...});
      |            ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/lib/llvm/roc/include/llvm/ADT/PointerUnion.h:18,
                 from /usr/lib/llvm/roc/include/llvm/Support/SourceMgr.h:20,
                 from /usr/lib/llvm/roc/include/llvm/Support/VirtualFileSystem.h:27,
                 from /var/tmp/portage/dev-libs/rocm-opencl-driver-2.7.0/work/ROCm-OpenCL-Driver-roc-2.7.0/src/driver/AmdCompiler.cpp:12:
/usr/lib/llvm/roc/include/llvm/ADT/PointerIntPair.h: In instantiation of ‘struct llvm::PointerIntPairInfo<void*, 1, llvm::pointer_union_detail::PointerUnionUIntTraits<clang::TypeSourceInfo*, clang::DeclaratorDecl::ExtInfo*> >’:
/usr/lib/llvm/roc/include/llvm/ADT/PointerIntPair.h:60:56:   required from ‘IntType llvm::PointerIntPair<PointerTy, IntBits, IntType, PtrTraits, Info>::getInt() const [with PointerTy = void*; unsigned int IntBits = 1; IntType = int; PtrTraits = llvm::pointer_union_detail::PointerUnionUIntTraits<clang::TypeSourceInfo*, clang::DeclaratorDecl::ExtInfo*>; Info = llvm::PointerIntPairInfo<void*, 1, llvm::pointer_union_detail::PointerUnionUIntTraits<clang::TypeSourceInfo*, clang::DeclaratorDecl::ExtInfo*> >]’
/usr/lib/llvm/roc/include/llvm/ADT/PointerUnion.h:188:31:   required from ‘int llvm::PointerUnion<PTs>::is() const [with T = clang::DeclaratorDecl::ExtInfo*; PTs = {clang::TypeSourceInfo*, clang::DeclaratorDecl::ExtInfo*}]’
/usr/lib/llvm/roc/include/clang/AST/Decl.h:701:58:   required from here
/usr/lib/llvm/roc/include/llvm/ADT/PointerIntPair.h:149:8: error: enumerator value for ‘IntShift’ is not an integer constant
  149 |   enum : uintptr_t {
      |        ^
/usr/lib/llvm/roc/include/llvm/ADT/PointerIntPair.h: In instantiation of ‘struct llvm::PointerIntPairInfo<void*, 1, llvm::pointer_union_detail::PointerUnionUIntTraits<clang::TypeSourceInfo*, clang::TypedefNameDecl::ModedTInfo*> >’:
/usr/lib/llvm/roc/include/llvm/ADT/PointerIntPair.h:60:56:   required from ‘IntType llvm::PointerIntPair<PointerTy, IntBits, IntType, PtrTraits, Info>::getInt() const [with PointerTy = void*; unsigned int IntBits = 1; IntType = int; PtrTraits = llvm::pointer_union_detail::PointerUnionUIntTraits<clang::TypeSourceInfo*, clang::TypedefNameDecl::ModedTInfo*>; Info = llvm::PointerIntPairInfo<void*, 1, llvm::pointer_union_detail::PointerUnionUIntTraits<clang::TypeSourceInfo*, clang::TypedefNameDecl::ModedTInfo*> >]’
/usr/lib/llvm/roc/include/llvm/ADT/PointerUnion.h:188:31:   required from ‘int llvm::PointerUnion<PTs>::is() const [with T = clang::TypedefNameDecl::ModedTInfo*; PTs = {clang::TypeSourceInfo*, clang::TypedefNameDecl::ModedTInfo*}]’
/usr/lib/llvm/roc/include/clang/AST/Decl.h:2996:58:   required from here
/usr/lib/llvm/roc/include/llvm/ADT/PointerIntPair.h:149:8: error: enumerator value for ‘IntShift’ is not an integer constant
/usr/lib/llvm/roc/include/llvm/ADT/PointerIntPair.h: In instantiation of ‘static intptr_t llvm::PointerIntPairInfo<PointerT, IntBits, PtrTraits>::getInt(intptr_t) [with PointerT = llvm::PointerUnion<clang::TypeSourceInfo*, clang::TypedefNameDecl::ModedTInfo*>; unsigned int IntBits = 2; PtrTraits = llvm::PointerLikeTypeTraits<llvm::PointerUnion<clang::TypeSourceInfo*, clang::TypedefNameDecl::ModedTInfo*> >; intptr_t = long int]’:
/usr/lib/llvm/roc/include/llvm/ADT/PointerIntPair.h:60:56:   required from ‘IntType llvm::PointerIntPair<PointerTy, IntBits, IntType, PtrTraits, Info>::getInt() const [with PointerTy = llvm::PointerUnion<clang::TypeSourceInfo*, clang::TypedefNameDecl::ModedTInfo*>; unsigned int IntBits = 2; IntType = unsigned int; PtrTraits = llvm::PointerLikeTypeTraits<llvm::PointerUnion<clang::TypeSourceInfo*, clang::TypedefNameDecl::ModedTInfo*> >; Info = llvm::PointerIntPairInfo<llvm::PointerUnion<clang::TypeSourceInfo*, clang::TypedefNameDecl::ModedTInfo*>, 2, llvm::PointerLikeTypeTraits<llvm::PointerUnion<clang::TypeSourceInfo*, clang::TypedefNameDecl::ModedTInfo*> > >]’
/usr/lib/llvm/roc/include/clang/AST/Decl.h:3034:32:   required from here
/usr/lib/llvm/roc/include/llvm/ADT/PointerIntPair.h:171:19: warning: right shift count >= width of type [-Wshift-count-overflow]
  171 |     return (Value >> IntShift) & IntMask;
      |            ~~~~~~~^~~~~~~~~~~~
In file included from /usr/lib/llvm/roc/include/llvm/Support/SourceMgr.h:20,
                 from /usr/lib/llvm/roc/include/llvm/Support/VirtualFileSystem.h:27,
                 from /var/tmp/portage/dev-libs/rocm-opencl-driver-2.7.0/work/ROCm-OpenCL-Driver-roc-2.7.0/src/driver/AmdCompiler.cpp:12:
/usr/lib/llvm/roc/include/llvm/ADT/PointerUnion.h: In instantiation of ‘constexpr const int llvm::pointer_union_detail::PointerUnionUIntTraits<clang::TypedefNameDecl*, clang::QualifierInfo*>::NumLowBitsAvailable’:
/usr/lib/llvm/roc/include/llvm/ADT/PointerIntPair.h:144:48:   required from ‘struct llvm::PointerIntPairInfo<void*, 1, llvm::pointer_union_detail::PointerUnionUIntTraits<clang::TypedefNameDecl*, clang::QualifierInfo*> >’
/usr/lib/llvm/roc/include/llvm/ADT/PointerIntPair.h:60:56:   required from ‘IntType llvm::PointerIntPair<PointerTy, IntBits, IntType, PtrTraits, Info>::getInt() const [with PointerTy = void*; unsigned int IntBits = 1; IntType = int; PtrTraits = llvm::pointer_union_detail::PointerUnionUIntTraits<clang::TypedefNameDecl*, clang::QualifierInfo*>; Info = llvm::PointerIntPairInfo<void*, 1, llvm::pointer_union_detail::PointerUnionUIntTraits<clang::TypedefNameDecl*, clang::QualifierInfo*> >]’
/usr/lib/llvm/roc/include/llvm/ADT/PointerUnion.h:188:31:   required from ‘int llvm::PointerUnion<PTs>::is() const [with T = clang::QualifierInfo*; PTs = {clang::TypedefNameDecl*, clang::QualifierInfo*}]’
/usr/lib/llvm/roc/include/clang/AST/Decl.h:3123:77:   required from here
/usr/lib/llvm/roc/include/llvm/ADT/PointerUnion.h:93:72: error: ‘constexpr int llvm::pointer_union_detail::lowBitsAvailable() [with Ts = {clang::TypedefNameDecl*, clang::QualifierInfo*}]’ called in a constant expression
   93 |     static constexpr int NumLowBitsAvailable = lowBitsAvailable<PTs...>();
      |                                                ~~~~~~~~~~~~~~~~~~~~~~~~^~
/usr/lib/llvm/roc/include/llvm/ADT/PointerUnion.h:63:43: note: ‘constexpr int llvm::pointer_union_detail::lowBitsAvailable() [with Ts = {clang::TypedefNameDecl*, clang::QualifierInfo*}]’ is not usable as a ‘constexpr’ function because:
   63 |   template <typename... Ts> constexpr int lowBitsAvailable() {
      |                                           ^~~~~~~~~~~~~~~~
/usr/lib/llvm/roc/include/llvm/ADT/PointerUnion.h:64:25: error: call to non-‘constexpr’ function ‘_Tp std::min(std::initializer_list<_Tp>) [with _Tp = int]’
   64 |     return std::min<int>({PointerLikeTypeTraits<Ts>::NumLowBitsAvailable...});
      |            ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/lib/llvm/roc/include/llvm/ADT/PointerUnion.h:18,
                 from /usr/lib/llvm/roc/include/llvm/Support/SourceMgr.h:20,
                 from /usr/lib/llvm/roc/include/llvm/Support/VirtualFileSystem.h:27,
                 from /var/tmp/portage/dev-libs/rocm-opencl-driver-2.7.0/work/ROCm-OpenCL-Driver-roc-2.7.0/src/driver/AmdCompiler.cpp:12:
/usr/lib/llvm/roc/include/llvm/ADT/PointerIntPair.h: In instantiation of ‘struct llvm::PointerIntPairInfo<void*, 1, llvm::pointer_union_detail::PointerUnionUIntTraits<clang::TypedefNameDecl*, clang::QualifierInfo*> >’:
/usr/lib/llvm/roc/include/llvm/ADT/PointerIntPair.h:60:56:   required from ‘IntType llvm::PointerIntPair<PointerTy, IntBits, IntType, PtrTraits, Info>::getInt() const [with PointerTy = void*; unsigned int IntBits = 1; IntType = int; PtrTraits = llvm::pointer_union_detail::PointerUnionUIntTraits<clang::TypedefNameDecl*, clang::QualifierInfo*>; Info = llvm::PointerIntPairInfo<void*, 1, llvm::pointer_union_detail::PointerUnionUIntTraits<clang::TypedefNameDecl*, clang::QualifierInfo*> >]’
/usr/lib/llvm/roc/include/llvm/ADT/PointerUnion.h:188:31:   required from ‘int llvm::PointerUnion<PTs>::is() const [with T = clang::QualifierInfo*; PTs = {clang::TypedefNameDecl*, clang::QualifierInfo*}]’
/usr/lib/llvm/roc/include/clang/AST/Decl.h:3123:77:   required from here
/usr/lib/llvm/roc/include/llvm/ADT/PointerIntPair.h:149:8: error: enumerator value for ‘IntShift’ is not an integer constant
  149 |   enum : uintptr_t {
      |        ^
In file included from /usr/lib/llvm/roc/include/llvm/Support/SourceMgr.h:20,
                 from /usr/lib/llvm/roc/include/llvm/Support/VirtualFileSystem.h:27,
                 from /var/tmp/portage/dev-libs/rocm-opencl-driver-2.7.0/work/ROCm-OpenCL-Driver-roc-2.7.0/src/driver/AmdCompiler.cpp:12:
/usr/lib/llvm/roc/include/llvm/ADT/PointerUnion.h: In instantiation of ‘constexpr const int llvm::pointer_union_detail::PointerUnionUIntTraits<const clang::Type*, clang::TypeSourceInfo*>::NumLowBitsAvailable’:
/usr/lib/llvm/roc/include/llvm/ADT/PointerIntPair.h:144:48:   required from ‘struct llvm::PointerIntPairInfo<void*, 1, llvm::pointer_union_detail::PointerUnionUIntTraits<const clang::Type*, clang::TypeSourceInfo*> >’
/usr/lib/llvm/roc/include/llvm/ADT/PointerIntPair.h:58:57:   required from ‘PointerTy llvm::PointerIntPair<PointerTy, IntBits, IntType, PtrTraits, Info>::getPointer() const [with PointerTy = void*; unsigned int IntBits = 1; IntType = int; PtrTraits = llvm::pointer_union_detail::PointerUnionUIntTraits<const clang::Type*, clang::TypeSourceInfo*>; Info = llvm::PointerIntPairInfo<void*, 1, llvm::pointer_union_detail::PointerUnionUIntTraits<const clang::Type*, clang::TypeSourceInfo*> >]’
/usr/lib/llvm/roc/include/llvm/ADT/PointerUnion.h:196:56:   required from ‘T llvm::PointerUnion<PTs>::get() const [with T = clang::TypeSourceInfo*; PTs = {const clang::Type*, clang::TypeSourceInfo*}]’
/usr/lib/llvm/roc/include/clang/AST/Decl.h:3518:45:   required from here
/usr/lib/llvm/roc/include/llvm/ADT/PointerUnion.h:93:72: error: ‘constexpr int llvm::pointer_union_detail::lowBitsAvailable() [with Ts = {const clang::Type*, clang::TypeSourceInfo*}]’ called in a constant expression
   93 |     static constexpr int NumLowBitsAvailable = lowBitsAvailable<PTs...>();
      |                                                ~~~~~~~~~~~~~~~~~~~~~~~~^~
/usr/lib/llvm/roc/include/llvm/ADT/PointerUnion.h:63:43: note: ‘constexpr int llvm::pointer_union_detail::lowBitsAvailable() [with Ts = {const clang::Type*, clang::TypeSourceInfo*}]’ is not usable as a ‘constexpr’ function because:
   63 |   template <typename... Ts> constexpr int lowBitsAvailable() {
      |                                           ^~~~~~~~~~~~~~~~
/usr/lib/llvm/roc/include/llvm/ADT/PointerUnion.h:64:25: error: call to non-‘constexpr’ function ‘_Tp std::min(std::initializer_list<_Tp>) [with _Tp = int]’
   64 |     return std::min<int>({PointerLikeTypeTraits<Ts>::NumLowBitsAvailable...});
      |            ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/lib/llvm/roc/include/llvm/ADT/PointerUnion.h:18,
                 from /usr/lib/llvm/roc/include/llvm/Support/SourceMgr.h:20,
                 from /usr/lib/llvm/roc/include/llvm/Support/VirtualFileSystem.h:27,
                 from /var/tmp/portage/dev-libs/rocm-opencl-driver-2.7.0/work/ROCm-OpenCL-Driver-roc-2.7.0/src/driver/AmdCompiler.cpp:12:
/usr/lib/llvm/roc/include/llvm/ADT/PointerIntPair.h: In instantiation of ‘struct llvm::PointerIntPairInfo<void*, 1, llvm::pointer_union_detail::PointerUnionUIntTraits<const clang::Type*, clang::TypeSourceInfo*> >’:
/usr/lib/llvm/roc/include/llvm/ADT/PointerIntPair.h:58:57:   required from ‘PointerTy llvm::PointerIntPair<PointerTy, IntBits, IntType, PtrTraits, Info>::getPointer() const [with PointerTy = void*; unsigned int IntBits = 1; IntType = int; PtrTraits = llvm::pointer_union_detail::PointerUnionUIntTraits<const clang::Type*, clang::TypeSourceInfo*>; Info = llvm::PointerIntPairInfo<void*, 1, llvm::pointer_union_detail::PointerUnionUIntTraits<const clang::Type*, clang::TypeSourceInfo*> >]’
/usr/lib/llvm/roc/include/llvm/ADT/PointerUnion.h:196:56:   required from ‘T llvm::PointerUnion<PTs>::get() const [with T = clang::TypeSourceInfo*; PTs = {const clang::Type*, clang::TypeSourceInfo*}]’
/usr/lib/llvm/roc/include/clang/AST/Decl.h:3518:45:   required from here
/usr/lib/llvm/roc/include/llvm/ADT/PointerIntPair.h:149:8: error: enumerator value for ‘IntShift’ is not an integer constant
  149 |   enum : uintptr_t {
      |        ^
In file included from /usr/lib/llvm/roc/include/llvm/Support/SourceMgr.h:20,
                 from /usr/lib/llvm/roc/include/llvm/Support/VirtualFileSystem.h:27,
                 from /var/tmp/portage/dev-libs/rocm-opencl-driver-2.7.0/work/ROCm-OpenCL-Driver-roc-2.7.0/src/driver/AmdCompiler.cpp:12:
/usr/lib/llvm/roc/include/llvm/ADT/PointerUnion.h: In instantiation of ‘constexpr const int llvm::pointer_union_detail::PointerUnionUIntTraits<clang::IdentifierInfo*, clang::MacroDefinitionRecord*>::NumLowBitsAvailable’:
/usr/lib/llvm/roc/include/llvm/ADT/PointerIntPair.h:144:48:   required from ‘struct llvm::PointerIntPairInfo<void*, 1, llvm::pointer_union_detail::PointerUnionUIntTraits<clang::IdentifierInfo*, clang::MacroDefinitionRecord*> >’
/usr/lib/llvm/roc/include/llvm/ADT/PointerIntPair.h:60:56:   required from ‘IntType llvm::PointerIntPair<PointerTy, IntBits, IntType, PtrTraits, Info>::getInt() const [with PointerTy = void*; unsigned int IntBits = 1; IntType = int; PtrTraits = llvm::pointer_union_detail::PointerUnionUIntTraits<clang::IdentifierInfo*, clang::MacroDefinitionRecord*>; Info = llvm::PointerIntPairInfo<void*, 1, llvm::pointer_union_detail::PointerUnionUIntTraits<clang::IdentifierInfo*, clang::MacroDefinitionRecord*> >]’
/usr/lib/llvm/roc/include/llvm/ADT/PointerUnion.h:188:31:   required from ‘int llvm::PointerUnion<PTs>::is() const [with T = clang::IdentifierInfo*; PTs = {clang::IdentifierInfo*, clang::MacroDefinitionRecord*}]’
/usr/lib/llvm/roc/include/clang/Lex/PreprocessingRecord.h:185:73:   required from here
/usr/lib/llvm/roc/include/llvm/ADT/PointerUnion.h:93:72: error: ‘constexpr int llvm::pointer_union_detail::lowBitsAvailable() [with Ts = {clang::IdentifierInfo*, clang::MacroDefinitionRecord*}]’ called in a constant expression
   93 |     static constexpr int NumLowBitsAvailable = lowBitsAvailable<PTs...>();
      |                                                ~~~~~~~~~~~~~~~~~~~~~~~~^~
/usr/lib/llvm/roc/include/llvm/ADT/PointerUnion.h:63:43: note: ‘constexpr int llvm::pointer_union_detail::lowBitsAvailable() [with Ts = {clang::IdentifierInfo*, clang::MacroDefinitionRecord*}]’ is not usable as a ‘constexpr’ function because:
   63 |   template <typename... Ts> constexpr int lowBitsAvailable() {
      |                                           ^~~~~~~~~~~~~~~~
/usr/lib/llvm/roc/include/llvm/ADT/PointerUnion.h:64:25: error: call to non-‘constexpr’ function ‘_Tp std::min(std::initializer_list<_Tp>) [with _Tp = int]’
   64 |     return std::min<int>({PointerLikeTypeTraits<Ts>::NumLowBitsAvailable...});
      |            ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/lib/llvm/roc/include/llvm/ADT/PointerUnion.h:18,
                 from /usr/lib/llvm/roc/include/llvm/Support/SourceMgr.h:20,
                 from /usr/lib/llvm/roc/include/llvm/Support/VirtualFileSystem.h:27,
                 from /var/tmp/portage/dev-libs/rocm-opencl-driver-2.7.0/work/ROCm-OpenCL-Driver-roc-2.7.0/src/driver/AmdCompiler.cpp:12:
/usr/lib/llvm/roc/include/llvm/ADT/PointerIntPair.h: In instantiation of ‘struct llvm::PointerIntPairInfo<void*, 1, llvm::pointer_union_detail::PointerUnionUIntTraits<clang::IdentifierInfo*, clang::MacroDefinitionRecord*> >’:
/usr/lib/llvm/roc/include/llvm/ADT/PointerIntPair.h:60:56:   required from ‘IntType llvm::PointerIntPair<PointerTy, IntBits, IntType, PtrTraits, Info>::getInt() const [with PointerTy = void*; unsigned int IntBits = 1; IntType = int; PtrTraits = llvm::pointer_union_detail::PointerUnionUIntTraits<clang::IdentifierInfo*, clang::MacroDefinitionRecord*>; Info = llvm::PointerIntPairInfo<void*, 1, llvm::pointer_union_detail::PointerUnionUIntTraits<clang::IdentifierInfo*, clang::MacroDefinitionRecord*> >]’
/usr/lib/llvm/roc/include/llvm/ADT/PointerUnion.h:188:31:   required from ‘int llvm::PointerUnion<PTs>::is() const [with T = clang::IdentifierInfo*; PTs = {clang::IdentifierInfo*, clang::MacroDefinitionRecord*}]’
/usr/lib/llvm/roc/include/clang/Lex/PreprocessingRecord.h:185:73:   required from here
/usr/lib/llvm/roc/include/llvm/ADT/PointerIntPair.h:149:8: error: enumerator value for ‘IntShift’ is not an integer constant
  149 |   enum : uintptr_t {
      |        ^
In file included from /usr/lib/llvm/roc/include/llvm/Support/SourceMgr.h:20,
                 from /usr/lib/llvm/roc/include/llvm/Support/VirtualFileSystem.h:27,
                 from /var/tmp/portage/dev-libs/rocm-opencl-driver-2.7.0/work/ROCm-OpenCL-Driver-roc-2.7.0/src/driver/AmdCompiler.cpp:12:
/usr/lib/llvm/roc/include/llvm/ADT/PointerUnion.h: In instantiation of ‘constexpr const int llvm::pointer_union_detail::PointerUnionUIntTraits<clang::TypeSourceInfo*, clang::FieldDecl*, clang::IndirectFieldDecl*>::NumLowBitsAvailable’:
/usr/lib/llvm/roc/include/llvm/ADT/PointerIntPair.h:144:48:   required from ‘struct llvm::PointerIntPairInfo<void*, 2, llvm::pointer_union_detail::PointerUnionUIntTraits<clang::TypeSourceInfo*, clang::FieldDecl*, clang::IndirectFieldDecl*> >’
/usr/lib/llvm/roc/include/llvm/ADT/PointerIntPair.h:60:56:   required from ‘IntType llvm::PointerIntPair<PointerTy, IntBits, IntType, PtrTraits, Info>::getInt() const [with PointerTy = void*; unsigned int IntBits = 2; IntType = int; PtrTraits = llvm::pointer_union_detail::PointerUnionUIntTraits<clang::TypeSourceInfo*, clang::FieldDecl*, clang::IndirectFieldDecl*>; Info = llvm::PointerIntPairInfo<void*, 2, llvm::pointer_union_detail::PointerUnionUIntTraits<clang::TypeSourceInfo*, clang::FieldDecl*, clang::IndirectFieldDecl*> >]’
/usr/lib/llvm/roc/include/llvm/ADT/PointerUnion.h:188:31:   required from ‘int llvm::PointerUnion<PTs>::is() const [with T = clang::TypeSourceInfo*; PTs = {clang::TypeSourceInfo*, clang::FieldDecl*, clang::IndirectFieldDecl*}]’
/usr/lib/llvm/roc/include/clang/AST/DeclCXX.h:2440:44:   required from here
/usr/lib/llvm/roc/include/llvm/ADT/PointerUnion.h:93:72: error: ‘constexpr int llvm::pointer_union_detail::lowBitsAvailable() [with Ts = {clang::TypeSourceInfo*, clang::FieldDecl*, clang::IndirectFieldDecl*}]’ called in a constant expression
   93 |     static constexpr int NumLowBitsAvailable = lowBitsAvailable<PTs...>();
      |                                                ~~~~~~~~~~~~~~~~~~~~~~~~^~
/usr/lib/llvm/roc/include/llvm/ADT/PointerUnion.h:63:43: note: ‘constexpr int llvm::pointer_union_detail::lowBitsAvailable() [with Ts = {clang::TypeSourceInfo*, clang::FieldDecl*, clang::IndirectFieldDecl*}]’ is not usable as a ‘constexpr’ function because:
   63 |   template <typename... Ts> constexpr int lowBitsAvailable() {
      |                                           ^~~~~~~~~~~~~~~~
/usr/lib/llvm/roc/include/llvm/ADT/PointerUnion.h:64:25: error: call to non-‘constexpr’ function ‘_Tp std::min(std::initializer_list<_Tp>) [with _Tp = int]’
   64 |     return std::min<int>({PointerLikeTypeTraits<Ts>::NumLowBitsAvailable...});
      |            ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/lib/llvm/roc/include/llvm/ADT/PointerUnion.h:18,
                 from /usr/lib/llvm/roc/include/llvm/Support/SourceMgr.h:20,
                 from /usr/lib/llvm/roc/include/llvm/Support/VirtualFileSystem.h:27,
                 from /var/tmp/portage/dev-libs/rocm-opencl-driver-2.7.0/work/ROCm-OpenCL-Driver-roc-2.7.0/src/driver/AmdCompiler.cpp:12:
/usr/lib/llvm/roc/include/llvm/ADT/PointerIntPair.h: In instantiation of ‘struct llvm::PointerIntPairInfo<void*, 2, llvm::pointer_union_detail::PointerUnionUIntTraits<clang::TypeSourceInfo*, clang::FieldDecl*, clang::IndirectFieldDecl*> >’:
/usr/lib/llvm/roc/include/llvm/ADT/PointerIntPair.h:60:56:   required from ‘IntType llvm::PointerIntPair<PointerTy, IntBits, IntType, PtrTraits, Info>::getInt() const [with PointerTy = void*; unsigned int IntBits = 2; IntType = int; PtrTraits = llvm::pointer_union_detail::PointerUnionUIntTraits<clang::TypeSourceInfo*, clang::FieldDecl*, clang::IndirectFieldDecl*>; Info = llvm::PointerIntPairInfo<void*, 2, llvm::pointer_union_detail::PointerUnionUIntTraits<clang::TypeSourceInfo*, clang::FieldDecl*, clang::IndirectFieldDecl*> >]’
/usr/lib/llvm/roc/include/llvm/ADT/PointerUnion.h:188:31:   required from ‘int llvm::PointerUnion<PTs>::is() const [with T = clang::TypeSourceInfo*; PTs = {clang::TypeSourceInfo*, clang::FieldDecl*, clang::IndirectFieldDecl*}]’
/usr/lib/llvm/roc/include/clang/AST/DeclCXX.h:2440:44:   required from here
/usr/lib/llvm/roc/include/llvm/ADT/PointerIntPair.h:149:8: error: enumerator value for ‘IntShift’ is not an integer constant
  149 |   enum : uintptr_t {
      |        ^
In file included from /usr/lib/llvm/roc/include/llvm/Support/SourceMgr.h:20,
                 from /usr/lib/llvm/roc/include/llvm/Support/VirtualFileSystem.h:27,
                 from /var/tmp/portage/dev-libs/rocm-opencl-driver-2.7.0/work/ROCm-OpenCL-Driver-roc-2.7.0/src/driver/AmdCompiler.cpp:12:
/usr/lib/llvm/roc/include/llvm/ADT/PointerUnion.h: In instantiation of ‘constexpr const int llvm::pointer_union_detail::PointerUnionUIntTraits<clang::Expr*, clang::IdentifierLoc*>::NumLowBitsAvailable’:
/usr/lib/llvm/roc/include/llvm/ADT/PointerIntPair.h:144:48:   required from ‘struct llvm::PointerIntPairInfo<void*, 1, llvm::pointer_union_detail::PointerUnionUIntTraits<clang::Expr*, clang::IdentifierLoc*> >’
/usr/lib/llvm/roc/include/llvm/ADT/PointerIntPair.h:60:56:   required from ‘IntType llvm::PointerIntPair<PointerTy, IntBits, IntType, PtrTraits, Info>::getInt() const [with PointerTy = void*; unsigned int IntBits = 1; IntType = int; PtrTraits = llvm::pointer_union_detail::PointerUnionUIntTraits<clang::Expr*, clang::IdentifierLoc*>; Info = llvm::PointerIntPairInfo<void*, 1, llvm::pointer_union_detail::PointerUnionUIntTraits<clang::Expr*, clang::IdentifierLoc*> >]’
/usr/lib/llvm/roc/include/llvm/ADT/PointerUnion.h:188:31:   required from ‘int llvm::PointerUnion<PTs>::is() const [with T = clang::Expr*; PTs = {clang::Expr*, clang::IdentifierLoc*}]’
/usr/lib/llvm/roc/include/clang/Sema/ParsedAttr.h:467:51:   required from here
/usr/lib/llvm/roc/include/llvm/ADT/PointerUnion.h:93:72: error: ‘constexpr int llvm::pointer_union_detail::lowBitsAvailable() [with Ts = {clang::Expr*, clang::IdentifierLoc*}]’ called in a constant expression
   93 |     static constexpr int NumLowBitsAvailable = lowBitsAvailable<PTs...>();
      |                                                ~~~~~~~~~~~~~~~~~~~~~~~~^~
/usr/lib/llvm/roc/include/llvm/ADT/PointerUnion.h:63:43: note: ‘constexpr int llvm::pointer_union_detail::lowBitsAvailable() [with Ts = {clang::Expr*, clang::IdentifierLoc*}]’ is not usable as a ‘constexpr’ function because:
   63 |   template <typename... Ts> constexpr int lowBitsAvailable() {
      |                                           ^~~~~~~~~~~~~~~~
/usr/lib/llvm/roc/include/llvm/ADT/PointerUnion.h:64:25: error: call to non-‘constexpr’ function ‘_Tp std::min(std::initializer_list<_Tp>) [with _Tp = int]’
   64 |     return std::min<int>({PointerLikeTypeTraits<Ts>::NumLowBitsAvailable...});
      |            ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/lib/llvm/roc/include/llvm/ADT/PointerUnion.h:18,
                 from /usr/lib/llvm/roc/include/llvm/Support/SourceMgr.h:20,
                 from /usr/lib/llvm/roc/include/llvm/Support/VirtualFileSystem.h:27,
                 from /var/tmp/portage/dev-libs/rocm-opencl-driver-2.7.0/work/ROCm-OpenCL-Driver-roc-2.7.0/src/driver/AmdCompiler.cpp:12:
/usr/lib/llvm/roc/include/llvm/ADT/PointerIntPair.h: In instantiation of ‘struct llvm::PointerIntPairInfo<void*, 1, llvm::pointer_union_detail::PointerUnionUIntTraits<clang::Expr*, clang::IdentifierLoc*> >’:
/usr/lib/llvm/roc/include/llvm/ADT/PointerIntPair.h:60:56:   required from ‘IntType llvm::PointerIntPair<PointerTy, IntBits, IntType, PtrTraits, Info>::getInt() const [with PointerTy = void*; unsigned int IntBits = 1; IntType = int; PtrTraits = llvm::pointer_union_detail::PointerUnionUIntTraits<clang::Expr*, clang::IdentifierLoc*>; Info = llvm::PointerIntPairInfo<void*, 1, llvm::pointer_union_detail::PointerUnionUIntTraits<clang::Expr*, clang::IdentifierLoc*> >]’
/usr/lib/llvm/roc/include/llvm/ADT/PointerUnion.h:188:31:   required from ‘int llvm::PointerUnion<PTs>::is() const [with T = clang::Expr*; PTs = {clang::Expr*, clang::IdentifierLoc*}]’
/usr/lib/llvm/roc/include/clang/Sema/ParsedAttr.h:467:51:   required from here
/usr/lib/llvm/roc/include/llvm/ADT/PointerIntPair.h:149:8: error: enumerator value for ‘IntShift’ is not an integer constant
  149 |   enum : uintptr_t {
      |        ^
In file included from /usr/lib/llvm/roc/include/llvm/Support/SourceMgr.h:20,
                 from /usr/lib/llvm/roc/include/llvm/Support/VirtualFileSystem.h:27,
                 from /var/tmp/portage/dev-libs/rocm-opencl-driver-2.7.0/work/ROCm-OpenCL-Driver-roc-2.7.0/src/driver/AmdCompiler.cpp:12:
/usr/lib/llvm/roc/include/llvm/ADT/PointerUnion.h: In instantiation of ‘constexpr const int llvm::pointer_union_detail::PointerUnionUIntTraits<clang::MacroDirective*, clang::Preprocessor::ModuleMacroInfo*>::NumLowBitsAvailable’:
/usr/lib/llvm/roc/include/llvm/ADT/PointerIntPair.h:144:48:   required from ‘struct llvm::PointerIntPairInfo<void*, 1, llvm::pointer_union_detail::PointerUnionUIntTraits<clang::MacroDirective*, clang::Preprocessor::ModuleMacroInfo*> >’
/usr/lib/llvm/roc/include/llvm/ADT/PointerIntPair.h:58:57:   required from ‘PointerTy llvm::PointerIntPair<PointerTy, IntBits, IntType, PtrTraits, Info>::getPointer() const [with PointerTy = void*; unsigned int IntBits = 1; IntType = int; PtrTraits = llvm::pointer_union_detail::PointerUnionUIntTraits<clang::MacroDirective*, clang::Preprocessor::ModuleMacroInfo*>; Info = llvm::PointerIntPairInfo<void*, 1, llvm::pointer_union_detail::PointerUnionUIntTraits<clang::MacroDirective*, clang::Preprocessor::ModuleMacroInfo*> >]’
/usr/lib/llvm/roc/include/llvm/ADT/PointerUnion.h:196:56:   required from ‘T llvm::PointerUnion<PTs>::get() const [with T = clang::MacroDirective*; PTs = {clang::MacroDirective*, clang::Preprocessor::ModuleMacroInfo*}]’
/usr/lib/llvm/roc/include/clang/Lex/Preprocessor.h:595:57:   required from here
/usr/lib/llvm/roc/include/llvm/ADT/PointerUnion.h:93:72: error: ‘constexpr int llvm::pointer_union_detail::lowBitsAvailable() [with Ts = {clang::MacroDirective*, clang::Preprocessor::ModuleMacroInfo*}]’ called in a constant expression
   93 |     static constexpr int NumLowBitsAvailable = lowBitsAvailable<PTs...>();
      |                                                ~~~~~~~~~~~~~~~~~~~~~~~~^~
/usr/lib/llvm/roc/include/llvm/ADT/PointerUnion.h:63:43: note: ‘constexpr int llvm::pointer_union_detail::lowBitsAvailable() [with Ts = {clang::MacroDirective*, clang::Preprocessor::ModuleMacroInfo*}]’ is not usable as a ‘constexpr’ function because:
   63 |   template <typename... Ts> constexpr int lowBitsAvailable() {
      |                                           ^~~~~~~~~~~~~~~~
/usr/lib/llvm/roc/include/llvm/ADT/PointerUnion.h:64:25: error: call to non-‘constexpr’ function ‘_Tp std::min(std::initializer_list<_Tp>) [with _Tp = int]’
   64 |     return std::min<int>({PointerLikeTypeTraits<Ts>::NumLowBitsAvailable...});
      |            ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/lib/llvm/roc/include/llvm/ADT/PointerUnion.h:18,
                 from /usr/lib/llvm/roc/include/llvm/Support/SourceMgr.h:20,
                 from /usr/lib/llvm/roc/include/llvm/Support/VirtualFileSystem.h:27,
                 from /var/tmp/portage/dev-libs/rocm-opencl-driver-2.7.0/work/ROCm-OpenCL-Driver-roc-2.7.0/src/driver/AmdCompiler.cpp:12:
/usr/lib/llvm/roc/include/llvm/ADT/PointerIntPair.h: In instantiation of ‘struct llvm::PointerIntPairInfo<void*, 1, llvm::pointer_union_detail::PointerUnionUIntTraits<clang::MacroDirective*, clang::Preprocessor::ModuleMacroInfo*> >’:
/usr/lib/llvm/roc/include/llvm/ADT/PointerIntPair.h:58:57:   required from ‘PointerTy llvm::PointerIntPair<PointerTy, IntBits, IntType, PtrTraits, Info>::getPointer() const [with PointerTy = void*; unsigned int IntBits = 1; IntType = int; PtrTraits = llvm::pointer_union_detail::PointerUnionUIntTraits<clang::MacroDirective*, clang::Preprocessor::ModuleMacroInfo*>; Info = llvm::PointerIntPairInfo<void*, 1, llvm::pointer_union_detail::PointerUnionUIntTraits<clang::MacroDirective*, clang::Preprocessor::ModuleMacroInfo*> >]’
/usr/lib/llvm/roc/include/llvm/ADT/PointerUnion.h:196:56:   required from ‘T llvm::PointerUnion<PTs>::get() const [with T = clang::MacroDirective*; PTs = {clang::MacroDirective*, clang::Preprocessor::ModuleMacroInfo*}]’
/usr/lib/llvm/roc/include/clang/Lex/Preprocessor.h:595:57:   required from here
/usr/lib/llvm/roc/include/llvm/ADT/PointerIntPair.h:149:8: error: enumerator value for ‘IntShift’ is not an integer constant
  149 |   enum : uintptr_t {
      |        ^
In file included from /usr/lib/llvm/roc/include/llvm/Support/SourceMgr.h:20,
                 from /usr/lib/llvm/roc/include/llvm/Support/VirtualFileSystem.h:27,
                 from /var/tmp/portage/dev-libs/rocm-opencl-driver-2.7.0/work/ROCm-OpenCL-Driver-roc-2.7.0/src/driver/AmdCompiler.cpp:12:
/usr/lib/llvm/roc/include/llvm/ADT/PointerUnion.h: In instantiation of ‘constexpr const int llvm::pointer_union_detail::PointerUnionUIntTraits<llvm::LLVMContext*, llvm::ReplaceableMetadataImpl*>::NumLowBitsAvailable’:
/usr/lib/llvm/roc/include/llvm/ADT/PointerIntPair.h:144:48:   required from ‘struct llvm::PointerIntPairInfo<void*, 1, llvm::pointer_union_detail::PointerUnionUIntTraits<llvm::LLVMContext*, llvm::ReplaceableMetadataImpl*> >’
/usr/lib/llvm/roc/include/llvm/ADT/PointerIntPair.h:60:56:   required from ‘IntType llvm::PointerIntPair<PointerTy, IntBits, IntType, PtrTraits, Info>::getInt() const [with PointerTy = void*; unsigned int IntBits = 1; IntType = int; PtrTraits = llvm::pointer_union_detail::PointerUnionUIntTraits<llvm::LLVMContext*, llvm::ReplaceableMetadataImpl*>; Info = llvm::PointerIntPairInfo<void*, 1, llvm::pointer_union_detail::PointerUnionUIntTraits<llvm::LLVMContext*, llvm::ReplaceableMetadataImpl*> >]’
/usr/lib/llvm/roc/include/llvm/ADT/PointerUnion.h:188:31:   required from ‘int llvm::PointerUnion<PTs>::is() const [with T = llvm::ReplaceableMetadataImpl*; PTs = {llvm::LLVMContext*, llvm::ReplaceableMetadataImpl*}]’
/usr/lib/llvm/roc/include/llvm/IR/Metadata.h:791:46:   required from here
/usr/lib/llvm/roc/include/llvm/ADT/PointerUnion.h:93:72: error: ‘constexpr int llvm::pointer_union_detail::lowBitsAvailable() [with Ts = {llvm::LLVMContext*, llvm::ReplaceableMetadataImpl*}]’ called in a constant expression
   93 |     static constexpr int NumLowBitsAvailable = lowBitsAvailable<PTs...>();
      |                                                ~~~~~~~~~~~~~~~~~~~~~~~~^~
/usr/lib/llvm/roc/include/llvm/ADT/PointerUnion.h:63:43: note: ‘constexpr int llvm::pointer_union_detail::lowBitsAvailable() [with Ts = {llvm::LLVMContext*, llvm::ReplaceableMetadataImpl*}]’ is not usable as a ‘constexpr’ function because:
   63 |   template <typename... Ts> constexpr int lowBitsAvailable() {
      |                                           ^~~~~~~~~~~~~~~~
/usr/lib/llvm/roc/include/llvm/ADT/PointerUnion.h:64:25: error: call to non-‘constexpr’ function ‘_Tp std::min(std::initializer_list<_Tp>) [with _Tp = int]’
   64 |     return std::min<int>({PointerLikeTypeTraits<Ts>::NumLowBitsAvailable...});
      |            ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/lib/llvm/roc/include/llvm/ADT/PointerUnion.h:18,
                 from /usr/lib/llvm/roc/include/llvm/Support/SourceMgr.h:20,
                 from /usr/lib/llvm/roc/include/llvm/Support/VirtualFileSystem.h:27,
                 from /var/tmp/portage/dev-libs/rocm-opencl-driver-2.7.0/work/ROCm-OpenCL-Driver-roc-2.7.0/src/driver/AmdCompiler.cpp:12:
/usr/lib/llvm/roc/include/llvm/ADT/PointerIntPair.h: In instantiation of ‘struct llvm::PointerIntPairInfo<void*, 1, llvm::pointer_union_detail::PointerUnionUIntTraits<llvm::LLVMContext*, llvm::ReplaceableMetadataImpl*> >’:
/usr/lib/llvm/roc/include/llvm/ADT/PointerIntPair.h:60:56:   required from ‘IntType llvm::PointerIntPair<PointerTy, IntBits, IntType, PtrTraits, Info>::getInt() const [with PointerTy = void*; unsigned int IntBits = 1; IntType = int; PtrTraits = llvm::pointer_union_detail::PointerUnionUIntTraits<llvm::LLVMContext*, llvm::ReplaceableMetadataImpl*>; Info = llvm::PointerIntPairInfo<void*, 1, llvm::pointer_union_detail::PointerUnionUIntTraits<llvm::LLVMContext*, llvm::ReplaceableMetadataImpl*> >]’
/usr/lib/llvm/roc/include/llvm/ADT/PointerUnion.h:188:31:   required from ‘int llvm::PointerUnion<PTs>::is() const [with T = llvm::ReplaceableMetadataImpl*; PTs = {llvm::LLVMContext*, llvm::ReplaceableMetadataImpl*}]’
/usr/lib/llvm/roc/include/llvm/IR/Metadata.h:791:46:   required from here
/usr/lib/llvm/roc/include/llvm/ADT/PointerIntPair.h:149:8: error: enumerator value for ‘IntShift’ is not an integer constant
  149 |   enum : uintptr_t {
      |        ^
/usr/lib/llvm/roc/include/llvm/ADT/PointerIntPair.h: In instantiation of ‘static intptr_t llvm::PointerIntPairInfo<PointerT, IntBits, PtrTraits>::updateInt(intptr_t, intptr_t) [with PointerT = llvm::PointerUnion<clang::TypeSourceInfo*, clang::TypedefNameDecl::ModedTInfo*>; unsigned int IntBits = 2; PtrTraits = llvm::PointerLikeTypeTraits<llvm::PointerUnion<clang::TypeSourceInfo*, clang::TypedefNameDecl::ModedTInfo*> >; intptr_t = long int]’:
/usr/lib/llvm/roc/include/llvm/ADT/PointerIntPair.h:75:28:   required from ‘void llvm::PointerIntPair<PointerTy, IntBits, IntType, PtrTraits, Info>::setPointerAndInt(PointerTy, IntType) [with PointerTy = llvm::PointerUnion<clang::TypeSourceInfo*, clang::TypedefNameDecl::ModedTInfo*>; unsigned int IntBits = 2; IntType = unsigned int; PtrTraits = llvm::PointerLikeTypeTraits<llvm::PointerUnion<clang::TypeSourceInfo*, clang::TypedefNameDecl::ModedTInfo*> >; Info = llvm::PointerIntPairInfo<llvm::PointerUnion<clang::TypeSourceInfo*, clang::TypedefNameDecl::ModedTInfo*>, 2, llvm::PointerLikeTypeTraits<llvm::PointerUnion<clang::TypeSourceInfo*, clang::TypedefNameDecl::ModedTInfo*> > >]’
/usr/lib/llvm/roc/include/llvm/ADT/PointerIntPair.h:53:5:   required from ‘llvm::PointerIntPair<PointerTy, IntBits, IntType, PtrTraits, Info>::PointerIntPair(PointerTy, IntType) [with PointerTy = llvm::PointerUnion<clang::TypeSourceInfo*, clang::TypedefNameDecl::ModedTInfo*>; unsigned int IntBits = 2; IntType = unsigned int; PtrTraits = llvm::PointerLikeTypeTraits<llvm::PointerUnion<clang::TypeSourceInfo*, clang::TypedefNameDecl::ModedTInfo*> >; Info = llvm::PointerIntPairInfo<llvm::PointerUnion<clang::TypeSourceInfo*, clang::TypedefNameDecl::ModedTInfo*>, 2, llvm::PointerLikeTypeTraits<llvm::PointerUnion<clang::TypeSourceInfo*, clang::TypedefNameDecl::ModedTInfo*> > >]’
/usr/lib/llvm/roc/include/clang/AST/Decl.h:2968:33:   required from here
/usr/lib/llvm/roc/include/llvm/ADT/PointerIntPair.h:188:52: warning: left shift count >= width of type [-Wshift-count-overflow]
  188 |     return (OrigValue & ~ShiftedIntMask) | IntWord << IntShift;
      |                                            ~~~~~~~~^~~~~~~~~~~
In file included from /usr/lib/llvm/roc/include/llvm/Support/SourceMgr.h:20,
                 from /usr/lib/llvm/roc/include/llvm/Support/VirtualFileSystem.h:27,
                 from /var/tmp/portage/dev-libs/rocm-opencl-driver-2.7.0/work/ROCm-OpenCL-Driver-roc-2.7.0/src/driver/AmdCompiler.cpp:12:
/usr/lib/llvm/roc/include/llvm/ADT/PointerUnion.h: In instantiation of ‘constexpr const int llvm::pointer_union_detail::PointerUnionUIntTraits<clang::Expr*, clang::FieldDecl*>::NumLowBitsAvailable’:
/usr/lib/llvm/roc/include/llvm/ADT/PointerIntPair.h:144:48:   required from ‘struct llvm::PointerIntPairInfo<void*, 1, llvm::pointer_union_detail::PointerUnionUIntTraits<clang::Expr*, clang::FieldDecl*> >’
/usr/lib/llvm/roc/include/llvm/ADT/PointerIntPair.h:60:56:   required from ‘IntType llvm::PointerIntPair<PointerTy, IntBits, IntType, PtrTraits, Info>::getInt() const [with PointerTy = void*; unsigned int IntBits = 1; IntType = int; PtrTraits = llvm::pointer_union_detail::PointerUnionUIntTraits<clang::Expr*, clang::FieldDecl*>; Info = llvm::PointerIntPairInfo<void*, 1, llvm::pointer_union_detail::PointerUnionUIntTraits<clang::Expr*, clang::FieldDecl*> >]’
/usr/lib/llvm/roc/include/llvm/ADT/PointerUnion.h:188:31:   required from ‘int llvm::PointerUnion<PTs>::is() const [with T = clang::Expr*; PTs = {clang::Expr*, clang::FieldDecl*}]’
/usr/lib/llvm/roc/include/llvm/ADT/PointerUnion.h:202:5:   required from ‘T llvm::PointerUnion<PTs>::dyn_cast() const [with T = clang::Expr*; PTs = {clang::Expr*, clang::FieldDecl*}]’
/usr/lib/llvm/roc/include/clang/AST/Expr.h:4465:57:   required from here
/usr/lib/llvm/roc/include/llvm/ADT/PointerUnion.h:93:72: error: ‘constexpr int llvm::pointer_union_detail::lowBitsAvailable() [with Ts = {clang::Expr*, clang::FieldDecl*}]’ called in a constant expression
   93 |     static constexpr int NumLowBitsAvailable = lowBitsAvailable<PTs...>();
      |                                                ~~~~~~~~~~~~~~~~~~~~~~~~^~
/usr/lib/llvm/roc/include/llvm/ADT/PointerUnion.h:63:43: note: ‘constexpr int llvm::pointer_union_detail::lowBitsAvailable() [with Ts = {clang::Expr*, clang::FieldDecl*}]’ is not usable as a ‘constexpr’ function because:
   63 |   template <typename... Ts> constexpr int lowBitsAvailable() {
      |                                           ^~~~~~~~~~~~~~~~
/usr/lib/llvm/roc/include/llvm/ADT/PointerUnion.h:64:25: error: call to non-‘constexpr’ function ‘_Tp std::min(std::initializer_list<_Tp>) [with _Tp = int]’
   64 |     return std::min<int>({PointerLikeTypeTraits<Ts>::NumLowBitsAvailable...});
      |            ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/lib/llvm/roc/include/llvm/ADT/PointerUnion.h:18,
                 from /usr/lib/llvm/roc/include/llvm/Support/SourceMgr.h:20,
                 from /usr/lib/llvm/roc/include/llvm/Support/VirtualFileSystem.h:27,
                 from /var/tmp/portage/dev-libs/rocm-opencl-driver-2.7.0/work/ROCm-OpenCL-Driver-roc-2.7.0/src/driver/AmdCompiler.cpp:12:
/usr/lib/llvm/roc/include/llvm/ADT/PointerIntPair.h: In instantiation of ‘struct llvm::PointerIntPairInfo<void*, 1, llvm::pointer_union_detail::PointerUnionUIntTraits<clang::Expr*, clang::FieldDecl*> >’:
/usr/lib/llvm/roc/include/llvm/ADT/PointerIntPair.h:60:56:   required from ‘IntType llvm::PointerIntPair<PointerTy, IntBits, IntType, PtrTraits, Info>::getInt() const [with PointerTy = void*; unsigned int IntBits = 1; IntType = int; PtrTraits = llvm::pointer_union_detail::PointerUnionUIntTraits<clang::Expr*, clang::FieldDecl*>; Info = llvm::PointerIntPairInfo<void*, 1, llvm::pointer_union_detail::PointerUnionUIntTraits<clang::Expr*, clang::FieldDecl*> >]’
/usr/lib/llvm/roc/include/llvm/ADT/PointerUnion.h:188:31:   required from ‘int llvm::PointerUnion<PTs>::is() const [with T = clang::Expr*; PTs = {clang::Expr*, clang::FieldDecl*}]’
/usr/lib/llvm/roc/include/llvm/ADT/PointerUnion.h:202:5:   required from ‘T llvm::PointerUnion<PTs>::dyn_cast() const [with T = clang::Expr*; PTs = {clang::Expr*, clang::FieldDecl*}]’
/usr/lib/llvm/roc/include/clang/AST/Expr.h:4465:57:   required from here
/usr/lib/llvm/roc/include/llvm/ADT/PointerIntPair.h:149:8: error: enumerator value for ‘IntShift’ is not an integer constant
  149 |   enum : uintptr_t {
      |        ^
In file included from /usr/lib/llvm/roc/include/llvm/Support/SourceMgr.h:20,
                 from /usr/lib/llvm/roc/include/llvm/Support/VirtualFileSystem.h:27,
                 from /var/tmp/portage/dev-libs/rocm-opencl-driver-2.7.0/work/ROCm-OpenCL-Driver-roc-2.7.0/src/driver/AmdCompiler.cpp:12:
/usr/lib/llvm/roc/include/llvm/ADT/PointerUnion.h: In instantiation of ‘constexpr const int llvm::pointer_union_detail::PointerUnionUIntTraits<clang::Module*, llvm::SmallVector<clang::Module*, 4>*>::NumLowBitsAvailable’:
/usr/lib/llvm/roc/include/llvm/ADT/PointerIntPair.h:144:48:   required from ‘struct llvm::PointerIntPairInfo<void*, 1, llvm::pointer_union_detail::PointerUnionUIntTraits<clang::Module*, llvm::SmallVector<clang::Module*, 4>*> >’
/usr/lib/llvm/roc/include/llvm/ADT/PointerIntPair.h:58:57:   required from ‘PointerTy llvm::PointerIntPair<PointerTy, IntBits, IntType, PtrTraits, Info>::getPointer() const [with PointerTy = void*; unsigned int IntBits = 1; IntType = int; PtrTraits = llvm::pointer_union_detail::PointerUnionUIntTraits<clang::Module*, llvm::SmallVector<clang::Module*, 4>*>; Info = llvm::PointerIntPairInfo<void*, 1, llvm::pointer_union_detail::PointerUnionUIntTraits<clang::Module*, llvm::SmallVector<clang::Module*, 4>*> >]’
/usr/lib/llvm/roc/include/llvm/ADT/PointerUnion.h:179:32:   required from ‘bool llvm::PointerUnion<PTs>::isNull() const [with PTs = {clang::Module*, llvm::SmallVector<clang::Module*, 4>*}]’
/usr/lib/llvm/roc/include/llvm/ADT/TinyPtrVector.h:147:5:   required from ‘llvm::TinyPtrVector<EltTy>::operator llvm::MutableArrayRef<T>() [with EltTy = clang::Module*]’
/usr/lib/llvm/roc/include/clang/AST/ASTContext.h:981:22:   required from here
/usr/lib/llvm/roc/include/llvm/ADT/PointerUnion.h:93:72: error: ‘constexpr int llvm::pointer_union_detail::lowBitsAvailable() [with Ts = {clang::Module*, llvm::SmallVector<clang::Module*, 4>*}]’ called in a constant expression
   93 |     static constexpr int NumLowBitsAvailable = lowBitsAvailable<PTs...>();
      |                                                ~~~~~~~~~~~~~~~~~~~~~~~~^~
/usr/lib/llvm/roc/include/llvm/ADT/PointerUnion.h:63:43: note: ‘constexpr int llvm::pointer_union_detail::lowBitsAvailable() [with Ts = {clang::Module*, llvm::SmallVector<clang::Module*, 4>*}]’ is not usable as a ‘constexpr’ function because:
   63 |   template <typename... Ts> constexpr int lowBitsAvailable() {
      |                                           ^~~~~~~~~~~~~~~~
/usr/lib/llvm/roc/include/llvm/ADT/PointerUnion.h:64:25: error: call to non-‘constexpr’ function ‘_Tp std::min(std::initializer_list<_Tp>) [with _Tp = int]’
   64 |     return std::min<int>({PointerLikeTypeTraits<Ts>::NumLowBitsAvailable...});
      |            ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/lib/llvm/roc/include/llvm/ADT/PointerUnion.h:18,
                 from /usr/lib/llvm/roc/include/llvm/Support/SourceMgr.h:20,
                 from /usr/lib/llvm/roc/include/llvm/Support/VirtualFileSystem.h:27,
                 from /var/tmp/portage/dev-libs/rocm-opencl-driver-2.7.0/work/ROCm-OpenCL-Driver-roc-2.7.0/src/driver/AmdCompiler.cpp:12:
/usr/lib/llvm/roc/include/llvm/ADT/PointerIntPair.h: In instantiation of ‘struct llvm::PointerIntPairInfo<void*, 1, llvm::pointer_union_detail::PointerUnionUIntTraits<clang::Module*, llvm::SmallVector<clang::Module*, 4>*> >’:
/usr/lib/llvm/roc/include/llvm/ADT/PointerIntPair.h:58:57:   required from ‘PointerTy llvm::PointerIntPair<PointerTy, IntBits, IntType, PtrTraits, Info>::getPointer() const [with PointerTy = void*; unsigned int IntBits = 1; IntType = int; PtrTraits = llvm::pointer_union_detail::PointerUnionUIntTraits<clang::Module*, llvm::SmallVector<clang::Module*, 4>*>; Info = llvm::PointerIntPairInfo<void*, 1, llvm::pointer_union_detail::PointerUnionUIntTraits<clang::Module*, llvm::SmallVector<clang::Module*, 4>*> >]’
/usr/lib/llvm/roc/include/llvm/ADT/PointerUnion.h:179:32:   required from ‘bool llvm::PointerUnion<PTs>::isNull() const [with PTs = {clang::Module*, llvm::SmallVector<clang::Module*, 4>*}]’
/usr/lib/llvm/roc/include/llvm/ADT/TinyPtrVector.h:147:5:   required from ‘llvm::TinyPtrVector<EltTy>::operator llvm::MutableArrayRef<T>() [with EltTy = clang::Module*]’
/usr/lib/llvm/roc/include/clang/AST/ASTContext.h:981:22:   required from here
/usr/lib/llvm/roc/include/llvm/ADT/PointerIntPair.h:149:8: error: enumerator value for ‘IntShift’ is not an integer constant
  149 |   enum : uintptr_t {
      |        ^
In file included from /usr/lib/llvm/roc/include/llvm/Support/SourceMgr.h:20,
                 from /usr/lib/llvm/roc/include/llvm/Support/VirtualFileSystem.h:27,
                 from /var/tmp/portage/dev-libs/rocm-opencl-driver-2.7.0/work/ROCm-OpenCL-Driver-roc-2.7.0/src/driver/AmdCompiler.cpp:12:
/usr/lib/llvm/roc/include/llvm/ADT/PointerUnion.h: In instantiation of ‘constexpr const int llvm::pointer_union_detail::PointerUnionUIntTraits<clang::ParsedAttr*, llvm::SmallVector<clang::ParsedAttr*, 4>*>::NumLowBitsAvailable’:
/usr/lib/llvm/roc/include/llvm/ADT/PointerIntPair.h:144:48:   required from ‘struct llvm::PointerIntPairInfo<void*, 1, llvm::pointer_union_detail::PointerUnionUIntTraits<clang::ParsedAttr*, llvm::SmallVector<clang::ParsedAttr*, 4>*> >’
/usr/lib/llvm/roc/include/llvm/ADT/PointerIntPair.h:58:57:   required from ‘PointerTy llvm::PointerIntPair<PointerTy, IntBits, IntType, PtrTraits, Info>::getPointer() const [with PointerTy = void*; unsigned int IntBits = 1; IntType = int; PtrTraits = llvm::pointer_union_detail::PointerUnionUIntTraits<clang::ParsedAttr*, llvm::SmallVector<clang::ParsedAttr*, 4>*>; Info = llvm::PointerIntPairInfo<void*, 1, llvm::pointer_union_detail::PointerUnionUIntTraits<clang::ParsedAttr*, llvm::SmallVector<clang::ParsedAttr*, 4>*> >]’
/usr/lib/llvm/roc/include/llvm/ADT/PointerUnion.h:179:32:   required from ‘bool llvm::PointerUnion<PTs>::isNull() const [with PTs = {clang::ParsedAttr*, llvm::SmallVector<clang::ParsedAttr*, 4>*}]’
/usr/lib/llvm/roc/include/llvm/ADT/TinyPtrVector.h:246:5:   required from ‘void llvm::TinyPtrVector<EltTy>::push_back(EltTy) [with EltTy = clang::ParsedAttr*]’
/usr/lib/llvm/roc/include/clang/Sema/ParsedAttr.h:694:25:   required from here
/usr/lib/llvm/roc/include/llvm/ADT/PointerUnion.h:93:72: error: ‘constexpr int llvm::pointer_union_detail::lowBitsAvailable() [with Ts = {clang::ParsedAttr*, llvm::SmallVector<clang::ParsedAttr*, 4>*}]’ called in a constant expression
   93 |     static constexpr int NumLowBitsAvailable = lowBitsAvailable<PTs...>();
      |                                                ~~~~~~~~~~~~~~~~~~~~~~~~^~
/usr/lib/llvm/roc/include/llvm/ADT/PointerUnion.h:63:43: note: ‘constexpr int llvm::pointer_union_detail::lowBitsAvailable() [with Ts = {clang::ParsedAttr*, llvm::SmallVector<clang::ParsedAttr*, 4>*}]’ is not usable as a ‘constexpr’ function because:
   63 |   template <typename... Ts> constexpr int lowBitsAvailable() {
      |                                           ^~~~~~~~~~~~~~~~
/usr/lib/llvm/roc/include/llvm/ADT/PointerUnion.h:64:25: error: call to non-‘constexpr’ function ‘_Tp std::min(std::initializer_list<_Tp>) [with _Tp = int]’
   64 |     return std::min<int>({PointerLikeTypeTraits<Ts>::NumLowBitsAvailable...});
      |            ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/lib/llvm/roc/include/llvm/ADT/PointerUnion.h:18,
                 from /usr/lib/llvm/roc/include/llvm/Support/SourceMgr.h:20,
                 from /usr/lib/llvm/roc/include/llvm/Support/VirtualFileSystem.h:27,
                 from /var/tmp/portage/dev-libs/rocm-opencl-driver-2.7.0/work/ROCm-OpenCL-Driver-roc-2.7.0/src/driver/AmdCompiler.cpp:12:
/usr/lib/llvm/roc/include/llvm/ADT/PointerIntPair.h: In instantiation of ‘struct llvm::PointerIntPairInfo<void*, 1, llvm::pointer_union_detail::PointerUnionUIntTraits<clang::ParsedAttr*, llvm::SmallVector<clang::ParsedAttr*, 4>*> >’:
/usr/lib/llvm/roc/include/llvm/ADT/PointerIntPair.h:58:57:   required from ‘PointerTy llvm::PointerIntPair<PointerTy, IntBits, IntType, PtrTraits, Info>::getPointer() const [with PointerTy = void*; unsigned int IntBits = 1; IntType = int; PtrTraits = llvm::pointer_union_detail::PointerUnionUIntTraits<clang::ParsedAttr*, llvm::SmallVector<clang::ParsedAttr*, 4>*>; Info = llvm::PointerIntPairInfo<void*, 1, llvm::pointer_union_detail::PointerUnionUIntTraits<clang::ParsedAttr*, llvm::SmallVector<clang::ParsedAttr*, 4>*> >]’
/usr/lib/llvm/roc/include/llvm/ADT/PointerUnion.h:179:32:   required from ‘bool llvm::PointerUnion<PTs>::isNull() const [with PTs = {clang::ParsedAttr*, llvm::SmallVector<clang::ParsedAttr*, 4>*}]’
/usr/lib/llvm/roc/include/llvm/ADT/TinyPtrVector.h:246:5:   required from ‘void llvm::TinyPtrVector<EltTy>::push_back(EltTy) [with EltTy = clang::ParsedAttr*]’
/usr/lib/llvm/roc/include/clang/Sema/ParsedAttr.h:694:25:   required from here
/usr/lib/llvm/roc/include/llvm/ADT/PointerIntPair.h:149:8: error: enumerator value for ‘IntShift’ is not an integer constant
  149 |   enum : uintptr_t {
      |        ^
In file included from /usr/lib/llvm/roc/include/llvm/Support/SourceMgr.h:20,
                 from /usr/lib/llvm/roc/include/llvm/Support/VirtualFileSystem.h:27,
                 from /var/tmp/portage/dev-libs/rocm-opencl-driver-2.7.0/work/ROCm-OpenCL-Driver-roc-2.7.0/src/driver/AmdCompiler.cpp:12:
/usr/lib/llvm/roc/include/llvm/ADT/PointerUnion.h: In instantiation of ‘constexpr const int llvm::pointer_union_detail::PointerUnionUIntTraits<clang::ModuleMacro*, llvm::SmallVector<clang::ModuleMacro*, 4>*>::NumLowBitsAvailable’:
/usr/lib/llvm/roc/include/llvm/ADT/PointerIntPair.h:144:48:   required from ‘struct llvm::PointerIntPairInfo<void*, 1, llvm::pointer_union_detail::PointerUnionUIntTraits<clang::ModuleMacro*, llvm::SmallVector<clang::ModuleMacro*, 4>*> >’
/usr/lib/llvm/roc/include/llvm/ADT/PointerIntPair.h:58:57:   required from ‘PointerTy llvm::PointerIntPair<PointerTy, IntBits, IntType, PtrTraits, Info>::getPointer() const [with PointerTy = void*; unsigned int IntBits = 1; IntType = int; PtrTraits = llvm::pointer_union_detail::PointerUnionUIntTraits<clang::ModuleMacro*, llvm::SmallVector<clang::ModuleMacro*, 4>*>; Info = llvm::PointerIntPairInfo<void*, 1, llvm::pointer_union_detail::PointerUnionUIntTraits<clang::ModuleMacro*, llvm::SmallVector<clang::ModuleMacro*, 4>*> >]’
/usr/lib/llvm/roc/include/llvm/ADT/PointerUnion.h:179:32:   required from ‘bool llvm::PointerUnion<PTs>::isNull() const [with PTs = {clang::ModuleMacro*, llvm::SmallVector<clang::ModuleMacro*, 4>*}]’
/usr/lib/llvm/roc/include/llvm/ADT/TinyPtrVector.h:147:5:   required from ‘llvm::TinyPtrVector<EltTy>::operator llvm::MutableArrayRef<T>() [with EltTy = clang::ModuleMacro*]’
/usr/lib/llvm/roc/include/clang/Lex/Preprocessor.h:646:22:   required from here
/usr/lib/llvm/roc/include/llvm/ADT/PointerUnion.h:93:72: error: ‘constexpr int llvm::pointer_union_detail::lowBitsAvailable() [with Ts = {clang::ModuleMacro*, llvm::SmallVector<clang::ModuleMacro*, 4>*}]’ called in a constant expression
   93 |     static constexpr int NumLowBitsAvailable = lowBitsAvailable<PTs...>();
      |                                                ~~~~~~~~~~~~~~~~~~~~~~~~^~
/usr/lib/llvm/roc/include/llvm/ADT/PointerUnion.h:63:43: note: ‘constexpr int llvm::pointer_union_detail::lowBitsAvailable() [with Ts = {clang::ModuleMacro*, llvm::SmallVector<clang::ModuleMacro*, 4>*}]’ is not usable as a ‘constexpr’ function because:
   63 |   template <typename... Ts> constexpr int lowBitsAvailable() {
      |                                           ^~~~~~~~~~~~~~~~
/usr/lib/llvm/roc/include/llvm/ADT/PointerUnion.h:64:25: error: call to non-‘constexpr’ function ‘_Tp std::min(std::initializer_list<_Tp>) [with _Tp = int]’
   64 |     return std::min<int>({PointerLikeTypeTraits<Ts>::NumLowBitsAvailable...});
      |            ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/lib/llvm/roc/include/llvm/ADT/PointerUnion.h:18,
                 from /usr/lib/llvm/roc/include/llvm/Support/SourceMgr.h:20,
                 from /usr/lib/llvm/roc/include/llvm/Support/VirtualFileSystem.h:27,
                 from /var/tmp/portage/dev-libs/rocm-opencl-driver-2.7.0/work/ROCm-OpenCL-Driver-roc-2.7.0/src/driver/AmdCompiler.cpp:12:
/usr/lib/llvm/roc/include/llvm/ADT/PointerIntPair.h: In instantiation of ‘struct llvm::PointerIntPairInfo<void*, 1, llvm::pointer_union_detail::PointerUnionUIntTraits<clang::ModuleMacro*, llvm::SmallVector<clang::ModuleMacro*, 4>*> >’:
/usr/lib/llvm/roc/include/llvm/ADT/PointerIntPair.h:58:57:   required from ‘PointerTy llvm::PointerIntPair<PointerTy, IntBits, IntType, PtrTraits, Info>::getPointer() const [with PointerTy = void*; unsigned int IntBits = 1; IntType = int; PtrTraits = llvm::pointer_union_detail::PointerUnionUIntTraits<clang::ModuleMacro*, llvm::SmallVector<clang::ModuleMacro*, 4>*>; Info = llvm::PointerIntPairInfo<void*, 1, llvm::pointer_union_detail::PointerUnionUIntTraits<clang::ModuleMacro*, llvm::SmallVector<clang::ModuleMacro*, 4>*> >]’
/usr/lib/llvm/roc/include/llvm/ADT/PointerUnion.h:179:32:   required from ‘bool llvm::PointerUnion<PTs>::isNull() const [with PTs = {clang::ModuleMacro*, llvm::SmallVector<clang::ModuleMacro*, 4>*}]’
/usr/lib/llvm/roc/include/llvm/ADT/TinyPtrVector.h:147:5:   required from ‘llvm::TinyPtrVector<EltTy>::operator llvm::MutableArrayRef<T>() [with EltTy = clang::ModuleMacro*]’
/usr/lib/llvm/roc/include/clang/Lex/Preprocessor.h:646:22:   required from here
/usr/lib/llvm/roc/include/llvm/ADT/PointerIntPair.h:149:8: error: enumerator value for ‘IntShift’ is not an integer constant
  149 |   enum : uintptr_t {
      |        ^
In file included from /usr/lib/llvm/roc/include/llvm/Support/SourceMgr.h:20,
                 from /usr/lib/llvm/roc/include/llvm/Support/VirtualFileSystem.h:27,
                 from /var/tmp/portage/dev-libs/rocm-opencl-driver-2.7.0/work/ROCm-OpenCL-Driver-roc-2.7.0/src/driver/AmdCompiler.cpp:12:
/usr/lib/llvm/roc/include/llvm/ADT/PointerUnion.h: In instantiation of ‘constexpr const int llvm::pointer_union_detail::PointerUnionUIntTraits<llvm::unique_function<void(const clang::Token&)>::TrivialCallback*, llvm::unique_function<void(const clang::Token&)>::NonTrivialCallbacks*>::NumLowBitsAvailable’:
/usr/lib/llvm/roc/include/llvm/ADT/PointerIntPair.h:237:63:   required from ‘struct llvm::PointerLikeTypeTraits<llvm::PointerIntPair<void*, 1, int, llvm::pointer_union_detail::PointerUnionUIntTraits<llvm::unique_function<void(const clang::Token&)>::TrivialCallback*, llvm::unique_function<void(const clang::Token&)>::NonTrivialCallbacks*>, llvm::PointerIntPairInfo<void*, 1, llvm::pointer_union_detail::PointerUnionUIntTraits<llvm::unique_function<void(const clang::Token&)>::TrivialCallback*, llvm::unique_function<void(const clang::Token&)>::NonTrivialCallbacks*> > > >’
/usr/lib/llvm/roc/include/llvm/ADT/PointerUnion.h:271:24:   required from ‘constexpr const int llvm::PointerLikeTypeTraits<llvm::PointerUnion<llvm::unique_function<void(const clang::Token&)>::TrivialCallback*, llvm::unique_function<void(const clang::Token&)>::NonTrivialCallbacks*> >::NumLowBitsAvailable’
/usr/lib/llvm/roc/include/llvm/ADT/PointerIntPair.h:144:48:   required from ‘struct llvm::PointerIntPairInfo<llvm::PointerUnion<llvm::unique_function<void(const clang::Token&)>::TrivialCallback*, llvm::unique_function<void(const clang::Token&)>::NonTrivialCallbacks*>, 1, llvm::PointerLikeTypeTraits<llvm::PointerUnion<llvm::unique_function<void(const clang::Token&)>::TrivialCallback*, llvm::unique_function<void(const clang::Token&)>::NonTrivialCallbacks*> > >’
/usr/lib/llvm/roc/include/llvm/ADT/PointerIntPair.h:58:57:   required from ‘PointerTy llvm::PointerIntPair<PointerTy, IntBits, IntType, PtrTraits, Info>::getPointer() const [with PointerTy = llvm::PointerUnion<llvm::unique_function<void(const clang::Token&)>::TrivialCallback*, llvm::unique_function<void(const clang::Token&)>::NonTrivialCallbacks*>; unsigned int IntBits = 1; IntType = bool; PtrTraits = llvm::PointerLikeTypeTraits<llvm::PointerUnion<llvm::unique_function<void(const clang::Token&)>::TrivialCallback*, llvm::unique_function<void(const clang::Token&)>::NonTrivialCallbacks*> >; Info = llvm::PointerIntPairInfo<llvm::PointerUnion<llvm::unique_function<void(const clang::Token&)>::TrivialCallback*, llvm::unique_function<void(const clang::Token&)>::NonTrivialCallbacks*>, 1, llvm::PointerLikeTypeTraits<llvm::PointerUnion<llvm::unique_function<void(const clang::Token&)>::TrivialCallback*, llvm::unique_function<void(const clang::Token&)>::NonTrivialCallbacks*> > >]’
/usr/lib/llvm/roc/include/llvm/ADT/FunctionExtras.h:177:9:   required from ‘llvm::unique_function<ReturnT(ParamTs ...)>::~unique_function() [with ReturnT = void; ParamTs = {const clang::Token&}]’
/usr/lib/llvm/roc/include/llvm/ADT/FunctionExtras.h:228:5:   required from ‘llvm::unique_function<ReturnT(ParamTs ...)>& llvm::unique_function<ReturnT(ParamTs ...)>::operator=(llvm::unique_function<ReturnT(ParamTs ...)>&&) [with ReturnT = void; ParamTs = {const clang::Token&}]’
/usr/lib/llvm/roc/include/clang/Lex/Preprocessor.h:1007:26:   required from here
/usr/lib/llvm/roc/include/llvm/ADT/PointerUnion.h:93:72: error: ‘constexpr int llvm::pointer_union_detail::lowBitsAvailable() [with Ts = {llvm::unique_function<void(const clang::Token&)>::TrivialCallback*, llvm::unique_function<void(const clang::Token&)>::NonTrivialCallbacks*}]’ called in a constant expression
   93 |     static constexpr int NumLowBitsAvailable = lowBitsAvailable<PTs...>();
      |                                                ~~~~~~~~~~~~~~~~~~~~~~~~^~
/usr/lib/llvm/roc/include/llvm/ADT/PointerUnion.h:63:43: note: ‘constexpr int llvm::pointer_union_detail::lowBitsAvailable() [with Ts = {llvm::unique_function<void(const clang::Token&)>::TrivialCallback*, llvm::unique_function<void(const clang::Token&)>::NonTrivialCallbacks*}]’ is not usable as a ‘constexpr’ function because:
   63 |   template <typename... Ts> constexpr int lowBitsAvailable() {
      |                                           ^~~~~~~~~~~~~~~~
/usr/lib/llvm/roc/include/llvm/ADT/PointerUnion.h:64:25: error: call to non-‘constexpr’ function ‘_Tp std::min(std::initializer_list<_Tp>) [with _Tp = int]’
   64 |     return std::min<int>({PointerLikeTypeTraits<Ts>::NumLowBitsAvailable...});
      |            ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/lib/llvm/roc/include/llvm/ADT/PointerUnion.h:18,
                 from /usr/lib/llvm/roc/include/llvm/Support/SourceMgr.h:20,
                 from /usr/lib/llvm/roc/include/llvm/Support/VirtualFileSystem.h:27,
                 from /var/tmp/portage/dev-libs/rocm-opencl-driver-2.7.0/work/ROCm-OpenCL-Driver-roc-2.7.0/src/driver/AmdCompiler.cpp:12:
/usr/lib/llvm/roc/include/llvm/ADT/PointerIntPair.h: In instantiation of ‘struct llvm::PointerIntPairInfo<llvm::PointerUnion<llvm::unique_function<void(const clang::Token&)>::TrivialCallback*, llvm::unique_function<void(const clang::Token&)>::NonTrivialCallbacks*>, 1, llvm::PointerLikeTypeTraits<llvm::PointerUnion<llvm::unique_function<void(const clang::Token&)>::TrivialCallback*, llvm::unique_function<void(const clang::Token&)>::NonTrivialCallbacks*> > >’:
/usr/lib/llvm/roc/include/llvm/ADT/PointerIntPair.h:58:57:   required from ‘PointerTy llvm::PointerIntPair<PointerTy, IntBits, IntType, PtrTraits, Info>::getPointer() const [with PointerTy = llvm::PointerUnion<llvm::unique_function<void(const clang::Token&)>::TrivialCallback*, llvm::unique_function<void(const clang::Token&)>::NonTrivialCallbacks*>; unsigned int IntBits = 1; IntType = bool; PtrTraits = llvm::PointerLikeTypeTraits<llvm::PointerUnion<llvm::unique_function<void(const clang::Token&)>::TrivialCallback*, llvm::unique_function<void(const clang::Token&)>::NonTrivialCallbacks*> >; Info = llvm::PointerIntPairInfo<llvm::PointerUnion<llvm::unique_function<void(const clang::Token&)>::TrivialCallback*, llvm::unique_function<void(const clang::Token&)>::NonTrivialCallbacks*>, 1, llvm::PointerLikeTypeTraits<llvm::PointerUnion<llvm::unique_function<void(const clang::Token&)>::TrivialCallback*, llvm::unique_function<void(const clang::Token&)>::NonTrivialCallbacks*> > >]’
/usr/lib/llvm/roc/include/llvm/ADT/FunctionExtras.h:177:9:   required from ‘llvm::unique_function<ReturnT(ParamTs ...)>::~unique_function() [with ReturnT = void; ParamTs = {const clang::Token&}]’
/usr/lib/llvm/roc/include/llvm/ADT/FunctionExtras.h:228:5:   required from ‘llvm::unique_function<ReturnT(ParamTs ...)>& llvm::unique_function<ReturnT(ParamTs ...)>::operator=(llvm::unique_function<ReturnT(ParamTs ...)>&&) [with ReturnT = void; ParamTs = {const clang::Token&}]’
/usr/lib/llvm/roc/include/clang/Lex/Preprocessor.h:1007:26:   required from here
/usr/lib/llvm/roc/include/llvm/ADT/PointerIntPair.h:147:25: error: static assertion failed: PointerIntPair with integer size too large for pointer
  147 |   static_assert(IntBits <= PtrTraits::NumLowBitsAvailable,
      |                 ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/lib/llvm/roc/include/llvm/ADT/PointerIntPair.h:162:42: warning: left shift count >= width of type [-Wshift-count-overflow]
  162 |     ShiftedIntMask = (uintptr_t)(IntMask << IntShift)
      |                                 ~~~~~~~~~^~~~~~~~~~~~
/usr/lib/llvm/roc/include/llvm/ADT/PointerIntPair.h:162:42: error: right operand of shift expression ‘(1 << 18446744073709551615)’ is >= than the precision of the left operand [-fpermissive]
/usr/lib/llvm/roc/include/llvm/ADT/PointerIntPair.h:149:8: error: enumerator value for ‘ShiftedIntMask’ is not an integer constant
  149 |   enum : uintptr_t {
      |        ^
In file included from /usr/lib/llvm/roc/include/llvm/Support/SourceMgr.h:20,
                 from /usr/lib/llvm/roc/include/llvm/Support/VirtualFileSystem.h:27,
                 from /var/tmp/portage/dev-libs/rocm-opencl-driver-2.7.0/work/ROCm-OpenCL-Driver-roc-2.7.0/src/driver/AmdCompiler.cpp:12:
/usr/lib/llvm/roc/include/llvm/ADT/PointerUnion.h: In instantiation of ‘constexpr const int llvm::pointer_union_detail::PointerUnionUIntTraits<llvm::MetadataAsValue*, llvm::Metadata*>::NumLowBitsAvailable’:
/usr/lib/llvm/roc/include/llvm/ADT/PointerIntPair.h:144:48:   required from ‘struct llvm::PointerIntPairInfo<void*, 1, llvm::pointer_union_detail::PointerUnionUIntTraits<llvm::MetadataAsValue*, llvm::Metadata*> >’
/usr/lib/llvm/roc/include/llvm/ADT/PointerIntPair.h:75:28:   required from ‘void llvm::PointerIntPair<PointerTy, IntBits, IntType, PtrTraits, Info>::setPointerAndInt(PointerTy, IntType) [with PointerTy = void*; unsigned int IntBits = 1; IntType = int; PtrTraits = llvm::pointer_union_detail::PointerUnionUIntTraits<llvm::MetadataAsValue*, llvm::Metadata*>; Info = llvm::PointerIntPairInfo<void*, 1, llvm::pointer_union_detail::PointerUnionUIntTraits<llvm::MetadataAsValue*, llvm::Metadata*> >]’
/usr/lib/llvm/roc/include/llvm/ADT/PointerIntPair.h:53:5:   required from ‘llvm::PointerIntPair<PointerTy, IntBits, IntType, PtrTraits, Info>::PointerIntPair(PointerTy, IntType) [with PointerTy = void*; unsigned int IntBits = 1; IntType = int; PtrTraits = llvm::pointer_union_detail::PointerUnionUIntTraits<llvm::MetadataAsValue*, llvm::Metadata*>; Info = llvm::PointerIntPairInfo<void*, 1, llvm::pointer_union_detail::PointerUnionUIntTraits<llvm::MetadataAsValue*, llvm::Metadata*> >]’
/usr/lib/llvm/roc/include/llvm/ADT/PointerUnion.h:125:16:   required from ‘llvm::pointer_union_detail::PointerUnionMembers<Derived, ValTy, I, Type, Types ...>::PointerUnionMembers(Type) [with Derived = llvm::PointerUnion<llvm::MetadataAsValue*, llvm::Metadata*>; ValTy = llvm::PointerIntPair<void*, 1, int, llvm::pointer_union_detail::PointerUnionUIntTraits<llvm::MetadataAsValue*, llvm::Metadata*>, llvm::PointerIntPairInfo<void*, 1, llvm::pointer_union_detail::PointerUnionUIntTraits<llvm::MetadataAsValue*, llvm::Metadata*> > >; int I = 1; Type = llvm::Metadata*; Types = {}]’
/usr/lib/llvm/roc/include/llvm/ADT/PointerUnion.h:122:17:   required from here
/usr/lib/llvm/roc/include/llvm/ADT/PointerUnion.h:93:72: error: ‘constexpr int llvm::pointer_union_detail::lowBitsAvailable() [with Ts = {llvm::MetadataAsValue*, llvm::Metadata*}]’ called in a constant expression
   93 |     static constexpr int NumLowBitsAvailable = lowBitsAvailable<PTs...>();
      |                                                ~~~~~~~~~~~~~~~~~~~~~~~~^~
/usr/lib/llvm/roc/include/llvm/ADT/PointerUnion.h:63:43: note: ‘constexpr int llvm::pointer_union_detail::lowBitsAvailable() [with Ts = {llvm::MetadataAsValue*, llvm::Metadata*}]’ is not usable as a ‘constexpr’ function because:
   63 |   template <typename... Ts> constexpr int lowBitsAvailable() {
      |                                           ^~~~~~~~~~~~~~~~
/usr/lib/llvm/roc/include/llvm/ADT/PointerUnion.h:64:25: error: call to non-‘constexpr’ function ‘_Tp std::min(std::initializer_list<_Tp>) [with _Tp = int]’
   64 |     return std::min<int>({PointerLikeTypeTraits<Ts>::NumLowBitsAvailable...});
      |            ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/lib/llvm/roc/include/llvm/ADT/PointerUnion.h:18,
                 from /usr/lib/llvm/roc/include/llvm/Support/SourceMgr.h:20,
                 from /usr/lib/llvm/roc/include/llvm/Support/VirtualFileSystem.h:27,
                 from /var/tmp/portage/dev-libs/rocm-opencl-driver-2.7.0/work/ROCm-OpenCL-Driver-roc-2.7.0/src/driver/AmdCompiler.cpp:12:
/usr/lib/llvm/roc/include/llvm/ADT/PointerIntPair.h: In instantiation of ‘struct llvm::PointerIntPairInfo<void*, 1, llvm::pointer_union_detail::PointerUnionUIntTraits<llvm::MetadataAsValue*, llvm::Metadata*> >’:
/usr/lib/llvm/roc/include/llvm/ADT/PointerIntPair.h:75:28:   required from ‘void llvm::PointerIntPair<PointerTy, IntBits, IntType, PtrTraits, Info>::setPointerAndInt(PointerTy, IntType) [with PointerTy = void*; unsigned int IntBits = 1; IntType = int; PtrTraits = llvm::pointer_union_detail::PointerUnionUIntTraits<llvm::MetadataAsValue*, llvm::Metadata*>; Info = llvm::PointerIntPairInfo<void*, 1, llvm::pointer_union_detail::PointerUnionUIntTraits<llvm::MetadataAsValue*, llvm::Metadata*> >]’
/usr/lib/llvm/roc/include/llvm/ADT/PointerIntPair.h:53:5:   required from ‘llvm::PointerIntPair<PointerTy, IntBits, IntType, PtrTraits, Info>::PointerIntPair(PointerTy, IntType) [with PointerTy = void*; unsigned int IntBits = 1; IntType = int; PtrTraits = llvm::pointer_union_detail::PointerUnionUIntTraits<llvm::MetadataAsValue*, llvm::Metadata*>; Info = llvm::PointerIntPairInfo<void*, 1, llvm::pointer_union_detail::PointerUnionUIntTraits<llvm::MetadataAsValue*, llvm::Metadata*> >]’
/usr/lib/llvm/roc/include/llvm/ADT/PointerUnion.h:125:16:   required from ‘llvm::pointer_union_detail::PointerUnionMembers<Derived, ValTy, I, Type, Types ...>::PointerUnionMembers(Type) [with Derived = llvm::PointerUnion<llvm::MetadataAsValue*, llvm::Metadata*>; ValTy = llvm::PointerIntPair<void*, 1, int, llvm::pointer_union_detail::PointerUnionUIntTraits<llvm::MetadataAsValue*, llvm::Metadata*>, llvm::PointerIntPairInfo<void*, 1, llvm::pointer_union_detail::PointerUnionUIntTraits<llvm::MetadataAsValue*, llvm::Metadata*> > >; int I = 1; Type = llvm::Metadata*; Types = {}]’
/usr/lib/llvm/roc/include/llvm/ADT/PointerUnion.h:122:17:   required from here
/usr/lib/llvm/roc/include/llvm/ADT/PointerIntPair.h:149:8: error: enumerator value for ‘IntShift’ is not an integer constant
  149 |   enum : uintptr_t {
      |        ^
In file included from /usr/lib/llvm/roc/include/llvm/Support/SourceMgr.h:20,
                 from /usr/lib/llvm/roc/include/llvm/Support/VirtualFileSystem.h:27,
                 from /var/tmp/portage/dev-libs/rocm-opencl-driver-2.7.0/work/ROCm-OpenCL-Driver-roc-2.7.0/src/driver/AmdCompiler.cpp:12:
/usr/lib/llvm/roc/include/llvm/ADT/PointerUnion.h: In instantiation of ‘constexpr const int llvm::pointer_union_detail::PointerUnionUIntTraits<clang::Decl*, const void*>::NumLowBitsAvailable’:
/usr/lib/llvm/roc/include/llvm/ADT/PointerIntPair.h:237:63:   required from ‘struct llvm::PointerLikeTypeTraits<llvm::PointerIntPair<void*, 1, int, llvm::pointer_union_detail::PointerUnionUIntTraits<clang::Decl*, const void*>, llvm::PointerIntPairInfo<void*, 1, llvm::pointer_union_detail::PointerUnionUIntTraits<clang::Decl*, const void*> > > >’
/usr/lib/llvm/roc/include/llvm/ADT/PointerUnion.h:271:24:   required from ‘constexpr const int llvm::PointerLikeTypeTraits<llvm::PointerUnion<clang::Decl*, const void*> >::NumLowBitsAvailable’
/usr/lib/llvm/roc/include/llvm/ADT/PointerUnion.h:64:25:   required from ‘constexpr int llvm::pointer_union_detail::lowBitsAvailable() [with Ts = {llvm::PointerUnion<clang::Decl*, const void*>, clang::LazyGenerationalUpdatePtr<const clang::Decl*, clang::Decl*, &clang::ExternalASTSource::CompleteRedeclChain>}]’
/usr/lib/llvm/roc/include/llvm/ADT/PointerUnion.h:93:72:   required from ‘constexpr const int llvm::pointer_union_detail::PointerUnionUIntTraits<llvm::PointerUnion<clang::Decl*, const void*>, clang::LazyGenerationalUpdatePtr<const clang::Decl*, clang::Decl*, &clang::ExternalASTSource::CompleteRedeclChain> >::NumLowBitsAvailable’
/usr/lib/llvm/roc/include/llvm/ADT/PointerIntPair.h:144:48:   required from ‘struct llvm::PointerIntPairInfo<void*, 1, llvm::pointer_union_detail::PointerUnionUIntTraits<llvm::PointerUnion<clang::Decl*, const void*>, clang::LazyGenerationalUpdatePtr<const clang::Decl*, clang::Decl*, &clang::ExternalASTSource::CompleteRedeclChain> > >’
/usr/lib/llvm/roc/include/llvm/ADT/PointerIntPair.h:60:56:   required from ‘IntType llvm::PointerIntPair<PointerTy, IntBits, IntType, PtrTraits, Info>::getInt() const [with PointerTy = void*; unsigned int IntBits = 1; IntType = int; PtrTraits = llvm::pointer_union_detail::PointerUnionUIntTraits<llvm::PointerUnion<clang::Decl*, const void*>, clang::LazyGenerationalUpdatePtr<const clang::Decl*, clang::Decl*, &clang::ExternalASTSource::CompleteRedeclChain> >; Info = llvm::PointerIntPairInfo<void*, 1, llvm::pointer_union_detail::PointerUnionUIntTraits<llvm::PointerUnion<clang::Decl*, const void*>, clang::LazyGenerationalUpdatePtr<const clang::Decl*, clang::Decl*, &clang::ExternalASTSource::CompleteRedeclChain> > >]’
/usr/lib/llvm/roc/include/llvm/ADT/PointerUnion.h:188:31:   required from ‘int llvm::PointerUnion<PTs>::is() const [with T = llvm::PointerUnion<clang::Decl*, const void*>; PTs = {llvm::PointerUnion<clang::Decl*, const void*>, clang::LazyGenerationalUpdatePtr<const clang::Decl*, clang::Decl*, &clang::ExternalASTSource::CompleteRedeclChain>}]’
/usr/lib/llvm/roc/include/clang/AST/Redeclarable.h:123:34:   required from ‘decl_type* clang::Redeclarable<decl_type>::DeclLink::getPrevious(const decl_type*) const [with decl_type = clang::VarDecl]’
/usr/lib/llvm/roc/include/clang/AST/Redeclarable.h:190:71:   required from ‘decl_type* clang::Redeclarable<decl_type>::getNextRedeclaration() const [with decl_type = clang::VarDecl]’
/usr/lib/llvm/roc/include/clang/AST/Decl.h:986:33:   required from here
/usr/lib/llvm/roc/include/llvm/ADT/PointerUnion.h:93:72: error: ‘constexpr int llvm::pointer_union_detail::lowBitsAvailable() [with Ts = {clang::Decl*, const void*}]’ called in a constant expression
   93 |     static constexpr int NumLowBitsAvailable = lowBitsAvailable<PTs...>();
      |                                                ~~~~~~~~~~~~~~~~~~~~~~~~^~
/usr/lib/llvm/roc/include/llvm/ADT/PointerUnion.h:63:43: note: ‘constexpr int llvm::pointer_union_detail::lowBitsAvailable() [with Ts = {clang::Decl*, const void*}]’ is not usable as a ‘constexpr’ function because:
   63 |   template <typename... Ts> constexpr int lowBitsAvailable() {
      |                                           ^~~~~~~~~~~~~~~~
/usr/lib/llvm/roc/include/llvm/ADT/PointerUnion.h:64:25: error: call to non-‘constexpr’ function ‘_Tp std::min(std::initializer_list<_Tp>) [with _Tp = int]’
   64 |     return std::min<int>({PointerLikeTypeTraits<Ts>::NumLowBitsAvailable...});
      |            ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/lib/llvm/roc/include/llvm/ADT/PointerUnion.h: In instantiation of ‘constexpr const int llvm::pointer_union_detail::PointerUnionUIntTraits<llvm::PointerUnion<clang::Decl*, const void*>, clang::LazyGenerationalUpdatePtr<const clang::Decl*, clang::Decl*, &clang::ExternalASTSource::CompleteRedeclChain> >::NumLowBitsAvailable’:
/usr/lib/llvm/roc/include/llvm/ADT/PointerIntPair.h:144:48:   required from ‘struct llvm::PointerIntPairInfo<void*, 1, llvm::pointer_union_detail::PointerUnionUIntTraits<llvm::PointerUnion<clang::Decl*, const void*>, clang::LazyGenerationalUpdatePtr<const clang::Decl*, clang::Decl*, &clang::ExternalASTSource::CompleteRedeclChain> > >’
/usr/lib/llvm/roc/include/llvm/ADT/PointerIntPair.h:60:56:   required from ‘IntType llvm::PointerIntPair<PointerTy, IntBits, IntType, PtrTraits, Info>::getInt() const [with PointerTy = void*; unsigned int IntBits = 1; IntType = int; PtrTraits = llvm::pointer_union_detail::PointerUnionUIntTraits<llvm::PointerUnion<clang::Decl*, const void*>, clang::LazyGenerationalUpdatePtr<const clang::Decl*, clang::Decl*, &clang::ExternalASTSource::CompleteRedeclChain> >; Info = llvm::PointerIntPairInfo<void*, 1, llvm::pointer_union_detail::PointerUnionUIntTraits<llvm::PointerUnion<clang::Decl*, const void*>, clang::LazyGenerationalUpdatePtr<const clang::Decl*, clang::Decl*, &clang::ExternalASTSource::CompleteRedeclChain> > >]’
/usr/lib/llvm/roc/include/llvm/ADT/PointerUnion.h:188:31:   required from ‘int llvm::PointerUnion<PTs>::is() const [with T = llvm::PointerUnion<clang::Decl*, const void*>; PTs = {llvm::PointerUnion<clang::Decl*, const void*>, clang::LazyGenerationalUpdatePtr<const clang::Decl*, clang::Decl*, &clang::ExternalASTSource::CompleteRedeclChain>}]’
/usr/lib/llvm/roc/include/clang/AST/Redeclarable.h:123:34:   required from ‘decl_type* clang::Redeclarable<decl_type>::DeclLink::getPrevious(const decl_type*) const [with decl_type = clang::VarDecl]’
/usr/lib/llvm/roc/include/clang/AST/Redeclarable.h:190:71:   required from ‘decl_type* clang::Redeclarable<decl_type>::getNextRedeclaration() const [with decl_type = clang::VarDecl]’
/usr/lib/llvm/roc/include/clang/AST/Decl.h:986:33:   required from here
/usr/lib/llvm/roc/include/llvm/ADT/PointerUnion.h:93:72: error: ‘constexpr int llvm::pointer_union_detail::lowBitsAvailable() [with Ts = {llvm::PointerUnion<clang::Decl*, const void*>, clang::LazyGenerationalUpdatePtr<const clang::Decl*, clang::Decl*, &clang::ExternalASTSource::CompleteRedeclChain>}]’ called in a constant expression
   93 |     static constexpr int NumLowBitsAvailable = lowBitsAvailable<PTs...>();
      |                                                ~~~~~~~~~~~~~~~~~~~~~~~~^~
/usr/lib/llvm/roc/include/llvm/ADT/PointerUnion.h:63:43: note: ‘constexpr int llvm::pointer_union_detail::lowBitsAvailable() [with Ts = {llvm::PointerUnion<clang::Decl*, const void*>, clang::LazyGenerationalUpdatePtr<const clang::Decl*, clang::Decl*, &clang::ExternalASTSource::CompleteRedeclChain>}]’ is not usable as a ‘constexpr’ function because:
   63 |   template <typename... Ts> constexpr int lowBitsAvailable() {
      |                                           ^~~~~~~~~~~~~~~~
/usr/lib/llvm/roc/include/llvm/ADT/PointerUnion.h:64:25: error: call to non-‘constexpr’ function ‘_Tp std::min(std::initializer_list<_Tp>) [with _Tp = int]’
   64 |     return std::min<int>({PointerLikeTypeTraits<Ts>::NumLowBitsAvailable...});
      |            ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/lib/llvm/roc/include/llvm/ADT/PointerUnion.h:18,
                 from /usr/lib/llvm/roc/include/llvm/Support/SourceMgr.h:20,
                 from /usr/lib/llvm/roc/include/llvm/Support/VirtualFileSystem.h:27,
                 from /var/tmp/portage/dev-libs/rocm-opencl-driver-2.7.0/work/ROCm-OpenCL-Driver-roc-2.7.0/src/driver/AmdCompiler.cpp:12:
/usr/lib/llvm/roc/include/llvm/ADT/PointerIntPair.h: In instantiation of ‘struct llvm::PointerIntPairInfo<void*, 1, llvm::pointer_union_detail::PointerUnionUIntTraits<llvm::PointerUnion<clang::Decl*, const void*>, clang::LazyGenerationalUpdatePtr<const clang::Decl*, clang::Decl*, &clang::ExternalASTSource::CompleteRedeclChain> > >’:
/usr/lib/llvm/roc/include/llvm/ADT/PointerIntPair.h:60:56:   required from ‘IntType llvm::PointerIntPair<PointerTy, IntBits, IntType, PtrTraits, Info>::getInt() const [with PointerTy = void*; unsigned int IntBits = 1; IntType = int; PtrTraits = llvm::pointer_union_detail::PointerUnionUIntTraits<llvm::PointerUnion<clang::Decl*, const void*>, clang::LazyGenerationalUpdatePtr<const clang::Decl*, clang::Decl*, &clang::ExternalASTSource::CompleteRedeclChain> >; Info = llvm::PointerIntPairInfo<void*, 1, llvm::pointer_union_detail::PointerUnionUIntTraits<llvm::PointerUnion<clang::Decl*, const void*>, clang::LazyGenerationalUpdatePtr<const clang::Decl*, clang::Decl*, &clang::ExternalASTSource::CompleteRedeclChain> > >]’
/usr/lib/llvm/roc/include/llvm/ADT/PointerUnion.h:188:31:   required from ‘int llvm::PointerUnion<PTs>::is() const [with T = llvm::PointerUnion<clang::Decl*, const void*>; PTs = {llvm::PointerUnion<clang::Decl*, const void*>, clang::LazyGenerationalUpdatePtr<const clang::Decl*, clang::Decl*, &clang::ExternalASTSource::CompleteRedeclChain>}]’
/usr/lib/llvm/roc/include/clang/AST/Redeclarable.h:123:34:   required from ‘decl_type* clang::Redeclarable<decl_type>::DeclLink::getPrevious(const decl_type*) const [with decl_type = clang::VarDecl]’
/usr/lib/llvm/roc/include/clang/AST/Redeclarable.h:190:71:   required from ‘decl_type* clang::Redeclarable<decl_type>::getNextRedeclaration() const [with decl_type = clang::VarDecl]’
/usr/lib/llvm/roc/include/clang/AST/Decl.h:986:33:   required from here
/usr/lib/llvm/roc/include/llvm/ADT/PointerIntPair.h:149:8: error: enumerator value for ‘IntShift’ is not an integer constant
  149 |   enum : uintptr_t {
      |        ^
/usr/lib/llvm/roc/include/llvm/ADT/PointerIntPair.h: In instantiation of ‘struct llvm::PointerIntPairInfo<void*, 1, llvm::pointer_union_detail::PointerUnionUIntTraits<clang::Decl*, const void*> >’:
/usr/lib/llvm/roc/include/llvm/ADT/PointerIntPair.h:60:56:   required from ‘IntType llvm::PointerIntPair<PointerTy, IntBits, IntType, PtrTraits, Info>::getInt() const [with PointerTy = void*; unsigned int IntBits = 1; IntType = int; PtrTraits = llvm::pointer_union_detail::PointerUnionUIntTraits<clang::Decl*, const void*>; Info = llvm::PointerIntPairInfo<void*, 1, llvm::pointer_union_detail::PointerUnionUIntTraits<clang::Decl*, const void*> >]’
/usr/lib/llvm/roc/include/llvm/ADT/PointerUnion.h:188:31:   required from ‘int llvm::PointerUnion<PTs>::is() const [with T = clang::Decl*; PTs = {clang::Decl*, const void*}]’
/usr/lib/llvm/roc/include/clang/AST/Redeclarable.h:125:29:   required from ‘decl_type* clang::Redeclarable<decl_type>::DeclLink::getPrevious(const decl_type*) const [with decl_type = clang::VarDecl]’
/usr/lib/llvm/roc/include/clang/AST/Redeclarable.h:190:71:   required from ‘decl_type* clang::Redeclarable<decl_type>::getNextRedeclaration() const [with decl_type = clang::VarDecl]’
/usr/lib/llvm/roc/include/clang/AST/Decl.h:986:33:   required from here
/usr/lib/llvm/roc/include/llvm/ADT/PointerIntPair.h:149:8: error: enumerator value for ‘IntShift’ is not an integer constant
In file included from /usr/lib/llvm/roc/include/llvm/Support/SourceMgr.h:20,
                 from /usr/lib/llvm/roc/include/llvm/Support/VirtualFileSystem.h:27,
                 from /var/tmp/portage/dev-libs/rocm-opencl-driver-2.7.0/work/ROCm-OpenCL-Driver-roc-2.7.0/src/driver/AmdCompiler.cpp:12:
/usr/lib/llvm/roc/include/llvm/ADT/PointerUnion.h: In instantiation of ‘constexpr const int llvm::pointer_union_detail::PointerUnionUIntTraits<llvm::unique_function<bool(llvm::StringRef, llvm::Any)>::TrivialCallback*, llvm::unique_function<bool(llvm::StringRef, llvm::Any)>::NonTrivialCallbacks*>::NumLowBitsAvailable’:
/usr/lib/llvm/roc/include/llvm/ADT/PointerIntPair.h:237:63:   required from ‘struct llvm::PointerLikeTypeTraits<llvm::PointerIntPair<void*, 1, int, llvm::pointer_union_detail::PointerUnionUIntTraits<llvm::unique_function<bool(llvm::StringRef, llvm::Any)>::TrivialCallback*, llvm::unique_function<bool(llvm::StringRef, llvm::Any)>::NonTrivialCallbacks*>, llvm::PointerIntPairInfo<void*, 1, llvm::pointer_union_detail::PointerUnionUIntTraits<llvm::unique_function<bool(llvm::StringRef, llvm::Any)>::TrivialCallback*, llvm::unique_function<bool(llvm::StringRef, llvm::Any)>::NonTrivialCallbacks*> > > >’
/usr/lib/llvm/roc/include/llvm/ADT/PointerUnion.h:271:24:   required from ‘constexpr const int llvm::PointerLikeTypeTraits<llvm::PointerUnion<llvm::unique_function<bool(llvm::StringRef, llvm::Any)>::TrivialCallback*, llvm::unique_function<bool(llvm::StringRef, llvm::Any)>::NonTrivialCallbacks*> >::NumLowBitsAvailable’
/usr/lib/llvm/roc/include/llvm/ADT/PointerIntPair.h:144:48:   required from ‘struct llvm::PointerIntPairInfo<llvm::PointerUnion<llvm::unique_function<bool(llvm::StringRef, llvm::Any)>::TrivialCallback*, llvm::unique_function<bool(llvm::StringRef, llvm::Any)>::NonTrivialCallbacks*>, 1, llvm::PointerLikeTypeTraits<llvm::PointerUnion<llvm::unique_function<bool(llvm::StringRef, llvm::Any)>::TrivialCallback*, llvm::unique_function<bool(llvm::StringRef, llvm::Any)>::NonTrivialCallbacks*> > >’
/usr/lib/llvm/roc/include/llvm/ADT/PointerIntPair.h:58:57:   required from ‘PointerTy llvm::PointerIntPair<PointerTy, IntBits, IntType, PtrTraits, Info>::getPointer() const [with PointerTy = llvm::PointerUnion<llvm::unique_function<bool(llvm::StringRef, llvm::Any)>::TrivialCallback*, llvm::unique_function<bool(llvm::StringRef, llvm::Any)>::NonTrivialCallbacks*>; unsigned int IntBits = 1; IntType = bool; PtrTraits = llvm::PointerLikeTypeTraits<llvm::PointerUnion<llvm::unique_function<bool(llvm::StringRef, llvm::Any)>::TrivialCallback*, llvm::unique_function<bool(llvm::StringRef, llvm::Any)>::NonTrivialCallbacks*> >; Info = llvm::PointerIntPairInfo<llvm::PointerUnion<llvm::unique_function<bool(llvm::StringRef, llvm::Any)>::TrivialCallback*, llvm::unique_function<bool(llvm::StringRef, llvm::Any)>::NonTrivialCallbacks*>, 1, llvm::PointerLikeTypeTraits<llvm::PointerUnion<llvm::unique_function<bool(llvm::StringRef, llvm::Any)>::TrivialCallback*, llvm::unique_function<bool(llvm::StringRef, llvm::Any)>::NonTrivialCallbacks*> > >]’
/usr/lib/llvm/roc/include/llvm/ADT/FunctionExtras.h:177:9:   required from ‘llvm::unique_function<ReturnT(ParamTs ...)>::~unique_function() [with ReturnT = bool; ParamTs = {llvm::StringRef, llvm::Any}]’
/usr/lib/llvm/roc/include/llvm/ADT/SmallVector.h:186:7:   required from ‘static void llvm::SmallVectorTemplateBase<T, <anonymous> >::destroy_range(T*, T*) [with T = llvm::unique_function<bool(llvm::StringRef, llvm::Any)>; bool <anonymous> = false]’
/usr/lib/llvm/roc/include/llvm/ADT/SmallVector.h:843:5:   required from ‘llvm::SmallVector<T, N>::~SmallVector() [with T = llvm::unique_function<bool(llvm::StringRef, llvm::Any)>; unsigned int N = 4]’
/usr/lib/llvm/roc/include/llvm/IR/PassInstrumentation.h:85:34:   required from here
/usr/lib/llvm/roc/include/llvm/ADT/PointerUnion.h:93:72: error: ‘constexpr int llvm::pointer_union_detail::lowBitsAvailable() [with Ts = {llvm::unique_function<bool(llvm::StringRef, llvm::Any)>::TrivialCallback*, llvm::unique_function<bool(llvm::StringRef, llvm::Any)>::NonTrivialCallbacks*}]’ called in a constant expression
   93 |     static constexpr int NumLowBitsAvailable = lowBitsAvailable<PTs...>();
      |                                                ~~~~~~~~~~~~~~~~~~~~~~~~^~
/usr/lib/llvm/roc/include/llvm/ADT/PointerUnion.h:63:43: note: ‘constexpr int llvm::pointer_union_detail::lowBitsAvailable() [with Ts = {llvm::unique_function<bool(llvm::StringRef, llvm::Any)>::TrivialCallback*, llvm::unique_function<bool(llvm::StringRef, llvm::Any)>::NonTrivialCallbacks*}]’ is not usable as a ‘constexpr’ function because:
   63 |   template <typename... Ts> constexpr int lowBitsAvailable() {
      |                                           ^~~~~~~~~~~~~~~~
/usr/lib/llvm/roc/include/llvm/ADT/PointerUnion.h:64:25: error: call to non-‘constexpr’ function ‘_Tp std::min(std::initializer_list<_Tp>) [with _Tp = int]’
   64 |     return std::min<int>({PointerLikeTypeTraits<Ts>::NumLowBitsAvailable...});
      |            ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/lib/llvm/roc/include/llvm/ADT/PointerUnion.h:18,
                 from /usr/lib/llvm/roc/include/llvm/Support/SourceMgr.h:20,
                 from /usr/lib/llvm/roc/include/llvm/Support/VirtualFileSystem.h:27,
                 from /var/tmp/portage/dev-libs/rocm-opencl-driver-2.7.0/work/ROCm-OpenCL-Driver-roc-2.7.0/src/driver/AmdCompiler.cpp:12:
/usr/lib/llvm/roc/include/llvm/ADT/PointerIntPair.h: In instantiation of ‘struct llvm::PointerIntPairInfo<llvm::PointerUnion<llvm::unique_function<bool(llvm::StringRef, llvm::Any)>::TrivialCallback*, llvm::unique_function<bool(llvm::StringRef, llvm::Any)>::NonTrivialCallbacks*>, 1, llvm::PointerLikeTypeTraits<llvm::PointerUnion<llvm::unique_function<bool(llvm::StringRef, llvm::Any)>::TrivialCallback*, llvm::unique_function<bool(llvm::StringRef, llvm::Any)>::NonTrivialCallbacks*> > >’:
/usr/lib/llvm/roc/include/llvm/ADT/PointerIntPair.h:58:57:   required from ‘PointerTy llvm::PointerIntPair<PointerTy, IntBits, IntType, PtrTraits, Info>::getPointer() const [with PointerTy = llvm::PointerUnion<llvm::unique_function<bool(llvm::StringRef, llvm::Any)>::TrivialCallback*, llvm::unique_function<bool(llvm::StringRef, llvm::Any)>::NonTrivialCallbacks*>; unsigned int IntBits = 1; IntType = bool; PtrTraits = llvm::PointerLikeTypeTraits<llvm::PointerUnion<llvm::unique_function<bool(llvm::StringRef, llvm::Any)>::TrivialCallback*, llvm::unique_function<bool(llvm::StringRef, llvm::Any)>::NonTrivialCallbacks*> >; Info = llvm::PointerIntPairInfo<llvm::PointerUnion<llvm::unique_function<bool(llvm::StringRef, llvm::Any)>::TrivialCallback*, llvm::unique_function<bool(llvm::StringRef, llvm::Any)>::NonTrivialCallbacks*>, 1, llvm::PointerLikeTypeTraits<llvm::PointerUnion<llvm::unique_function<bool(llvm::StringRef, llvm::Any)>::TrivialCallback*, llvm::unique_function<bool(llvm::StringRef, llvm::Any)>::NonTrivialCallbacks*> > >]’
/usr/lib/llvm/roc/include/llvm/ADT/FunctionExtras.h:177:9:   required from ‘llvm::unique_function<ReturnT(ParamTs ...)>::~unique_function() [with ReturnT = bool; ParamTs = {llvm::StringRef, llvm::Any}]’
/usr/lib/llvm/roc/include/llvm/ADT/SmallVector.h:186:7:   required from ‘static void llvm::SmallVectorTemplateBase<T, <anonymous> >::destroy_range(T*, T*) [with T = llvm::unique_function<bool(llvm::StringRef, llvm::Any)>; bool <anonymous> = false]’
/usr/lib/llvm/roc/include/llvm/ADT/SmallVector.h:843:5:   required from ‘llvm::SmallVector<T, N>::~SmallVector() [with T = llvm::unique_function<bool(llvm::StringRef, llvm::Any)>; unsigned int N = 4]’
/usr/lib/llvm/roc/include/llvm/IR/PassInstrumentation.h:85:34:   required from here
/usr/lib/llvm/roc/include/llvm/ADT/PointerIntPair.h:147:25: error: static assertion failed: PointerIntPair with integer size too large for pointer
  147 |   static_assert(IntBits <= PtrTraits::NumLowBitsAvailable,
      |                 ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/lib/llvm/roc/include/llvm/ADT/PointerIntPair.h:162:42: warning: left shift count >= width of type [-Wshift-count-overflow]
  162 |     ShiftedIntMask = (uintptr_t)(IntMask << IntShift)
      |                                 ~~~~~~~~~^~~~~~~~~~~~
/usr/lib/llvm/roc/include/llvm/ADT/PointerIntPair.h:162:42: error: right operand of shift expression ‘(1 << 18446744073709551615)’ is >= than the precision of the left operand [-fpermissive]
/usr/lib/llvm/roc/include/llvm/ADT/PointerIntPair.h:149:8: error: enumerator value for ‘ShiftedIntMask’ is not an integer constant
  149 |   enum : uintptr_t {
      |        ^
In file included from /usr/lib/llvm/roc/include/llvm/Support/SourceMgr.h:20,
                 from /usr/lib/llvm/roc/include/llvm/Support/VirtualFileSystem.h:27,
                 from /var/tmp/portage/dev-libs/rocm-opencl-driver-2.7.0/work/ROCm-OpenCL-Driver-roc-2.7.0/src/driver/AmdCompiler.cpp:12:
/usr/lib/llvm/roc/include/llvm/ADT/PointerUnion.h: In instantiation of ‘constexpr const int llvm::pointer_union_detail::PointerUnionUIntTraits<llvm::unique_function<void(llvm::StringRef, llvm::Any)>::TrivialCallback*, llvm::unique_function<void(llvm::StringRef, llvm::Any)>::NonTrivialCallbacks*>::NumLowBitsAvailable’:
/usr/lib/llvm/roc/include/llvm/ADT/PointerIntPair.h:237:63:   required from ‘struct llvm::PointerLikeTypeTraits<llvm::PointerIntPair<void*, 1, int, llvm::pointer_union_detail::PointerUnionUIntTraits<llvm::unique_function<void(llvm::StringRef, llvm::Any)>::TrivialCallback*, llvm::unique_function<void(llvm::StringRef, llvm::Any)>::NonTrivialCallbacks*>, llvm::PointerIntPairInfo<void*, 1, llvm::pointer_union_detail::PointerUnionUIntTraits<llvm::unique_function<void(llvm::StringRef, llvm::Any)>::TrivialCallback*, llvm::unique_function<void(llvm::StringRef, llvm::Any)>::NonTrivialCallbacks*> > > >’
/usr/lib/llvm/roc/include/llvm/ADT/PointerUnion.h:271:24:   required from ‘constexpr const int llvm::PointerLikeTypeTraits<llvm::PointerUnion<llvm::unique_function<void(llvm::StringRef, llvm::Any)>::TrivialCallback*, llvm::unique_function<void(llvm::StringRef, llvm::Any)>::NonTrivialCallbacks*> >::NumLowBitsAvailable’
/usr/lib/llvm/roc/include/llvm/ADT/PointerIntPair.h:144:48:   required from ‘struct llvm::PointerIntPairInfo<llvm::PointerUnion<llvm::unique_function<void(llvm::StringRef, llvm::Any)>::TrivialCallback*, llvm::unique_function<void(llvm::StringRef, llvm::Any)>::NonTrivialCallbacks*>, 1, llvm::PointerLikeTypeTraits<llvm::PointerUnion<llvm::unique_function<void(llvm::StringRef, llvm::Any)>::TrivialCallback*, llvm::unique_function<void(llvm::StringRef, llvm::Any)>::NonTrivialCallbacks*> > >’
/usr/lib/llvm/roc/include/llvm/ADT/PointerIntPair.h:58:57:   required from ‘PointerTy llvm::PointerIntPair<PointerTy, IntBits, IntType, PtrTraits, Info>::getPointer() const [with PointerTy = llvm::PointerUnion<llvm::unique_function<void(llvm::StringRef, llvm::Any)>::TrivialCallback*, llvm::unique_function<void(llvm::StringRef, llvm::Any)>::NonTrivialCallbacks*>; unsigned int IntBits = 1; IntType = bool; PtrTraits = llvm::PointerLikeTypeTraits<llvm::PointerUnion<llvm::unique_function<void(llvm::StringRef, llvm::Any)>::TrivialCallback*, llvm::unique_function<void(llvm::StringRef, llvm::Any)>::NonTrivialCallbacks*> >; Info = llvm::PointerIntPairInfo<llvm::PointerUnion<llvm::unique_function<void(llvm::StringRef, llvm::Any)>::TrivialCallback*, llvm::unique_function<void(llvm::StringRef, llvm::Any)>::NonTrivialCallbacks*>, 1, llvm::PointerLikeTypeTraits<llvm::PointerUnion<llvm::unique_function<void(llvm::StringRef, llvm::Any)>::TrivialCallback*, llvm::unique_function<void(llvm::StringRef, llvm::Any)>::NonTrivialCallbacks*> > >]’
/usr/lib/llvm/roc/include/llvm/ADT/FunctionExtras.h:177:9:   required from ‘llvm::unique_function<ReturnT(ParamTs ...)>::~unique_function() [with ReturnT = void; ParamTs = {llvm::StringRef, llvm::Any}]’
/usr/lib/llvm/roc/include/llvm/ADT/SmallVector.h:186:7:   required from ‘static void llvm::SmallVectorTemplateBase<T, <anonymous> >::destroy_range(T*, T*) [with T = llvm::unique_function<void(llvm::StringRef, llvm::Any)>; bool <anonymous> = false]’
/usr/lib/llvm/roc/include/llvm/ADT/SmallVector.h:843:5:   required from ‘llvm::SmallVector<T, N>::~SmallVector() [with T = llvm::unique_function<void(llvm::StringRef, llvm::Any)>; unsigned int N = 4]’
/usr/lib/llvm/roc/include/llvm/IR/PassInstrumentation.h:85:34:   required from here
/usr/lib/llvm/roc/include/llvm/ADT/PointerUnion.h:93:72: error: ‘constexpr int llvm::pointer_union_detail::lowBitsAvailable() [with Ts = {llvm::unique_function<void(llvm::StringRef, llvm::Any)>::TrivialCallback*, llvm::unique_function<void(llvm::StringRef, llvm::Any)>::NonTrivialCallbacks*}]’ called in a constant expression
   93 |     static constexpr int NumLowBitsAvailable = lowBitsAvailable<PTs...>();
      |                                                ~~~~~~~~~~~~~~~~~~~~~~~~^~
/usr/lib/llvm/roc/include/llvm/ADT/PointerUnion.h:63:43: note: ‘constexpr int llvm::pointer_union_detail::lowBitsAvailable() [with Ts = {llvm::unique_function<void(llvm::StringRef, llvm::Any)>::TrivialCallback*, llvm::unique_function<void(llvm::StringRef, llvm::Any)>::NonTrivialCallbacks*}]’ is not usable as a ‘constexpr’ function because:
   63 |   template <typename... Ts> constexpr int lowBitsAvailable() {
      |                                           ^~~~~~~~~~~~~~~~
/usr/lib/llvm/roc/include/llvm/ADT/PointerUnion.h:64:25: error: call to non-‘constexpr’ function ‘_Tp std::min(std::initializer_list<_Tp>) [with _Tp = int]’
   64 |     return std::min<int>({PointerLikeTypeTraits<Ts>::NumLowBitsAvailable...});
      |            ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/lib/llvm/roc/include/llvm/ADT/PointerUnion.h:18,
                 from /usr/lib/llvm/roc/include/llvm/Support/SourceMgr.h:20,
                 from /usr/lib/llvm/roc/include/llvm/Support/VirtualFileSystem.h:27,
                 from /var/tmp/portage/dev-libs/rocm-opencl-driver-2.7.0/work/ROCm-OpenCL-Driver-roc-2.7.0/src/driver/AmdCompiler.cpp:12:
/usr/lib/llvm/roc/include/llvm/ADT/PointerIntPair.h: In instantiation of ‘struct llvm::PointerIntPairInfo<llvm::PointerUnion<llvm::unique_function<void(llvm::StringRef, llvm::Any)>::TrivialCallback*, llvm::unique_function<void(llvm::StringRef, llvm::Any)>::NonTrivialCallbacks*>, 1, llvm::PointerLikeTypeTraits<llvm::PointerUnion<llvm::unique_function<void(llvm::StringRef, llvm::Any)>::TrivialCallback*, llvm::unique_function<void(llvm::StringRef, llvm::Any)>::NonTrivialCallbacks*> > >’:
/usr/lib/llvm/roc/include/llvm/ADT/PointerIntPair.h:58:57:   required from ‘PointerTy llvm::PointerIntPair<PointerTy, IntBits, IntType, PtrTraits, Info>::getPointer() const [with PointerTy = llvm::PointerUnion<llvm::unique_function<void(llvm::StringRef, llvm::Any)>::TrivialCallback*, llvm::unique_function<void(llvm::StringRef, llvm::Any)>::NonTrivialCallbacks*>; unsigned int IntBits = 1; IntType = bool; PtrTraits = llvm::PointerLikeTypeTraits<llvm::PointerUnion<llvm::unique_function<void(llvm::StringRef, llvm::Any)>::TrivialCallback*, llvm::unique_function<void(llvm::StringRef, llvm::Any)>::NonTrivialCallbacks*> >; Info = llvm::PointerIntPairInfo<llvm::PointerUnion<llvm::unique_function<void(llvm::StringRef, llvm::Any)>::TrivialCallback*, llvm::unique_function<void(llvm::StringRef, llvm::Any)>::NonTrivialCallbacks*>, 1, llvm::PointerLikeTypeTraits<llvm::PointerUnion<llvm::unique_function<void(llvm::StringRef, llvm::Any)>::TrivialCallback*, llvm::unique_function<void(llvm::StringRef, llvm::Any)>::NonTrivialCallbacks*> > >]’
/usr/lib/llvm/roc/include/llvm/ADT/FunctionExtras.h:177:9:   required from ‘llvm::unique_function<ReturnT(ParamTs ...)>::~unique_function() [with ReturnT = void; ParamTs = {llvm::StringRef, llvm::Any}]’
/usr/lib/llvm/roc/include/llvm/ADT/SmallVector.h:186:7:   required from ‘static void llvm::SmallVectorTemplateBase<T, <anonymous> >::destroy_range(T*, T*) [with T = llvm::unique_function<void(llvm::StringRef, llvm::Any)>; bool <anonymous> = false]’
/usr/lib/llvm/roc/include/llvm/ADT/SmallVector.h:843:5:   required from ‘llvm::SmallVector<T, N>::~SmallVector() [with T = llvm::unique_function<void(llvm::StringRef, llvm::Any)>; unsigned int N = 4]’
/usr/lib/llvm/roc/include/llvm/IR/PassInstrumentation.h:85:34:   required from here
/usr/lib/llvm/roc/include/llvm/ADT/PointerIntPair.h:147:25: error: static assertion failed: PointerIntPair with integer size too large for pointer
  147 |   static_assert(IntBits <= PtrTraits::NumLowBitsAvailable,
      |                 ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/lib/llvm/roc/include/llvm/ADT/PointerIntPair.h:162:42: warning: left shift count >= width of type [-Wshift-count-overflow]
  162 |     ShiftedIntMask = (uintptr_t)(IntMask << IntShift)
      |                                 ~~~~~~~~~^~~~~~~~~~~~
/usr/lib/llvm/roc/include/llvm/ADT/PointerIntPair.h:162:42: error: right operand of shift expression ‘(1 << 18446744073709551615)’ is >= than the precision of the left operand [-fpermissive]
/usr/lib/llvm/roc/include/llvm/ADT/PointerIntPair.h:149:8: error: enumerator value for ‘ShiftedIntMask’ is not an integer constant
  149 |   enum : uintptr_t {
      |        ^
In file included from /usr/lib/llvm/roc/include/llvm/Support/SourceMgr.h:20,
                 from /usr/lib/llvm/roc/include/llvm/Support/VirtualFileSystem.h:27,
                 from /var/tmp/portage/dev-libs/rocm-opencl-driver-2.7.0/work/ROCm-OpenCL-Driver-roc-2.7.0/src/driver/AmdCompiler.cpp:12:
/usr/lib/llvm/roc/include/llvm/ADT/PointerUnion.h: In instantiation of ‘constexpr const int llvm::pointer_union_detail::PointerUnionUIntTraits<llvm::unique_function<void(llvm::StringRef)>::TrivialCallback*, llvm::unique_function<void(llvm::StringRef)>::NonTrivialCallbacks*>::NumLowBitsAvailable’:
/usr/lib/llvm/roc/include/llvm/ADT/PointerIntPair.h:237:63:   required from ‘struct llvm::PointerLikeTypeTraits<llvm::PointerIntPair<void*, 1, int, llvm::pointer_union_detail::PointerUnionUIntTraits<llvm::unique_function<void(llvm::StringRef)>::TrivialCallback*, llvm::unique_function<void(llvm::StringRef)>::NonTrivialCallbacks*>, llvm::PointerIntPairInfo<void*, 1, llvm::pointer_union_detail::PointerUnionUIntTraits<llvm::unique_function<void(llvm::StringRef)>::TrivialCallback*, llvm::unique_function<void(llvm::StringRef)>::NonTrivialCallbacks*> > > >’
/usr/lib/llvm/roc/include/llvm/ADT/PointerUnion.h:271:24:   required from ‘constexpr const int llvm::PointerLikeTypeTraits<llvm::PointerUnion<llvm::unique_function<void(llvm::StringRef)>::TrivialCallback*, llvm::unique_function<void(llvm::StringRef)>::NonTrivialCallbacks*> >::NumLowBitsAvailable’
/usr/lib/llvm/roc/include/llvm/ADT/PointerIntPair.h:144:48:   required from ‘struct llvm::PointerIntPairInfo<llvm::PointerUnion<llvm::unique_function<void(llvm::StringRef)>::TrivialCallback*, llvm::unique_function<void(llvm::StringRef)>::NonTrivialCallbacks*>, 1, llvm::PointerLikeTypeTraits<llvm::PointerUnion<llvm::unique_function<void(llvm::StringRef)>::TrivialCallback*, llvm::unique_function<void(llvm::StringRef)>::NonTrivialCallbacks*> > >’
/usr/lib/llvm/roc/include/llvm/ADT/PointerIntPair.h:58:57:   required from ‘PointerTy llvm::PointerIntPair<PointerTy, IntBits, IntType, PtrTraits, Info>::getPointer() const [with PointerTy = llvm::PointerUnion<llvm::unique_function<void(llvm::StringRef)>::TrivialCallback*, llvm::unique_function<void(llvm::StringRef)>::NonTrivialCallbacks*>; unsigned int IntBits = 1; IntType = bool; PtrTraits = llvm::PointerLikeTypeTraits<llvm::PointerUnion<llvm::unique_function<void(llvm::StringRef)>::TrivialCallback*, llvm::unique_function<void(llvm::StringRef)>::NonTrivialCallbacks*> >; Info = llvm::PointerIntPairInfo<llvm::PointerUnion<llvm::unique_function<void(llvm::StringRef)>::TrivialCallback*, llvm::unique_function<void(llvm::StringRef)>::NonTrivialCallbacks*>, 1, llvm::PointerLikeTypeTraits<llvm::PointerUnion<llvm::unique_function<void(llvm::StringRef)>::TrivialCallback*, llvm::unique_function<void(llvm::StringRef)>::NonTrivialCallbacks*> > >]’
/usr/lib/llvm/roc/include/llvm/ADT/FunctionExtras.h:177:9:   required from ‘llvm::unique_function<ReturnT(ParamTs ...)>::~unique_function() [with ReturnT = void; ParamTs = {llvm::StringRef}]’
/usr/lib/llvm/roc/include/llvm/ADT/SmallVector.h:186:7:   required from ‘static void llvm::SmallVectorTemplateBase<T, <anonymous> >::destroy_range(T*, T*) [with T = llvm::unique_function<void(llvm::StringRef)>; bool <anonymous> = false]’
/usr/lib/llvm/roc/include/llvm/ADT/SmallVector.h:843:5:   required from ‘llvm::SmallVector<T, N>::~SmallVector() [with T = llvm::unique_function<void(llvm::StringRef)>; unsigned int N = 4]’
/usr/lib/llvm/roc/include/llvm/IR/PassInstrumentation.h:85:34:   required from here
/usr/lib/llvm/roc/include/llvm/ADT/PointerUnion.h:93:72: error: ‘constexpr int llvm::pointer_union_detail::lowBitsAvailable() [with Ts = {llvm::unique_function<void(llvm::StringRef)>::TrivialCallback*, llvm::unique_function<void(llvm::StringRef)>::NonTrivialCallbacks*}]’ called in a constant expression
   93 |     static constexpr int NumLowBitsAvailable = lowBitsAvailable<PTs...>();
      |                                                ~~~~~~~~~~~~~~~~~~~~~~~~^~
/usr/lib/llvm/roc/include/llvm/ADT/PointerUnion.h:63:43: note: ‘constexpr int llvm::pointer_union_detail::lowBitsAvailable() [with Ts = {llvm::unique_function<void(llvm::StringRef)>::TrivialCallback*, llvm::unique_function<void(llvm::StringRef)>::NonTrivialCallbacks*}]’ is not usable as a ‘constexpr’ function because:
   63 |   template <typename... Ts> constexpr int lowBitsAvailable() {
      |                                           ^~~~~~~~~~~~~~~~
/usr/lib/llvm/roc/include/llvm/ADT/PointerUnion.h:64:25: error: call to non-‘constexpr’ function ‘_Tp std::min(std::initializer_list<_Tp>) [with _Tp = int]’
   64 |     return std::min<int>({PointerLikeTypeTraits<Ts>::NumLowBitsAvailable...});
      |            ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/lib/llvm/roc/include/llvm/ADT/PointerUnion.h:18,
                 from /usr/lib/llvm/roc/include/llvm/Support/SourceMgr.h:20,
                 from /usr/lib/llvm/roc/include/llvm/Support/VirtualFileSystem.h:27,
                 from /var/tmp/portage/dev-libs/rocm-opencl-driver-2.7.0/work/ROCm-OpenCL-Driver-roc-2.7.0/src/driver/AmdCompiler.cpp:12:
/usr/lib/llvm/roc/include/llvm/ADT/PointerIntPair.h: In instantiation of ‘struct llvm::PointerIntPairInfo<llvm::PointerUnion<llvm::unique_function<void(llvm::StringRef)>::TrivialCallback*, llvm::unique_function<void(llvm::StringRef)>::NonTrivialCallbacks*>, 1, llvm::PointerLikeTypeTraits<llvm::PointerUnion<llvm::unique_function<void(llvm::StringRef)>::TrivialCallback*, llvm::unique_function<void(llvm::StringRef)>::NonTrivialCallbacks*> > >’:
/usr/lib/llvm/roc/include/llvm/ADT/PointerIntPair.h:58:57:   required from ‘PointerTy llvm::PointerIntPair<PointerTy, IntBits, IntType, PtrTraits, Info>::getPointer() const [with PointerTy = llvm::PointerUnion<llvm::unique_function<void(llvm::StringRef)>::TrivialCallback*, llvm::unique_function<void(llvm::StringRef)>::NonTrivialCallbacks*>; unsigned int IntBits = 1; IntType = bool; PtrTraits = llvm::PointerLikeTypeTraits<llvm::PointerUnion<llvm::unique_function<void(llvm::StringRef)>::TrivialCallback*, llvm::unique_function<void(llvm::StringRef)>::NonTrivialCallbacks*> >; Info = llvm::PointerIntPairInfo<llvm::PointerUnion<llvm::unique_function<void(llvm::StringRef)>::TrivialCallback*, llvm::unique_function<void(llvm::StringRef)>::NonTrivialCallbacks*>, 1, llvm::PointerLikeTypeTraits<llvm::PointerUnion<llvm::unique_function<void(llvm::StringRef)>::TrivialCallback*, llvm::unique_function<void(llvm::StringRef)>::NonTrivialCallbacks*> > >]’
/usr/lib/llvm/roc/include/llvm/ADT/FunctionExtras.h:177:9:   required from ‘llvm::unique_function<ReturnT(ParamTs ...)>::~unique_function() [with ReturnT = void; ParamTs = {llvm::StringRef}]’
/usr/lib/llvm/roc/include/llvm/ADT/SmallVector.h:186:7:   required from ‘static void llvm::SmallVectorTemplateBase<T, <anonymous> >::destroy_range(T*, T*) [with T = llvm::unique_function<void(llvm::StringRef)>; bool <anonymous> = false]’
/usr/lib/llvm/roc/include/llvm/ADT/SmallVector.h:843:5:   required from ‘llvm::SmallVector<T, N>::~SmallVector() [with T = llvm::unique_function<void(llvm::StringRef)>; unsigned int N = 4]’
/usr/lib/llvm/roc/include/llvm/IR/PassInstrumentation.h:85:34:   required from here
/usr/lib/llvm/roc/include/llvm/ADT/PointerIntPair.h:147:25: error: static assertion failed: PointerIntPair with integer size too large for pointer
  147 |   static_assert(IntBits <= PtrTraits::NumLowBitsAvailable,
      |                 ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/lib/llvm/roc/include/llvm/ADT/PointerIntPair.h:162:42: warning: left shift count >= width of type [-Wshift-count-overflow]
  162 |     ShiftedIntMask = (uintptr_t)(IntMask << IntShift)
      |                                 ~~~~~~~~~^~~~~~~~~~~~
/usr/lib/llvm/roc/include/llvm/ADT/PointerIntPair.h:162:42: error: right operand of shift expression ‘(1 << 18446744073709551615)’ is >= than the precision of the left operand [-fpermissive]
/usr/lib/llvm/roc/include/llvm/ADT/PointerIntPair.h:149:8: error: enumerator value for ‘ShiftedIntMask’ is not an integer constant
  149 |   enum : uintptr_t {
      |        ^
In file included from /usr/lib/llvm/roc/include/llvm/Support/SourceMgr.h:20,
                 from /usr/lib/llvm/roc/include/llvm/Support/VirtualFileSystem.h:27,
                 from /var/tmp/portage/dev-libs/rocm-opencl-driver-2.7.0/work/ROCm-OpenCL-Driver-roc-2.7.0/src/driver/AmdCompiler.cpp:12:
/usr/lib/llvm/roc/include/llvm/ADT/PointerUnion.h: In instantiation of ‘constexpr const int llvm::pointer_union_detail::PointerUnionUIntTraits<clang::Decl*, clang::LazyGenerationalUpdatePtr<const clang::Decl*, clang::Decl*, &clang::ExternalASTSource::CompleteRedeclChain>::LazyData*>::NumLowBitsAvailable’:
/usr/lib/llvm/roc/include/llvm/ADT/PointerIntPair.h:144:48:   required from ‘struct llvm::PointerIntPairInfo<void*, 1, llvm::pointer_union_detail::PointerUnionUIntTraits<clang::Decl*, clang::LazyGenerationalUpdatePtr<const clang::Decl*, clang::Decl*, &clang::ExternalASTSource::CompleteRedeclChain>::LazyData*> >’
/usr/lib/llvm/roc/include/llvm/ADT/PointerIntPair.h:58:57:   required from ‘PointerTy llvm::PointerIntPair<PointerTy, IntBits, IntType, PtrTraits, Info>::getPointer() const [with PointerTy = void*; unsigned int IntBits = 1; IntType = int; PtrTraits = llvm::pointer_union_detail::PointerUnionUIntTraits<clang::Decl*, clang::LazyGenerationalUpdatePtr<const clang::Decl*, clang::Decl*, &clang::ExternalASTSource::CompleteRedeclChain>::LazyData*>; Info = llvm::PointerIntPairInfo<void*, 1, llvm::pointer_union_detail::PointerUnionUIntTraits<clang::Decl*, clang::LazyGenerationalUpdatePtr<const clang::Decl*, clang::Decl*, &clang::ExternalASTSource::CompleteRedeclChain>::LazyData*> >]’
/usr/lib/llvm/roc/include/llvm/ADT/PointerUnion.h:196:56:   required from ‘T llvm::PointerUnion<PTs>::get() const [with T = clang::Decl*; PTs = {clang::Decl*, clang::LazyGenerationalUpdatePtr<const clang::Decl*, clang::Decl*, &clang::ExternalASTSource::CompleteRedeclChain>::LazyData*}]’
/usr/lib/llvm/roc/include/clang/AST/ExternalASTSource.h:471:34:   required from ‘T clang::LazyGenerationalUpdatePtr<Owner, T, Update>::get(Owner) [with Owner = const clang::Decl*; T = clang::Decl*; void (clang::ExternalASTSource::* Update)(Owner) = &clang::ExternalASTSource::CompleteRedeclChain]’
/usr/lib/llvm/roc/include/clang/AST/Redeclarable.h:134:62:   required from ‘decl_type* clang::Redeclarable<decl_type>::DeclLink::getPrevious(const decl_type*) const [with decl_type = clang::VarDecl]’
/usr/lib/llvm/roc/include/clang/AST/Redeclarable.h:190:71:   required from ‘decl_type* clang::Redeclarable<decl_type>::getNextRedeclaration() const [with decl_type = clang::VarDecl]’
/usr/lib/llvm/roc/include/clang/AST/Decl.h:986:33:   required from here
/usr/lib/llvm/roc/include/llvm/ADT/PointerUnion.h:93:72: error: ‘constexpr int llvm::pointer_union_detail::lowBitsAvailable() [with Ts = {clang::Decl*, clang::LazyGenerationalUpdatePtr<const clang::Decl*, clang::Decl*, &clang::ExternalASTSource::CompleteRedeclChain>::LazyData*}]’ called in a constant expression
   93 |     static constexpr int NumLowBitsAvailable = lowBitsAvailable<PTs...>();
      |                                                ~~~~~~~~~~~~~~~~~~~~~~~~^~
/usr/lib/llvm/roc/include/llvm/ADT/PointerUnion.h:63:43: note: ‘constexpr int llvm::pointer_union_detail::lowBitsAvailable() [with Ts = {clang::Decl*, clang::LazyGenerationalUpdatePtr<const clang::Decl*, clang::Decl*, &clang::ExternalASTSource::CompleteRedeclChain>::LazyData*}]’ is not usable as a ‘constexpr’ function because:
   63 |   template <typename... Ts> constexpr int lowBitsAvailable() {
      |                                           ^~~~~~~~~~~~~~~~
/usr/lib/llvm/roc/include/llvm/ADT/PointerUnion.h:64:25: error: call to non-‘constexpr’ function ‘_Tp std::min(std::initializer_list<_Tp>) [with _Tp = int]’
   64 |     return std::min<int>({PointerLikeTypeTraits<Ts>::NumLowBitsAvailable...});
      |            ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/lib/llvm/roc/include/llvm/ADT/PointerUnion.h:18,
                 from /usr/lib/llvm/roc/include/llvm/Support/SourceMgr.h:20,
                 from /usr/lib/llvm/roc/include/llvm/Support/VirtualFileSystem.h:27,
                 from /var/tmp/portage/dev-libs/rocm-opencl-driver-2.7.0/work/ROCm-OpenCL-Driver-roc-2.7.0/src/driver/AmdCompiler.cpp:12:
/usr/lib/llvm/roc/include/llvm/ADT/PointerIntPair.h: In instantiation of ‘struct llvm::PointerIntPairInfo<void*, 1, llvm::pointer_union_detail::PointerUnionUIntTraits<clang::Decl*, clang::LazyGenerationalUpdatePtr<const clang::Decl*, clang::Decl*, &clang::ExternalASTSource::CompleteRedeclChain>::LazyData*> >’:
/usr/lib/llvm/roc/include/llvm/ADT/PointerIntPair.h:58:57:   required from ‘PointerTy llvm::PointerIntPair<PointerTy, IntBits, IntType, PtrTraits, Info>::getPointer() const [with PointerTy = void*; unsigned int IntBits = 1; IntType = int; PtrTraits = llvm::pointer_union_detail::PointerUnionUIntTraits<clang::Decl*, clang::LazyGenerationalUpdatePtr<const clang::Decl*, clang::Decl*, &clang::ExternalASTSource::CompleteRedeclChain>::LazyData*>; Info = llvm::PointerIntPairInfo<void*, 1, llvm::pointer_union_detail::PointerUnionUIntTraits<clang::Decl*, clang::LazyGenerationalUpdatePtr<const clang::Decl*, clang::Decl*, &clang::ExternalASTSource::CompleteRedeclChain>::LazyData*> >]’
/usr/lib/llvm/roc/include/llvm/ADT/PointerUnion.h:196:56:   required from ‘T llvm::PointerUnion<PTs>::get() const [with T = clang::Decl*; PTs = {clang::Decl*, clang::LazyGenerationalUpdatePtr<const clang::Decl*, clang::Decl*, &clang::ExternalASTSource::CompleteRedeclChain>::LazyData*}]’
/usr/lib/llvm/roc/include/clang/AST/ExternalASTSource.h:471:34:   required from ‘T clang::LazyGenerationalUpdatePtr<Owner, T, Update>::get(Owner) [with Owner = const clang::Decl*; T = clang::Decl*; void (clang::ExternalASTSource::* Update)(Owner) = &clang::ExternalASTSource::CompleteRedeclChain]’
/usr/lib/llvm/roc/include/clang/AST/Redeclarable.h:134:62:   required from ‘decl_type* clang::Redeclarable<decl_type>::DeclLink::getPrevious(const decl_type*) const [with decl_type = clang::VarDecl]’
/usr/lib/llvm/roc/include/clang/AST/Redeclarable.h:190:71:   required from ‘decl_type* clang::Redeclarable<decl_type>::getNextRedeclaration() const [with decl_type = clang::VarDecl]’
/usr/lib/llvm/roc/include/clang/AST/Decl.h:986:33:   required from here
/usr/lib/llvm/roc/include/llvm/ADT/PointerIntPair.h:149:8: error: enumerator value for ‘IntShift’ is not an integer constant
  149 |   enum : uintptr_t {
      |        ^
/usr/lib/llvm/roc/include/llvm/ADT/PointerIntPair.h: In instantiation of ‘struct llvm::PointerIntPairInfo<void*, 1, llvm::pointer_union_detail::PointerUnionUIntTraits<llvm::unique_function<void(const clang::Token&)>::TrivialCallback*, llvm::unique_function<void(const clang::Token&)>::NonTrivialCallbacks*> >’:
/usr/lib/llvm/roc/include/llvm/ADT/PointerIntPair.h:58:57:   required from ‘PointerTy llvm::PointerIntPair<PointerTy, IntBits, IntType, PtrTraits, Info>::getPointer() const [with PointerTy = void*; unsigned int IntBits = 1; IntType = int; PtrTraits = llvm::pointer_union_detail::PointerUnionUIntTraits<llvm::unique_function<void(const clang::Token&)>::TrivialCallback*, llvm::unique_function<void(const clang::Token&)>::NonTrivialCallbacks*>; Info = llvm::PointerIntPairInfo<void*, 1, llvm::pointer_union_detail::PointerUnionUIntTraits<llvm::unique_function<void(const clang::Token&)>::TrivialCallback*, llvm::unique_function<void(const clang::Token&)>::NonTrivialCallbacks*> >]’
/usr/lib/llvm/roc/include/llvm/ADT/PointerUnion.h:179:32:   required from ‘bool llvm::PointerUnion<PTs>::isNull() const [with PTs = {llvm::unique_function<void(const clang::Token&)>::TrivialCallback*, llvm::unique_function<void(const clang::Token&)>::NonTrivialCallbacks*}]’
/usr/lib/llvm/roc/include/llvm/ADT/PointerUnion.h:181:44:   required from ‘llvm::PointerUnion<PTs>::operator bool() const [with PTs = {llvm::unique_function<void(const clang::Token&)>::TrivialCallback*, llvm::unique_function<void(const clang::Token&)>::NonTrivialCallbacks*}]’
/usr/lib/llvm/roc/include/llvm/ADT/FunctionExtras.h:177:9:   required from ‘llvm::unique_function<ReturnT(ParamTs ...)>::~unique_function() [with ReturnT = void; ParamTs = {const clang::Token&}]’
/usr/lib/llvm/roc/include/llvm/ADT/FunctionExtras.h:228:5:   required from ‘llvm::unique_function<ReturnT(ParamTs ...)>& llvm::unique_function<ReturnT(ParamTs ...)>::operator=(llvm::unique_function<ReturnT(ParamTs ...)>&&) [with ReturnT = void; ParamTs = {const clang::Token&}]’
/usr/lib/llvm/roc/include/clang/Lex/Preprocessor.h:1007:26:   required from here
/usr/lib/llvm/roc/include/llvm/ADT/PointerIntPair.h:149:8: error: enumerator value for ‘IntShift’ is not an integer constant
/usr/lib/llvm/roc/include/llvm/ADT/PointerIntPair.h: In instantiation of ‘static intptr_t llvm::PointerIntPairInfo<PointerT, IntBits, PtrTraits>::getInt(intptr_t) [with PointerT = llvm::PointerUnion<llvm::unique_function<void(const clang::Token&)>::TrivialCallback*, llvm::unique_function<void(const clang::Token&)>::NonTrivialCallbacks*>; unsigned int IntBits = 1; PtrTraits = llvm::PointerLikeTypeTraits<llvm::PointerUnion<llvm::unique_function<void(const clang::Token&)>::TrivialCallback*, llvm::unique_function<void(const clang::Token&)>::NonTrivialCallbacks*> >; intptr_t = long int]’:
/usr/lib/llvm/roc/include/llvm/ADT/PointerIntPair.h:60:56:   required from ‘IntType llvm::PointerIntPair<PointerTy, IntBits, IntType, PtrTraits, Info>::getInt() const [with PointerTy = llvm::PointerUnion<llvm::unique_function<void(const clang::Token&)>::TrivialCallback*, llvm::unique_function<void(const clang::Token&)>::NonTrivialCallbacks*>; unsigned int IntBits = 1; IntType = bool; PtrTraits = llvm::PointerLikeTypeTraits<llvm::PointerUnion<llvm::unique_function<void(const clang::Token&)>::TrivialCallback*, llvm::unique_function<void(const clang::Token&)>::NonTrivialCallbacks*> >; Info = llvm::PointerIntPairInfo<llvm::PointerUnion<llvm::unique_function<void(const clang::Token&)>::TrivialCallback*, llvm::unique_function<void(const clang::Token&)>::NonTrivialCallbacks*>, 1, llvm::PointerLikeTypeTraits<llvm::PointerUnion<llvm::unique_function<void(const clang::Token&)>::TrivialCallback*, llvm::unique_function<void(const clang::Token&)>::NonTrivialCallbacks*> > >]’
/usr/lib/llvm/roc/include/llvm/ADT/FunctionExtras.h:124:70:   required from ‘bool llvm::unique_function<ReturnT(ParamTs ...)>::isInlineStorage() const [with ReturnT = void; ParamTs = {const clang::Token&}]’
/usr/lib/llvm/roc/include/llvm/ADT/FunctionExtras.h:181:28:   required from ‘llvm::unique_function<ReturnT(ParamTs ...)>::~unique_function() [with ReturnT = void; ParamTs = {const clang::Token&}]’
/usr/lib/llvm/roc/include/llvm/ADT/FunctionExtras.h:228:5:   required from ‘llvm::unique_function<ReturnT(ParamTs ...)>& llvm::unique_function<ReturnT(ParamTs ...)>::operator=(llvm::unique_function<ReturnT(ParamTs ...)>&&) [with ReturnT = void; ParamTs = {const clang::Token&}]’
/usr/lib/llvm/roc/include/clang/Lex/Preprocessor.h:1007:26:   required from here
/usr/lib/llvm/roc/include/llvm/ADT/PointerIntPair.h:171:19: warning: right shift count >= width of type [-Wshift-count-overflow]
  171 |     return (Value >> IntShift) & IntMask;
      |            ~~~~~~~^~~~~~~~~~~~
/usr/lib/llvm/roc/include/llvm/ADT/PointerIntPair.h: In instantiation of ‘struct llvm::PointerIntPairInfo<void*, 1, llvm::pointer_union_detail::PointerUnionUIntTraits<llvm::unique_function<bool(llvm::StringRef, llvm::Any)>::TrivialCallback*, llvm::unique_function<bool(llvm::StringRef, llvm::Any)>::NonTrivialCallbacks*> >’:
/usr/lib/llvm/roc/include/llvm/ADT/PointerIntPair.h:58:57:   required from ‘PointerTy llvm::PointerIntPair<PointerTy, IntBits, IntType, PtrTraits, Info>::getPointer() const [with PointerTy = void*; unsigned int IntBits = 1; IntType = int; PtrTraits = llvm::pointer_union_detail::PointerUnionUIntTraits<llvm::unique_function<bool(llvm::StringRef, llvm::Any)>::TrivialCallback*, llvm::unique_function<bool(llvm::StringRef, llvm::Any)>::NonTrivialCallbacks*>; Info = llvm::PointerIntPairInfo<void*, 1, llvm::pointer_union_detail::PointerUnionUIntTraits<llvm::unique_function<bool(llvm::StringRef, llvm::Any)>::TrivialCallback*, llvm::unique_function<bool(llvm::StringRef, llvm::Any)>::NonTrivialCallbacks*> >]’
/usr/lib/llvm/roc/include/llvm/ADT/PointerUnion.h:179:32:   required from ‘bool llvm::PointerUnion<PTs>::isNull() const [with PTs = {llvm::unique_function<bool(llvm::StringRef, llvm::Any)>::TrivialCallback*, llvm::unique_function<bool(llvm::StringRef, llvm::Any)>::NonTrivialCallbacks*}]’
/usr/lib/llvm/roc/include/llvm/ADT/PointerUnion.h:181:44:   required from ‘llvm::PointerUnion<PTs>::operator bool() const [with PTs = {llvm::unique_function<bool(llvm::StringRef, llvm::Any)>::TrivialCallback*, llvm::unique_function<bool(llvm::StringRef, llvm::Any)>::NonTrivialCallbacks*}]’
/usr/lib/llvm/roc/include/llvm/ADT/FunctionExtras.h:177:9:   required from ‘llvm::unique_function<ReturnT(ParamTs ...)>::~unique_function() [with ReturnT = bool; ParamTs = {llvm::StringRef, llvm::Any}]’
/usr/lib/llvm/roc/include/llvm/ADT/SmallVector.h:186:7:   required from ‘static void llvm::SmallVectorTemplateBase<T, <anonymous> >::destroy_range(T*, T*) [with T = llvm::unique_function<bool(llvm::StringRef, llvm::Any)>; bool <anonymous> = false]’
/usr/lib/llvm/roc/include/llvm/ADT/SmallVector.h:843:5:   required from ‘llvm::SmallVector<T, N>::~SmallVector() [with T = llvm::unique_function<bool(llvm::StringRef, llvm::Any)>; unsigned int N = 4]’
/usr/lib/llvm/roc/include/llvm/IR/PassInstrumentation.h:85:34:   required from here
/usr/lib/llvm/roc/include/llvm/ADT/PointerIntPair.h:149:8: error: enumerator value for ‘IntShift’ is not an integer constant
  149 |   enum : uintptr_t {
      |        ^
/usr/lib/llvm/roc/include/llvm/ADT/PointerIntPair.h: In instantiation of ‘static intptr_t llvm::PointerIntPairInfo<PointerT, IntBits, PtrTraits>::getInt(intptr_t) [with PointerT = llvm::PointerUnion<llvm::unique_function<bool(llvm::StringRef, llvm::Any)>::TrivialCallback*, llvm::unique_function<bool(llvm::StringRef, llvm::Any)>::NonTrivialCallbacks*>; unsigned int IntBits = 1; PtrTraits = llvm::PointerLikeTypeTraits<llvm::PointerUnion<llvm::unique_function<bool(llvm::StringRef, llvm::Any)>::TrivialCallback*, llvm::unique_function<bool(llvm::StringRef, llvm::Any)>::NonTrivialCallbacks*> >; intptr_t = long int]’:
/usr/lib/llvm/roc/include/llvm/ADT/PointerIntPair.h:60:56:   required from ‘IntType llvm::PointerIntPair<PointerTy, IntBits, IntType, PtrTraits, Info>::getInt() const [with PointerTy = llvm::PointerUnion<llvm::unique_function<bool(llvm::StringRef, llvm::Any)>::TrivialCallback*, llvm::unique_function<bool(llvm::StringRef, llvm::Any)>::NonTrivialCallbacks*>; unsigned int IntBits = 1; IntType = bool; PtrTraits = llvm::PointerLikeTypeTraits<llvm::PointerUnion<llvm::unique_function<bool(llvm::StringRef, llvm::Any)>::TrivialCallback*, llvm::unique_function<bool(llvm::StringRef, llvm::Any)>::NonTrivialCallbacks*> >; Info = llvm::PointerIntPairInfo<llvm::PointerUnion<llvm::unique_function<bool(llvm::StringRef, llvm::Any)>::TrivialCallback*, llvm::unique_function<bool(llvm::StringRef, llvm::Any)>::NonTrivialCallbacks*>, 1, llvm::PointerLikeTypeTraits<llvm::PointerUnion<llvm::unique_function<bool(llvm::StringRef, llvm::Any)>::TrivialCallback*, llvm::unique_function<bool(llvm::StringRef, llvm::Any)>::NonTrivialCallbacks*> > >]’
/usr/lib/llvm/roc/include/llvm/ADT/FunctionExtras.h:124:70:   required from ‘bool llvm::unique_function<ReturnT(ParamTs ...)>::isInlineStorage() const [with ReturnT = bool; ParamTs = {llvm::StringRef, llvm::Any}]’
/usr/lib/llvm/roc/include/llvm/ADT/FunctionExtras.h:181:28:   required from ‘llvm::unique_function<ReturnT(ParamTs ...)>::~unique_function() [with ReturnT = bool; ParamTs = {llvm::StringRef, llvm::Any}]’
/usr/lib/llvm/roc/include/llvm/ADT/SmallVector.h:186:7:   required from ‘static void llvm::SmallVectorTemplateBase<T, <anonymous> >::destroy_range(T*, T*) [with T = llvm::unique_function<bool(llvm::StringRef, llvm::Any)>; bool <anonymous> = false]’
/usr/lib/llvm/roc/include/llvm/ADT/SmallVector.h:843:5:   required from ‘llvm::SmallVector<T, N>::~SmallVector() [with T = llvm::unique_function<bool(llvm::StringRef, llvm::Any)>; unsigned int N = 4]’
/usr/lib/llvm/roc/include/llvm/IR/PassInstrumentation.h:85:34:   required from here
/usr/lib/llvm/roc/include/llvm/ADT/PointerIntPair.h:171:19: warning: right shift count >= width of type [-Wshift-count-overflow]
  171 |     return (Value >> IntShift) & IntMask;
      |            ~~~~~~~^~~~~~~~~~~~
/usr/lib/llvm/roc/include/llvm/ADT/PointerIntPair.h: In instantiation of ‘struct llvm::PointerIntPairInfo<void*, 1, llvm::pointer_union_detail::PointerUnionUIntTraits<llvm::unique_function<void(llvm::StringRef, llvm::Any)>::TrivialCallback*, llvm::unique_function<void(llvm::StringRef, llvm::Any)>::NonTrivialCallbacks*> >’:
/usr/lib/llvm/roc/include/llvm/ADT/PointerIntPair.h:58:57:   required from ‘PointerTy llvm::PointerIntPair<PointerTy, IntBits, IntType, PtrTraits, Info>::getPointer() const [with PointerTy = void*; unsigned int IntBits = 1; IntType = int; PtrTraits = llvm::pointer_union_detail::PointerUnionUIntTraits<llvm::unique_function<void(llvm::StringRef, llvm::Any)>::TrivialCallback*, llvm::unique_function<void(llvm::StringRef, llvm::Any)>::NonTrivialCallbacks*>; Info = llvm::PointerIntPairInfo<void*, 1, llvm::pointer_union_detail::PointerUnionUIntTraits<llvm::unique_function<void(llvm::StringRef, llvm::Any)>::TrivialCallback*, llvm::unique_function<void(llvm::StringRef, llvm::Any)>::NonTrivialCallbacks*> >]’
/usr/lib/llvm/roc/include/llvm/ADT/PointerUnion.h:179:32:   required from ‘bool llvm::PointerUnion<PTs>::isNull() const [with PTs = {llvm::unique_function<void(llvm::StringRef, llvm::Any)>::TrivialCallback*, llvm::unique_function<void(llvm::StringRef, llvm::Any)>::NonTrivialCallbacks*}]’
/usr/lib/llvm/roc/include/llvm/ADT/PointerUnion.h:181:44:   required from ‘llvm::PointerUnion<PTs>::operator bool() const [with PTs = {llvm::unique_function<void(llvm::StringRef, llvm::Any)>::TrivialCallback*, llvm::unique_function<void(llvm::StringRef, llvm::Any)>::NonTrivialCallbacks*}]’
/usr/lib/llvm/roc/include/llvm/ADT/FunctionExtras.h:177:9:   required from ‘llvm::unique_function<ReturnT(ParamTs ...)>::~unique_function() [with ReturnT = void; ParamTs = {llvm::StringRef, llvm::Any}]’
/usr/lib/llvm/roc/include/llvm/ADT/SmallVector.h:186:7:   required from ‘static void llvm::SmallVectorTemplateBase<T, <anonymous> >::destroy_range(T*, T*) [with T = llvm::unique_function<void(llvm::StringRef, llvm::Any)>; bool <anonymous> = false]’
/usr/lib/llvm/roc/include/llvm/ADT/SmallVector.h:843:5:   required from ‘llvm::SmallVector<T, N>::~SmallVector() [with T = llvm::unique_function<void(llvm::StringRef, llvm::Any)>; unsigned int N = 4]’
/usr/lib/llvm/roc/include/llvm/IR/PassInstrumentation.h:85:34:   required from here
/usr/lib/llvm/roc/include/llvm/ADT/PointerIntPair.h:149:8: error: enumerator value for ‘IntShift’ is not an integer constant
  149 |   enum : uintptr_t {
      |        ^
/usr/lib/llvm/roc/include/llvm/ADT/PointerIntPair.h: In instantiation of ‘static intptr_t llvm::PointerIntPairInfo<PointerT, IntBits, PtrTraits>::getInt(intptr_t) [with PointerT = llvm::PointerUnion<llvm::unique_function<void(llvm::StringRef, llvm::Any)>::TrivialCallback*, llvm::unique_function<void(llvm::StringRef, llvm::Any)>::NonTrivialCallbacks*>; unsigned int IntBits = 1; PtrTraits = llvm::PointerLikeTypeTraits<llvm::PointerUnion<llvm::unique_function<void(llvm::StringRef, llvm::Any)>::TrivialCallback*, llvm::unique_function<void(llvm::StringRef, llvm::Any)>::NonTrivialCallbacks*> >; intptr_t = long int]’:
/usr/lib/llvm/roc/include/llvm/ADT/PointerIntPair.h:60:56:   required from ‘IntType llvm::PointerIntPair<PointerTy, IntBits, IntType, PtrTraits, Info>::getInt() const [with PointerTy = llvm::PointerUnion<llvm::unique_function<void(llvm::StringRef, llvm::Any)>::TrivialCallback*, llvm::unique_function<void(llvm::StringRef, llvm::Any)>::NonTrivialCallbacks*>; unsigned int IntBits = 1; IntType = bool; PtrTraits = llvm::PointerLikeTypeTraits<llvm::PointerUnion<llvm::unique_function<void(llvm::StringRef, llvm::Any)>::TrivialCallback*, llvm::unique_function<void(llvm::StringRef, llvm::Any)>::NonTrivialCallbacks*> >; Info = llvm::PointerIntPairInfo<llvm::PointerUnion<llvm::unique_function<void(llvm::StringRef, llvm::Any)>::TrivialCallback*, llvm::unique_function<void(llvm::StringRef, llvm::Any)>::NonTrivialCallbacks*>, 1, llvm::PointerLikeTypeTraits<llvm::PointerUnion<llvm::unique_function<void(llvm::StringRef, llvm::Any)>::TrivialCallback*, llvm::unique_function<void(llvm::StringRef, llvm::Any)>::NonTrivialCallbacks*> > >]’
/usr/lib/llvm/roc/include/llvm/ADT/FunctionExtras.h:124:70:   required from ‘bool llvm::unique_function<ReturnT(ParamTs ...)>::isInlineStorage() const [with ReturnT = void; ParamTs = {llvm::StringRef, llvm::Any}]’
/usr/lib/llvm/roc/include/llvm/ADT/FunctionExtras.h:181:28:   required from ‘llvm::unique_function<ReturnT(ParamTs ...)>::~unique_function() [with ReturnT = void; ParamTs = {llvm::StringRef, llvm::Any}]’
/usr/lib/llvm/roc/include/llvm/ADT/SmallVector.h:186:7:   required from ‘static void llvm::SmallVectorTemplateBase<T, <anonymous> >::destroy_range(T*, T*) [with T = llvm::unique_function<void(llvm::StringRef, llvm::Any)>; bool <anonymous> = false]’
/usr/lib/llvm/roc/include/llvm/ADT/SmallVector.h:843:5:   required from ‘llvm::SmallVector<T, N>::~SmallVector() [with T = llvm::unique_function<void(llvm::StringRef, llvm::Any)>; unsigned int N = 4]’
/usr/lib/llvm/roc/include/llvm/IR/PassInstrumentation.h:85:34:   required from here
/usr/lib/llvm/roc/include/llvm/ADT/PointerIntPair.h:171:19: warning: right shift count >= width of type [-Wshift-count-overflow]
  171 |     return (Value >> IntShift) & IntMask;
      |            ~~~~~~~^~~~~~~~~~~~
/usr/lib/llvm/roc/include/llvm/ADT/PointerIntPair.h: In instantiation of ‘struct llvm::PointerIntPairInfo<void*, 1, llvm::pointer_union_detail::PointerUnionUIntTraits<llvm::unique_function<void(llvm::StringRef)>::TrivialCallback*, llvm::unique_function<void(llvm::StringRef)>::NonTrivialCallbacks*> >’:
/usr/lib/llvm/roc/include/llvm/ADT/PointerIntPair.h:58:57:   required from ‘PointerTy llvm::PointerIntPair<PointerTy, IntBits, IntType, PtrTraits, Info>::getPointer() const [with PointerTy = void*; unsigned int IntBits = 1; IntType = int; PtrTraits = llvm::pointer_union_detail::PointerUnionUIntTraits<llvm::unique_function<void(llvm::StringRef)>::TrivialCallback*, llvm::unique_function<void(llvm::StringRef)>::NonTrivialCallbacks*>; Info = llvm::PointerIntPairInfo<void*, 1, llvm::pointer_union_detail::PointerUnionUIntTraits<llvm::unique_function<void(llvm::StringRef)>::TrivialCallback*, llvm::unique_function<void(llvm::StringRef)>::NonTrivialCallbacks*> >]’
/usr/lib/llvm/roc/include/llvm/ADT/PointerUnion.h:179:32:   required from ‘bool llvm::PointerUnion<PTs>::isNull() const [with PTs = {llvm::unique_function<void(llvm::StringRef)>::TrivialCallback*, llvm::unique_function<void(llvm::StringRef)>::NonTrivialCallbacks*}]’
/usr/lib/llvm/roc/include/llvm/ADT/PointerUnion.h:181:44:   required from ‘llvm::PointerUnion<PTs>::operator bool() const [with PTs = {llvm::unique_function<void(llvm::StringRef)>::TrivialCallback*, llvm::unique_function<void(llvm::StringRef)>::NonTrivialCallbacks*}]’
/usr/lib/llvm/roc/include/llvm/ADT/FunctionExtras.h:177:9:   required from ‘llvm::unique_function<ReturnT(ParamTs ...)>::~unique_function() [with ReturnT = void; ParamTs = {llvm::StringRef}]’
/usr/lib/llvm/roc/include/llvm/ADT/SmallVector.h:186:7:   required from ‘static void llvm::SmallVectorTemplateBase<T, <anonymous> >::destroy_range(T*, T*) [with T = llvm::unique_function<void(llvm::StringRef)>; bool <anonymous> = false]’
/usr/lib/llvm/roc/include/llvm/ADT/SmallVector.h:843:5:   required from ‘llvm::SmallVector<T, N>::~SmallVector() [with T = llvm::unique_function<void(llvm::StringRef)>; unsigned int N = 4]’
/usr/lib/llvm/roc/include/llvm/IR/PassInstrumentation.h:85:34:   required from here
/usr/lib/llvm/roc/include/llvm/ADT/PointerIntPair.h:149:8: error: enumerator value for ‘IntShift’ is not an integer constant
  149 |   enum : uintptr_t {
      |        ^
/usr/lib/llvm/roc/include/llvm/ADT/PointerIntPair.h: In instantiation of ‘static intptr_t llvm::PointerIntPairInfo<PointerT, IntBits, PtrTraits>::getInt(intptr_t) [with PointerT = llvm::PointerUnion<llvm::unique_function<void(llvm::StringRef)>::TrivialCallback*, llvm::unique_function<void(llvm::StringRef)>::NonTrivialCallbacks*>; unsigned int IntBits = 1; PtrTraits = llvm::PointerLikeTypeTraits<llvm::PointerUnion<llvm::unique_function<void(llvm::StringRef)>::TrivialCallback*, llvm::unique_function<void(llvm::StringRef)>::NonTrivialCallbacks*> >; intptr_t = long int]’:
/usr/lib/llvm/roc/include/llvm/ADT/PointerIntPair.h:60:56:   required from ‘IntType llvm::PointerIntPair<PointerTy, IntBits, IntType, PtrTraits, Info>::getInt() const [with PointerTy = llvm::PointerUnion<llvm::unique_function<void(llvm::StringRef)>::TrivialCallback*, llvm::unique_function<void(llvm::StringRef)>::NonTrivialCallbacks*>; unsigned int IntBits = 1; IntType = bool; PtrTraits = llvm::PointerLikeTypeTraits<llvm::PointerUnion<llvm::unique_function<void(llvm::StringRef)>::TrivialCallback*, llvm::unique_function<void(llvm::StringRef)>::NonTrivialCallbacks*> >; Info = llvm::PointerIntPairInfo<llvm::PointerUnion<llvm::unique_function<void(llvm::StringRef)>::TrivialCallback*, llvm::unique_function<void(llvm::StringRef)>::NonTrivialCallbacks*>, 1, llvm::PointerLikeTypeTraits<llvm::PointerUnion<llvm::unique_function<void(llvm::StringRef)>::TrivialCallback*, llvm::unique_function<void(llvm::StringRef)>::NonTrivialCallbacks*> > >]’
/usr/lib/llvm/roc/include/llvm/ADT/FunctionExtras.h:124:70:   required from ‘bool llvm::unique_function<ReturnT(ParamTs ...)>::isInlineStorage() const [with ReturnT = void; ParamTs = {llvm::StringRef}]’
/usr/lib/llvm/roc/include/llvm/ADT/FunctionExtras.h:181:28:   required from ‘llvm::unique_function<ReturnT(ParamTs ...)>::~unique_function() [with ReturnT = void; ParamTs = {llvm::StringRef}]’
/usr/lib/llvm/roc/include/llvm/ADT/SmallVector.h:186:7:   required from ‘static void llvm::SmallVectorTemplateBase<T, <anonymous> >::destroy_range(T*, T*) [with T = llvm::unique_function<void(llvm::StringRef)>; bool <anonymous> = false]’
/usr/lib/llvm/roc/include/llvm/ADT/SmallVector.h:843:5:   required from ‘llvm::SmallVector<T, N>::~SmallVector() [with T = llvm::unique_function<void(llvm::StringRef)>; unsigned int N = 4]’
/usr/lib/llvm/roc/include/llvm/IR/PassInstrumentation.h:85:34:   required from here
/usr/lib/llvm/roc/include/llvm/ADT/PointerIntPair.h:171:19: warning: right shift count >= width of type [-Wshift-count-overflow]
  171 |     return (Value >> IntShift) & IntMask;
      |            ~~~~~~~^~~~~~~~~~~~
ninja: build stopped: subcommand failed.
 �[31;01m*�[0m ERROR: dev-libs/rocm-opencl-driver-2.7.0::gentoo failed (compile phase):
 �[31;01m*�[0m   ninja -v -j6 -l0 failed
 �[31;01m*�[0m 
 �[31;01m*�[0m Call stack:
 �[31;01m*�[0m     ebuild.sh, line  125:  Called src_compile
 �[31;01m*�[0m   environment, line 2058:  Called cmake-utils_src_compile
 �[31;01m*�[0m   environment, line  747:  Called cmake-utils_src_make
 �[31;01m*�[0m   environment, line  928:  Called _cmake_ninja_src_make
 �[31;01m*�[0m   environment, line  482:  Called eninja
 �[31;01m*�[0m   environment, line 1227:  Called die
 �[31;01m*�[0m The specific snippet of code:
 �[31;01m*�[0m       "$@" || die "${nonfatal_args[@]}" "${*} failed"
 �[31;01m*�[0m 
 �[31;01m*�[0m If you need support, post the output of `emerge --info '=dev-libs/rocm-opencl-driver-2.7.0::gentoo'`,
 �[31;01m*�[0m the complete build log and the output of `emerge -pqv '=dev-libs/rocm-opencl-driver-2.7.0::gentoo'`.
 �[31;01m*�[0m The complete build log is located at '/var/tmp/portage/dev-libs/rocm-opencl-driver-2.7.0/temp/build.log'.
 �[31;01m*�[0m The ebuild environment file is located at '/var/tmp/portage/dev-libs/rocm-opencl-driver-2.7.0/temp/environment'.
 �[31;01m*�[0m Working directory: '/var/tmp/portage/dev-libs/rocm-opencl-driver-2.7.0/work/rocm-opencl-driver-2.7.0_build'
 �[31;01m*�[0m S: '/var/tmp/portage/dev-libs/rocm-opencl-driver-2.7.0/work/ROCm-OpenCL-Driver-roc-2.7.0'

This does look like an LLVM issue, but I don't know.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.