Bug#1037760: llvm-toolchain-15: ftbfs with GCC-13

Matthias Klose doko at debian.org
Wed Jun 14 10:27:58 BST 2023


Package: src:llvm-toolchain-15
Version: 1:15.0.7-4
Severity: normal
Tags: sid trixie
User: debian-gcc at lists.debian.org
Usertags: ftbfs-gcc-13

[This bug is targeted to the upcoming trixie release]

Please keep this issue open in the bug tracker for the package it
was filed for.  If a fix in another package is required, please
file a bug for the other package (or clone), and add a block in this
package. Please keep the issue open until the package can be built in
a follow-up test rebuild.

The package fails to build in a test rebuild on at least amd64 with
gcc-13/g++-13, but succeeds to build with gcc-12/g++-12. The
severity of this report will be raised before the trixie release.

The full build log can be found at:
http://qa-logs.debian.net/2023/05/22/logs/llvm-toolchain-15_15.0.7-4_unstable_gccexp.log
The last lines of the build log are at the end of this report.

To build with GCC 13, either set CC=gcc-13 CXX=g++-13 explicitly,
or install the gcc, g++, gfortran, ... packages from experimental.

  apt-get -t=experimental install g++ 

Common build failures are new warnings resulting in build failures with
-Werror turned on, or new/dropped symbols in Debian symbols files.
For other C/C++ related build failures see the porting guide at
http://gcc.gnu.org/gcc-13/porting_to.html

[...]
[2354/2653] cd /<<PKGBUILDDIR>>/build-llvm/runtimes/runtimes-bins/openmp/libomptarget/DeviceRTL && /<<PKGBUILDDIR>>/build-llvm/bin/clang -c -emit-llvm -std=c++17 -fvisibility=hidden -O3 -mllvm -openmp-opt-disable -DSHARED_SCRATCHPAD_SIZE=512 --offload-device-only -nocudalib -nogpulib -nostdinc -fopenmp -fopenmp-cuda-mode -I/<<PKGBUILDDIR>>/openmp/libomptarget/DeviceRTL/include -I/<<PKGBUILDDIR>>/openmp/libomptarget/DeviceRTL/../include -I/<<PKGBUILDDIR>>/llvm/include -I/<<PKGBUILDDIR>>/build-llvm/include -DOMPTARGET_DEBUG=0 --offload-arch=gfx801 -fopenmp-targets=amdgcn-amd-amdhsa -DLIBOMPTARGET_BC_TARGET -D__AMDGCN__ -nogpulib /<<PKGBUILDDIR>>/openmp/libomptarget/DeviceRTL/src/Parallelism.cpp -o Parallelism.cpp-gfx801.bc
[2355/2653] cd /<<PKGBUILDDIR>>/build-llvm/runtimes/runtimes-bins/openmp/libomptarget/DeviceRTL && /<<PKGBUILDDIR>>/build-llvm/bin/clang -c -emit-llvm -std=c++17 -fvisibility=hidden -O3 -mllvm -openmp-opt-disable -DSHARED_SCRATCHPAD_SIZE=512 --offload-device-only -nocudalib -nogpulib -nostdinc -fopenmp -fopenmp-cuda-mode -I/<<PKGBUILDDIR>>/openmp/libomptarget/DeviceRTL/include -I/<<PKGBUILDDIR>>/openmp/libomptarget/DeviceRTL/../include -I/<<PKGBUILDDIR>>/llvm/include -I/<<PKGBUILDDIR>>/build-llvm/include -DOMPTARGET_DEBUG=0 --offload-arch=gfx803 -fopenmp-targets=amdgcn-amd-amdhsa -DLIBOMPTARGET_BC_TARGET -D__AMDGCN__ -nogpulib /<<PKGBUILDDIR>>/openmp/libomptarget/DeviceRTL/src/Configuration.cpp -o Configuration.cpp-gfx803.bc
[2356/2653] cd /<<PKGBUILDDIR>>/build-llvm/runtimes/runtimes-bins/openmp/libomptarget/DeviceRTL && /<<PKGBUILDDIR>>/build-llvm/bin/clang -c -emit-llvm -std=c++17 -fvisibility=hidden -O3 -mllvm -openmp-opt-disable -DSHARED_SCRATCHPAD_SIZE=512 --offload-device-only -nocudalib -nogpulib -nostdinc -fopenmp -fopenmp-cuda-mode -I/<<PKGBUILDDIR>>/openmp/libomptarget/DeviceRTL/include -I/<<PKGBUILDDIR>>/openmp/libomptarget/DeviceRTL/../include -I/<<PKGBUILDDIR>>/llvm/include -I/<<PKGBUILDDIR>>/build-llvm/include -DOMPTARGET_DEBUG=0 --offload-arch=gfx803 -fopenmp-targets=amdgcn-amd-amdhsa -DLIBOMPTARGET_BC_TARGET -D__AMDGCN__ -nogpulib /<<PKGBUILDDIR>>/openmp/libomptarget/DeviceRTL/src/Debug.cpp -o Debug.cpp-gfx803.bc
[2357/2653] cd /<<PKGBUILDDIR>>/build-llvm/runtimes/runtimes-bins/openmp/libomptarget/DeviceRTL && /<<PKGBUILDDIR>>/build-llvm/bin/opt -O3 -openmp-opt-disable /<<PKGBUILDDIR>>/build-llvm/runtimes/runtimes-bins/openmp/libomptarget/DeviceRTL/internalized_libomptarget-nvptx-sm_86.bc -o /<<PKGBUILDDIR>>/build-llvm/runtimes/runtimes-bins/openmp/libomptarget/DeviceRTL/libomptarget-nvptx-sm_86.bc
[2358/2653] cd /<<PKGBUILDDIR>>/build-llvm/runtimes/runtimes-bins/openmp/libomptarget/DeviceRTL && /<<PKGBUILDDIR>>/build-llvm/bin/llvm-link -o /<<PKGBUILDDIR>>/build-llvm/runtimes/runtimes-bins/openmp/libomptarget/DeviceRTL/linked_libomptarget-amdgpu-gfx701.bc Configuration.cpp-gfx701.bc Debug.cpp-gfx701.bc Kernel.cpp-gfx701.bc Mapping.cpp-gfx701.bc Misc.cpp-gfx701.bc Parallelism.cpp-gfx701.bc Reduction.cpp-gfx701.bc State.cpp-gfx701.bc Synchronization.cpp-gfx701.bc Tasking.cpp-gfx701.bc Utils.cpp-gfx701.bc Workshare.cpp-gfx701.bc
[2359/2653] cd /<<PKGBUILDDIR>>/build-llvm/runtimes/runtimes-bins/openmp/libomptarget/DeviceRTL && /<<PKGBUILDDIR>>/build-llvm/bin/clang -c -emit-llvm -std=c++17 -fvisibility=hidden -O3 -mllvm -openmp-opt-disable -DSHARED_SCRATCHPAD_SIZE=512 --offload-device-only -nocudalib -nogpulib -nostdinc -fopenmp -fopenmp-cuda-mode -I/<<PKGBUILDDIR>>/openmp/libomptarget/DeviceRTL/include -I/<<PKGBUILDDIR>>/openmp/libomptarget/DeviceRTL/../include -I/<<PKGBUILDDIR>>/llvm/include -I/<<PKGBUILDDIR>>/build-llvm/include -DOMPTARGET_DEBUG=0 --offload-arch=gfx803 -fopenmp-targets=amdgcn-amd-amdhsa -DLIBOMPTARGET_BC_TARGET -D__AMDGCN__ -nogpulib /<<PKGBUILDDIR>>/openmp/libomptarget/DeviceRTL/src/Misc.cpp -o Misc.cpp-gfx803.bc
[2360/2653] cd /<<PKGBUILDDIR>>/build-llvm/runtimes/runtimes-bins/openmp/libomptarget/DeviceRTL && /<<PKGBUILDDIR>>/build-llvm/bin/clang -c -emit-llvm -std=c++17 -fvisibility=hidden -O3 -mllvm -openmp-opt-disable -DSHARED_SCRATCHPAD_SIZE=512 --offload-device-only -nocudalib -nogpulib -nostdinc -fopenmp -fopenmp-cuda-mode -I/<<PKGBUILDDIR>>/openmp/libomptarget/DeviceRTL/include -I/<<PKGBUILDDIR>>/openmp/libomptarget/DeviceRTL/../include -I/<<PKGBUILDDIR>>/llvm/include -I/<<PKGBUILDDIR>>/build-llvm/include -DOMPTARGET_DEBUG=0 --offload-arch=gfx803 -fopenmp-targets=amdgcn-amd-amdhsa -DLIBOMPTARGET_BC_TARGET -D__AMDGCN__ -nogpulib /<<PKGBUILDDIR>>/openmp/libomptarget/DeviceRTL/src/Kernel.cpp -o Kernel.cpp-gfx803.bc
[2361/2653] cd /<<PKGBUILDDIR>>/build-llvm/runtimes/runtimes-bins/openmp/libomptarget/DeviceRTL && /usr/bin/cmake -E copy /<<PKGBUILDDIR>>/build-llvm/runtimes/runtimes-bins/openmp/libomptarget/DeviceRTL/libomptarget-nvptx-sm_86.bc /<<PKGBUILDDIR>>/build-llvm/runtimes/runtimes-bins/openmp/libomptarget
[2362/2653] cd /<<PKGBUILDDIR>>/build-llvm/runtimes/runtimes-bins/openmp/libomptarget/DeviceRTL && /<<PKGBUILDDIR>>/build-llvm/bin/clang -c -emit-llvm -std=c++17 -fvisibility=hidden -O3 -mllvm -openmp-opt-disable -DSHARED_SCRATCHPAD_SIZE=512 --offload-device-only -nocudalib -nogpulib -nostdinc -fopenmp -fopenmp-cuda-mode -I/<<PKGBUILDDIR>>/openmp/libomptarget/DeviceRTL/include -I/<<PKGBUILDDIR>>/openmp/libomptarget/DeviceRTL/../include -I/<<PKGBUILDDIR>>/llvm/include -I/<<PKGBUILDDIR>>/build-llvm/include -DOMPTARGET_DEBUG=0 --offload-arch=gfx801 -fopenmp-targets=amdgcn-amd-amdhsa -DLIBOMPTARGET_BC_TARGET -D__AMDGCN__ -nogpulib /<<PKGBUILDDIR>>/openmp/libomptarget/DeviceRTL/src/State.cpp -o State.cpp-gfx801.bc
[2363/2653] cd /<<PKGBUILDDIR>>/build-llvm/runtimes/runtimes-bins/openmp/libomptarget/DeviceRTL && /<<PKGBUILDDIR>>/build-llvm/bin/opt -passes=internalize -internalize-public-api-file=/<<PKGBUILDDIR>>/openmp/libomptarget/DeviceRTL/src/exports /<<PKGBUILDDIR>>/build-llvm/runtimes/runtimes-bins/openmp/libomptarget/DeviceRTL/linked_libomptarget-amdgpu-gfx701.bc -o /<<PKGBUILDDIR>>/build-llvm/runtimes/runtimes-bins/openmp/libomptarget/DeviceRTL/internalized_libomptarget-amdgpu-gfx701.bc
[2364/2653] cd /<<PKGBUILDDIR>>/build-llvm/runtimes/runtimes-bins/openmp/libomptarget/DeviceRTL && /<<PKGBUILDDIR>>/build-llvm/bin/clang -c -emit-llvm -std=c++17 -fvisibility=hidden -O3 -mllvm -openmp-opt-disable -DSHARED_SCRATCHPAD_SIZE=512 --offload-device-only -nocudalib -nogpulib -nostdinc -fopenmp -fopenmp-cuda-mode -I/<<PKGBUILDDIR>>/openmp/libomptarget/DeviceRTL/include -I/<<PKGBUILDDIR>>/openmp/libomptarget/DeviceRTL/../include -I/<<PKGBUILDDIR>>/llvm/include -I/<<PKGBUILDDIR>>/build-llvm/include -DOMPTARGET_DEBUG=0 --offload-arch=gfx803 -fopenmp-targets=amdgcn-amd-amdhsa -DLIBOMPTARGET_BC_TARGET -D__AMDGCN__ -nogpulib /<<PKGBUILDDIR>>/openmp/libomptarget/DeviceRTL/src/Mapping.cpp -o Mapping.cpp-gfx803.bc
[2365/2653] cd /<<PKGBUILDDIR>>/build-llvm/runtimes/runtimes-bins/openmp/libomptarget/DeviceRTL && /<<PKGBUILDDIR>>/build-llvm/bin/clang -c -emit-llvm -std=c++17 -fvisibility=hidden -O3 -mllvm -openmp-opt-disable -DSHARED_SCRATCHPAD_SIZE=512 --offload-device-only -nocudalib -nogpulib -nostdinc -fopenmp -fopenmp-cuda-mode -I/<<PKGBUILDDIR>>/openmp/libomptarget/DeviceRTL/include -I/<<PKGBUILDDIR>>/openmp/libomptarget/DeviceRTL/../include -I/<<PKGBUILDDIR>>/llvm/include -I/<<PKGBUILDDIR>>/build-llvm/include -DOMPTARGET_DEBUG=0 --offload-arch=gfx803 -fopenmp-targets=amdgcn-amd-amdhsa -DLIBOMPTARGET_BC_TARGET -D__AMDGCN__ -nogpulib /<<PKGBUILDDIR>>/openmp/libomptarget/DeviceRTL/src/Reduction.cpp -o Reduction.cpp-gfx803.bc
[2366/2653] cd /<<PKGBUILDDIR>>/build-llvm/runtimes/runtimes-bins/openmp/libomptarget/DeviceRTL && /<<PKGBUILDDIR>>/build-llvm/bin/clang -c -emit-llvm -std=c++17 -fvisibility=hidden -O3 -mllvm -openmp-opt-disable -DSHARED_SCRATCHPAD_SIZE=512 --offload-device-only -nocudalib -nogpulib -nostdinc -fopenmp -fopenmp-cuda-mode -I/<<PKGBUILDDIR>>/openmp/libomptarget/DeviceRTL/include -I/<<PKGBUILDDIR>>/openmp/libomptarget/DeviceRTL/../include -I/<<PKGBUILDDIR>>/llvm/include -I/<<PKGBUILDDIR>>/build-llvm/include -DOMPTARGET_DEBUG=0 --offload-arch=gfx803 -fopenmp-targets=amdgcn-amd-amdhsa -DLIBOMPTARGET_BC_TARGET -D__AMDGCN__ -nogpulib /<<PKGBUILDDIR>>/openmp/libomptarget/DeviceRTL/src/Tasking.cpp -o Tasking.cpp-gfx803.bc
[2367/2653] cd /<<PKGBUILDDIR>>/build-llvm/runtimes/runtimes-bins/openmp/libomptarget/DeviceRTL && /<<PKGBUILDDIR>>/build-llvm/bin/clang -c -emit-llvm -std=c++17 -fvisibility=hidden -O3 -mllvm -openmp-opt-disable -DSHARED_SCRATCHPAD_SIZE=512 --offload-device-only -nocudalib -nogpulib -nostdinc -fopenmp -fopenmp-cuda-mode -I/<<PKGBUILDDIR>>/openmp/libomptarget/DeviceRTL/include -I/<<PKGBUILDDIR>>/openmp/libomptarget/DeviceRTL/../include -I/<<PKGBUILDDIR>>/llvm/include -I/<<PKGBUILDDIR>>/build-llvm/include -DOMPTARGET_DEBUG=0 --offload-arch=gfx803 -fopenmp-targets=amdgcn-amd-amdhsa -DLIBOMPTARGET_BC_TARGET -D__AMDGCN__ -nogpulib /<<PKGBUILDDIR>>/openmp/libomptarget/DeviceRTL/src/Parallelism.cpp -o Parallelism.cpp-gfx803.bc
[2368/2653] cd /<<PKGBUILDDIR>>/build-llvm/runtimes/runtimes-bins/openmp/libomptarget/DeviceRTL && /<<PKGBUILDDIR>>/build-llvm/bin/clang -c -emit-llvm -std=c++17 -fvisibility=hidden -O3 -mllvm -openmp-opt-disable -DSHARED_SCRATCHPAD_SIZE=512 --offload-device-only -nocudalib -nogpulib -nostdinc -fopenmp -fopenmp-cuda-mode -I/<<PKGBUILDDIR>>/openmp/libomptarget/DeviceRTL/include -I/<<PKGBUILDDIR>>/openmp/libomptarget/DeviceRTL/../include -I/<<PKGBUILDDIR>>/llvm/include -I/<<PKGBUILDDIR>>/build-llvm/include -DOMPTARGET_DEBUG=0 --offload-arch=gfx803 -fopenmp-targets=amdgcn-amd-amdhsa -DLIBOMPTARGET_BC_TARGET -D__AMDGCN__ -nogpulib /<<PKGBUILDDIR>>/openmp/libomptarget/DeviceRTL/src/Synchronization.cpp -o Synchronization.cpp-gfx803.bc
[2369/2653] cd /<<PKGBUILDDIR>>/build-llvm/runtimes/runtimes-bins/openmp/libomptarget/DeviceRTL && /<<PKGBUILDDIR>>/build-llvm/bin/clang -c -emit-llvm -std=c++17 -fvisibility=hidden -O3 -mllvm -openmp-opt-disable -DSHARED_SCRATCHPAD_SIZE=512 --offload-device-only -nocudalib -nogpulib -nostdinc -fopenmp -fopenmp-cuda-mode -I/<<PKGBUILDDIR>>/openmp/libomptarget/DeviceRTL/include -I/<<PKGBUILDDIR>>/openmp/libomptarget/DeviceRTL/../include -I/<<PKGBUILDDIR>>/llvm/include -I/<<PKGBUILDDIR>>/build-llvm/include -DOMPTARGET_DEBUG=0 --offload-arch=gfx801 -fopenmp-targets=amdgcn-amd-amdhsa -DLIBOMPTARGET_BC_TARGET -D__AMDGCN__ -nogpulib /<<PKGBUILDDIR>>/openmp/libomptarget/DeviceRTL/src/Workshare.cpp -o Workshare.cpp-gfx801.bc
[2370/2653] cd /<<PKGBUILDDIR>>/build-llvm/runtimes/runtimes-bins/openmp/libomptarget/DeviceRTL && /<<PKGBUILDDIR>>/build-llvm/bin/clang -c -emit-llvm -std=c++17 -fvisibility=hidden -O3 -mllvm -openmp-opt-disable -DSHARED_SCRATCHPAD_SIZE=512 --offload-device-only -nocudalib -nogpulib -nostdinc -fopenmp -fopenmp-cuda-mode -I/<<PKGBUILDDIR>>/openmp/libomptarget/DeviceRTL/include -I/<<PKGBUILDDIR>>/openmp/libomptarget/DeviceRTL/../include -I/<<PKGBUILDDIR>>/llvm/include -I/<<PKGBUILDDIR>>/build-llvm/include -DOMPTARGET_DEBUG=0 --offload-arch=gfx803 -fopenmp-targets=amdgcn-amd-amdhsa -DLIBOMPTARGET_BC_TARGET -D__AMDGCN__ -nogpulib /<<PKGBUILDDIR>>/openmp/libomptarget/DeviceRTL/src/Utils.cpp -o Utils.cpp-gfx803.bc
[2371/2653] cd /<<PKGBUILDDIR>>/build-llvm/runtimes/runtimes-bins/openmp/libomptarget/DeviceRTL && /<<PKGBUILDDIR>>/build-llvm/bin/clang -c -emit-llvm -std=c++17 -fvisibility=hidden -O3 -mllvm -openmp-opt-disable -DSHARED_SCRATCHPAD_SIZE=512 --offload-device-only -nocudalib -nogpulib -nostdinc -fopenmp -fopenmp-cuda-mode -I/<<PKGBUILDDIR>>/openmp/libomptarget/DeviceRTL/include -I/<<PKGBUILDDIR>>/openmp/libomptarget/DeviceRTL/../include -I/<<PKGBUILDDIR>>/llvm/include -I/<<PKGBUILDDIR>>/build-llvm/include -DOMPTARGET_DEBUG=0 --offload-arch=gfx803 -fopenmp-targets=amdgcn-amd-amdhsa -DLIBOMPTARGET_BC_TARGET -D__AMDGCN__ -nogpulib /<<PKGBUILDDIR>>/openmp/libomptarget/DeviceRTL/src/State.cpp -o State.cpp-gfx803.bc
[2372/2653] cd /<<PKGBUILDDIR>>/build-llvm/runtimes/runtimes-bins/openmp/libomptarget/DeviceRTL && /<<PKGBUILDDIR>>/build-llvm/bin/clang -c -emit-llvm -std=c++17 -fvisibility=hidden -O3 -mllvm -openmp-opt-disable -DSHARED_SCRATCHPAD_SIZE=512 --offload-device-only -nocudalib -nogpulib -nostdinc -fopenmp -fopenmp-cuda-mode -I/<<PKGBUILDDIR>>/openmp/libomptarget/DeviceRTL/include -I/<<PKGBUILDDIR>>/openmp/libomptarget/DeviceRTL/../include -I/<<PKGBUILDDIR>>/llvm/include -I/<<PKGBUILDDIR>>/build-llvm/include -DOMPTARGET_DEBUG=0 --offload-arch=gfx900 -fopenmp-targets=amdgcn-amd-amdhsa -DLIBOMPTARGET_BC_TARGET -D__AMDGCN__ -nogpulib /<<PKGBUILDDIR>>/openmp/libomptarget/DeviceRTL/src/Configuration.cpp -o Configuration.cpp-gfx900.bc
[2373/2653] cd /<<PKGBUILDDIR>>/build-llvm/runtimes/runtimes-bins/openmp/libomptarget/DeviceRTL && /<<PKGBUILDDIR>>/build-llvm/bin/llvm-link -o /<<PKGBUILDDIR>>/build-llvm/runtimes/runtimes-bins/openmp/libomptarget/DeviceRTL/linked_libomptarget-amdgpu-gfx801.bc Configuration.cpp-gfx801.bc Debug.cpp-gfx801.bc Kernel.cpp-gfx801.bc Mapping.cpp-gfx801.bc Misc.cpp-gfx801.bc Parallelism.cpp-gfx801.bc Reduction.cpp-gfx801.bc State.cpp-gfx801.bc Synchronization.cpp-gfx801.bc Tasking.cpp-gfx801.bc Utils.cpp-gfx801.bc Workshare.cpp-gfx801.bc
[2374/2653] cd /<<PKGBUILDDIR>>/build-llvm/runtimes/runtimes-bins/openmp/libomptarget/DeviceRTL && /<<PKGBUILDDIR>>/build-llvm/bin/clang -c -emit-llvm -std=c++17 -fvisibility=hidden -O3 -mllvm -openmp-opt-disable -DSHARED_SCRATCHPAD_SIZE=512 --offload-device-only -nocudalib -nogpulib -nostdinc -fopenmp -fopenmp-cuda-mode -I/<<PKGBUILDDIR>>/openmp/libomptarget/DeviceRTL/include -I/<<PKGBUILDDIR>>/openmp/libomptarget/DeviceRTL/../include -I/<<PKGBUILDDIR>>/llvm/include -I/<<PKGBUILDDIR>>/build-llvm/include -DOMPTARGET_DEBUG=0 --offload-arch=gfx900 -fopenmp-targets=amdgcn-amd-amdhsa -DLIBOMPTARGET_BC_TARGET -D__AMDGCN__ -nogpulib /<<PKGBUILDDIR>>/openmp/libomptarget/DeviceRTL/src/Debug.cpp -o Debug.cpp-gfx900.bc
[2375/2653] cd /<<PKGBUILDDIR>>/build-llvm/runtimes/runtimes-bins/openmp/libomptarget/DeviceRTL && /<<PKGBUILDDIR>>/build-llvm/bin/clang -c -emit-llvm -std=c++17 -fvisibility=hidden -O3 -mllvm -openmp-opt-disable -DSHARED_SCRATCHPAD_SIZE=512 --offload-device-only -nocudalib -nogpulib -nostdinc -fopenmp -fopenmp-cuda-mode -I/<<PKGBUILDDIR>>/openmp/libomptarget/DeviceRTL/include -I/<<PKGBUILDDIR>>/openmp/libomptarget/DeviceRTL/../include -I/<<PKGBUILDDIR>>/llvm/include -I/<<PKGBUILDDIR>>/build-llvm/include -DOMPTARGET_DEBUG=0 --offload-arch=gfx900 -fopenmp-targets=amdgcn-amd-amdhsa -DLIBOMPTARGET_BC_TARGET -D__AMDGCN__ -nogpulib /<<PKGBUILDDIR>>/openmp/libomptarget/DeviceRTL/src/Kernel.cpp -o Kernel.cpp-gfx900.bc
[2376/2653] cd /<<PKGBUILDDIR>>/build-llvm/runtimes/runtimes-bins/openmp/libomptarget/DeviceRTL && /<<PKGBUILDDIR>>/build-llvm/bin/clang -c -emit-llvm -std=c++17 -fvisibility=hidden -O3 -mllvm -openmp-opt-disable -DSHARED_SCRATCHPAD_SIZE=512 --offload-device-only -nocudalib -nogpulib -nostdinc -fopenmp -fopenmp-cuda-mode -I/<<PKGBUILDDIR>>/openmp/libomptarget/DeviceRTL/include -I/<<PKGBUILDDIR>>/openmp/libomptarget/DeviceRTL/../include -I/<<PKGBUILDDIR>>/llvm/include -I/<<PKGBUILDDIR>>/build-llvm/include -DOMPTARGET_DEBUG=0 --offload-arch=gfx900 -fopenmp-targets=amdgcn-amd-amdhsa -DLIBOMPTARGET_BC_TARGET -D__AMDGCN__ -nogpulib /<<PKGBUILDDIR>>/openmp/libomptarget/DeviceRTL/src/Misc.cpp -o Misc.cpp-gfx900.bc
[2377/2653] cd /<<PKGBUILDDIR>>/build-llvm/runtimes/runtimes-bins/openmp/libomptarget/DeviceRTL && /<<PKGBUILDDIR>>/build-llvm/bin/opt -passes=internalize -internalize-public-api-file=/<<PKGBUILDDIR>>/openmp/libomptarget/DeviceRTL/src/exports /<<PKGBUILDDIR>>/build-llvm/runtimes/runtimes-bins/openmp/libomptarget/DeviceRTL/linked_libomptarget-amdgpu-gfx801.bc -o /<<PKGBUILDDIR>>/build-llvm/runtimes/runtimes-bins/openmp/libomptarget/DeviceRTL/internalized_libomptarget-amdgpu-gfx801.bc
[2378/2653] cd /<<PKGBUILDDIR>>/build-llvm/runtimes/runtimes-bins/openmp/libomptarget/DeviceRTL && /<<PKGBUILDDIR>>/build-llvm/bin/clang -c -emit-llvm -std=c++17 -fvisibility=hidden -O3 -mllvm -openmp-opt-disable -DSHARED_SCRATCHPAD_SIZE=512 --offload-device-only -nocudalib -nogpulib -nostdinc -fopenmp -fopenmp-cuda-mode -I/<<PKGBUILDDIR>>/openmp/libomptarget/DeviceRTL/include -I/<<PKGBUILDDIR>>/openmp/libomptarget/DeviceRTL/../include -I/<<PKGBUILDDIR>>/llvm/include -I/<<PKGBUILDDIR>>/build-llvm/include -DOMPTARGET_DEBUG=0 --offload-arch=gfx900 -fopenmp-targets=amdgcn-amd-amdhsa -DLIBOMPTARGET_BC_TARGET -D__AMDGCN__ -nogpulib /<<PKGBUILDDIR>>/openmp/libomptarget/DeviceRTL/src/Mapping.cpp -o Mapping.cpp-gfx900.bc
[2379/2653] cd /<<PKGBUILDDIR>>/build-llvm/runtimes/runtimes-bins/openmp/libomptarget/DeviceRTL && /<<PKGBUILDDIR>>/build-llvm/bin/clang -c -emit-llvm -std=c++17 -fvisibility=hidden -O3 -mllvm -openmp-opt-disable -DSHARED_SCRATCHPAD_SIZE=512 --offload-device-only -nocudalib -nogpulib -nostdinc -fopenmp -fopenmp-cuda-mode -I/<<PKGBUILDDIR>>/openmp/libomptarget/DeviceRTL/include -I/<<PKGBUILDDIR>>/openmp/libomptarget/DeviceRTL/../include -I/<<PKGBUILDDIR>>/llvm/include -I/<<PKGBUILDDIR>>/build-llvm/include -DOMPTARGET_DEBUG=0 --offload-arch=gfx803 -fopenmp-targets=amdgcn-amd-amdhsa -DLIBOMPTARGET_BC_TARGET -D__AMDGCN__ -nogpulib /<<PKGBUILDDIR>>/openmp/libomptarget/DeviceRTL/src/Workshare.cpp -o Workshare.cpp-gfx803.bc
[2380/2653] cd /<<PKGBUILDDIR>>/build-llvm/runtimes/runtimes-bins/openmp/libomptarget/DeviceRTL && /<<PKGBUILDDIR>>/build-llvm/bin/llvm-link -o /<<PKGBUILDDIR>>/build-llvm/runtimes/runtimes-bins/openmp/libomptarget/DeviceRTL/linked_libomptarget-amdgpu-gfx803.bc Configuration.cpp-gfx803.bc Debug.cpp-gfx803.bc Kernel.cpp-gfx803.bc Mapping.cpp-gfx803.bc Misc.cpp-gfx803.bc Parallelism.cpp-gfx803.bc Reduction.cpp-gfx803.bc State.cpp-gfx803.bc Synchronization.cpp-gfx803.bc Tasking.cpp-gfx803.bc Utils.cpp-gfx803.bc Workshare.cpp-gfx803.bc
[2381/2653] cd /<<PKGBUILDDIR>>/build-llvm/runtimes/runtimes-bins/openmp/libomptarget/DeviceRTL && /<<PKGBUILDDIR>>/build-llvm/bin/clang -c -emit-llvm -std=c++17 -fvisibility=hidden -O3 -mllvm -openmp-opt-disable -DSHARED_SCRATCHPAD_SIZE=512 --offload-device-only -nocudalib -nogpulib -nostdinc -fopenmp -fopenmp-cuda-mode -I/<<PKGBUILDDIR>>/openmp/libomptarget/DeviceRTL/include -I/<<PKGBUILDDIR>>/openmp/libomptarget/DeviceRTL/../include -I/<<PKGBUILDDIR>>/llvm/include -I/<<PKGBUILDDIR>>/build-llvm/include -DOMPTARGET_DEBUG=0 --offload-arch=gfx900 -fopenmp-targets=amdgcn-amd-amdhsa -DLIBOMPTARGET_BC_TARGET -D__AMDGCN__ -nogpulib /<<PKGBUILDDIR>>/openmp/libomptarget/DeviceRTL/src/Reduction.cpp -o Reduction.cpp-gfx900.bc
[2382/2653] cd /<<PKGBUILDDIR>>/build-llvm/runtimes/runtimes-bins/openmp/libomptarget/DeviceRTL && /<<PKGBUILDDIR>>/build-llvm/bin/opt -O3 -openmp-opt-disable /<<PKGBUILDDIR>>/build-llvm/runtimes/runtimes-bins/openmp/libomptarget/DeviceRTL/internalized_libomptarget-amdgpu-gfx700.bc -o /<<PKGBUILDDIR>>/build-llvm/runtimes/runtimes-bins/openmp/libomptarget/DeviceRTL/libomptarget-amdgpu-gfx700.bc
[2383/2653] cd /<<PKGBUILDDIR>>/build-llvm/runtimes/runtimes-bins/openmp/libomptarget/DeviceRTL && /<<PKGBUILDDIR>>/build-llvm/bin/clang -c -emit-llvm -std=c++17 -fvisibility=hidden -O3 -mllvm -openmp-opt-disable -DSHARED_SCRATCHPAD_SIZE=512 --offload-device-only -nocudalib -nogpulib -nostdinc -fopenmp -fopenmp-cuda-mode -I/<<PKGBUILDDIR>>/openmp/libomptarget/DeviceRTL/include -I/<<PKGBUILDDIR>>/openmp/libomptarget/DeviceRTL/../include -I/<<PKGBUILDDIR>>/llvm/include -I/<<PKGBUILDDIR>>/build-llvm/include -DOMPTARGET_DEBUG=0 --offload-arch=gfx900 -fopenmp-targets=amdgcn-amd-amdhsa -DLIBOMPTARGET_BC_TARGET -D__AMDGCN__ -nogpulib /<<PKGBUILDDIR>>/openmp/libomptarget/DeviceRTL/src/Parallelism.cpp -o Parallelism.cpp-gfx900.bc
[2384/2653] cd /<<PKGBUILDDIR>>/build-llvm/runtimes/runtimes-bins/openmp/libomptarget/DeviceRTL && /usr/bin/cmake -E copy /<<PKGBUILDDIR>>/build-llvm/runtimes/runtimes-bins/openmp/libomptarget/DeviceRTL/libomptarget-amdgpu-gfx700.bc /<<PKGBUILDDIR>>/build-llvm/runtimes/runtimes-bins/openmp/libomptarget
[2385/2653] cd /<<PKGBUILDDIR>>/build-llvm/runtimes/runtimes-bins/openmp/libomptarget/DeviceRTL && /<<PKGBUILDDIR>>/build-llvm/bin/opt -passes=internalize -internalize-public-api-file=/<<PKGBUILDDIR>>/openmp/libomptarget/DeviceRTL/src/exports /<<PKGBUILDDIR>>/build-llvm/runtimes/runtimes-bins/openmp/libomptarget/DeviceRTL/linked_libomptarget-amdgpu-gfx803.bc -o /<<PKGBUILDDIR>>/build-llvm/runtimes/runtimes-bins/openmp/libomptarget/DeviceRTL/internalized_libomptarget-amdgpu-gfx803.bc
[2386/2653] cd /<<PKGBUILDDIR>>/build-llvm/runtimes/runtimes-bins/openmp/libomptarget/DeviceRTL && /<<PKGBUILDDIR>>/build-llvm/bin/clang -c -emit-llvm -std=c++17 -fvisibility=hidden -O3 -mllvm -openmp-opt-disable -DSHARED_SCRATCHPAD_SIZE=512 --offload-device-only -nocudalib -nogpulib -nostdinc -fopenmp -fopenmp-cuda-mode -I/<<PKGBUILDDIR>>/openmp/libomptarget/DeviceRTL/include -I/<<PKGBUILDDIR>>/openmp/libomptarget/DeviceRTL/../include -I/<<PKGBUILDDIR>>/llvm/include -I/<<PKGBUILDDIR>>/build-llvm/include -DOMPTARGET_DEBUG=0 --offload-arch=gfx900 -fopenmp-targets=amdgcn-amd-amdhsa -DLIBOMPTARGET_BC_TARGET -D__AMDGCN__ -nogpulib /<<PKGBUILDDIR>>/openmp/libomptarget/DeviceRTL/src/Synchronization.cpp -o Synchronization.cpp-gfx900.bc
[2387/2653] cd /<<PKGBUILDDIR>>/build-llvm/runtimes/runtimes-bins/openmp/libomptarget/DeviceRTL && /<<PKGBUILDDIR>>/build-llvm/bin/clang -c -emit-llvm -std=c++17 -fvisibility=hidden -O3 -mllvm -openmp-opt-disable -DSHARED_SCRATCHPAD_SIZE=512 --offload-device-only -nocudalib -nogpulib -nostdinc -fopenmp -fopenmp-cuda-mode -I/<<PKGBUILDDIR>>/openmp/libomptarget/DeviceRTL/include -I/<<PKGBUILDDIR>>/openmp/libomptarget/DeviceRTL/../include -I/<<PKGBUILDDIR>>/llvm/include -I/<<PKGBUILDDIR>>/build-llvm/include -DOMPTARGET_DEBUG=0 --offload-arch=gfx900 -fopenmp-targets=amdgcn-amd-amdhsa -DLIBOMPTARGET_BC_TARGET -D__AMDGCN__ -nogpulib /<<PKGBUILDDIR>>/openmp/libomptarget/DeviceRTL/src/State.cpp -o State.cpp-gfx900.bc
[2388/2653] cd /<<PKGBUILDDIR>>/build-llvm/runtimes/runtimes-bins/openmp/libomptarget/DeviceRTL && /<<PKGBUILDDIR>>/build-llvm/bin/clang -c -emit-llvm -std=c++17 -fvisibility=hidden -O3 -mllvm -openmp-opt-disable -DSHARED_SCRATCHPAD_SIZE=512 --offload-device-only -nocudalib -nogpulib -nostdinc -fopenmp -fopenmp-cuda-mode -I/<<PKGBUILDDIR>>/openmp/libomptarget/DeviceRTL/include -I/<<PKGBUILDDIR>>/openmp/libomptarget/DeviceRTL/../include -I/<<PKGBUILDDIR>>/llvm/include -I/<<PKGBUILDDIR>>/build-llvm/include -DOMPTARGET_DEBUG=0 --offload-arch=gfx900 -fopenmp-targets=amdgcn-amd-amdhsa -DLIBOMPTARGET_BC_TARGET -D__AMDGCN__ -nogpulib /<<PKGBUILDDIR>>/openmp/libomptarget/DeviceRTL/src/Utils.cpp -o Utils.cpp-gfx900.bc
[2389/2653] cd /<<PKGBUILDDIR>>/build-llvm/runtimes/runtimes-bins/openmp/libomptarget/DeviceRTL && /<<PKGBUILDDIR>>/build-llvm/bin/clang -c -emit-llvm -std=c++17 -fvisibility=hidden -O3 -mllvm -openmp-opt-disable -DSHARED_SCRATCHPAD_SIZE=512 --offload-device-only -nocudalib -nogpulib -nostdinc -fopenmp -fopenmp-cuda-mode -I/<<PKGBUILDDIR>>/openmp/libomptarget/DeviceRTL/include -I/<<PKGBUILDDIR>>/openmp/libomptarget/DeviceRTL/../include -I/<<PKGBUILDDIR>>/llvm/include -I/<<PKGBUILDDIR>>/build-llvm/include -DOMPTARGET_DEBUG=0 --offload-arch=gfx900 -fopenmp-targets=amdgcn-amd-amdhsa -DLIBOMPTARGET_BC_TARGET -D__AMDGCN__ -nogpulib /<<PKGBUILDDIR>>/openmp/libomptarget/DeviceRTL/src/Tasking.cpp -o Tasking.cpp-gfx900.bc
[2390/2653] /<<PKGBUILDDIR>>/build-llvm/./bin/clang++ --target=x86_64-pc-linux-gnu -DTARGET_NAME=CUDA -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<<PKGBUILDDIR>>/llvm/include -I/<<PKGBUILDDIR>>/build-llvm/include -I/<<PKGBUILDDIR>>/openmp/libomptarget/plugins/cuda/dynamic_cuda -I/<<PKGBUILDDIR>>/openmp/libomptarget/include -I/<<PKGBUILDDIR>>/openmp/libomptarget/plugins/common/elf_common -I/<<PKGBUILDDIR>>/openmp/libomptarget/plugins/common/MemoryManager -fstack-protector-strong -Wformat -Werror=format-security -Wno-unused-command-line-argument -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -Werror=unguarded-availability-new -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wmissing-field-initializers -Wimplicit-fallthrough -Wcovered-switch-default -Wno-noexcept-type -Wnon-virtual-dtor -Wdelete-non-virtual-dtor -Wsuggest-override -Wstring-conversion -Wmisleading-indentation -fdiagnostics-color -ffunction-sections -fdata-sections -fdebug-prefix-map=/<<PKGBUILDDIR>>/build-llvm/runtimes/runtimes-bins=build-llvm/runtimes/runtimes-bins -fdebug-prefix-map=/<<PKGBUILDDIR>>/= -no-canonical-prefixes -ffile-prefix-map=/<<PKGBUILDDIR>>/build-llvm/runtimes/runtimes-bins=build-llvm/runtimes/runtimes-bins -ffile-prefix-map=/<<PKGBUILDDIR>>/= -no-canonical-prefixes -Wall -Wcast-qual -Wformat-pedantic -Wimplicit-fallthrough -Wsign-compare -Wno-extra -Wno-pedantic -std=c++14 -O3 -DNDEBUG -fPIC  -fno-exceptions -MD -MT openmp/libomptarget/plugins/cuda/CMakeFiles/omptarget.rtl.cuda.dir/dynamic_cuda/cuda.cpp.o -MF openmp/libomptarget/plugins/cuda/CMakeFiles/omptarget.rtl.cuda.dir/dynamic_cuda/cuda.cpp.o.d -o openmp/libomptarget/plugins/cuda/CMakeFiles/omptarget.rtl.cuda.dir/dynamic_cuda/cuda.cpp.o -c /<<PKGBUILDDIR>>/openmp/libomptarget/plugins/cuda/dynamic_cuda/cuda.cpp
FAILED: openmp/libomptarget/plugins/cuda/CMakeFiles/omptarget.rtl.cuda.dir/dynamic_cuda/cuda.cpp.o 
/<<PKGBUILDDIR>>/build-llvm/./bin/clang++ --target=x86_64-pc-linux-gnu -DTARGET_NAME=CUDA -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<<PKGBUILDDIR>>/llvm/include -I/<<PKGBUILDDIR>>/build-llvm/include -I/<<PKGBUILDDIR>>/openmp/libomptarget/plugins/cuda/dynamic_cuda -I/<<PKGBUILDDIR>>/openmp/libomptarget/include -I/<<PKGBUILDDIR>>/openmp/libomptarget/plugins/common/elf_common -I/<<PKGBUILDDIR>>/openmp/libomptarget/plugins/common/MemoryManager -fstack-protector-strong -Wformat -Werror=format-security -Wno-unused-command-line-argument -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -Werror=unguarded-availability-new -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wmissing-field-initializers -Wimplicit-fallthrough -Wcovered-switch-default -Wno-noexcept-type -Wnon-virtual-dtor -Wdelete-non-virtual-dtor -Wsuggest-override -Wstring-conversion -Wmisleading-indentation -fdiagnostics-color -ffunction-sections -fdata-sections -fdebug-prefix-map=/<<PKGBUILDDIR>>/build-llvm/runtimes/runtimes-bins=build-llvm/runtimes/runtimes-bins -fdebug-prefix-map=/<<PKGBUILDDIR>>/= -no-canonical-prefixes -ffile-prefix-map=/<<PKGBUILDDIR>>/build-llvm/runtimes/runtimes-bins=build-llvm/runtimes/runtimes-bins -ffile-prefix-map=/<<PKGBUILDDIR>>/= -no-canonical-prefixes -Wall -Wcast-qual -Wformat-pedantic -Wimplicit-fallthrough -Wsign-compare -Wno-extra -Wno-pedantic -std=c++14 -O3 -DNDEBUG -fPIC  -fno-exceptions -MD -MT openmp/libomptarget/plugins/cuda/CMakeFiles/omptarget.rtl.cuda.dir/dynamic_cuda/cuda.cpp.o -MF openmp/libomptarget/plugins/cuda/CMakeFiles/omptarget.rtl.cuda.dir/dynamic_cuda/cuda.cpp.o.d -o openmp/libomptarget/plugins/cuda/CMakeFiles/omptarget.rtl.cuda.dir/dynamic_cuda/cuda.cpp.o -c /<<PKGBUILDDIR>>/openmp/libomptarget/plugins/cuda/dynamic_cuda/cuda.cpp
In file included from /<<PKGBUILDDIR>>/openmp/libomptarget/plugins/cuda/dynamic_cuda/cuda.cpp:15:
/<<PKGBUILDDIR>>/openmp/libomptarget/include/Debug.h:75:24: error: use of undeclared identifier 'getenv'
    if (char *EnvStr = getenv("LIBOMPTARGET_INFO"))
                       ^
/<<PKGBUILDDIR>>/openmp/libomptarget/include/Debug.h:76:28: error: no member named 'stoi' in namespace 'std'
      InfoLevel.store(std::stoi(EnvStr));
                      ~~~~~^
/<<PKGBUILDDIR>>/openmp/libomptarget/include/Debug.h:89:24: error: use of undeclared identifier 'getenv'
    if (char *EnvStr = getenv("LIBOMPTARGET_DEBUG"))
                       ^
/<<PKGBUILDDIR>>/openmp/libomptarget/include/Debug.h:90:25: error: no member named 'stoi' in namespace 'std'
      DebugLevel = std::stoi(EnvStr);
                   ~~~~~^
4 errors generated.
[2391/2653] cd /<<PKGBUILDDIR>>/build-llvm/runtimes/runtimes-bins/openmp/libomptarget/DeviceRTL && /<<PKGBUILDDIR>>/build-llvm/bin/clang -c -emit-llvm -std=c++17 -fvisibility=hidden -O3 -mllvm -openmp-opt-disable -DSHARED_SCRATCHPAD_SIZE=512 --offload-device-only -nocudalib -nogpulib -nostdinc -fopenmp -fopenmp-cuda-mode -I/<<PKGBUILDDIR>>/openmp/libomptarget/DeviceRTL/include -I/<<PKGBUILDDIR>>/openmp/libomptarget/DeviceRTL/../include -I/<<PKGBUILDDIR>>/llvm/include -I/<<PKGBUILDDIR>>/build-llvm/include -DOMPTARGET_DEBUG=0 --offload-arch=gfx902 -fopenmp-targets=amdgcn-amd-amdhsa -DLIBOMPTARGET_BC_TARGET -D__AMDGCN__ -nogpulib /<<PKGBUILDDIR>>/openmp/libomptarget/DeviceRTL/src/Debug.cpp -o Debug.cpp-gfx902.bc
[2392/2653] cd /<<PKGBUILDDIR>>/build-llvm/runtimes/runtimes-bins/openmp/libomptarget/DeviceRTL && /<<PKGBUILDDIR>>/build-llvm/bin/clang -c -emit-llvm -std=c++17 -fvisibility=hidden -O3 -mllvm -openmp-opt-disable -DSHARED_SCRATCHPAD_SIZE=512 --offload-device-only -nocudalib -nogpulib -nostdinc -fopenmp -fopenmp-cuda-mode -I/<<PKGBUILDDIR>>/openmp/libomptarget/DeviceRTL/include -I/<<PKGBUILDDIR>>/openmp/libomptarget/DeviceRTL/../include -I/<<PKGBUILDDIR>>/llvm/include -I/<<PKGBUILDDIR>>/build-llvm/include -DOMPTARGET_DEBUG=0 --offload-arch=gfx902 -fopenmp-targets=amdgcn-amd-amdhsa -DLIBOMPTARGET_BC_TARGET -D__AMDGCN__ -nogpulib /<<PKGBUILDDIR>>/openmp/libomptarget/DeviceRTL/src/Configuration.cpp -o Configuration.cpp-gfx902.bc
[2393/2653] cd /<<PKGBUILDDIR>>/build-llvm/runtimes/runtimes-bins/openmp/libomptarget/DeviceRTL && /<<PKGBUILDDIR>>/build-llvm/bin/clang -c -emit-llvm -std=c++17 -fvisibility=hidden -O3 -mllvm -openmp-opt-disable -DSHARED_SCRATCHPAD_SIZE=512 --offload-device-only -nocudalib -nogpulib -nostdinc -fopenmp -fopenmp-cuda-mode -I/<<PKGBUILDDIR>>/openmp/libomptarget/DeviceRTL/include -I/<<PKGBUILDDIR>>/openmp/libomptarget/DeviceRTL/../include -I/<<PKGBUILDDIR>>/llvm/include -I/<<PKGBUILDDIR>>/build-llvm/include -DOMPTARGET_DEBUG=0 --offload-arch=gfx902 -fopenmp-targets=amdgcn-amd-amdhsa -DLIBOMPTARGET_BC_TARGET -D__AMDGCN__ -nogpulib /<<PKGBUILDDIR>>/openmp/libomptarget/DeviceRTL/src/Kernel.cpp -o Kernel.cpp-gfx902.bc
[2394/2653] cd /<<PKGBUILDDIR>>/build-llvm/runtimes/runtimes-bins/openmp/libomptarget/DeviceRTL && /<<PKGBUILDDIR>>/build-llvm/bin/clang -c -emit-llvm -std=c++17 -fvisibility=hidden -O3 -mllvm -openmp-opt-disable -DSHARED_SCRATCHPAD_SIZE=512 --offload-device-only -nocudalib -nogpulib -nostdinc -fopenmp -fopenmp-cuda-mode -I/<<PKGBUILDDIR>>/openmp/libomptarget/DeviceRTL/include -I/<<PKGBUILDDIR>>/openmp/libomptarget/DeviceRTL/../include -I/<<PKGBUILDDIR>>/llvm/include -I/<<PKGBUILDDIR>>/build-llvm/include -DOMPTARGET_DEBUG=0 --offload-arch=gfx902 -fopenmp-targets=amdgcn-amd-amdhsa -DLIBOMPTARGET_BC_TARGET -D__AMDGCN__ -nogpulib /<<PKGBUILDDIR>>/openmp/libomptarget/DeviceRTL/src/Mapping.cpp -o Mapping.cpp-gfx902.bc
[2395/2653] cd /<<PKGBUILDDIR>>/build-llvm/runtimes/runtimes-bins/openmp/libomptarget/DeviceRTL && /<<PKGBUILDDIR>>/build-llvm/bin/opt -O3 -openmp-opt-disable /<<PKGBUILDDIR>>/build-llvm/runtimes/runtimes-bins/openmp/libomptarget/DeviceRTL/internalized_libomptarget-amdgpu-gfx701.bc -o /<<PKGBUILDDIR>>/build-llvm/runtimes/runtimes-bins/openmp/libomptarget/DeviceRTL/libomptarget-amdgpu-gfx701.bc
[2396/2653] cd /<<PKGBUILDDIR>>/build-llvm/runtimes/runtimes-bins/openmp/libomptarget/DeviceRTL && /<<PKGBUILDDIR>>/build-llvm/bin/clang -c -emit-llvm -std=c++17 -fvisibility=hidden -O3 -mllvm -openmp-opt-disable -DSHARED_SCRATCHPAD_SIZE=512 --offload-device-only -nocudalib -nogpulib -nostdinc -fopenmp -fopenmp-cuda-mode -I/<<PKGBUILDDIR>>/openmp/libomptarget/DeviceRTL/include -I/<<PKGBUILDDIR>>/openmp/libomptarget/DeviceRTL/../include -I/<<PKGBUILDDIR>>/llvm/include -I/<<PKGBUILDDIR>>/build-llvm/include -DOMPTARGET_DEBUG=0 --offload-arch=gfx900 -fopenmp-targets=amdgcn-amd-amdhsa -DLIBOMPTARGET_BC_TARGET -D__AMDGCN__ -nogpulib /<<PKGBUILDDIR>>/openmp/libomptarget/DeviceRTL/src/Workshare.cpp -o Workshare.cpp-gfx900.bc
[2397/2653] cd /<<PKGBUILDDIR>>/build-llvm/runtimes/runtimes-bins/openmp/libomptarget/DeviceRTL && /<<PKGBUILDDIR>>/build-llvm/bin/opt -O3 -openmp-opt-disable /<<PKGBUILDDIR>>/build-llvm/runtimes/runtimes-bins/openmp/libomptarget/DeviceRTL/internalized_libomptarget-amdgpu-gfx801.bc -o /<<PKGBUILDDIR>>/build-llvm/runtimes/runtimes-bins/openmp/libomptarget/DeviceRTL/libomptarget-amdgpu-gfx801.bc
[2398/2653] cd /<<PKGBUILDDIR>>/build-llvm/runtimes/runtimes-bins/openmp/libomptarget/DeviceRTL && /<<PKGBUILDDIR>>/build-llvm/bin/opt -O3 -openmp-opt-disable /<<PKGBUILDDIR>>/build-llvm/runtimes/runtimes-bins/openmp/libomptarget/DeviceRTL/internalized_libomptarget-amdgpu-gfx803.bc -o /<<PKGBUILDDIR>>/build-llvm/runtimes/runtimes-bins/openmp/libomptarget/DeviceRTL/libomptarget-amdgpu-gfx803.bc
[2399/2653] /<<PKGBUILDDIR>>/build-llvm/./bin/clang++ --target=x86_64-pc-linux-gnu -DTARGET_NAME=CUDA -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<<PKGBUILDDIR>>/llvm/include -I/<<PKGBUILDDIR>>/build-llvm/include -I/<<PKGBUILDDIR>>/openmp/libomptarget/plugins/cuda/dynamic_cuda -I/<<PKGBUILDDIR>>/openmp/libomptarget/include -I/<<PKGBUILDDIR>>/openmp/libomptarget/plugins/common/elf_common -I/<<PKGBUILDDIR>>/openmp/libomptarget/plugins/common/MemoryManager -fstack-protector-strong -Wformat -Werror=format-security -Wno-unused-command-line-argument -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -Werror=unguarded-availability-new -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wmissing-field-initializers -Wimplicit-fallthrough -Wcovered-switch-default -Wno-noexcept-type -Wnon-virtual-dtor -Wdelete-non-virtual-dtor -Wsuggest-override -Wstring-conversion -Wmisleading-indentation -fdiagnostics-color -ffunction-sections -fdata-sections -fdebug-prefix-map=/<<PKGBUILDDIR>>/build-llvm/runtimes/runtimes-bins=build-llvm/runtimes/runtimes-bins -fdebug-prefix-map=/<<PKGBUILDDIR>>/= -no-canonical-prefixes -ffile-prefix-map=/<<PKGBUILDDIR>>/build-llvm/runtimes/runtimes-bins=build-llvm/runtimes/runtimes-bins -ffile-prefix-map=/<<PKGBUILDDIR>>/= -no-canonical-prefixes -Wall -Wcast-qual -Wformat-pedantic -Wimplicit-fallthrough -Wsign-compare -Wno-extra -Wno-pedantic -std=c++14 -O3 -DNDEBUG -fPIC  -fno-exceptions -MD -MT openmp/libomptarget/plugins/cuda/CMakeFiles/omptarget.rtl.cuda.dir/src/rtl.cpp.o -MF openmp/libomptarget/plugins/cuda/CMakeFiles/omptarget.rtl.cuda.dir/src/rtl.cpp.o.d -o openmp/libomptarget/plugins/cuda/CMakeFiles/omptarget.rtl.cuda.dir/src/rtl.cpp.o -c /<<PKGBUILDDIR>>/openmp/libomptarget/plugins/cuda/src/rtl.cpp
ninja: build stopped: subcommand failed.
FAILED: runtimes/runtimes-stamps/runtimes-build /<<PKGBUILDDIR>>/build-llvm/runtimes/runtimes-stamps/runtimes-build 
cd /<<PKGBUILDDIR>>/build-llvm/runtimes/runtimes-bins && /usr/bin/cmake --build .
ninja: build stopped: subcommand failed.
make[1]: *** [debian/rules:716: debian-full-build] Error 1
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
make: *** [debian/rules:479: binary] Error 2
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2



More information about the Pkg-llvm-team mailing list