Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 881436 Details for
Bug 921322
dev-libs/rocr-runtime-5.7.1-r1 fails to compile on musl+Clang
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
Build log
build.log (text/x-log), 130.77 KB, created by
tigrmango
on 2024-01-04 01:10:50 UTC
(
hide
)
Description:
Build log
Filename:
MIME Type:
Creator:
tigrmango
Created:
2024-01-04 01:10:50 UTC
Size:
130.77 KB
patch
obsolete
>[32m * [39;49;00mPackage: dev-libs/rocr-runtime-5.7.1-r1:0/5.7 >[32m * [39;49;00mRepository: gentoo >[32m * [39;49;00mMaintainer: candrews@gentoo.org gentoo@holzke.net >[32m * [39;49;00mUSE: abi_x86_64 amd64 elibc_musl kernel_linux >[32m * [39;49;00mFEATURES: ccache network-sandbox preserve-libs sandbox userpriv usersandbox >>>> Unpacking source... >>>> Unpacking rocr-runtime-5.7.1.tar.gz to /var/tmp/portage/dev-libs/rocr-runtime-5.7.1-r1/work >>>> Source unpacked in /var/tmp/portage/dev-libs/rocr-runtime-5.7.1-r1/work >>>> Preparing source in /var/tmp/portage/dev-libs/rocr-runtime-5.7.1-r1/work/ROCR-Runtime-rocm-5.7.1/src ... > [32m*[0m Source directory (CMAKE_USE_DIR): "/var/tmp/portage/dev-libs/rocr-runtime-5.7.1-r1/work/ROCR-Runtime-rocm-5.7.1/src" > [32m*[0m Build directory (BUILD_DIR): "/var/tmp/portage/dev-libs/rocr-runtime-5.7.1-r1/work/ROCR-Runtime-rocm-5.7.1/src_build" > [32m*[0m Applying rocr-runtime-4.3.0_no-aqlprofiler.patch ... >[A[128C [34;01m[ [32;01mok[34;01m ][0m >>>> Source prepared. >>>> Configuring source in /var/tmp/portage/dev-libs/rocr-runtime-5.7.1-r1/work/ROCR-Runtime-rocm-5.7.1/src ... > [32m*[0m Source directory (CMAKE_USE_DIR): "/var/tmp/portage/dev-libs/rocr-runtime-5.7.1-r1/work/ROCR-Runtime-rocm-5.7.1/src" > [32m*[0m Build directory (BUILD_DIR): "/var/tmp/portage/dev-libs/rocr-runtime-5.7.1-r1/work/ROCR-Runtime-rocm-5.7.1/src_build" >cmake -C /var/tmp/portage/dev-libs/rocr-runtime-5.7.1-r1/work/ROCR-Runtime-rocm-5.7.1/src_build/gentoo_common_config.cmake -G Ninja -DCMAKE_INSTALL_PREFIX=/usr -DINCLUDE_PATH_COMPATIBILITY=OFF -DCMAKE_BUILD_TYPE=RelWithDebInfo -DCMAKE_TOOLCHAIN_FILE=/var/tmp/portage/dev-libs/rocr-runtime-5.7.1-r1/work/ROCR-Runtime-rocm-5.7.1/src_build/gentoo_toolchain.cmake /var/tmp/portage/dev-libs/rocr-runtime-5.7.1-r1/work/ROCR-Runtime-rocm-5.7.1/src >loading initial cache file /var/tmp/portage/dev-libs/rocr-runtime-5.7.1-r1/work/ROCR-Runtime-rocm-5.7.1/src_build/gentoo_common_config.cmake >-- The C compiler identification is Clang 17.0.6 >-- The CXX compiler identification is Clang 17.0.6 >-- Detecting C compiler ABI info >-- Detecting C compiler ABI info - done >-- Check for working C compiler: /usr/lib/ccache/bin/clang-17 - skipped >-- Detecting C compile features >-- Detecting C compile features - done >-- Detecting CXX compiler ABI info >-- Detecting CXX compiler ABI info - done >-- Check for working CXX compiler: /usr/lib/ccache/bin/clang++-17 - skipped >-- Detecting CXX compile features >-- Detecting CXX compile features - done >fatal: not a git repository (or any of the parent directories): .git >fatal: not a git repository (or any of the parent directories): .git >-- Found PkgConfig: /usr/bin/x86_64-gentoo-linux-musl-pkg-config (found version "1.8.1") >-- Found LibElf: /usr/lib/libelf.so >-- Performing Test ELF_GETSHDRSTRNDX >-- Performing Test ELF_GETSHDRSTRNDX - Success >-- Checking for module 'libdrm' >-- Found libdrm, version 2.4.118 >-- Looking for __NR_memfd_create >-- Looking for __NR_memfd_create - found >-- Performing Test HAVE_FFI_CALL >-- Performing Test HAVE_FFI_CALL - Success >-- Found FFI: /usr/lib/libffi.so >-- Performing Test Terminfo_LINKABLE >-- Performing Test Terminfo_LINKABLE - Success >-- Found Terminfo: /usr/lib/libtinfo.so >-- Found ZLIB: /usr/lib/libz.so (found version "1.3") >[0mUsing CPACK_DEBIAN_PACKAGE_RELEASE local[0m >[0mRESULT_VARIABLE No such file or directory OUTPUT_VARIABLE: [0m >[0mCPACK_RPM_PACKAGE_RELEASE: local%{?dist}[0m >-- <<< Gentoo configuration >>> >Build type RelWithDebInfo >Install path /usr >Compiler flags: >C -O2 -pipe -ftree-vectorize -march=native -mtune=native >C++ -O2 -pipe -ftree-vectorize -march=native -mtune=native -DNDEBUG >Linker flags: >Executable -Wl,-O1 -Wl,--as-needed -Wl,--as-needed >Module -Wl,-O1 -Wl,--as-needed -Wl,--as-needed >Shared -Wl,-O1 -Wl,--as-needed -Wl,--as-needed > >-- Configuring done (1.3s) >-- Generating done (0.0s) >-- Build files have been written to: /var/tmp/portage/dev-libs/rocr-runtime-5.7.1-r1/work/ROCR-Runtime-rocm-5.7.1/src_build >>>> Source configured. >>>> Compiling source in /var/tmp/portage/dev-libs/rocr-runtime-5.7.1-r1/work/ROCR-Runtime-rocm-5.7.1/src ... > [32m*[0m Source directory (CMAKE_USE_DIR): "/var/tmp/portage/dev-libs/rocr-runtime-5.7.1-r1/work/ROCR-Runtime-rocm-5.7.1/src" > [32m*[0m Build directory (BUILD_DIR): "/var/tmp/portage/dev-libs/rocr-runtime-5.7.1-r1/work/ROCR-Runtime-rocm-5.7.1/src_build" >ninja -v -j12 -l0 >[1/118] cd /var/tmp/portage/dev-libs/rocr-runtime-5.7.1-r1/work/ROCR-Runtime-rocm-5.7.1/src_build/core/runtime/trap_handler && /usr/lib/llvm/17/bin/clang-17 -x assembler -target amdgcn-amd-amdhsa -mcpu=gfx900 -o kCodeTrapHandlerV2_9.hsaco /var/tmp/portage/dev-libs/rocr-runtime-5.7.1-r1/work/ROCR-Runtime-rocm-5.7.1/src/core/runtime/trap_handler/trap_handler.s >[2/118] cd /var/tmp/portage/dev-libs/rocr-runtime-5.7.1-r1/work/ROCR-Runtime-rocm-5.7.1/src_build/core/runtime/trap_handler && /usr/lib/llvm/17/bin/clang-17 -x assembler -target amdgcn-amd-amdhsa -mcpu=gfx940 -o kCodeTrapHandlerV2_940.hsaco /var/tmp/portage/dev-libs/rocr-runtime-5.7.1-r1/work/ROCR-Runtime-rocm-5.7.1/src/core/runtime/trap_handler/trap_handler.s >[3/118] cd /var/tmp/portage/dev-libs/rocr-runtime-5.7.1-r1/work/ROCR-Runtime-rocm-5.7.1/src_build/core/runtime/trap_handler && /usr/lib/llvm/17/bin/clang-17 -x assembler -target amdgcn-amd-amdhsa -mcpu=gfx1030 -o kCodeTrapHandlerV2_10.hsaco /var/tmp/portage/dev-libs/rocr-runtime-5.7.1-r1/work/ROCR-Runtime-rocm-5.7.1/src/core/runtime/trap_handler/trap_handler.s >[4/118] cd /var/tmp/portage/dev-libs/rocr-runtime-5.7.1-r1/work/ROCR-Runtime-rocm-5.7.1/src_build/core/runtime/trap_handler && /usr/lib/llvm/17/bin/clang-17 -x assembler -target amdgcn-amd-amdhsa -mcpu=gfx1010 -o kCodeTrapHandlerV2_1010.hsaco /var/tmp/portage/dev-libs/rocr-runtime-5.7.1-r1/work/ROCR-Runtime-rocm-5.7.1/src/core/runtime/trap_handler/trap_handler.s >[5/118] cd /var/tmp/portage/dev-libs/rocr-runtime-5.7.1-r1/work/ROCR-Runtime-rocm-5.7.1/src_build/core/runtime/trap_handler && /usr/lib/llvm/17/bin/clang-17 -x assembler -target amdgcn-amd-amdhsa -mcpu=gfx1100 -o kCodeTrapHandlerV2_11.hsaco /var/tmp/portage/dev-libs/rocr-runtime-5.7.1-r1/work/ROCR-Runtime-rocm-5.7.1/src/core/runtime/trap_handler/trap_handler.s >[6/118] cd /var/tmp/portage/dev-libs/rocr-runtime-5.7.1-r1/work/ROCR-Runtime-rocm-5.7.1/src_build/core/runtime/trap_handler && /usr/lib/llvm/17/bin/clang-17 -x assembler -target amdgcn-amd-amdhsa -mcpu=gfx941 -o kCodeTrapHandlerV2_941.hsaco /var/tmp/portage/dev-libs/rocr-runtime-5.7.1-r1/work/ROCR-Runtime-rocm-5.7.1/src/core/runtime/trap_handler/trap_handler.s >[7/118] cd /var/tmp/portage/dev-libs/rocr-runtime-5.7.1-r1/work/ROCR-Runtime-rocm-5.7.1/src_build/core/runtime/trap_handler && /usr/lib/llvm/17/bin/clang-17 -x assembler -target amdgcn-amd-amdhsa -mcpu=gfx942 -o kCodeTrapHandlerV2_942.hsaco /var/tmp/portage/dev-libs/rocr-runtime-5.7.1-r1/work/ROCR-Runtime-rocm-5.7.1/src/core/runtime/trap_handler/trap_handler.s >[8/118] cd /var/tmp/portage/dev-libs/rocr-runtime-5.7.1-r1/work/ROCR-Runtime-rocm-5.7.1/src_build/core/runtime/trap_handler && /usr/lib/llvm/17/bin/llvm-objcopy --dump-section=.text=kCodeTrapHandlerV2_9 kCodeTrapHandlerV2_9.hsaco >[9/118] cd /var/tmp/portage/dev-libs/rocr-runtime-5.7.1-r1/work/ROCR-Runtime-rocm-5.7.1/src_build/core/runtime/trap_handler && /usr/lib/llvm/17/bin/llvm-objcopy --dump-section=.text=kCodeTrapHandlerV2_10 kCodeTrapHandlerV2_10.hsaco >[10/118] cd /var/tmp/portage/dev-libs/rocr-runtime-5.7.1-r1/work/ROCR-Runtime-rocm-5.7.1/src_build/core/runtime/trap_handler && /usr/lib/llvm/17/bin/llvm-objcopy --dump-section=.text=kCodeTrapHandlerV2_940 kCodeTrapHandlerV2_940.hsaco >[11/118] cd /var/tmp/portage/dev-libs/rocr-runtime-5.7.1-r1/work/ROCR-Runtime-rocm-5.7.1/src_build/core/runtime/trap_handler && /usr/lib/llvm/17/bin/llvm-objcopy --dump-section=.text=kCodeTrapHandlerV2_1010 kCodeTrapHandlerV2_1010.hsaco >[12/118] cd /var/tmp/portage/dev-libs/rocr-runtime-5.7.1-r1/work/ROCR-Runtime-rocm-5.7.1/src_build/core/runtime/trap_handler && /usr/lib/llvm/17/bin/llvm-objcopy --dump-section=.text=kCodeTrapHandlerV2_941 kCodeTrapHandlerV2_941.hsaco >[13/118] cd /var/tmp/portage/dev-libs/rocr-runtime-5.7.1-r1/work/ROCR-Runtime-rocm-5.7.1/src_build/core/runtime/trap_handler && /usr/lib/llvm/17/bin/llvm-objcopy --dump-section=.text=kCodeTrapHandlerV2_942 kCodeTrapHandlerV2_942.hsaco >[14/118] cd /var/tmp/portage/dev-libs/rocr-runtime-5.7.1-r1/work/ROCR-Runtime-rocm-5.7.1/src_build/core/runtime/trap_handler && /usr/lib/llvm/17/bin/llvm-objcopy --dump-section=.text=kCodeTrapHandlerV2_11 kCodeTrapHandlerV2_11.hsaco >[15/118] cd /var/tmp/portage/dev-libs/rocr-runtime-5.7.1-r1/work/ROCR-Runtime-rocm-5.7.1/src_build/core/runtime/trap_handler && /var/tmp/portage/dev-libs/rocr-runtime-5.7.1-r1/work/ROCR-Runtime-rocm-5.7.1/src/core/runtime/trap_handler/create_trap_handler_header.sh /var/tmp/portage/dev-libs/rocr-runtime-5.7.1-r1/work/ROCR-Runtime-rocm-5.7.1/src_build/core/runtime/trap_handler/amd_trap_handler_v2.h kCodeTrapHandlerV2_9 kCodeTrapHandlerV2_940 kCodeTrapHandlerV2_941 kCodeTrapHandlerV2_942 kCodeTrapHandlerV2_1010 kCodeTrapHandlerV2_10 kCodeTrapHandlerV2_11 >[16/118] cd /var/tmp/portage/dev-libs/rocr-runtime-5.7.1-r1/work/ROCR-Runtime-rocm-5.7.1/src_build/image/blit_src && /usr/lib/llvm/17/bin/clang-17 --rocm-path=/usr/lib/ -O2 -x cl -Xclang -finclude-default-header -cl-denorms-are-zero -cl-std=CL2.0 -target amdgcn-amd-amdhsa -mcpu=gfx1010 -mcode-object-version=4 -o ocl_blit_object_gfx1010 /var/tmp/portage/dev-libs/rocr-runtime-5.7.1-r1/work/ROCR-Runtime-rocm-5.7.1/src/image/blit_src/imageblit_kernels.cl >[17/118] cd /var/tmp/portage/dev-libs/rocr-runtime-5.7.1-r1/work/ROCR-Runtime-rocm-5.7.1/src_build/image/blit_src && /usr/lib/llvm/17/bin/clang-17 --rocm-path=/usr/lib/ -O2 -x cl -Xclang -finclude-default-header -cl-denorms-are-zero -cl-std=CL2.0 -target amdgcn-amd-amdhsa -mcpu=gfx1013 -mcode-object-version=4 -o ocl_blit_object_gfx1013 /var/tmp/portage/dev-libs/rocr-runtime-5.7.1-r1/work/ROCR-Runtime-rocm-5.7.1/src/image/blit_src/imageblit_kernels.cl >[18/118] cd /var/tmp/portage/dev-libs/rocr-runtime-5.7.1-r1/work/ROCR-Runtime-rocm-5.7.1/src_build/image/blit_src && /usr/lib/llvm/17/bin/clang-17 --rocm-path=/usr/lib/ -O2 -x cl -Xclang -finclude-default-header -cl-denorms-are-zero -cl-std=CL2.0 -target amdgcn-amd-amdhsa -mcpu=gfx1030 -mcode-object-version=4 -o ocl_blit_object_gfx1030 /var/tmp/portage/dev-libs/rocr-runtime-5.7.1-r1/work/ROCR-Runtime-rocm-5.7.1/src/image/blit_src/imageblit_kernels.cl >[19/118] cd /var/tmp/portage/dev-libs/rocr-runtime-5.7.1-r1/work/ROCR-Runtime-rocm-5.7.1/src_build/image/blit_src && /usr/lib/llvm/17/bin/clang-17 --rocm-path=/usr/lib/ -O2 -x cl -Xclang -finclude-default-header -cl-denorms-are-zero -cl-std=CL2.0 -target amdgcn-amd-amdhsa -mcpu=gfx1011 -mcode-object-version=4 -o ocl_blit_object_gfx1011 /var/tmp/portage/dev-libs/rocr-runtime-5.7.1-r1/work/ROCR-Runtime-rocm-5.7.1/src/image/blit_src/imageblit_kernels.cl >[20/118] cd /var/tmp/portage/dev-libs/rocr-runtime-5.7.1-r1/work/ROCR-Runtime-rocm-5.7.1/src_build/image/blit_src && /usr/lib/llvm/17/bin/clang-17 --rocm-path=/usr/lib/ -O2 -x cl -Xclang -finclude-default-header -cl-denorms-are-zero -cl-std=CL2.0 -target amdgcn-amd-amdhsa -mcpu=gfx1012 -mcode-object-version=4 -o ocl_blit_object_gfx1012 /var/tmp/portage/dev-libs/rocr-runtime-5.7.1-r1/work/ROCR-Runtime-rocm-5.7.1/src/image/blit_src/imageblit_kernels.cl >[21/118] cd /var/tmp/portage/dev-libs/rocr-runtime-5.7.1-r1/work/ROCR-Runtime-rocm-5.7.1/src_build/image/blit_src && /usr/lib/llvm/17/bin/clang-17 --rocm-path=/usr/lib/ -O2 -x cl -Xclang -finclude-default-header -cl-denorms-are-zero -cl-std=CL2.0 -target amdgcn-amd-amdhsa -mcpu=gfx1034 -mcode-object-version=4 -o ocl_blit_object_gfx1034 /var/tmp/portage/dev-libs/rocr-runtime-5.7.1-r1/work/ROCR-Runtime-rocm-5.7.1/src/image/blit_src/imageblit_kernels.cl >[22/118] cd /var/tmp/portage/dev-libs/rocr-runtime-5.7.1-r1/work/ROCR-Runtime-rocm-5.7.1/src_build/image/blit_src && /usr/lib/llvm/17/bin/clang-17 --rocm-path=/usr/lib/ -O2 -x cl -Xclang -finclude-default-header -cl-denorms-are-zero -cl-std=CL2.0 -target amdgcn-amd-amdhsa -mcpu=gfx1036 -mcode-object-version=4 -o ocl_blit_object_gfx1036 /var/tmp/portage/dev-libs/rocr-runtime-5.7.1-r1/work/ROCR-Runtime-rocm-5.7.1/src/image/blit_src/imageblit_kernels.cl >[23/118] cd /var/tmp/portage/dev-libs/rocr-runtime-5.7.1-r1/work/ROCR-Runtime-rocm-5.7.1/src_build/image/blit_src && /usr/lib/llvm/17/bin/clang-17 --rocm-path=/usr/lib/ -O2 -x cl -Xclang -finclude-default-header -cl-denorms-are-zero -cl-std=CL2.0 -target amdgcn-amd-amdhsa -mcpu=gfx1031 -mcode-object-version=4 -o ocl_blit_object_gfx1031 /var/tmp/portage/dev-libs/rocr-runtime-5.7.1-r1/work/ROCR-Runtime-rocm-5.7.1/src/image/blit_src/imageblit_kernels.cl >[24/118] cd /var/tmp/portage/dev-libs/rocr-runtime-5.7.1-r1/work/ROCR-Runtime-rocm-5.7.1/src_build/image/blit_src && /usr/lib/llvm/17/bin/clang-17 --rocm-path=/usr/lib/ -O2 -x cl -Xclang -finclude-default-header -cl-denorms-are-zero -cl-std=CL2.0 -target amdgcn-amd-amdhsa -mcpu=gfx1032 -mcode-object-version=4 -o ocl_blit_object_gfx1032 /var/tmp/portage/dev-libs/rocr-runtime-5.7.1-r1/work/ROCR-Runtime-rocm-5.7.1/src/image/blit_src/imageblit_kernels.cl >[25/118] cd /var/tmp/portage/dev-libs/rocr-runtime-5.7.1-r1/work/ROCR-Runtime-rocm-5.7.1/src_build/image/blit_src && /usr/lib/llvm/17/bin/clang-17 --rocm-path=/usr/lib/ -O2 -x cl -Xclang -finclude-default-header -cl-denorms-are-zero -cl-std=CL2.0 -target amdgcn-amd-amdhsa -mcpu=gfx1033 -mcode-object-version=4 -o ocl_blit_object_gfx1033 /var/tmp/portage/dev-libs/rocr-runtime-5.7.1-r1/work/ROCR-Runtime-rocm-5.7.1/src/image/blit_src/imageblit_kernels.cl >[26/118] cd /var/tmp/portage/dev-libs/rocr-runtime-5.7.1-r1/work/ROCR-Runtime-rocm-5.7.1/src_build/image/blit_src && /usr/lib/llvm/17/bin/clang-17 --rocm-path=/usr/lib/ -O2 -x cl -Xclang -finclude-default-header -cl-denorms-are-zero -cl-std=CL2.0 -target amdgcn-amd-amdhsa -mcpu=gfx1035 -mcode-object-version=4 -o ocl_blit_object_gfx1035 /var/tmp/portage/dev-libs/rocr-runtime-5.7.1-r1/work/ROCR-Runtime-rocm-5.7.1/src/image/blit_src/imageblit_kernels.cl >[27/118] cd /var/tmp/portage/dev-libs/rocr-runtime-5.7.1-r1/work/ROCR-Runtime-rocm-5.7.1/src_build/image/blit_src && /usr/lib/llvm/17/bin/clang-17 --rocm-path=/usr/lib/ -O2 -x cl -Xclang -finclude-default-header -cl-denorms-are-zero -cl-std=CL2.0 -target amdgcn-amd-amdhsa -mcpu=gfx1100 -mcode-object-version=4 -o ocl_blit_object_gfx1100 /var/tmp/portage/dev-libs/rocr-runtime-5.7.1-r1/work/ROCR-Runtime-rocm-5.7.1/src/image/blit_src/imageblit_kernels.cl >[28/118] cd /var/tmp/portage/dev-libs/rocr-runtime-5.7.1-r1/work/ROCR-Runtime-rocm-5.7.1/src_build/image/blit_src && /usr/lib/llvm/17/bin/clang-17 --rocm-path=/usr/lib/ -O2 -x cl -Xclang -finclude-default-header -cl-denorms-are-zero -cl-std=CL2.0 -target amdgcn-amd-amdhsa -mcpu=gfx1102 -mcode-object-version=4 -o ocl_blit_object_gfx1102 /var/tmp/portage/dev-libs/rocr-runtime-5.7.1-r1/work/ROCR-Runtime-rocm-5.7.1/src/image/blit_src/imageblit_kernels.cl >[29/118] cd /var/tmp/portage/dev-libs/rocr-runtime-5.7.1-r1/work/ROCR-Runtime-rocm-5.7.1/src_build/image/blit_src && /usr/lib/llvm/17/bin/clang-17 --rocm-path=/usr/lib/ -O2 -x cl -Xclang -finclude-default-header -cl-denorms-are-zero -cl-std=CL2.0 -target amdgcn-amd-amdhsa -mcpu=gfx1103 -mcode-object-version=4 -o ocl_blit_object_gfx1103 /var/tmp/portage/dev-libs/rocr-runtime-5.7.1-r1/work/ROCR-Runtime-rocm-5.7.1/src/image/blit_src/imageblit_kernels.cl >[30/118] cd /var/tmp/portage/dev-libs/rocr-runtime-5.7.1-r1/work/ROCR-Runtime-rocm-5.7.1/src_build/image/blit_src && /usr/lib/llvm/17/bin/clang-17 --rocm-path=/usr/lib/ -O2 -x cl -Xclang -finclude-default-header -cl-denorms-are-zero -cl-std=CL2.0 -target amdgcn-amd-amdhsa -mcpu=gfx1101 -mcode-object-version=4 -o ocl_blit_object_gfx1101 /var/tmp/portage/dev-libs/rocr-runtime-5.7.1-r1/work/ROCR-Runtime-rocm-5.7.1/src/image/blit_src/imageblit_kernels.cl >[31/118] cd /var/tmp/portage/dev-libs/rocr-runtime-5.7.1-r1/work/ROCR-Runtime-rocm-5.7.1/src_build/image/blit_src && /usr/lib/llvm/17/bin/clang-17 --rocm-path=/usr/lib/ -O2 -x cl -Xclang -finclude-default-header -cl-denorms-are-zero -cl-std=CL2.0 -target amdgcn-amd-amdhsa -mcpu=gfx701 -mcode-object-version=4 -o ocl_blit_object_gfx701 /var/tmp/portage/dev-libs/rocr-runtime-5.7.1-r1/work/ROCR-Runtime-rocm-5.7.1/src/image/blit_src/imageblit_kernels.cl >[32/118] cd /var/tmp/portage/dev-libs/rocr-runtime-5.7.1-r1/work/ROCR-Runtime-rocm-5.7.1/src_build/image/blit_src && /usr/lib/llvm/17/bin/clang-17 --rocm-path=/usr/lib/ -O2 -x cl -Xclang -finclude-default-header -cl-denorms-are-zero -cl-std=CL2.0 -target amdgcn-amd-amdhsa -mcpu=gfx700 -mcode-object-version=4 -o ocl_blit_object_gfx700 /var/tmp/portage/dev-libs/rocr-runtime-5.7.1-r1/work/ROCR-Runtime-rocm-5.7.1/src/image/blit_src/imageblit_kernels.cl >[33/118] cd /var/tmp/portage/dev-libs/rocr-runtime-5.7.1-r1/work/ROCR-Runtime-rocm-5.7.1/src_build/image/blit_src && /usr/lib/llvm/17/bin/clang-17 --rocm-path=/usr/lib/ -O2 -x cl -Xclang -finclude-default-header -cl-denorms-are-zero -cl-std=CL2.0 -target amdgcn-amd-amdhsa -mcpu=gfx801 -mcode-object-version=4 -o ocl_blit_object_gfx801 /var/tmp/portage/dev-libs/rocr-runtime-5.7.1-r1/work/ROCR-Runtime-rocm-5.7.1/src/image/blit_src/imageblit_kernels.cl >[34/118] cd /var/tmp/portage/dev-libs/rocr-runtime-5.7.1-r1/work/ROCR-Runtime-rocm-5.7.1/src_build/image/blit_src && /usr/lib/llvm/17/bin/clang-17 --rocm-path=/usr/lib/ -O2 -x cl -Xclang -finclude-default-header -cl-denorms-are-zero -cl-std=CL2.0 -target amdgcn-amd-amdhsa -mcpu=gfx702 -mcode-object-version=4 -o ocl_blit_object_gfx702 /var/tmp/portage/dev-libs/rocr-runtime-5.7.1-r1/work/ROCR-Runtime-rocm-5.7.1/src/image/blit_src/imageblit_kernels.cl >[35/118] cd /var/tmp/portage/dev-libs/rocr-runtime-5.7.1-r1/work/ROCR-Runtime-rocm-5.7.1/src_build/image/blit_src && /usr/lib/llvm/17/bin/clang-17 --rocm-path=/usr/lib/ -O2 -x cl -Xclang -finclude-default-header -cl-denorms-are-zero -cl-std=CL2.0 -target amdgcn-amd-amdhsa -mcpu=gfx802 -mcode-object-version=4 -o ocl_blit_object_gfx802 /var/tmp/portage/dev-libs/rocr-runtime-5.7.1-r1/work/ROCR-Runtime-rocm-5.7.1/src/image/blit_src/imageblit_kernels.cl >[36/118] cd /var/tmp/portage/dev-libs/rocr-runtime-5.7.1-r1/work/ROCR-Runtime-rocm-5.7.1/src_build/image/blit_src && /usr/lib/llvm/17/bin/clang-17 --rocm-path=/usr/lib/ -O2 -x cl -Xclang -finclude-default-header -cl-denorms-are-zero -cl-std=CL2.0 -target amdgcn-amd-amdhsa -mcpu=gfx900 -mcode-object-version=4 -o ocl_blit_object_gfx900 /var/tmp/portage/dev-libs/rocr-runtime-5.7.1-r1/work/ROCR-Runtime-rocm-5.7.1/src/image/blit_src/imageblit_kernels.cl >[37/118] cd /var/tmp/portage/dev-libs/rocr-runtime-5.7.1-r1/work/ROCR-Runtime-rocm-5.7.1/src_build/image/blit_src && /usr/lib/llvm/17/bin/clang-17 --rocm-path=/usr/lib/ -O2 -x cl -Xclang -finclude-default-header -cl-denorms-are-zero -cl-std=CL2.0 -target amdgcn-amd-amdhsa -mcpu=gfx803 -mcode-object-version=4 -o ocl_blit_object_gfx803 /var/tmp/portage/dev-libs/rocr-runtime-5.7.1-r1/work/ROCR-Runtime-rocm-5.7.1/src/image/blit_src/imageblit_kernels.cl >[38/118] cd /var/tmp/portage/dev-libs/rocr-runtime-5.7.1-r1/work/ROCR-Runtime-rocm-5.7.1/src_build/image/blit_src && /usr/lib/llvm/17/bin/clang-17 --rocm-path=/usr/lib/ -O2 -x cl -Xclang -finclude-default-header -cl-denorms-are-zero -cl-std=CL2.0 -target amdgcn-amd-amdhsa -mcpu=gfx805 -mcode-object-version=4 -o ocl_blit_object_gfx805 /var/tmp/portage/dev-libs/rocr-runtime-5.7.1-r1/work/ROCR-Runtime-rocm-5.7.1/src/image/blit_src/imageblit_kernels.cl >[39/118] cd /var/tmp/portage/dev-libs/rocr-runtime-5.7.1-r1/work/ROCR-Runtime-rocm-5.7.1/src_build/image/blit_src && /usr/lib/llvm/17/bin/clang-17 --rocm-path=/usr/lib/ -O2 -x cl -Xclang -finclude-default-header -cl-denorms-are-zero -cl-std=CL2.0 -target amdgcn-amd-amdhsa -mcpu=gfx810 -mcode-object-version=4 -o ocl_blit_object_gfx810 /var/tmp/portage/dev-libs/rocr-runtime-5.7.1-r1/work/ROCR-Runtime-rocm-5.7.1/src/image/blit_src/imageblit_kernels.cl >[40/118] cd /var/tmp/portage/dev-libs/rocr-runtime-5.7.1-r1/work/ROCR-Runtime-rocm-5.7.1/src_build/image/blit_src && /usr/lib/llvm/17/bin/clang-17 --rocm-path=/usr/lib/ -O2 -x cl -Xclang -finclude-default-header -cl-denorms-are-zero -cl-std=CL2.0 -target amdgcn-amd-amdhsa -mcpu=gfx904 -mcode-object-version=4 -o ocl_blit_object_gfx904 /var/tmp/portage/dev-libs/rocr-runtime-5.7.1-r1/work/ROCR-Runtime-rocm-5.7.1/src/image/blit_src/imageblit_kernels.cl >[41/118] cd /var/tmp/portage/dev-libs/rocr-runtime-5.7.1-r1/work/ROCR-Runtime-rocm-5.7.1/src_build/image/blit_src && /usr/lib/llvm/17/bin/clang-17 --rocm-path=/usr/lib/ -O2 -x cl -Xclang -finclude-default-header -cl-denorms-are-zero -cl-std=CL2.0 -target amdgcn-amd-amdhsa -mcpu=gfx902 -mcode-object-version=4 -o ocl_blit_object_gfx902 /var/tmp/portage/dev-libs/rocr-runtime-5.7.1-r1/work/ROCR-Runtime-rocm-5.7.1/src/image/blit_src/imageblit_kernels.cl >[42/118] cd /var/tmp/portage/dev-libs/rocr-runtime-5.7.1-r1/work/ROCR-Runtime-rocm-5.7.1/src_build/image/blit_src && /usr/lib/llvm/17/bin/clang-17 --rocm-path=/usr/lib/ -O2 -x cl -Xclang -finclude-default-header -cl-denorms-are-zero -cl-std=CL2.0 -target amdgcn-amd-amdhsa -mcpu=gfx940 -mcode-object-version=4 -o ocl_blit_object_gfx940 /var/tmp/portage/dev-libs/rocr-runtime-5.7.1-r1/work/ROCR-Runtime-rocm-5.7.1/src/image/blit_src/imageblit_kernels.cl >[43/118] cd /var/tmp/portage/dev-libs/rocr-runtime-5.7.1-r1/work/ROCR-Runtime-rocm-5.7.1/src_build/image/blit_src && /usr/lib/llvm/17/bin/clang-17 --rocm-path=/usr/lib/ -O2 -x cl -Xclang -finclude-default-header -cl-denorms-are-zero -cl-std=CL2.0 -target amdgcn-amd-amdhsa -mcpu=gfx941 -mcode-object-version=4 -o ocl_blit_object_gfx941 /var/tmp/portage/dev-libs/rocr-runtime-5.7.1-r1/work/ROCR-Runtime-rocm-5.7.1/src/image/blit_src/imageblit_kernels.cl >[44/118] cd /var/tmp/portage/dev-libs/rocr-runtime-5.7.1-r1/work/ROCR-Runtime-rocm-5.7.1/src_build/image/blit_src && /usr/lib/llvm/17/bin/clang-17 --rocm-path=/usr/lib/ -O2 -x cl -Xclang -finclude-default-header -cl-denorms-are-zero -cl-std=CL2.0 -target amdgcn-amd-amdhsa -mcpu=gfx906 -mcode-object-version=4 -o ocl_blit_object_gfx906 /var/tmp/portage/dev-libs/rocr-runtime-5.7.1-r1/work/ROCR-Runtime-rocm-5.7.1/src/image/blit_src/imageblit_kernels.cl >[45/118] cd /var/tmp/portage/dev-libs/rocr-runtime-5.7.1-r1/work/ROCR-Runtime-rocm-5.7.1/src_build/image/blit_src && /usr/lib/llvm/17/bin/clang-17 --rocm-path=/usr/lib/ -O2 -x cl -Xclang -finclude-default-header -cl-denorms-are-zero -cl-std=CL2.0 -target amdgcn-amd-amdhsa -mcpu=gfx908 -mcode-object-version=4 -o ocl_blit_object_gfx908 /var/tmp/portage/dev-libs/rocr-runtime-5.7.1-r1/work/ROCR-Runtime-rocm-5.7.1/src/image/blit_src/imageblit_kernels.cl >[46/118] cd /var/tmp/portage/dev-libs/rocr-runtime-5.7.1-r1/work/ROCR-Runtime-rocm-5.7.1/src_build/image/blit_src && /usr/lib/llvm/17/bin/clang-17 --rocm-path=/usr/lib/ -O2 -x cl -Xclang -finclude-default-header -cl-denorms-are-zero -cl-std=CL2.0 -target amdgcn-amd-amdhsa -mcpu=gfx909 -mcode-object-version=4 -o ocl_blit_object_gfx909 /var/tmp/portage/dev-libs/rocr-runtime-5.7.1-r1/work/ROCR-Runtime-rocm-5.7.1/src/image/blit_src/imageblit_kernels.cl >[47/118] cd /var/tmp/portage/dev-libs/rocr-runtime-5.7.1-r1/work/ROCR-Runtime-rocm-5.7.1/src_build/image/blit_src && /usr/lib/llvm/17/bin/clang-17 --rocm-path=/usr/lib/ -O2 -x cl -Xclang -finclude-default-header -cl-denorms-are-zero -cl-std=CL2.0 -target amdgcn-amd-amdhsa -mcpu=gfx90c -mcode-object-version=4 -o ocl_blit_object_gfx90c /var/tmp/portage/dev-libs/rocr-runtime-5.7.1-r1/work/ROCR-Runtime-rocm-5.7.1/src/image/blit_src/imageblit_kernels.cl >[48/118] cd /var/tmp/portage/dev-libs/rocr-runtime-5.7.1-r1/work/ROCR-Runtime-rocm-5.7.1/src_build/image/blit_src && /usr/lib/llvm/17/bin/clang-17 --rocm-path=/usr/lib/ -O2 -x cl -Xclang -finclude-default-header -cl-denorms-are-zero -cl-std=CL2.0 -target amdgcn-amd-amdhsa -mcpu=gfx90a -mcode-object-version=4 -o ocl_blit_object_gfx90a /var/tmp/portage/dev-libs/rocr-runtime-5.7.1-r1/work/ROCR-Runtime-rocm-5.7.1/src/image/blit_src/imageblit_kernels.cl >[49/118] cd /var/tmp/portage/dev-libs/rocr-runtime-5.7.1-r1/work/ROCR-Runtime-rocm-5.7.1/src_build/image/blit_src && /usr/lib/llvm/17/bin/clang-17 --rocm-path=/usr/lib/ -O2 -x cl -Xclang -finclude-default-header -cl-denorms-are-zero -cl-std=CL2.0 -target amdgcn-amd-amdhsa -mcpu=gfx942 -mcode-object-version=4 -o ocl_blit_object_gfx942 /var/tmp/portage/dev-libs/rocr-runtime-5.7.1-r1/work/ROCR-Runtime-rocm-5.7.1/src/image/blit_src/imageblit_kernels.cl >[50/118] cd /var/tmp/portage/dev-libs/rocr-runtime-5.7.1-r1/work/ROCR-Runtime-rocm-5.7.1/src_build/image/blit_src && /var/tmp/portage/dev-libs/rocr-runtime-5.7.1-r1/work/ROCR-Runtime-rocm-5.7.1/src/image/blit_src/create_hsaco_ascii_file.sh /var/tmp/portage/dev-libs/rocr-runtime-5.7.1-r1/work/ROCR-Runtime-rocm-5.7.1/src_build/image/blit_src/opencl_blit_objects.cpp >[51/118] /usr/lib/ccache/bin/clang++-17 -DAMD_INTERNAL_BUILD -DBRAHMA_BUILD=1 -DHAVE_MEMFD_CREATE -DHSA_DEPRECATED="" -DHSA_EXPORT=1 -DHSA_EXPORT_FINALIZER=1 -DHSA_EXPORT_IMAGES=1 -DHSA_IMAGE_SUPPORT -DLINUX -DLITTLEENDIAN_CPU=1 -DROCR_BUILD_ID=\"1.11.0-local-build-unknown\" -DUNIX_OS -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -D__linux__ -Dhsa_runtime64_EXPORTS -I/var/tmp/portage/dev-libs/rocr-runtime-5.7.1-r1/work/ROCR-Runtime-rocm-5.7.1/src/inc -I/var/tmp/portage/dev-libs/rocr-runtime-5.7.1-r1/work/ROCR-Runtime-rocm-5.7.1/src -I/var/tmp/portage/dev-libs/rocr-runtime-5.7.1-r1/work/ROCR-Runtime-rocm-5.7.1/src/libamdhsacode -I/var/tmp/portage/dev-libs/rocr-runtime-5.7.1-r1/work/ROCR-Runtime-rocm-5.7.1/src_build/core/runtime/trap_handler -I/var/tmp/portage/dev-libs/rocr-runtime-5.7.1-r1/work/ROCR-Runtime-rocm-5.7.1/src/image -I/var/tmp/portage/dev-libs/rocr-runtime-5.7.1-r1/work/ROCR-Runtime-rocm-5.7.1/src/image/addrlib -I/var/tmp/portage/dev-libs/rocr-runtime-5.7.1-r1/work/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/inc -I/var/tmp/portage/dev-libs/rocr-runtime-5.7.1-r1/work/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src -I/var/tmp/portage/dev-libs/rocr-runtime-5.7.1-r1/work/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/core -I/var/tmp/portage/dev-libs/rocr-runtime-5.7.1-r1/work/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/r800 -I/var/tmp/portage/dev-libs/rocr-runtime-5.7.1-r1/work/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/gfx9 -I/var/tmp/portage/dev-libs/rocr-runtime-5.7.1-r1/work/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/gfx10 -I/var/tmp/portage/dev-libs/rocr-runtime-5.7.1-r1/work/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/gfx11 -I/var/tmp/portage/dev-libs/rocr-runtime-5.7.1-r1/work/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/chip/r800 -I/var/tmp/portage/dev-libs/rocr-runtime-5.7.1-r1/work/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/chip/gfx9 -I/var/tmp/portage/dev-libs/rocr-runtime-5.7.1-r1/work/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/chip/gfx10 -I/var/tmp/portage/dev-libs/rocr-runtime-5.7.1-r1/work/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/chip/gfx11 -isystem /usr/include/libdrm -O2 -pipe -ftree-vectorize -march=native -mtune=native -DNDEBUG -fPIC -Wall -std=c++11 -fPIC -fno-strict-aliasing -m64 -msse -msse2 -fexceptions -fno-rtti -fvisibility=hidden -Wno-error=missing-braces -Wno-error=sign-compare -Wno-sign-compare -Wno-write-strings -Wno-conversion-null -fno-math-errno -fno-threadsafe-statics -fmerge-all-constants -fms-extensions -Wno-error=comment -Wno-comment -Wno-error=pointer-arith -Wno-pointer-arith -Wno-error=unused-variable -Wno-error=unused-function -mmwaitx -Wno-deprecated-declarations -Wno-error=self-assign -Wno-error=unused-but-set-variable -MD -MT CMakeFiles/hsa-runtime64.dir/core/util/timer.cpp.o -MF CMakeFiles/hsa-runtime64.dir/core/util/timer.cpp.o.d -o CMakeFiles/hsa-runtime64.dir/core/util/timer.cpp.o -c /var/tmp/portage/dev-libs/rocr-runtime-5.7.1-r1/work/ROCR-Runtime-rocm-5.7.1/src/core/util/timer.cpp >[31mFAILED: [0mCMakeFiles/hsa-runtime64.dir/core/util/timer.cpp.o >/usr/lib/ccache/bin/clang++-17 -DAMD_INTERNAL_BUILD -DBRAHMA_BUILD=1 -DHAVE_MEMFD_CREATE -DHSA_DEPRECATED="" -DHSA_EXPORT=1 -DHSA_EXPORT_FINALIZER=1 -DHSA_EXPORT_IMAGES=1 -DHSA_IMAGE_SUPPORT -DLINUX -DLITTLEENDIAN_CPU=1 -DROCR_BUILD_ID=\"1.11.0-local-build-unknown\" -DUNIX_OS -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -D__linux__ -Dhsa_runtime64_EXPORTS -I/var/tmp/portage/dev-libs/rocr-runtime-5.7.1-r1/work/ROCR-Runtime-rocm-5.7.1/src/inc -I/var/tmp/portage/dev-libs/rocr-runtime-5.7.1-r1/work/ROCR-Runtime-rocm-5.7.1/src -I/var/tmp/portage/dev-libs/rocr-runtime-5.7.1-r1/work/ROCR-Runtime-rocm-5.7.1/src/libamdhsacode -I/var/tmp/portage/dev-libs/rocr-runtime-5.7.1-r1/work/ROCR-Runtime-rocm-5.7.1/src_build/core/runtime/trap_handler -I/var/tmp/portage/dev-libs/rocr-runtime-5.7.1-r1/work/ROCR-Runtime-rocm-5.7.1/src/image -I/var/tmp/portage/dev-libs/rocr-runtime-5.7.1-r1/work/ROCR-Runtime-rocm-5.7.1/src/image/addrlib -I/var/tmp/portage/dev-libs/rocr-runtime-5.7.1-r1/work/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/inc -I/var/tmp/portage/dev-libs/rocr-runtime-5.7.1-r1/work/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src -I/var/tmp/portage/dev-libs/rocr-runtime-5.7.1-r1/work/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/core -I/var/tmp/portage/dev-libs/rocr-runtime-5.7.1-r1/work/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/r800 -I/var/tmp/portage/dev-libs/rocr-runtime-5.7.1-r1/work/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/gfx9 -I/var/tmp/portage/dev-libs/rocr-runtime-5.7.1-r1/work/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/gfx10 -I/var/tmp/portage/dev-libs/rocr-runtime-5.7.1-r1/work/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/gfx11 -I/var/tmp/portage/dev-libs/rocr-runtime-5.7.1-r1/work/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/chip/r800 -I/var/tmp/portage/dev-libs/rocr-runtime-5.7.1-r1/work/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/chip/gfx9 -I/var/tmp/portage/dev-libs/rocr-runtime-5.7.1-r1/work/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/chip/gfx10 -I/var/tmp/portage/dev-libs/rocr-runtime-5.7.1-r1/work/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/chip/gfx11 -isystem /usr/include/libdrm -O2 -pipe -ftree-vectorize -march=native -mtune=native -DNDEBUG -fPIC -Wall -std=c++11 -fPIC -fno-strict-aliasing -m64 -msse -msse2 -fexceptions -fno-rtti -fvisibility=hidden -Wno-error=missing-braces -Wno-error=sign-compare -Wno-sign-compare -Wno-write-strings -Wno-conversion-null -fno-math-errno -fno-threadsafe-statics -fmerge-all-constants -fms-extensions -Wno-error=comment -Wno-comment -Wno-error=pointer-arith -Wno-pointer-arith -Wno-error=unused-variable -Wno-error=unused-function -mmwaitx -Wno-deprecated-declarations -Wno-error=self-assign -Wno-error=unused-but-set-variable -MD -MT CMakeFiles/hsa-runtime64.dir/core/util/timer.cpp.o -MF CMakeFiles/hsa-runtime64.dir/core/util/timer.cpp.o.d -o CMakeFiles/hsa-runtime64.dir/core/util/timer.cpp.o -c /var/tmp/portage/dev-libs/rocr-runtime-5.7.1-r1/work/ROCR-Runtime-rocm-5.7.1/src/core/util/timer.cpp >In file included from /var/tmp/portage/dev-libs/rocr-runtime-5.7.1-r1/work/ROCR-Runtime-rocm-5.7.1/src/core/util/timer.cpp:43: >In file included from /var/tmp/portage/dev-libs/rocr-runtime-5.7.1-r1/work/ROCR-Runtime-rocm-5.7.1/src/core/util/timer.h:46: >/var/tmp/portage/dev-libs/rocr-runtime-5.7.1-r1/work/ROCR-Runtime-rocm-5.7.1/src/core/util/utils.h:77:12: error: invalid operands to binary expression ('std::nullptr_t' and 'int') > 77 | if (NULL != posix_memalign(&mem, alignment, size)) > | ~~~~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >1 error generated. >[52/118] /usr/lib/ccache/bin/clang++-17 -DAMD_INTERNAL_BUILD -DBRAHMA_BUILD=1 -DHAVE_MEMFD_CREATE -DHSA_DEPRECATED="" -DHSA_EXPORT=1 -DHSA_EXPORT_FINALIZER=1 -DHSA_EXPORT_IMAGES=1 -DHSA_IMAGE_SUPPORT -DLINUX -DLITTLEENDIAN_CPU=1 -DROCR_BUILD_ID=\"1.11.0-local-build-unknown\" -DUNIX_OS -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -D__linux__ -Dhsa_runtime64_EXPORTS -I/var/tmp/portage/dev-libs/rocr-runtime-5.7.1-r1/work/ROCR-Runtime-rocm-5.7.1/src/inc -I/var/tmp/portage/dev-libs/rocr-runtime-5.7.1-r1/work/ROCR-Runtime-rocm-5.7.1/src -I/var/tmp/portage/dev-libs/rocr-runtime-5.7.1-r1/work/ROCR-Runtime-rocm-5.7.1/src/libamdhsacode -I/var/tmp/portage/dev-libs/rocr-runtime-5.7.1-r1/work/ROCR-Runtime-rocm-5.7.1/src_build/core/runtime/trap_handler -I/var/tmp/portage/dev-libs/rocr-runtime-5.7.1-r1/work/ROCR-Runtime-rocm-5.7.1/src/image -I/var/tmp/portage/dev-libs/rocr-runtime-5.7.1-r1/work/ROCR-Runtime-rocm-5.7.1/src/image/addrlib -I/var/tmp/portage/dev-libs/rocr-runtime-5.7.1-r1/work/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/inc -I/var/tmp/portage/dev-libs/rocr-runtime-5.7.1-r1/work/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src -I/var/tmp/portage/dev-libs/rocr-runtime-5.7.1-r1/work/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/core -I/var/tmp/portage/dev-libs/rocr-runtime-5.7.1-r1/work/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/r800 -I/var/tmp/portage/dev-libs/rocr-runtime-5.7.1-r1/work/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/gfx9 -I/var/tmp/portage/dev-libs/rocr-runtime-5.7.1-r1/work/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/gfx10 -I/var/tmp/portage/dev-libs/rocr-runtime-5.7.1-r1/work/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/gfx11 -I/var/tmp/portage/dev-libs/rocr-runtime-5.7.1-r1/work/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/chip/r800 -I/var/tmp/portage/dev-libs/rocr-runtime-5.7.1-r1/work/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/chip/gfx9 -I/var/tmp/portage/dev-libs/rocr-runtime-5.7.1-r1/work/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/chip/gfx10 -I/var/tmp/portage/dev-libs/rocr-runtime-5.7.1-r1/work/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/chip/gfx11 -isystem /usr/include/libdrm -O2 -pipe -ftree-vectorize -march=native -mtune=native -DNDEBUG -fPIC -Wall -std=c++11 -fPIC -fno-strict-aliasing -m64 -msse -msse2 -fexceptions -fno-rtti -fvisibility=hidden -Wno-error=missing-braces -Wno-error=sign-compare -Wno-sign-compare -Wno-write-strings -Wno-conversion-null -fno-math-errno -fno-threadsafe-statics -fmerge-all-constants -fms-extensions -Wno-error=comment -Wno-comment -Wno-error=pointer-arith -Wno-pointer-arith -Wno-error=unused-variable -Wno-error=unused-function -mmwaitx -Wno-deprecated-declarations -Wno-error=self-assign -Wno-error=unused-but-set-variable -MD -MT CMakeFiles/hsa-runtime64.dir/core/util/small_heap.cpp.o -MF CMakeFiles/hsa-runtime64.dir/core/util/small_heap.cpp.o.d -o CMakeFiles/hsa-runtime64.dir/core/util/small_heap.cpp.o -c /var/tmp/portage/dev-libs/rocr-runtime-5.7.1-r1/work/ROCR-Runtime-rocm-5.7.1/src/core/util/small_heap.cpp >[31mFAILED: [0mCMakeFiles/hsa-runtime64.dir/core/util/small_heap.cpp.o >/usr/lib/ccache/bin/clang++-17 -DAMD_INTERNAL_BUILD -DBRAHMA_BUILD=1 -DHAVE_MEMFD_CREATE -DHSA_DEPRECATED="" -DHSA_EXPORT=1 -DHSA_EXPORT_FINALIZER=1 -DHSA_EXPORT_IMAGES=1 -DHSA_IMAGE_SUPPORT -DLINUX -DLITTLEENDIAN_CPU=1 -DROCR_BUILD_ID=\"1.11.0-local-build-unknown\" -DUNIX_OS -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -D__linux__ -Dhsa_runtime64_EXPORTS -I/var/tmp/portage/dev-libs/rocr-runtime-5.7.1-r1/work/ROCR-Runtime-rocm-5.7.1/src/inc -I/var/tmp/portage/dev-libs/rocr-runtime-5.7.1-r1/work/ROCR-Runtime-rocm-5.7.1/src -I/var/tmp/portage/dev-libs/rocr-runtime-5.7.1-r1/work/ROCR-Runtime-rocm-5.7.1/src/libamdhsacode -I/var/tmp/portage/dev-libs/rocr-runtime-5.7.1-r1/work/ROCR-Runtime-rocm-5.7.1/src_build/core/runtime/trap_handler -I/var/tmp/portage/dev-libs/rocr-runtime-5.7.1-r1/work/ROCR-Runtime-rocm-5.7.1/src/image -I/var/tmp/portage/dev-libs/rocr-runtime-5.7.1-r1/work/ROCR-Runtime-rocm-5.7.1/src/image/addrlib -I/var/tmp/portage/dev-libs/rocr-runtime-5.7.1-r1/work/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/inc -I/var/tmp/portage/dev-libs/rocr-runtime-5.7.1-r1/work/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src -I/var/tmp/portage/dev-libs/rocr-runtime-5.7.1-r1/work/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/core -I/var/tmp/portage/dev-libs/rocr-runtime-5.7.1-r1/work/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/r800 -I/var/tmp/portage/dev-libs/rocr-runtime-5.7.1-r1/work/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/gfx9 -I/var/tmp/portage/dev-libs/rocr-runtime-5.7.1-r1/work/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/gfx10 -I/var/tmp/portage/dev-libs/rocr-runtime-5.7.1-r1/work/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/gfx11 -I/var/tmp/portage/dev-libs/rocr-runtime-5.7.1-r1/work/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/chip/r800 -I/var/tmp/portage/dev-libs/rocr-runtime-5.7.1-r1/work/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/chip/gfx9 -I/var/tmp/portage/dev-libs/rocr-runtime-5.7.1-r1/work/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/chip/gfx10 -I/var/tmp/portage/dev-libs/rocr-runtime-5.7.1-r1/work/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/chip/gfx11 -isystem /usr/include/libdrm -O2 -pipe -ftree-vectorize -march=native -mtune=native -DNDEBUG -fPIC -Wall -std=c++11 -fPIC -fno-strict-aliasing -m64 -msse -msse2 -fexceptions -fno-rtti -fvisibility=hidden -Wno-error=missing-braces -Wno-error=sign-compare -Wno-sign-compare -Wno-write-strings -Wno-conversion-null -fno-math-errno -fno-threadsafe-statics -fmerge-all-constants -fms-extensions -Wno-error=comment -Wno-comment -Wno-error=pointer-arith -Wno-pointer-arith -Wno-error=unused-variable -Wno-error=unused-function -mmwaitx -Wno-deprecated-declarations -Wno-error=self-assign -Wno-error=unused-but-set-variable -MD -MT CMakeFiles/hsa-runtime64.dir/core/util/small_heap.cpp.o -MF CMakeFiles/hsa-runtime64.dir/core/util/small_heap.cpp.o.d -o CMakeFiles/hsa-runtime64.dir/core/util/small_heap.cpp.o -c /var/tmp/portage/dev-libs/rocr-runtime-5.7.1-r1/work/ROCR-Runtime-rocm-5.7.1/src/core/util/small_heap.cpp >In file included from /var/tmp/portage/dev-libs/rocr-runtime-5.7.1-r1/work/ROCR-Runtime-rocm-5.7.1/src/core/util/small_heap.cpp:43: >In file included from /var/tmp/portage/dev-libs/rocr-runtime-5.7.1-r1/work/ROCR-Runtime-rocm-5.7.1/src/core/util/small_heap.h:53: >/var/tmp/portage/dev-libs/rocr-runtime-5.7.1-r1/work/ROCR-Runtime-rocm-5.7.1/src/core/util/utils.h:77:12: error: invalid operands to binary expression ('std::nullptr_t' and 'int') > 77 | if (NULL != posix_memalign(&mem, alignment, size)) > | ~~~~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >1 error generated. >[53/118] /usr/lib/ccache/bin/clang++-17 -DAMD_INTERNAL_BUILD -DBRAHMA_BUILD=1 -DHAVE_MEMFD_CREATE -DHSA_DEPRECATED="" -DHSA_EXPORT=1 -DHSA_EXPORT_FINALIZER=1 -DHSA_EXPORT_IMAGES=1 -DHSA_IMAGE_SUPPORT -DLINUX -DLITTLEENDIAN_CPU=1 -DROCR_BUILD_ID=\"1.11.0-local-build-unknown\" -DUNIX_OS -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -D__linux__ -Dhsa_runtime64_EXPORTS -I/var/tmp/portage/dev-libs/rocr-runtime-5.7.1-r1/work/ROCR-Runtime-rocm-5.7.1/src/inc -I/var/tmp/portage/dev-libs/rocr-runtime-5.7.1-r1/work/ROCR-Runtime-rocm-5.7.1/src -I/var/tmp/portage/dev-libs/rocr-runtime-5.7.1-r1/work/ROCR-Runtime-rocm-5.7.1/src/libamdhsacode -I/var/tmp/portage/dev-libs/rocr-runtime-5.7.1-r1/work/ROCR-Runtime-rocm-5.7.1/src_build/core/runtime/trap_handler -I/var/tmp/portage/dev-libs/rocr-runtime-5.7.1-r1/work/ROCR-Runtime-rocm-5.7.1/src/image -I/var/tmp/portage/dev-libs/rocr-runtime-5.7.1-r1/work/ROCR-Runtime-rocm-5.7.1/src/image/addrlib -I/var/tmp/portage/dev-libs/rocr-runtime-5.7.1-r1/work/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/inc -I/var/tmp/portage/dev-libs/rocr-runtime-5.7.1-r1/work/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src -I/var/tmp/portage/dev-libs/rocr-runtime-5.7.1-r1/work/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/core -I/var/tmp/portage/dev-libs/rocr-runtime-5.7.1-r1/work/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/r800 -I/var/tmp/portage/dev-libs/rocr-runtime-5.7.1-r1/work/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/gfx9 -I/var/tmp/portage/dev-libs/rocr-runtime-5.7.1-r1/work/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/gfx10 -I/var/tmp/portage/dev-libs/rocr-runtime-5.7.1-r1/work/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/gfx11 -I/var/tmp/portage/dev-libs/rocr-runtime-5.7.1-r1/work/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/chip/r800 -I/var/tmp/portage/dev-libs/rocr-runtime-5.7.1-r1/work/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/chip/gfx9 -I/var/tmp/portage/dev-libs/rocr-runtime-5.7.1-r1/work/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/chip/gfx10 -I/var/tmp/portage/dev-libs/rocr-runtime-5.7.1-r1/work/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/chip/gfx11 -isystem /usr/include/libdrm -O2 -pipe -ftree-vectorize -march=native -mtune=native -DNDEBUG -fPIC -Wall -std=c++11 -fPIC -fno-strict-aliasing -m64 -msse -msse2 -fexceptions -fno-rtti -fvisibility=hidden -Wno-error=missing-braces -Wno-error=sign-compare -Wno-sign-compare -Wno-write-strings -Wno-conversion-null -fno-math-errno -fno-threadsafe-statics -fmerge-all-constants -fms-extensions -Wno-error=comment -Wno-comment -Wno-error=pointer-arith -Wno-pointer-arith -Wno-error=unused-variable -Wno-error=unused-function -mmwaitx -Wno-deprecated-declarations -Wno-error=self-assign -Wno-error=unused-but-set-variable -MD -MT CMakeFiles/hsa-runtime64.dir/core/util/flag.cpp.o -MF CMakeFiles/hsa-runtime64.dir/core/util/flag.cpp.o.d -o CMakeFiles/hsa-runtime64.dir/core/util/flag.cpp.o -c /var/tmp/portage/dev-libs/rocr-runtime-5.7.1-r1/work/ROCR-Runtime-rocm-5.7.1/src/core/util/flag.cpp >[31mFAILED: [0mCMakeFiles/hsa-runtime64.dir/core/util/flag.cpp.o >/usr/lib/ccache/bin/clang++-17 -DAMD_INTERNAL_BUILD -DBRAHMA_BUILD=1 -DHAVE_MEMFD_CREATE -DHSA_DEPRECATED="" -DHSA_EXPORT=1 -DHSA_EXPORT_FINALIZER=1 -DHSA_EXPORT_IMAGES=1 -DHSA_IMAGE_SUPPORT -DLINUX -DLITTLEENDIAN_CPU=1 -DROCR_BUILD_ID=\"1.11.0-local-build-unknown\" -DUNIX_OS -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -D__linux__ -Dhsa_runtime64_EXPORTS -I/var/tmp/portage/dev-libs/rocr-runtime-5.7.1-r1/work/ROCR-Runtime-rocm-5.7.1/src/inc -I/var/tmp/portage/dev-libs/rocr-runtime-5.7.1-r1/work/ROCR-Runtime-rocm-5.7.1/src -I/var/tmp/portage/dev-libs/rocr-runtime-5.7.1-r1/work/ROCR-Runtime-rocm-5.7.1/src/libamdhsacode -I/var/tmp/portage/dev-libs/rocr-runtime-5.7.1-r1/work/ROCR-Runtime-rocm-5.7.1/src_build/core/runtime/trap_handler -I/var/tmp/portage/dev-libs/rocr-runtime-5.7.1-r1/work/ROCR-Runtime-rocm-5.7.1/src/image -I/var/tmp/portage/dev-libs/rocr-runtime-5.7.1-r1/work/ROCR-Runtime-rocm-5.7.1/src/image/addrlib -I/var/tmp/portage/dev-libs/rocr-runtime-5.7.1-r1/work/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/inc -I/var/tmp/portage/dev-libs/rocr-runtime-5.7.1-r1/work/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src -I/var/tmp/portage/dev-libs/rocr-runtime-5.7.1-r1/work/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/core -I/var/tmp/portage/dev-libs/rocr-runtime-5.7.1-r1/work/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/r800 -I/var/tmp/portage/dev-libs/rocr-runtime-5.7.1-r1/work/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/gfx9 -I/var/tmp/portage/dev-libs/rocr-runtime-5.7.1-r1/work/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/gfx10 -I/var/tmp/portage/dev-libs/rocr-runtime-5.7.1-r1/work/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/gfx11 -I/var/tmp/portage/dev-libs/rocr-runtime-5.7.1-r1/work/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/chip/r800 -I/var/tmp/portage/dev-libs/rocr-runtime-5.7.1-r1/work/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/chip/gfx9 -I/var/tmp/portage/dev-libs/rocr-runtime-5.7.1-r1/work/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/chip/gfx10 -I/var/tmp/portage/dev-libs/rocr-runtime-5.7.1-r1/work/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/chip/gfx11 -isystem /usr/include/libdrm -O2 -pipe -ftree-vectorize -march=native -mtune=native -DNDEBUG -fPIC -Wall -std=c++11 -fPIC -fno-strict-aliasing -m64 -msse -msse2 -fexceptions -fno-rtti -fvisibility=hidden -Wno-error=missing-braces -Wno-error=sign-compare -Wno-sign-compare -Wno-write-strings -Wno-conversion-null -fno-math-errno -fno-threadsafe-statics -fmerge-all-constants -fms-extensions -Wno-error=comment -Wno-comment -Wno-error=pointer-arith -Wno-pointer-arith -Wno-error=unused-variable -Wno-error=unused-function -mmwaitx -Wno-deprecated-declarations -Wno-error=self-assign -Wno-error=unused-but-set-variable -MD -MT CMakeFiles/hsa-runtime64.dir/core/util/flag.cpp.o -MF CMakeFiles/hsa-runtime64.dir/core/util/flag.cpp.o.d -o CMakeFiles/hsa-runtime64.dir/core/util/flag.cpp.o -c /var/tmp/portage/dev-libs/rocr-runtime-5.7.1-r1/work/ROCR-Runtime-rocm-5.7.1/src/core/util/flag.cpp >In file included from /var/tmp/portage/dev-libs/rocr-runtime-5.7.1-r1/work/ROCR-Runtime-rocm-5.7.1/src/core/util/flag.cpp:43: >In file included from /var/tmp/portage/dev-libs/rocr-runtime-5.7.1-r1/work/ROCR-Runtime-rocm-5.7.1/src/core/util/flag.h:52: >In file included from /var/tmp/portage/dev-libs/rocr-runtime-5.7.1-r1/work/ROCR-Runtime-rocm-5.7.1/src/core/util/os.h:50: >/var/tmp/portage/dev-libs/rocr-runtime-5.7.1-r1/work/ROCR-Runtime-rocm-5.7.1/src/core/util/utils.h:77:12: error: invalid operands to binary expression ('std::nullptr_t' and 'int') > 77 | if (NULL != posix_memalign(&mem, alignment, size)) > | ~~~~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >1 error generated. >[54/118] /usr/lib/ccache/bin/clang++-17 -DAMD_INTERNAL_BUILD -DBRAHMA_BUILD=1 -DHAVE_MEMFD_CREATE -DHSA_DEPRECATED="" -DHSA_EXPORT=1 -DHSA_EXPORT_FINALIZER=1 -DHSA_EXPORT_IMAGES=1 -DHSA_IMAGE_SUPPORT -DLINUX -DLITTLEENDIAN_CPU=1 -DROCR_BUILD_ID=\"1.11.0-local-build-unknown\" -DUNIX_OS -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -D__linux__ -Dhsa_runtime64_EXPORTS -I/var/tmp/portage/dev-libs/rocr-runtime-5.7.1-r1/work/ROCR-Runtime-rocm-5.7.1/src/inc -I/var/tmp/portage/dev-libs/rocr-runtime-5.7.1-r1/work/ROCR-Runtime-rocm-5.7.1/src -I/var/tmp/portage/dev-libs/rocr-runtime-5.7.1-r1/work/ROCR-Runtime-rocm-5.7.1/src/libamdhsacode -I/var/tmp/portage/dev-libs/rocr-runtime-5.7.1-r1/work/ROCR-Runtime-rocm-5.7.1/src_build/core/runtime/trap_handler -I/var/tmp/portage/dev-libs/rocr-runtime-5.7.1-r1/work/ROCR-Runtime-rocm-5.7.1/src/image -I/var/tmp/portage/dev-libs/rocr-runtime-5.7.1-r1/work/ROCR-Runtime-rocm-5.7.1/src/image/addrlib -I/var/tmp/portage/dev-libs/rocr-runtime-5.7.1-r1/work/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/inc -I/var/tmp/portage/dev-libs/rocr-runtime-5.7.1-r1/work/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src -I/var/tmp/portage/dev-libs/rocr-runtime-5.7.1-r1/work/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/core -I/var/tmp/portage/dev-libs/rocr-runtime-5.7.1-r1/work/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/r800 -I/var/tmp/portage/dev-libs/rocr-runtime-5.7.1-r1/work/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/gfx9 -I/var/tmp/portage/dev-libs/rocr-runtime-5.7.1-r1/work/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/gfx10 -I/var/tmp/portage/dev-libs/rocr-runtime-5.7.1-r1/work/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/gfx11 -I/var/tmp/portage/dev-libs/rocr-runtime-5.7.1-r1/work/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/chip/r800 -I/var/tmp/portage/dev-libs/rocr-runtime-5.7.1-r1/work/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/chip/gfx9 -I/var/tmp/portage/dev-libs/rocr-runtime-5.7.1-r1/work/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/chip/gfx10 -I/var/tmp/portage/dev-libs/rocr-runtime-5.7.1-r1/work/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/chip/gfx11 -isystem /usr/include/libdrm -O2 -pipe -ftree-vectorize -march=native -mtune=native -DNDEBUG -fPIC -Wall -std=c++11 -fPIC -fno-strict-aliasing -m64 -msse -msse2 -fexceptions -fno-rtti -fvisibility=hidden -Wno-error=missing-braces -Wno-error=sign-compare -Wno-sign-compare -Wno-write-strings -Wno-conversion-null -fno-math-errno -fno-threadsafe-statics -fmerge-all-constants -fms-extensions -Wno-error=comment -Wno-comment -Wno-error=pointer-arith -Wno-pointer-arith -Wno-error=unused-variable -Wno-error=unused-function -mmwaitx -Wno-deprecated-declarations -Wno-error=self-assign -Wno-error=unused-but-set-variable -MD -MT CMakeFiles/hsa-runtime64.dir/core/runtime/hsa_ven_amd_loader.cpp.o -MF CMakeFiles/hsa-runtime64.dir/core/runtime/hsa_ven_amd_loader.cpp.o.d -o CMakeFiles/hsa-runtime64.dir/core/runtime/hsa_ven_amd_loader.cpp.o -c /var/tmp/portage/dev-libs/rocr-runtime-5.7.1-r1/work/ROCR-Runtime-rocm-5.7.1/src/core/runtime/hsa_ven_amd_loader.cpp >[31mFAILED: [0mCMakeFiles/hsa-runtime64.dir/core/runtime/hsa_ven_amd_loader.cpp.o >/usr/lib/ccache/bin/clang++-17 -DAMD_INTERNAL_BUILD -DBRAHMA_BUILD=1 -DHAVE_MEMFD_CREATE -DHSA_DEPRECATED="" -DHSA_EXPORT=1 -DHSA_EXPORT_FINALIZER=1 -DHSA_EXPORT_IMAGES=1 -DHSA_IMAGE_SUPPORT -DLINUX -DLITTLEENDIAN_CPU=1 -DROCR_BUILD_ID=\"1.11.0-local-build-unknown\" -DUNIX_OS -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -D__linux__ -Dhsa_runtime64_EXPORTS -I/var/tmp/portage/dev-libs/rocr-runtime-5.7.1-r1/work/ROCR-Runtime-rocm-5.7.1/src/inc -I/var/tmp/portage/dev-libs/rocr-runtime-5.7.1-r1/work/ROCR-Runtime-rocm-5.7.1/src -I/var/tmp/portage/dev-libs/rocr-runtime-5.7.1-r1/work/ROCR-Runtime-rocm-5.7.1/src/libamdhsacode -I/var/tmp/portage/dev-libs/rocr-runtime-5.7.1-r1/work/ROCR-Runtime-rocm-5.7.1/src_build/core/runtime/trap_handler -I/var/tmp/portage/dev-libs/rocr-runtime-5.7.1-r1/work/ROCR-Runtime-rocm-5.7.1/src/image -I/var/tmp/portage/dev-libs/rocr-runtime-5.7.1-r1/work/ROCR-Runtime-rocm-5.7.1/src/image/addrlib -I/var/tmp/portage/dev-libs/rocr-runtime-5.7.1-r1/work/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/inc -I/var/tmp/portage/dev-libs/rocr-runtime-5.7.1-r1/work/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src -I/var/tmp/portage/dev-libs/rocr-runtime-5.7.1-r1/work/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/core -I/var/tmp/portage/dev-libs/rocr-runtime-5.7.1-r1/work/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/r800 -I/var/tmp/portage/dev-libs/rocr-runtime-5.7.1-r1/work/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/gfx9 -I/var/tmp/portage/dev-libs/rocr-runtime-5.7.1-r1/work/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/gfx10 -I/var/tmp/portage/dev-libs/rocr-runtime-5.7.1-r1/work/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/gfx11 -I/var/tmp/portage/dev-libs/rocr-runtime-5.7.1-r1/work/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/chip/r800 -I/var/tmp/portage/dev-libs/rocr-runtime-5.7.1-r1/work/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/chip/gfx9 -I/var/tmp/portage/dev-libs/rocr-runtime-5.7.1-r1/work/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/chip/gfx10 -I/var/tmp/portage/dev-libs/rocr-runtime-5.7.1-r1/work/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/chip/gfx11 -isystem /usr/include/libdrm -O2 -pipe -ftree-vectorize -march=native -mtune=native -DNDEBUG -fPIC -Wall -std=c++11 -fPIC -fno-strict-aliasing -m64 -msse -msse2 -fexceptions -fno-rtti -fvisibility=hidden -Wno-error=missing-braces -Wno-error=sign-compare -Wno-sign-compare -Wno-write-strings -Wno-conversion-null -fno-math-errno -fno-threadsafe-statics -fmerge-all-constants -fms-extensions -Wno-error=comment -Wno-comment -Wno-error=pointer-arith -Wno-pointer-arith -Wno-error=unused-variable -Wno-error=unused-function -mmwaitx -Wno-deprecated-declarations -Wno-error=self-assign -Wno-error=unused-but-set-variable -MD -MT CMakeFiles/hsa-runtime64.dir/core/runtime/hsa_ven_amd_loader.cpp.o -MF CMakeFiles/hsa-runtime64.dir/core/runtime/hsa_ven_amd_loader.cpp.o.d -o CMakeFiles/hsa-runtime64.dir/core/runtime/hsa_ven_amd_loader.cpp.o -c /var/tmp/portage/dev-libs/rocr-runtime-5.7.1-r1/work/ROCR-Runtime-rocm-5.7.1/src/core/runtime/hsa_ven_amd_loader.cpp >In file included from /var/tmp/portage/dev-libs/rocr-runtime-5.7.1-r1/work/ROCR-Runtime-rocm-5.7.1/src/core/runtime/hsa_ven_amd_loader.cpp:46: >In file included from /var/tmp/portage/dev-libs/rocr-runtime-5.7.1-r1/work/ROCR-Runtime-rocm-5.7.1/src/core/inc/runtime.h:55: >In file included from /var/tmp/portage/dev-libs/rocr-runtime-5.7.1-r1/work/ROCR-Runtime-rocm-5.7.1/src/core/inc/hsa_ext_interface.h:51: >In file included from /var/tmp/portage/dev-libs/rocr-runtime-5.7.1-r1/work/ROCR-Runtime-rocm-5.7.1/src/core/util/os.h:50: >/var/tmp/portage/dev-libs/rocr-runtime-5.7.1-r1/work/ROCR-Runtime-rocm-5.7.1/src/core/util/utils.h:77:12: error: invalid operands to binary expression ('std::nullptr_t' and 'int') > 77 | if (NULL != posix_memalign(&mem, alignment, size)) > | ~~~~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >In file included from /var/tmp/portage/dev-libs/rocr-runtime-5.7.1-r1/work/ROCR-Runtime-rocm-5.7.1/src/core/runtime/hsa_ven_amd_loader.cpp:46: >In file included from /var/tmp/portage/dev-libs/rocr-runtime-5.7.1-r1/work/ROCR-Runtime-rocm-5.7.1/src/core/inc/runtime.h:59: >In file included from /var/tmp/portage/dev-libs/rocr-runtime-5.7.1-r1/work/ROCR-Runtime-rocm-5.7.1/src/core/inc/agent.h:51: >/var/tmp/portage/dev-libs/rocr-runtime-5.7.1-r1/work/ROCR-Runtime-rocm-5.7.1/src/core/inc/checked.h:61:24: error: assigning to 'uintptr_t' (aka 'unsigned long') from incompatible type 'std::nullptr_t' > 61 | ~Check() { object_ = NULL; } > | ^~~~ >/usr/include/unistd.h:21:14: note: expanded from macro 'NULL' > 21 | #define NULL nullptr > | ^~~~~~~ >2 errors generated. >[55/118] /usr/lib/ccache/bin/clang++-17 -DAMD_INTERNAL_BUILD -DBRAHMA_BUILD=1 -DHAVE_MEMFD_CREATE -DHSA_DEPRECATED="" -DHSA_EXPORT=1 -DHSA_EXPORT_FINALIZER=1 -DHSA_EXPORT_IMAGES=1 -DHSA_IMAGE_SUPPORT -DLINUX -DLITTLEENDIAN_CPU=1 -DROCR_BUILD_ID=\"1.11.0-local-build-unknown\" -DUNIX_OS -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -D__linux__ -Dhsa_runtime64_EXPORTS -I/var/tmp/portage/dev-libs/rocr-runtime-5.7.1-r1/work/ROCR-Runtime-rocm-5.7.1/src/inc -I/var/tmp/portage/dev-libs/rocr-runtime-5.7.1-r1/work/ROCR-Runtime-rocm-5.7.1/src -I/var/tmp/portage/dev-libs/rocr-runtime-5.7.1-r1/work/ROCR-Runtime-rocm-5.7.1/src/libamdhsacode -I/var/tmp/portage/dev-libs/rocr-runtime-5.7.1-r1/work/ROCR-Runtime-rocm-5.7.1/src_build/core/runtime/trap_handler -I/var/tmp/portage/dev-libs/rocr-runtime-5.7.1-r1/work/ROCR-Runtime-rocm-5.7.1/src/image -I/var/tmp/portage/dev-libs/rocr-runtime-5.7.1-r1/work/ROCR-Runtime-rocm-5.7.1/src/image/addrlib -I/var/tmp/portage/dev-libs/rocr-runtime-5.7.1-r1/work/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/inc -I/var/tmp/portage/dev-libs/rocr-runtime-5.7.1-r1/work/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src -I/var/tmp/portage/dev-libs/rocr-runtime-5.7.1-r1/work/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/core -I/var/tmp/portage/dev-libs/rocr-runtime-5.7.1-r1/work/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/r800 -I/var/tmp/portage/dev-libs/rocr-runtime-5.7.1-r1/work/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/gfx9 -I/var/tmp/portage/dev-libs/rocr-runtime-5.7.1-r1/work/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/gfx10 -I/var/tmp/portage/dev-libs/rocr-runtime-5.7.1-r1/work/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/gfx11 -I/var/tmp/portage/dev-libs/rocr-runtime-5.7.1-r1/work/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/chip/r800 -I/var/tmp/portage/dev-libs/rocr-runtime-5.7.1-r1/work/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/chip/gfx9 -I/var/tmp/portage/dev-libs/rocr-runtime-5.7.1-r1/work/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/chip/gfx10 -I/var/tmp/portage/dev-libs/rocr-runtime-5.7.1-r1/work/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/chip/gfx11 -isystem /usr/include/libdrm -O2 -pipe -ftree-vectorize -march=native -mtune=native -DNDEBUG -fPIC -Wall -std=c++11 -fPIC -fno-strict-aliasing -m64 -msse -msse2 -fexceptions -fno-rtti -fvisibility=hidden -Wno-error=missing-braces -Wno-error=sign-compare -Wno-sign-compare -Wno-write-strings -Wno-conversion-null -fno-math-errno -fno-threadsafe-statics -fmerge-all-constants -fms-extensions -Wno-error=comment -Wno-comment -Wno-error=pointer-arith -Wno-pointer-arith -Wno-error=unused-variable -Wno-error=unused-function -mmwaitx -Wno-deprecated-declarations -Wno-error=self-assign -Wno-error=unused-but-set-variable -MD -MT CMakeFiles/hsa-runtime64.dir/core/runtime/amd_cpu_agent.cpp.o -MF CMakeFiles/hsa-runtime64.dir/core/runtime/amd_cpu_agent.cpp.o.d -o CMakeFiles/hsa-runtime64.dir/core/runtime/amd_cpu_agent.cpp.o -c /var/tmp/portage/dev-libs/rocr-runtime-5.7.1-r1/work/ROCR-Runtime-rocm-5.7.1/src/core/runtime/amd_cpu_agent.cpp >[31mFAILED: [0mCMakeFiles/hsa-runtime64.dir/core/runtime/amd_cpu_agent.cpp.o >/usr/lib/ccache/bin/clang++-17 -DAMD_INTERNAL_BUILD -DBRAHMA_BUILD=1 -DHAVE_MEMFD_CREATE -DHSA_DEPRECATED="" -DHSA_EXPORT=1 -DHSA_EXPORT_FINALIZER=1 -DHSA_EXPORT_IMAGES=1 -DHSA_IMAGE_SUPPORT -DLINUX -DLITTLEENDIAN_CPU=1 -DROCR_BUILD_ID=\"1.11.0-local-build-unknown\" -DUNIX_OS -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -D__linux__ -Dhsa_runtime64_EXPORTS -I/var/tmp/portage/dev-libs/rocr-runtime-5.7.1-r1/work/ROCR-Runtime-rocm-5.7.1/src/inc -I/var/tmp/portage/dev-libs/rocr-runtime-5.7.1-r1/work/ROCR-Runtime-rocm-5.7.1/src -I/var/tmp/portage/dev-libs/rocr-runtime-5.7.1-r1/work/ROCR-Runtime-rocm-5.7.1/src/libamdhsacode -I/var/tmp/portage/dev-libs/rocr-runtime-5.7.1-r1/work/ROCR-Runtime-rocm-5.7.1/src_build/core/runtime/trap_handler -I/var/tmp/portage/dev-libs/rocr-runtime-5.7.1-r1/work/ROCR-Runtime-rocm-5.7.1/src/image -I/var/tmp/portage/dev-libs/rocr-runtime-5.7.1-r1/work/ROCR-Runtime-rocm-5.7.1/src/image/addrlib -I/var/tmp/portage/dev-libs/rocr-runtime-5.7.1-r1/work/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/inc -I/var/tmp/portage/dev-libs/rocr-runtime-5.7.1-r1/work/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src -I/var/tmp/portage/dev-libs/rocr-runtime-5.7.1-r1/work/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/core -I/var/tmp/portage/dev-libs/rocr-runtime-5.7.1-r1/work/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/r800 -I/var/tmp/portage/dev-libs/rocr-runtime-5.7.1-r1/work/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/gfx9 -I/var/tmp/portage/dev-libs/rocr-runtime-5.7.1-r1/work/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/gfx10 -I/var/tmp/portage/dev-libs/rocr-runtime-5.7.1-r1/work/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/gfx11 -I/var/tmp/portage/dev-libs/rocr-runtime-5.7.1-r1/work/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/chip/r800 -I/var/tmp/portage/dev-libs/rocr-runtime-5.7.1-r1/work/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/chip/gfx9 -I/var/tmp/portage/dev-libs/rocr-runtime-5.7.1-r1/work/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/chip/gfx10 -I/var/tmp/portage/dev-libs/rocr-runtime-5.7.1-r1/work/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/chip/gfx11 -isystem /usr/include/libdrm -O2 -pipe -ftree-vectorize -march=native -mtune=native -DNDEBUG -fPIC -Wall -std=c++11 -fPIC -fno-strict-aliasing -m64 -msse -msse2 -fexceptions -fno-rtti -fvisibility=hidden -Wno-error=missing-braces -Wno-error=sign-compare -Wno-sign-compare -Wno-write-strings -Wno-conversion-null -fno-math-errno -fno-threadsafe-statics -fmerge-all-constants -fms-extensions -Wno-error=comment -Wno-comment -Wno-error=pointer-arith -Wno-pointer-arith -Wno-error=unused-variable -Wno-error=unused-function -mmwaitx -Wno-deprecated-declarations -Wno-error=self-assign -Wno-error=unused-but-set-variable -MD -MT CMakeFiles/hsa-runtime64.dir/core/runtime/amd_cpu_agent.cpp.o -MF CMakeFiles/hsa-runtime64.dir/core/runtime/amd_cpu_agent.cpp.o.d -o CMakeFiles/hsa-runtime64.dir/core/runtime/amd_cpu_agent.cpp.o -c /var/tmp/portage/dev-libs/rocr-runtime-5.7.1-r1/work/ROCR-Runtime-rocm-5.7.1/src/core/runtime/amd_cpu_agent.cpp >In file included from /var/tmp/portage/dev-libs/rocr-runtime-5.7.1-r1/work/ROCR-Runtime-rocm-5.7.1/src/core/runtime/amd_cpu_agent.cpp:43: >In file included from /var/tmp/portage/dev-libs/rocr-runtime-5.7.1-r1/work/ROCR-Runtime-rocm-5.7.1/src/core/inc/amd_cpu_agent.h:52: >In file included from /var/tmp/portage/dev-libs/rocr-runtime-5.7.1-r1/work/ROCR-Runtime-rocm-5.7.1/src/core/inc/runtime.h:55: >In file included from /var/tmp/portage/dev-libs/rocr-runtime-5.7.1-r1/work/ROCR-Runtime-rocm-5.7.1/src/core/inc/hsa_ext_interface.h:51: >In file included from /var/tmp/portage/dev-libs/rocr-runtime-5.7.1-r1/work/ROCR-Runtime-rocm-5.7.1/src/core/util/os.h:50: >/var/tmp/portage/dev-libs/rocr-runtime-5.7.1-r1/work/ROCR-Runtime-rocm-5.7.1/src/core/util/utils.h:77:12: error: invalid operands to binary expression ('std::nullptr_t' and 'int') > 77 | if (NULL != posix_memalign(&mem, alignment, size)) > | ~~~~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >In file included from /var/tmp/portage/dev-libs/rocr-runtime-5.7.1-r1/work/ROCR-Runtime-rocm-5.7.1/src/core/runtime/amd_cpu_agent.cpp:43: >In file included from /var/tmp/portage/dev-libs/rocr-runtime-5.7.1-r1/work/ROCR-Runtime-rocm-5.7.1/src/core/inc/amd_cpu_agent.h:52: >In file included from /var/tmp/portage/dev-libs/rocr-runtime-5.7.1-r1/work/ROCR-Runtime-rocm-5.7.1/src/core/inc/runtime.h:59: >In file included from /var/tmp/portage/dev-libs/rocr-runtime-5.7.1-r1/work/ROCR-Runtime-rocm-5.7.1/src/core/inc/agent.h:51: >/var/tmp/portage/dev-libs/rocr-runtime-5.7.1-r1/work/ROCR-Runtime-rocm-5.7.1/src/core/inc/checked.h:61:24: error: assigning to 'uintptr_t' (aka 'unsigned long') from incompatible type 'std::nullptr_t' > 61 | ~Check() { object_ = NULL; } > | ^~~~ >/usr/include/locale.h:11:14: note: expanded from macro 'NULL' > 11 | #define NULL nullptr > | ^~~~~~~ >In file included from /var/tmp/portage/dev-libs/rocr-runtime-5.7.1-r1/work/ROCR-Runtime-rocm-5.7.1/src/core/runtime/amd_cpu_agent.cpp:49: >In file included from /var/tmp/portage/dev-libs/rocr-runtime-5.7.1-r1/work/ROCR-Runtime-rocm-5.7.1/src/core/inc/amd_memory_region.h:53: >/var/tmp/portage/dev-libs/rocr-runtime-5.7.1-r1/work/ROCR-Runtime-rocm-5.7.1/src/core/util/simple_heap.h:192:12: warning: unused variable 'err' [-Wunused-variable] > 192 | bool err = discardBlock(reinterpret_cast<void*>(base)); > | ^~~ >1 warning and 2 errors generated. >[56/118] /usr/lib/ccache/bin/clang++-17 -DAMD_INTERNAL_BUILD -DBRAHMA_BUILD=1 -DHAVE_MEMFD_CREATE -DHSA_DEPRECATED="" -DHSA_EXPORT=1 -DHSA_EXPORT_FINALIZER=1 -DHSA_EXPORT_IMAGES=1 -DHSA_IMAGE_SUPPORT -DLINUX -DLITTLEENDIAN_CPU=1 -DROCR_BUILD_ID=\"1.11.0-local-build-unknown\" -DUNIX_OS -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -D__linux__ -Dhsa_runtime64_EXPORTS -I/var/tmp/portage/dev-libs/rocr-runtime-5.7.1-r1/work/ROCR-Runtime-rocm-5.7.1/src/inc -I/var/tmp/portage/dev-libs/rocr-runtime-5.7.1-r1/work/ROCR-Runtime-rocm-5.7.1/src -I/var/tmp/portage/dev-libs/rocr-runtime-5.7.1-r1/work/ROCR-Runtime-rocm-5.7.1/src/libamdhsacode -I/var/tmp/portage/dev-libs/rocr-runtime-5.7.1-r1/work/ROCR-Runtime-rocm-5.7.1/src_build/core/runtime/trap_handler -I/var/tmp/portage/dev-libs/rocr-runtime-5.7.1-r1/work/ROCR-Runtime-rocm-5.7.1/src/image -I/var/tmp/portage/dev-libs/rocr-runtime-5.7.1-r1/work/ROCR-Runtime-rocm-5.7.1/src/image/addrlib -I/var/tmp/portage/dev-libs/rocr-runtime-5.7.1-r1/work/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/inc -I/var/tmp/portage/dev-libs/rocr-runtime-5.7.1-r1/work/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src -I/var/tmp/portage/dev-libs/rocr-runtime-5.7.1-r1/work/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/core -I/var/tmp/portage/dev-libs/rocr-runtime-5.7.1-r1/work/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/r800 -I/var/tmp/portage/dev-libs/rocr-runtime-5.7.1-r1/work/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/gfx9 -I/var/tmp/portage/dev-libs/rocr-runtime-5.7.1-r1/work/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/gfx10 -I/var/tmp/portage/dev-libs/rocr-runtime-5.7.1-r1/work/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/gfx11 -I/var/tmp/portage/dev-libs/rocr-runtime-5.7.1-r1/work/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/chip/r800 -I/var/tmp/portage/dev-libs/rocr-runtime-5.7.1-r1/work/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/chip/gfx9 -I/var/tmp/portage/dev-libs/rocr-runtime-5.7.1-r1/work/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/chip/gfx10 -I/var/tmp/portage/dev-libs/rocr-runtime-5.7.1-r1/work/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/chip/gfx11 -isystem /usr/include/libdrm -O2 -pipe -ftree-vectorize -march=native -mtune=native -DNDEBUG -fPIC -Wall -std=c++11 -fPIC -fno-strict-aliasing -m64 -msse -msse2 -fexceptions -fno-rtti -fvisibility=hidden -Wno-error=missing-braces -Wno-error=sign-compare -Wno-sign-compare -Wno-write-strings -Wno-conversion-null -fno-math-errno -fno-threadsafe-statics -fmerge-all-constants -fms-extensions -Wno-error=comment -Wno-comment -Wno-error=pointer-arith -Wno-pointer-arith -Wno-error=unused-variable -Wno-error=unused-function -mmwaitx -Wno-deprecated-declarations -Wno-error=self-assign -Wno-error=unused-but-set-variable -MD -MT CMakeFiles/hsa-runtime64.dir/core/util/lnx/os_linux.cpp.o -MF CMakeFiles/hsa-runtime64.dir/core/util/lnx/os_linux.cpp.o.d -o CMakeFiles/hsa-runtime64.dir/core/util/lnx/os_linux.cpp.o -c /var/tmp/portage/dev-libs/rocr-runtime-5.7.1-r1/work/ROCR-Runtime-rocm-5.7.1/src/core/util/lnx/os_linux.cpp >[31mFAILED: [0mCMakeFiles/hsa-runtime64.dir/core/util/lnx/os_linux.cpp.o >/usr/lib/ccache/bin/clang++-17 -DAMD_INTERNAL_BUILD -DBRAHMA_BUILD=1 -DHAVE_MEMFD_CREATE -DHSA_DEPRECATED="" -DHSA_EXPORT=1 -DHSA_EXPORT_FINALIZER=1 -DHSA_EXPORT_IMAGES=1 -DHSA_IMAGE_SUPPORT -DLINUX -DLITTLEENDIAN_CPU=1 -DROCR_BUILD_ID=\"1.11.0-local-build-unknown\" -DUNIX_OS -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -D__linux__ -Dhsa_runtime64_EXPORTS -I/var/tmp/portage/dev-libs/rocr-runtime-5.7.1-r1/work/ROCR-Runtime-rocm-5.7.1/src/inc -I/var/tmp/portage/dev-libs/rocr-runtime-5.7.1-r1/work/ROCR-Runtime-rocm-5.7.1/src -I/var/tmp/portage/dev-libs/rocr-runtime-5.7.1-r1/work/ROCR-Runtime-rocm-5.7.1/src/libamdhsacode -I/var/tmp/portage/dev-libs/rocr-runtime-5.7.1-r1/work/ROCR-Runtime-rocm-5.7.1/src_build/core/runtime/trap_handler -I/var/tmp/portage/dev-libs/rocr-runtime-5.7.1-r1/work/ROCR-Runtime-rocm-5.7.1/src/image -I/var/tmp/portage/dev-libs/rocr-runtime-5.7.1-r1/work/ROCR-Runtime-rocm-5.7.1/src/image/addrlib -I/var/tmp/portage/dev-libs/rocr-runtime-5.7.1-r1/work/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/inc -I/var/tmp/portage/dev-libs/rocr-runtime-5.7.1-r1/work/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src -I/var/tmp/portage/dev-libs/rocr-runtime-5.7.1-r1/work/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/core -I/var/tmp/portage/dev-libs/rocr-runtime-5.7.1-r1/work/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/r800 -I/var/tmp/portage/dev-libs/rocr-runtime-5.7.1-r1/work/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/gfx9 -I/var/tmp/portage/dev-libs/rocr-runtime-5.7.1-r1/work/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/gfx10 -I/var/tmp/portage/dev-libs/rocr-runtime-5.7.1-r1/work/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/gfx11 -I/var/tmp/portage/dev-libs/rocr-runtime-5.7.1-r1/work/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/chip/r800 -I/var/tmp/portage/dev-libs/rocr-runtime-5.7.1-r1/work/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/chip/gfx9 -I/var/tmp/portage/dev-libs/rocr-runtime-5.7.1-r1/work/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/chip/gfx10 -I/var/tmp/portage/dev-libs/rocr-runtime-5.7.1-r1/work/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/chip/gfx11 -isystem /usr/include/libdrm -O2 -pipe -ftree-vectorize -march=native -mtune=native -DNDEBUG -fPIC -Wall -std=c++11 -fPIC -fno-strict-aliasing -m64 -msse -msse2 -fexceptions -fno-rtti -fvisibility=hidden -Wno-error=missing-braces -Wno-error=sign-compare -Wno-sign-compare -Wno-write-strings -Wno-conversion-null -fno-math-errno -fno-threadsafe-statics -fmerge-all-constants -fms-extensions -Wno-error=comment -Wno-comment -Wno-error=pointer-arith -Wno-pointer-arith -Wno-error=unused-variable -Wno-error=unused-function -mmwaitx -Wno-deprecated-declarations -Wno-error=self-assign -Wno-error=unused-but-set-variable -MD -MT CMakeFiles/hsa-runtime64.dir/core/util/lnx/os_linux.cpp.o -MF CMakeFiles/hsa-runtime64.dir/core/util/lnx/os_linux.cpp.o.d -o CMakeFiles/hsa-runtime64.dir/core/util/lnx/os_linux.cpp.o -c /var/tmp/portage/dev-libs/rocr-runtime-5.7.1-r1/work/ROCR-Runtime-rocm-5.7.1/src/core/util/lnx/os_linux.cpp >In file included from /var/tmp/portage/dev-libs/rocr-runtime-5.7.1-r1/work/ROCR-Runtime-rocm-5.7.1/src/core/util/lnx/os_linux.cpp:44: >In file included from /var/tmp/portage/dev-libs/rocr-runtime-5.7.1-r1/work/ROCR-Runtime-rocm-5.7.1/src/core/util/os.h:50: >/var/tmp/portage/dev-libs/rocr-runtime-5.7.1-r1/work/ROCR-Runtime-rocm-5.7.1/src/core/util/utils.h:77:12: error: invalid operands to binary expression ('std::nullptr_t' and 'int') > 77 | if (NULL != posix_memalign(&mem, alignment, size)) > | ~~~~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >In file included from /var/tmp/portage/dev-libs/rocr-runtime-5.7.1-r1/work/ROCR-Runtime-rocm-5.7.1/src/core/util/lnx/os_linux.cpp:62: >In file included from /var/tmp/portage/dev-libs/rocr-runtime-5.7.1-r1/work/ROCR-Runtime-rocm-5.7.1/src/core/inc/runtime.h:59: >In file included from /var/tmp/portage/dev-libs/rocr-runtime-5.7.1-r1/work/ROCR-Runtime-rocm-5.7.1/src/core/inc/agent.h:51: >/var/tmp/portage/dev-libs/rocr-runtime-5.7.1-r1/work/ROCR-Runtime-rocm-5.7.1/src/core/inc/checked.h:61:24: error: assigning to 'uintptr_t' (aka 'unsigned long') from incompatible type 'std::nullptr_t' > 61 | ~Check() { object_ = NULL; } > | ^~~~ >/usr/include/unistd.h:21:14: note: expanded from macro 'NULL' > 21 | #define NULL nullptr > | ^~~~~~~ >/var/tmp/portage/dev-libs/rocr-runtime-5.7.1-r1/work/ROCR-Runtime-rocm-5.7.1/src/core/util/lnx/os_linux.cpp:125:13: error: use of undeclared identifier 'pthread_attr_setaffinity_np'; did you mean 'pthread_setaffinity_np'? > 125 | err = pthread_attr_setaffinity_np(&attrib, CPU_ALLOC_SIZE(cores), cpuset); > | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ > | pthread_setaffinity_np >/usr/include/pthread.h:221:5: note: 'pthread_setaffinity_np' declared here > 221 | int pthread_setaffinity_np(pthread_t, size_t, const struct cpu_set_t *); > | ^ >/var/tmp/portage/dev-libs/rocr-runtime-5.7.1-r1/work/ROCR-Runtime-rocm-5.7.1/src/core/util/lnx/os_linux.cpp:125:41: error: cannot initialize a parameter of type 'pthread_t' (aka 'unsigned long') with an rvalue of type 'pthread_attr_t *' > 125 | err = pthread_attr_setaffinity_np(&attrib, CPU_ALLOC_SIZE(cores), cpuset); > | ^~~~~~~ >/usr/include/pthread.h:221:37: note: passing argument to parameter here > 221 | int pthread_setaffinity_np(pthread_t, size_t, const struct cpu_set_t *); > | ^ >/var/tmp/portage/dev-libs/rocr-runtime-5.7.1-r1/work/ROCR-Runtime-rocm-5.7.1/src/core/util/lnx/os_linux.cpp:620:48: error: use of undeclared identifier 'PTHREAD_RWLOCK_PREFER_WRITER_NONRECURSIVE_NP' > 620 | err = pthread_rwlockattr_setkind_np(&attrib, PTHREAD_RWLOCK_PREFER_WRITER_NONRECURSIVE_NP); > | ^ >5 errors generated. >[57/118] /usr/lib/ccache/bin/clang++-17 -DAMD_INTERNAL_BUILD -DBRAHMA_BUILD=1 -DHAVE_MEMFD_CREATE -DHSA_DEPRECATED="" -DHSA_EXPORT=1 -DHSA_EXPORT_FINALIZER=1 -DHSA_EXPORT_IMAGES=1 -DHSA_IMAGE_SUPPORT -DLINUX -DLITTLEENDIAN_CPU=1 -DROCR_BUILD_ID=\"1.11.0-local-build-unknown\" -DUNIX_OS -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -D__linux__ -Dhsa_runtime64_EXPORTS -I/var/tmp/portage/dev-libs/rocr-runtime-5.7.1-r1/work/ROCR-Runtime-rocm-5.7.1/src/inc -I/var/tmp/portage/dev-libs/rocr-runtime-5.7.1-r1/work/ROCR-Runtime-rocm-5.7.1/src -I/var/tmp/portage/dev-libs/rocr-runtime-5.7.1-r1/work/ROCR-Runtime-rocm-5.7.1/src/libamdhsacode -I/var/tmp/portage/dev-libs/rocr-runtime-5.7.1-r1/work/ROCR-Runtime-rocm-5.7.1/src_build/core/runtime/trap_handler -I/var/tmp/portage/dev-libs/rocr-runtime-5.7.1-r1/work/ROCR-Runtime-rocm-5.7.1/src/image -I/var/tmp/portage/dev-libs/rocr-runtime-5.7.1-r1/work/ROCR-Runtime-rocm-5.7.1/src/image/addrlib -I/var/tmp/portage/dev-libs/rocr-runtime-5.7.1-r1/work/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/inc -I/var/tmp/portage/dev-libs/rocr-runtime-5.7.1-r1/work/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src -I/var/tmp/portage/dev-libs/rocr-runtime-5.7.1-r1/work/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/core -I/var/tmp/portage/dev-libs/rocr-runtime-5.7.1-r1/work/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/r800 -I/var/tmp/portage/dev-libs/rocr-runtime-5.7.1-r1/work/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/gfx9 -I/var/tmp/portage/dev-libs/rocr-runtime-5.7.1-r1/work/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/gfx10 -I/var/tmp/portage/dev-libs/rocr-runtime-5.7.1-r1/work/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/gfx11 -I/var/tmp/portage/dev-libs/rocr-runtime-5.7.1-r1/work/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/chip/r800 -I/var/tmp/portage/dev-libs/rocr-runtime-5.7.1-r1/work/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/chip/gfx9 -I/var/tmp/portage/dev-libs/rocr-runtime-5.7.1-r1/work/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/chip/gfx10 -I/var/tmp/portage/dev-libs/rocr-runtime-5.7.1-r1/work/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/chip/gfx11 -isystem /usr/include/libdrm -O2 -pipe -ftree-vectorize -march=native -mtune=native -DNDEBUG -fPIC -Wall -std=c++11 -fPIC -fno-strict-aliasing -m64 -msse -msse2 -fexceptions -fno-rtti -fvisibility=hidden -Wno-error=missing-braces -Wno-error=sign-compare -Wno-sign-compare -Wno-write-strings -Wno-conversion-null -fno-math-errno -fno-threadsafe-statics -fmerge-all-constants -fms-extensions -Wno-error=comment -Wno-comment -Wno-error=pointer-arith -Wno-pointer-arith -Wno-error=unused-variable -Wno-error=unused-function -mmwaitx -Wno-deprecated-declarations -Wno-error=self-assign -Wno-error=unused-but-set-variable -MD -MT CMakeFiles/hsa-runtime64.dir/core/runtime/amd_hsa_loader.cpp.o -MF CMakeFiles/hsa-runtime64.dir/core/runtime/amd_hsa_loader.cpp.o.d -o CMakeFiles/hsa-runtime64.dir/core/runtime/amd_hsa_loader.cpp.o -c /var/tmp/portage/dev-libs/rocr-runtime-5.7.1-r1/work/ROCR-Runtime-rocm-5.7.1/src/core/runtime/amd_hsa_loader.cpp >[31mFAILED: [0mCMakeFiles/hsa-runtime64.dir/core/runtime/amd_hsa_loader.cpp.o >/usr/lib/ccache/bin/clang++-17 -DAMD_INTERNAL_BUILD -DBRAHMA_BUILD=1 -DHAVE_MEMFD_CREATE -DHSA_DEPRECATED="" -DHSA_EXPORT=1 -DHSA_EXPORT_FINALIZER=1 -DHSA_EXPORT_IMAGES=1 -DHSA_IMAGE_SUPPORT -DLINUX -DLITTLEENDIAN_CPU=1 -DROCR_BUILD_ID=\"1.11.0-local-build-unknown\" -DUNIX_OS -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -D__linux__ -Dhsa_runtime64_EXPORTS -I/var/tmp/portage/dev-libs/rocr-runtime-5.7.1-r1/work/ROCR-Runtime-rocm-5.7.1/src/inc -I/var/tmp/portage/dev-libs/rocr-runtime-5.7.1-r1/work/ROCR-Runtime-rocm-5.7.1/src -I/var/tmp/portage/dev-libs/rocr-runtime-5.7.1-r1/work/ROCR-Runtime-rocm-5.7.1/src/libamdhsacode -I/var/tmp/portage/dev-libs/rocr-runtime-5.7.1-r1/work/ROCR-Runtime-rocm-5.7.1/src_build/core/runtime/trap_handler -I/var/tmp/portage/dev-libs/rocr-runtime-5.7.1-r1/work/ROCR-Runtime-rocm-5.7.1/src/image -I/var/tmp/portage/dev-libs/rocr-runtime-5.7.1-r1/work/ROCR-Runtime-rocm-5.7.1/src/image/addrlib -I/var/tmp/portage/dev-libs/rocr-runtime-5.7.1-r1/work/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/inc -I/var/tmp/portage/dev-libs/rocr-runtime-5.7.1-r1/work/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src -I/var/tmp/portage/dev-libs/rocr-runtime-5.7.1-r1/work/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/core -I/var/tmp/portage/dev-libs/rocr-runtime-5.7.1-r1/work/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/r800 -I/var/tmp/portage/dev-libs/rocr-runtime-5.7.1-r1/work/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/gfx9 -I/var/tmp/portage/dev-libs/rocr-runtime-5.7.1-r1/work/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/gfx10 -I/var/tmp/portage/dev-libs/rocr-runtime-5.7.1-r1/work/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/gfx11 -I/var/tmp/portage/dev-libs/rocr-runtime-5.7.1-r1/work/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/chip/r800 -I/var/tmp/portage/dev-libs/rocr-runtime-5.7.1-r1/work/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/chip/gfx9 -I/var/tmp/portage/dev-libs/rocr-runtime-5.7.1-r1/work/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/chip/gfx10 -I/var/tmp/portage/dev-libs/rocr-runtime-5.7.1-r1/work/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/chip/gfx11 -isystem /usr/include/libdrm -O2 -pipe -ftree-vectorize -march=native -mtune=native -DNDEBUG -fPIC -Wall -std=c++11 -fPIC -fno-strict-aliasing -m64 -msse -msse2 -fexceptions -fno-rtti -fvisibility=hidden -Wno-error=missing-braces -Wno-error=sign-compare -Wno-sign-compare -Wno-write-strings -Wno-conversion-null -fno-math-errno -fno-threadsafe-statics -fmerge-all-constants -fms-extensions -Wno-error=comment -Wno-comment -Wno-error=pointer-arith -Wno-pointer-arith -Wno-error=unused-variable -Wno-error=unused-function -mmwaitx -Wno-deprecated-declarations -Wno-error=self-assign -Wno-error=unused-but-set-variable -MD -MT CMakeFiles/hsa-runtime64.dir/core/runtime/amd_hsa_loader.cpp.o -MF CMakeFiles/hsa-runtime64.dir/core/runtime/amd_hsa_loader.cpp.o.d -o CMakeFiles/hsa-runtime64.dir/core/runtime/amd_hsa_loader.cpp.o -c /var/tmp/portage/dev-libs/rocr-runtime-5.7.1-r1/work/ROCR-Runtime-rocm-5.7.1/src/core/runtime/amd_hsa_loader.cpp >In file included from /var/tmp/portage/dev-libs/rocr-runtime-5.7.1-r1/work/ROCR-Runtime-rocm-5.7.1/src/core/runtime/amd_hsa_loader.cpp:44: >In file included from /var/tmp/portage/dev-libs/rocr-runtime-5.7.1-r1/work/ROCR-Runtime-rocm-5.7.1/src/core/inc/runtime.h:55: >In file included from /var/tmp/portage/dev-libs/rocr-runtime-5.7.1-r1/work/ROCR-Runtime-rocm-5.7.1/src/core/inc/hsa_ext_interface.h:51: >In file included from /var/tmp/portage/dev-libs/rocr-runtime-5.7.1-r1/work/ROCR-Runtime-rocm-5.7.1/src/core/util/os.h:50: >/var/tmp/portage/dev-libs/rocr-runtime-5.7.1-r1/work/ROCR-Runtime-rocm-5.7.1/src/core/util/utils.h:77:12: error: invalid operands to binary expression ('std::nullptr_t' and 'int') > 77 | if (NULL != posix_memalign(&mem, alignment, size)) > | ~~~~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >In file included from /var/tmp/portage/dev-libs/rocr-runtime-5.7.1-r1/work/ROCR-Runtime-rocm-5.7.1/src/core/runtime/amd_hsa_loader.cpp:44: >In file included from /var/tmp/portage/dev-libs/rocr-runtime-5.7.1-r1/work/ROCR-Runtime-rocm-5.7.1/src/core/inc/runtime.h:59: >In file included from /var/tmp/portage/dev-libs/rocr-runtime-5.7.1-r1/work/ROCR-Runtime-rocm-5.7.1/src/core/inc/agent.h:51: >/var/tmp/portage/dev-libs/rocr-runtime-5.7.1-r1/work/ROCR-Runtime-rocm-5.7.1/src/core/inc/checked.h:61:24: error: assigning to 'uintptr_t' (aka 'unsigned long') from incompatible type 'std::nullptr_t' > 61 | ~Check() { object_ = NULL; } > | ^~~~ >/usr/include/unistd.h:21:14: note: expanded from macro 'NULL' > 21 | #define NULL nullptr > | ^~~~~~~ >2 errors generated. >[58/118] /usr/lib/ccache/bin/clang++-17 -DAMD_INTERNAL_BUILD -DBRAHMA_BUILD=1 -DHAVE_MEMFD_CREATE -DHSA_DEPRECATED="" -DHSA_EXPORT=1 -DHSA_EXPORT_FINALIZER=1 -DHSA_EXPORT_IMAGES=1 -DHSA_IMAGE_SUPPORT -DLINUX -DLITTLEENDIAN_CPU=1 -DROCR_BUILD_ID=\"1.11.0-local-build-unknown\" -DUNIX_OS -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -D__linux__ -Dhsa_runtime64_EXPORTS -I/var/tmp/portage/dev-libs/rocr-runtime-5.7.1-r1/work/ROCR-Runtime-rocm-5.7.1/src/inc -I/var/tmp/portage/dev-libs/rocr-runtime-5.7.1-r1/work/ROCR-Runtime-rocm-5.7.1/src -I/var/tmp/portage/dev-libs/rocr-runtime-5.7.1-r1/work/ROCR-Runtime-rocm-5.7.1/src/libamdhsacode -I/var/tmp/portage/dev-libs/rocr-runtime-5.7.1-r1/work/ROCR-Runtime-rocm-5.7.1/src_build/core/runtime/trap_handler -I/var/tmp/portage/dev-libs/rocr-runtime-5.7.1-r1/work/ROCR-Runtime-rocm-5.7.1/src/image -I/var/tmp/portage/dev-libs/rocr-runtime-5.7.1-r1/work/ROCR-Runtime-rocm-5.7.1/src/image/addrlib -I/var/tmp/portage/dev-libs/rocr-runtime-5.7.1-r1/work/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/inc -I/var/tmp/portage/dev-libs/rocr-runtime-5.7.1-r1/work/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src -I/var/tmp/portage/dev-libs/rocr-runtime-5.7.1-r1/work/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/core -I/var/tmp/portage/dev-libs/rocr-runtime-5.7.1-r1/work/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/r800 -I/var/tmp/portage/dev-libs/rocr-runtime-5.7.1-r1/work/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/gfx9 -I/var/tmp/portage/dev-libs/rocr-runtime-5.7.1-r1/work/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/gfx10 -I/var/tmp/portage/dev-libs/rocr-runtime-5.7.1-r1/work/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/gfx11 -I/var/tmp/portage/dev-libs/rocr-runtime-5.7.1-r1/work/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/chip/r800 -I/var/tmp/portage/dev-libs/rocr-runtime-5.7.1-r1/work/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/chip/gfx9 -I/var/tmp/portage/dev-libs/rocr-runtime-5.7.1-r1/work/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/chip/gfx10 -I/var/tmp/portage/dev-libs/rocr-runtime-5.7.1-r1/work/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/chip/gfx11 -isystem /usr/include/libdrm -O2 -pipe -ftree-vectorize -march=native -mtune=native -DNDEBUG -fPIC -Wall -std=c++11 -fPIC -fno-strict-aliasing -m64 -msse -msse2 -fexceptions -fno-rtti -fvisibility=hidden -Wno-error=missing-braces -Wno-error=sign-compare -Wno-sign-compare -Wno-write-strings -Wno-conversion-null -fno-math-errno -fno-threadsafe-statics -fmerge-all-constants -fms-extensions -Wno-error=comment -Wno-comment -Wno-error=pointer-arith -Wno-pointer-arith -Wno-error=unused-variable -Wno-error=unused-function -mmwaitx -Wno-deprecated-declarations -Wno-error=self-assign -Wno-error=unused-but-set-variable -MD -MT CMakeFiles/hsa-runtime64.dir/core/runtime/amd_loader_context.cpp.o -MF CMakeFiles/hsa-runtime64.dir/core/runtime/amd_loader_context.cpp.o.d -o CMakeFiles/hsa-runtime64.dir/core/runtime/amd_loader_context.cpp.o -c /var/tmp/portage/dev-libs/rocr-runtime-5.7.1-r1/work/ROCR-Runtime-rocm-5.7.1/src/core/runtime/amd_loader_context.cpp >[31mFAILED: [0mCMakeFiles/hsa-runtime64.dir/core/runtime/amd_loader_context.cpp.o >/usr/lib/ccache/bin/clang++-17 -DAMD_INTERNAL_BUILD -DBRAHMA_BUILD=1 -DHAVE_MEMFD_CREATE -DHSA_DEPRECATED="" -DHSA_EXPORT=1 -DHSA_EXPORT_FINALIZER=1 -DHSA_EXPORT_IMAGES=1 -DHSA_IMAGE_SUPPORT -DLINUX -DLITTLEENDIAN_CPU=1 -DROCR_BUILD_ID=\"1.11.0-local-build-unknown\" -DUNIX_OS -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -D__linux__ -Dhsa_runtime64_EXPORTS -I/var/tmp/portage/dev-libs/rocr-runtime-5.7.1-r1/work/ROCR-Runtime-rocm-5.7.1/src/inc -I/var/tmp/portage/dev-libs/rocr-runtime-5.7.1-r1/work/ROCR-Runtime-rocm-5.7.1/src -I/var/tmp/portage/dev-libs/rocr-runtime-5.7.1-r1/work/ROCR-Runtime-rocm-5.7.1/src/libamdhsacode -I/var/tmp/portage/dev-libs/rocr-runtime-5.7.1-r1/work/ROCR-Runtime-rocm-5.7.1/src_build/core/runtime/trap_handler -I/var/tmp/portage/dev-libs/rocr-runtime-5.7.1-r1/work/ROCR-Runtime-rocm-5.7.1/src/image -I/var/tmp/portage/dev-libs/rocr-runtime-5.7.1-r1/work/ROCR-Runtime-rocm-5.7.1/src/image/addrlib -I/var/tmp/portage/dev-libs/rocr-runtime-5.7.1-r1/work/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/inc -I/var/tmp/portage/dev-libs/rocr-runtime-5.7.1-r1/work/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src -I/var/tmp/portage/dev-libs/rocr-runtime-5.7.1-r1/work/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/core -I/var/tmp/portage/dev-libs/rocr-runtime-5.7.1-r1/work/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/r800 -I/var/tmp/portage/dev-libs/rocr-runtime-5.7.1-r1/work/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/gfx9 -I/var/tmp/portage/dev-libs/rocr-runtime-5.7.1-r1/work/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/gfx10 -I/var/tmp/portage/dev-libs/rocr-runtime-5.7.1-r1/work/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/gfx11 -I/var/tmp/portage/dev-libs/rocr-runtime-5.7.1-r1/work/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/chip/r800 -I/var/tmp/portage/dev-libs/rocr-runtime-5.7.1-r1/work/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/chip/gfx9 -I/var/tmp/portage/dev-libs/rocr-runtime-5.7.1-r1/work/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/chip/gfx10 -I/var/tmp/portage/dev-libs/rocr-runtime-5.7.1-r1/work/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/chip/gfx11 -isystem /usr/include/libdrm -O2 -pipe -ftree-vectorize -march=native -mtune=native -DNDEBUG -fPIC -Wall -std=c++11 -fPIC -fno-strict-aliasing -m64 -msse -msse2 -fexceptions -fno-rtti -fvisibility=hidden -Wno-error=missing-braces -Wno-error=sign-compare -Wno-sign-compare -Wno-write-strings -Wno-conversion-null -fno-math-errno -fno-threadsafe-statics -fmerge-all-constants -fms-extensions -Wno-error=comment -Wno-comment -Wno-error=pointer-arith -Wno-pointer-arith -Wno-error=unused-variable -Wno-error=unused-function -mmwaitx -Wno-deprecated-declarations -Wno-error=self-assign -Wno-error=unused-but-set-variable -MD -MT CMakeFiles/hsa-runtime64.dir/core/runtime/amd_loader_context.cpp.o -MF CMakeFiles/hsa-runtime64.dir/core/runtime/amd_loader_context.cpp.o.d -o CMakeFiles/hsa-runtime64.dir/core/runtime/amd_loader_context.cpp.o -c /var/tmp/portage/dev-libs/rocr-runtime-5.7.1-r1/work/ROCR-Runtime-rocm-5.7.1/src/core/runtime/amd_loader_context.cpp >In file included from /var/tmp/portage/dev-libs/rocr-runtime-5.7.1-r1/work/ROCR-Runtime-rocm-5.7.1/src/core/runtime/amd_loader_context.cpp:49: >In file included from /var/tmp/portage/dev-libs/rocr-runtime-5.7.1-r1/work/ROCR-Runtime-rocm-5.7.1/src/core/inc/amd_gpu_agent.h:53: >In file included from /var/tmp/portage/dev-libs/rocr-runtime-5.7.1-r1/work/ROCR-Runtime-rocm-5.7.1/src/core/inc/runtime.h:55: >In file included from /var/tmp/portage/dev-libs/rocr-runtime-5.7.1-r1/work/ROCR-Runtime-rocm-5.7.1/src/core/inc/hsa_ext_interface.h:51: >In file included from /var/tmp/portage/dev-libs/rocr-runtime-5.7.1-r1/work/ROCR-Runtime-rocm-5.7.1/src/core/util/os.h:50: >/var/tmp/portage/dev-libs/rocr-runtime-5.7.1-r1/work/ROCR-Runtime-rocm-5.7.1/src/core/util/utils.h:77:12: error: invalid operands to binary expression ('std::nullptr_t' and 'int') > 77 | if (NULL != posix_memalign(&mem, alignment, size)) > | ~~~~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >In file included from /var/tmp/portage/dev-libs/rocr-runtime-5.7.1-r1/work/ROCR-Runtime-rocm-5.7.1/src/core/runtime/amd_loader_context.cpp:49: >In file included from /var/tmp/portage/dev-libs/rocr-runtime-5.7.1-r1/work/ROCR-Runtime-rocm-5.7.1/src/core/inc/amd_gpu_agent.h:53: >In file included from /var/tmp/portage/dev-libs/rocr-runtime-5.7.1-r1/work/ROCR-Runtime-rocm-5.7.1/src/core/inc/runtime.h:59: >In file included from /var/tmp/portage/dev-libs/rocr-runtime-5.7.1-r1/work/ROCR-Runtime-rocm-5.7.1/src/core/inc/agent.h:51: >/var/tmp/portage/dev-libs/rocr-runtime-5.7.1-r1/work/ROCR-Runtime-rocm-5.7.1/src/core/inc/checked.h:61:24: error: assigning to 'uintptr_t' (aka 'unsigned long') from incompatible type 'std::nullptr_t' > 61 | ~Check() { object_ = NULL; } > | ^~~~ >/usr/include/unistd.h:21:14: note: expanded from macro 'NULL' > 21 | #define NULL nullptr > | ^~~~~~~ >In file included from /var/tmp/portage/dev-libs/rocr-runtime-5.7.1-r1/work/ROCR-Runtime-rocm-5.7.1/src/core/runtime/amd_loader_context.cpp:50: >In file included from /var/tmp/portage/dev-libs/rocr-runtime-5.7.1-r1/work/ROCR-Runtime-rocm-5.7.1/src/core/inc/amd_memory_region.h:53: >/var/tmp/portage/dev-libs/rocr-runtime-5.7.1-r1/work/ROCR-Runtime-rocm-5.7.1/src/core/util/simple_heap.h:192:12: warning: unused variable 'err' [-Wunused-variable] > 192 | bool err = discardBlock(reinterpret_cast<void*>(base)); > | ^~~ >/var/tmp/portage/dev-libs/rocr-runtime-5.7.1-r1/work/ROCR-Runtime-rocm-5.7.1/src/core/runtime/amd_loader_context.cpp:290:29: warning: use of bitwise '&' with boolean operands [-Wbitwise-instead-of-logical] > 290 | return amd_region->IsLocalMemory() & (!amd_region->fine_grain()); > | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > | && >/var/tmp/portage/dev-libs/rocr-runtime-5.7.1-r1/work/ROCR-Runtime-rocm-5.7.1/src/core/runtime/amd_loader_context.cpp:290:29: note: cast one or both operands to int to silence this warning >2 warnings and 2 errors generated. >[59/118] /usr/lib/ccache/bin/clang++-17 -DAMD_INTERNAL_BUILD -DBRAHMA_BUILD=1 -DHAVE_MEMFD_CREATE -DHSA_DEPRECATED="" -DHSA_EXPORT=1 -DHSA_EXPORT_FINALIZER=1 -DHSA_EXPORT_IMAGES=1 -DHSA_IMAGE_SUPPORT -DLINUX -DLITTLEENDIAN_CPU=1 -DROCR_BUILD_ID=\"1.11.0-local-build-unknown\" -DUNIX_OS -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -D__linux__ -Dhsa_runtime64_EXPORTS -I/var/tmp/portage/dev-libs/rocr-runtime-5.7.1-r1/work/ROCR-Runtime-rocm-5.7.1/src/inc -I/var/tmp/portage/dev-libs/rocr-runtime-5.7.1-r1/work/ROCR-Runtime-rocm-5.7.1/src -I/var/tmp/portage/dev-libs/rocr-runtime-5.7.1-r1/work/ROCR-Runtime-rocm-5.7.1/src/libamdhsacode -I/var/tmp/portage/dev-libs/rocr-runtime-5.7.1-r1/work/ROCR-Runtime-rocm-5.7.1/src_build/core/runtime/trap_handler -I/var/tmp/portage/dev-libs/rocr-runtime-5.7.1-r1/work/ROCR-Runtime-rocm-5.7.1/src/image -I/var/tmp/portage/dev-libs/rocr-runtime-5.7.1-r1/work/ROCR-Runtime-rocm-5.7.1/src/image/addrlib -I/var/tmp/portage/dev-libs/rocr-runtime-5.7.1-r1/work/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/inc -I/var/tmp/portage/dev-libs/rocr-runtime-5.7.1-r1/work/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src -I/var/tmp/portage/dev-libs/rocr-runtime-5.7.1-r1/work/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/core -I/var/tmp/portage/dev-libs/rocr-runtime-5.7.1-r1/work/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/r800 -I/var/tmp/portage/dev-libs/rocr-runtime-5.7.1-r1/work/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/gfx9 -I/var/tmp/portage/dev-libs/rocr-runtime-5.7.1-r1/work/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/gfx10 -I/var/tmp/portage/dev-libs/rocr-runtime-5.7.1-r1/work/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/gfx11 -I/var/tmp/portage/dev-libs/rocr-runtime-5.7.1-r1/work/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/chip/r800 -I/var/tmp/portage/dev-libs/rocr-runtime-5.7.1-r1/work/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/chip/gfx9 -I/var/tmp/portage/dev-libs/rocr-runtime-5.7.1-r1/work/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/chip/gfx10 -I/var/tmp/portage/dev-libs/rocr-runtime-5.7.1-r1/work/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/chip/gfx11 -isystem /usr/include/libdrm -O2 -pipe -ftree-vectorize -march=native -mtune=native -DNDEBUG -fPIC -Wall -std=c++11 -fPIC -fno-strict-aliasing -m64 -msse -msse2 -fexceptions -fno-rtti -fvisibility=hidden -Wno-error=missing-braces -Wno-error=sign-compare -Wno-sign-compare -Wno-write-strings -Wno-conversion-null -fno-math-errno -fno-threadsafe-statics -fmerge-all-constants -fms-extensions -Wno-error=comment -Wno-comment -Wno-error=pointer-arith -Wno-pointer-arith -Wno-error=unused-variable -Wno-error=unused-function -mmwaitx -Wno-deprecated-declarations -Wno-error=self-assign -Wno-error=unused-but-set-variable -MD -MT CMakeFiles/hsa-runtime64.dir/core/runtime/amd_aql_queue.cpp.o -MF CMakeFiles/hsa-runtime64.dir/core/runtime/amd_aql_queue.cpp.o.d -o CMakeFiles/hsa-runtime64.dir/core/runtime/amd_aql_queue.cpp.o -c /var/tmp/portage/dev-libs/rocr-runtime-5.7.1-r1/work/ROCR-Runtime-rocm-5.7.1/src/core/runtime/amd_aql_queue.cpp >[31mFAILED: [0mCMakeFiles/hsa-runtime64.dir/core/runtime/amd_aql_queue.cpp.o >/usr/lib/ccache/bin/clang++-17 -DAMD_INTERNAL_BUILD -DBRAHMA_BUILD=1 -DHAVE_MEMFD_CREATE -DHSA_DEPRECATED="" -DHSA_EXPORT=1 -DHSA_EXPORT_FINALIZER=1 -DHSA_EXPORT_IMAGES=1 -DHSA_IMAGE_SUPPORT -DLINUX -DLITTLEENDIAN_CPU=1 -DROCR_BUILD_ID=\"1.11.0-local-build-unknown\" -DUNIX_OS -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -D__linux__ -Dhsa_runtime64_EXPORTS -I/var/tmp/portage/dev-libs/rocr-runtime-5.7.1-r1/work/ROCR-Runtime-rocm-5.7.1/src/inc -I/var/tmp/portage/dev-libs/rocr-runtime-5.7.1-r1/work/ROCR-Runtime-rocm-5.7.1/src -I/var/tmp/portage/dev-libs/rocr-runtime-5.7.1-r1/work/ROCR-Runtime-rocm-5.7.1/src/libamdhsacode -I/var/tmp/portage/dev-libs/rocr-runtime-5.7.1-r1/work/ROCR-Runtime-rocm-5.7.1/src_build/core/runtime/trap_handler -I/var/tmp/portage/dev-libs/rocr-runtime-5.7.1-r1/work/ROCR-Runtime-rocm-5.7.1/src/image -I/var/tmp/portage/dev-libs/rocr-runtime-5.7.1-r1/work/ROCR-Runtime-rocm-5.7.1/src/image/addrlib -I/var/tmp/portage/dev-libs/rocr-runtime-5.7.1-r1/work/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/inc -I/var/tmp/portage/dev-libs/rocr-runtime-5.7.1-r1/work/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src -I/var/tmp/portage/dev-libs/rocr-runtime-5.7.1-r1/work/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/core -I/var/tmp/portage/dev-libs/rocr-runtime-5.7.1-r1/work/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/r800 -I/var/tmp/portage/dev-libs/rocr-runtime-5.7.1-r1/work/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/gfx9 -I/var/tmp/portage/dev-libs/rocr-runtime-5.7.1-r1/work/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/gfx10 -I/var/tmp/portage/dev-libs/rocr-runtime-5.7.1-r1/work/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/gfx11 -I/var/tmp/portage/dev-libs/rocr-runtime-5.7.1-r1/work/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/chip/r800 -I/var/tmp/portage/dev-libs/rocr-runtime-5.7.1-r1/work/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/chip/gfx9 -I/var/tmp/portage/dev-libs/rocr-runtime-5.7.1-r1/work/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/chip/gfx10 -I/var/tmp/portage/dev-libs/rocr-runtime-5.7.1-r1/work/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/chip/gfx11 -isystem /usr/include/libdrm -O2 -pipe -ftree-vectorize -march=native -mtune=native -DNDEBUG -fPIC -Wall -std=c++11 -fPIC -fno-strict-aliasing -m64 -msse -msse2 -fexceptions -fno-rtti -fvisibility=hidden -Wno-error=missing-braces -Wno-error=sign-compare -Wno-sign-compare -Wno-write-strings -Wno-conversion-null -fno-math-errno -fno-threadsafe-statics -fmerge-all-constants -fms-extensions -Wno-error=comment -Wno-comment -Wno-error=pointer-arith -Wno-pointer-arith -Wno-error=unused-variable -Wno-error=unused-function -mmwaitx -Wno-deprecated-declarations -Wno-error=self-assign -Wno-error=unused-but-set-variable -MD -MT CMakeFiles/hsa-runtime64.dir/core/runtime/amd_aql_queue.cpp.o -MF CMakeFiles/hsa-runtime64.dir/core/runtime/amd_aql_queue.cpp.o.d -o CMakeFiles/hsa-runtime64.dir/core/runtime/amd_aql_queue.cpp.o -c /var/tmp/portage/dev-libs/rocr-runtime-5.7.1-r1/work/ROCR-Runtime-rocm-5.7.1/src/core/runtime/amd_aql_queue.cpp >In file included from /var/tmp/portage/dev-libs/rocr-runtime-5.7.1-r1/work/ROCR-Runtime-rocm-5.7.1/src/core/runtime/amd_aql_queue.cpp:43: >In file included from /var/tmp/portage/dev-libs/rocr-runtime-5.7.1-r1/work/ROCR-Runtime-rocm-5.7.1/src/core/inc/amd_aql_queue.h:46: >In file included from /var/tmp/portage/dev-libs/rocr-runtime-5.7.1-r1/work/ROCR-Runtime-rocm-5.7.1/src/core/inc/runtime.h:55: >In file included from /var/tmp/portage/dev-libs/rocr-runtime-5.7.1-r1/work/ROCR-Runtime-rocm-5.7.1/src/core/inc/hsa_ext_interface.h:51: >In file included from /var/tmp/portage/dev-libs/rocr-runtime-5.7.1-r1/work/ROCR-Runtime-rocm-5.7.1/src/core/util/os.h:50: >/var/tmp/portage/dev-libs/rocr-runtime-5.7.1-r1/work/ROCR-Runtime-rocm-5.7.1/src/core/util/utils.h:77:12: error: invalid operands to binary expression ('std::nullptr_t' and 'int') > 77 | if (NULL != posix_memalign(&mem, alignment, size)) > | ~~~~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >In file included from /var/tmp/portage/dev-libs/rocr-runtime-5.7.1-r1/work/ROCR-Runtime-rocm-5.7.1/src/core/runtime/amd_aql_queue.cpp:43: >In file included from /var/tmp/portage/dev-libs/rocr-runtime-5.7.1-r1/work/ROCR-Runtime-rocm-5.7.1/src/core/inc/amd_aql_queue.h:46: >In file included from /var/tmp/portage/dev-libs/rocr-runtime-5.7.1-r1/work/ROCR-Runtime-rocm-5.7.1/src/core/inc/runtime.h:59: >In file included from /var/tmp/portage/dev-libs/rocr-runtime-5.7.1-r1/work/ROCR-Runtime-rocm-5.7.1/src/core/inc/agent.h:51: >/var/tmp/portage/dev-libs/rocr-runtime-5.7.1-r1/work/ROCR-Runtime-rocm-5.7.1/src/core/inc/checked.h:61:24: error: assigning to 'uintptr_t' (aka 'unsigned long') from incompatible type 'std::nullptr_t' > 61 | ~Check() { object_ = NULL; } > | ^~~~ >/usr/include/locale.h:11:14: note: expanded from macro 'NULL' > 11 | #define NULL nullptr > | ^~~~~~~ >In file included from /var/tmp/portage/dev-libs/rocr-runtime-5.7.1-r1/work/ROCR-Runtime-rocm-5.7.1/src/core/runtime/amd_aql_queue.cpp:61: >In file included from /var/tmp/portage/dev-libs/rocr-runtime-5.7.1-r1/work/ROCR-Runtime-rocm-5.7.1/src/core/inc/amd_memory_region.h:53: >/var/tmp/portage/dev-libs/rocr-runtime-5.7.1-r1/work/ROCR-Runtime-rocm-5.7.1/src/core/util/simple_heap.h:192:12: warning: unused variable 'err' [-Wunused-variable] > 192 | bool err = discardBlock(reinterpret_cast<void*>(base)); > | ^~~ >/var/tmp/portage/dev-libs/rocr-runtime-5.7.1-r1/work/ROCR-Runtime-rocm-5.7.1/src/core/runtime/amd_aql_queue.cpp:581:11: warning: variable 'ring_buf_upper_half' set but not used [-Wunused-but-set-variable] > 581 | void* ring_buf_upper_half = NULL; > | ^ >/var/tmp/portage/dev-libs/rocr-runtime-5.7.1-r1/work/ROCR-Runtime-rocm-5.7.1/src/core/runtime/amd_aql_queue.cpp:759:8: warning: unused variable 'err' [-Wunused-variable] > 759 | auto err = hsaKmtUpdateQueue(queue_id_, 0, priority_, ring_buf_, ring_buf_alloc_bytes_, NULL); > | ^~~ >/var/tmp/portage/dev-libs/rocr-runtime-5.7.1-r1/work/ROCR-Runtime-rocm-5.7.1/src/core/runtime/amd_aql_queue.cpp:766:10: warning: unused variable 'err' [-Wunused-variable] > 766 | auto err = hsaKmtDestroyQueue(queue_id_); > | ^~~ >/var/tmp/portage/dev-libs/rocr-runtime-5.7.1-r1/work/ROCR-Runtime-rocm-5.7.1/src/core/runtime/amd_aql_queue.cpp:1005:7: warning: suggest braces around initialization of subobject [-Wmissing-braces] > 1005 | 1, HSA_STATUS_ERROR_EXCEPTION, > | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > | { } >/var/tmp/portage/dev-libs/rocr-runtime-5.7.1-r1/work/ROCR-Runtime-rocm-5.7.1/src/core/runtime/amd_aql_queue.cpp:1007:7: warning: suggest braces around initialization of subobject [-Wmissing-braces] > 1007 | 2, HSA_STATUS_ERROR_EXCEPTION, > | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > | { } >/var/tmp/portage/dev-libs/rocr-runtime-5.7.1-r1/work/ROCR-Runtime-rocm-5.7.1/src/core/runtime/amd_aql_queue.cpp:1009:7: warning: suggest braces around initialization of subobject [-Wmissing-braces] > 1009 | 3, HSA_STATUS_ERROR_EXCEPTION, > | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > | { } >/var/tmp/portage/dev-libs/rocr-runtime-5.7.1-r1/work/ROCR-Runtime-rocm-5.7.1/src/core/runtime/amd_aql_queue.cpp:1011:7: warning: suggest braces around initialization of subobject [-Wmissing-braces] > 1011 | 4, (hsa_status_t)HSA_STATUS_ERROR_ILLEGAL_INSTRUCTION, > | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > | { } >/var/tmp/portage/dev-libs/rocr-runtime-5.7.1-r1/work/ROCR-Runtime-rocm-5.7.1/src/core/runtime/amd_aql_queue.cpp:1013:7: warning: suggest braces around initialization of subobject [-Wmissing-braces] > 1013 | 5, (hsa_status_t)HSA_STATUS_ERROR_MEMORY_FAULT, > | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > | { } >/var/tmp/portage/dev-libs/rocr-runtime-5.7.1-r1/work/ROCR-Runtime-rocm-5.7.1/src/core/runtime/amd_aql_queue.cpp:1015:7: warning: suggest braces around initialization of subobject [-Wmissing-braces] > 1015 | 6, (hsa_status_t)HSA_STATUS_ERROR_MEMORY_APERTURE_VIOLATION, > | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > | { } >/var/tmp/portage/dev-libs/rocr-runtime-5.7.1-r1/work/ROCR-Runtime-rocm-5.7.1/src/core/runtime/amd_aql_queue.cpp:1017:7: warning: suggest braces around initialization of subobject [-Wmissing-braces] > 1017 | 16, HSA_STATUS_ERROR_INCOMPATIBLE_ARGUMENTS, > | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > | { } >/var/tmp/portage/dev-libs/rocr-runtime-5.7.1-r1/work/ROCR-Runtime-rocm-5.7.1/src/core/runtime/amd_aql_queue.cpp:1019:7: warning: suggest braces around initialization of subobject [-Wmissing-braces] > 1019 | 17, HSA_STATUS_ERROR_INVALID_ALLOCATION, > | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > | { } >/var/tmp/portage/dev-libs/rocr-runtime-5.7.1-r1/work/ROCR-Runtime-rocm-5.7.1/src/core/runtime/amd_aql_queue.cpp:1021:7: warning: suggest braces around initialization of subobject [-Wmissing-braces] > 1021 | 18, HSA_STATUS_ERROR_INVALID_CODE_OBJECT, > | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > | { } >/var/tmp/portage/dev-libs/rocr-runtime-5.7.1-r1/work/ROCR-Runtime-rocm-5.7.1/src/core/runtime/amd_aql_queue.cpp:1023:7: warning: suggest braces around initialization of subobject [-Wmissing-braces] > 1023 | 20, HSA_STATUS_ERROR_INVALID_PACKET_FORMAT, > | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > | { } >/var/tmp/portage/dev-libs/rocr-runtime-5.7.1-r1/work/ROCR-Runtime-rocm-5.7.1/src/core/runtime/amd_aql_queue.cpp:1025:7: warning: suggest braces around initialization of subobject [-Wmissing-braces] > 1025 | 21, HSA_STATUS_ERROR_INVALID_ARGUMENT, > | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > | { } >/var/tmp/portage/dev-libs/rocr-runtime-5.7.1-r1/work/ROCR-Runtime-rocm-5.7.1/src/core/runtime/amd_aql_queue.cpp:1027:7: warning: suggest braces around initialization of subobject [-Wmissing-braces] > 1027 | 22, HSA_STATUS_ERROR_INVALID_ISA, > | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > | { } >/var/tmp/portage/dev-libs/rocr-runtime-5.7.1-r1/work/ROCR-Runtime-rocm-5.7.1/src/core/runtime/amd_aql_queue.cpp:1029:7: warning: suggest braces around initialization of subobject [-Wmissing-braces] > 1029 | 23, HSA_STATUS_ERROR_INVALID_PACKET_FORMAT, > | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > | { } >/var/tmp/portage/dev-libs/rocr-runtime-5.7.1-r1/work/ROCR-Runtime-rocm-5.7.1/src/core/runtime/amd_aql_queue.cpp:1031:7: warning: suggest braces around initialization of subobject [-Wmissing-braces] > 1031 | 31, HSA_STATUS_ERROR, > | ^~~~~~~~~~~~~~~~~~~~ > | { } >/var/tmp/portage/dev-libs/rocr-runtime-5.7.1-r1/work/ROCR-Runtime-rocm-5.7.1/src/core/runtime/amd_aql_queue.cpp:1033:7: warning: suggest braces around initialization of subobject [-Wmissing-braces] > 1033 | 33, (hsa_status_t)HSA_STATUS_ERROR_MEMORY_APERTURE_VIOLATION, > | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > | { } >/var/tmp/portage/dev-libs/rocr-runtime-5.7.1-r1/work/ROCR-Runtime-rocm-5.7.1/src/core/runtime/amd_aql_queue.cpp:1035:7: warning: suggest braces around initialization of subobject [-Wmissing-braces] > 1035 | 34, HSA_STATUS_ERROR, > | ^~~~~~~~~~~~~~~~~~~~ > | { } >/var/tmp/portage/dev-libs/rocr-runtime-5.7.1-r1/work/ROCR-Runtime-rocm-5.7.1/src/core/runtime/amd_aql_queue.cpp:1037:7: warning: suggest braces around initialization of subobject [-Wmissing-braces] > 1037 | 35, HSA_STATUS_ERROR, > | ^~~~~~~~~~~~~~~~~~~~ > | { } >/var/tmp/portage/dev-libs/rocr-runtime-5.7.1-r1/work/ROCR-Runtime-rocm-5.7.1/src/core/runtime/amd_aql_queue.cpp:1039:7: warning: suggest braces around initialization of subobject [-Wmissing-braces] > 1039 | 36, HSA_STATUS_ERROR, > | ^~~~~~~~~~~~~~~~~~~~ > | { } >/var/tmp/portage/dev-libs/rocr-runtime-5.7.1-r1/work/ROCR-Runtime-rocm-5.7.1/src/core/runtime/amd_aql_queue.cpp:1041:7: warning: suggest braces around initialization of subobject [-Wmissing-braces] > 1041 | 50, HSA_STATUS_ERROR}; > | ^~~~~~~~~~~~~~~~~~~~ > | { } >/var/tmp/portage/dev-libs/rocr-runtime-5.7.1-r1/work/ROCR-Runtime-rocm-5.7.1/src/core/runtime/amd_aql_queue.cpp:1284:24: warning: variable 'ret' set but not used [-Wunused-but-set-variable] > 1284 | hsa_signal_value_t ret; > | ^ >/var/tmp/portage/dev-libs/rocr-runtime-5.7.1-r1/work/ROCR-Runtime-rocm-5.7.1/src/core/runtime/amd_aql_queue.cpp:1198:16: warning: variable 'err' set but not used [-Wunused-but-set-variable] > 1198 | hsa_status_t err; > | ^ >25 warnings and 2 errors generated. >[60/118] /usr/lib/ccache/bin/clang++-17 -DAMD_INTERNAL_BUILD -DBRAHMA_BUILD=1 -DHAVE_MEMFD_CREATE -DHSA_DEPRECATED="" -DHSA_EXPORT=1 -DHSA_EXPORT_FINALIZER=1 -DHSA_EXPORT_IMAGES=1 -DHSA_IMAGE_SUPPORT -DLINUX -DLITTLEENDIAN_CPU=1 -DROCR_BUILD_ID=\"1.11.0-local-build-unknown\" -DUNIX_OS -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -D__linux__ -Dhsa_runtime64_EXPORTS -I/var/tmp/portage/dev-libs/rocr-runtime-5.7.1-r1/work/ROCR-Runtime-rocm-5.7.1/src/inc -I/var/tmp/portage/dev-libs/rocr-runtime-5.7.1-r1/work/ROCR-Runtime-rocm-5.7.1/src -I/var/tmp/portage/dev-libs/rocr-runtime-5.7.1-r1/work/ROCR-Runtime-rocm-5.7.1/src/libamdhsacode -I/var/tmp/portage/dev-libs/rocr-runtime-5.7.1-r1/work/ROCR-Runtime-rocm-5.7.1/src_build/core/runtime/trap_handler -I/var/tmp/portage/dev-libs/rocr-runtime-5.7.1-r1/work/ROCR-Runtime-rocm-5.7.1/src/image -I/var/tmp/portage/dev-libs/rocr-runtime-5.7.1-r1/work/ROCR-Runtime-rocm-5.7.1/src/image/addrlib -I/var/tmp/portage/dev-libs/rocr-runtime-5.7.1-r1/work/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/inc -I/var/tmp/portage/dev-libs/rocr-runtime-5.7.1-r1/work/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src -I/var/tmp/portage/dev-libs/rocr-runtime-5.7.1-r1/work/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/core -I/var/tmp/portage/dev-libs/rocr-runtime-5.7.1-r1/work/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/r800 -I/var/tmp/portage/dev-libs/rocr-runtime-5.7.1-r1/work/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/gfx9 -I/var/tmp/portage/dev-libs/rocr-runtime-5.7.1-r1/work/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/gfx10 -I/var/tmp/portage/dev-libs/rocr-runtime-5.7.1-r1/work/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/gfx11 -I/var/tmp/portage/dev-libs/rocr-runtime-5.7.1-r1/work/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/chip/r800 -I/var/tmp/portage/dev-libs/rocr-runtime-5.7.1-r1/work/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/chip/gfx9 -I/var/tmp/portage/dev-libs/rocr-runtime-5.7.1-r1/work/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/chip/gfx10 -I/var/tmp/portage/dev-libs/rocr-runtime-5.7.1-r1/work/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/chip/gfx11 -isystem /usr/include/libdrm -O2 -pipe -ftree-vectorize -march=native -mtune=native -DNDEBUG -fPIC -Wall -std=c++11 -fPIC -fno-strict-aliasing -m64 -msse -msse2 -fexceptions -fno-rtti -fvisibility=hidden -Wno-error=missing-braces -Wno-error=sign-compare -Wno-sign-compare -Wno-write-strings -Wno-conversion-null -fno-math-errno -fno-threadsafe-statics -fmerge-all-constants -fms-extensions -Wno-error=comment -Wno-comment -Wno-error=pointer-arith -Wno-pointer-arith -Wno-error=unused-variable -Wno-error=unused-function -mmwaitx -Wno-deprecated-declarations -Wno-error=self-assign -Wno-error=unused-but-set-variable -MD -MT CMakeFiles/hsa-runtime64.dir/core/runtime/amd_blit_sdma.cpp.o -MF CMakeFiles/hsa-runtime64.dir/core/runtime/amd_blit_sdma.cpp.o.d -o CMakeFiles/hsa-runtime64.dir/core/runtime/amd_blit_sdma.cpp.o -c /var/tmp/portage/dev-libs/rocr-runtime-5.7.1-r1/work/ROCR-Runtime-rocm-5.7.1/src/core/runtime/amd_blit_sdma.cpp >[31mFAILED: [0mCMakeFiles/hsa-runtime64.dir/core/runtime/amd_blit_sdma.cpp.o >/usr/lib/ccache/bin/clang++-17 -DAMD_INTERNAL_BUILD -DBRAHMA_BUILD=1 -DHAVE_MEMFD_CREATE -DHSA_DEPRECATED="" -DHSA_EXPORT=1 -DHSA_EXPORT_FINALIZER=1 -DHSA_EXPORT_IMAGES=1 -DHSA_IMAGE_SUPPORT -DLINUX -DLITTLEENDIAN_CPU=1 -DROCR_BUILD_ID=\"1.11.0-local-build-unknown\" -DUNIX_OS -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -D__linux__ -Dhsa_runtime64_EXPORTS -I/var/tmp/portage/dev-libs/rocr-runtime-5.7.1-r1/work/ROCR-Runtime-rocm-5.7.1/src/inc -I/var/tmp/portage/dev-libs/rocr-runtime-5.7.1-r1/work/ROCR-Runtime-rocm-5.7.1/src -I/var/tmp/portage/dev-libs/rocr-runtime-5.7.1-r1/work/ROCR-Runtime-rocm-5.7.1/src/libamdhsacode -I/var/tmp/portage/dev-libs/rocr-runtime-5.7.1-r1/work/ROCR-Runtime-rocm-5.7.1/src_build/core/runtime/trap_handler -I/var/tmp/portage/dev-libs/rocr-runtime-5.7.1-r1/work/ROCR-Runtime-rocm-5.7.1/src/image -I/var/tmp/portage/dev-libs/rocr-runtime-5.7.1-r1/work/ROCR-Runtime-rocm-5.7.1/src/image/addrlib -I/var/tmp/portage/dev-libs/rocr-runtime-5.7.1-r1/work/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/inc -I/var/tmp/portage/dev-libs/rocr-runtime-5.7.1-r1/work/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src -I/var/tmp/portage/dev-libs/rocr-runtime-5.7.1-r1/work/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/core -I/var/tmp/portage/dev-libs/rocr-runtime-5.7.1-r1/work/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/r800 -I/var/tmp/portage/dev-libs/rocr-runtime-5.7.1-r1/work/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/gfx9 -I/var/tmp/portage/dev-libs/rocr-runtime-5.7.1-r1/work/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/gfx10 -I/var/tmp/portage/dev-libs/rocr-runtime-5.7.1-r1/work/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/gfx11 -I/var/tmp/portage/dev-libs/rocr-runtime-5.7.1-r1/work/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/chip/r800 -I/var/tmp/portage/dev-libs/rocr-runtime-5.7.1-r1/work/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/chip/gfx9 -I/var/tmp/portage/dev-libs/rocr-runtime-5.7.1-r1/work/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/chip/gfx10 -I/var/tmp/portage/dev-libs/rocr-runtime-5.7.1-r1/work/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/chip/gfx11 -isystem /usr/include/libdrm -O2 -pipe -ftree-vectorize -march=native -mtune=native -DNDEBUG -fPIC -Wall -std=c++11 -fPIC -fno-strict-aliasing -m64 -msse -msse2 -fexceptions -fno-rtti -fvisibility=hidden -Wno-error=missing-braces -Wno-error=sign-compare -Wno-sign-compare -Wno-write-strings -Wno-conversion-null -fno-math-errno -fno-threadsafe-statics -fmerge-all-constants -fms-extensions -Wno-error=comment -Wno-comment -Wno-error=pointer-arith -Wno-pointer-arith -Wno-error=unused-variable -Wno-error=unused-function -mmwaitx -Wno-deprecated-declarations -Wno-error=self-assign -Wno-error=unused-but-set-variable -MD -MT CMakeFiles/hsa-runtime64.dir/core/runtime/amd_blit_sdma.cpp.o -MF CMakeFiles/hsa-runtime64.dir/core/runtime/amd_blit_sdma.cpp.o.d -o CMakeFiles/hsa-runtime64.dir/core/runtime/amd_blit_sdma.cpp.o -c /var/tmp/portage/dev-libs/rocr-runtime-5.7.1-r1/work/ROCR-Runtime-rocm-5.7.1/src/core/runtime/amd_blit_sdma.cpp >In file included from /var/tmp/portage/dev-libs/rocr-runtime-5.7.1-r1/work/ROCR-Runtime-rocm-5.7.1/src/core/runtime/amd_blit_sdma.cpp:43: >In file included from /var/tmp/portage/dev-libs/rocr-runtime-5.7.1-r1/work/ROCR-Runtime-rocm-5.7.1/src/core/inc/amd_blit_sdma.h:52: >In file included from /var/tmp/portage/dev-libs/rocr-runtime-5.7.1-r1/work/ROCR-Runtime-rocm-5.7.1/src/core/inc/amd_gpu_agent.h:53: >In file included from /var/tmp/portage/dev-libs/rocr-runtime-5.7.1-r1/work/ROCR-Runtime-rocm-5.7.1/src/core/inc/runtime.h:55: >In file included from /var/tmp/portage/dev-libs/rocr-runtime-5.7.1-r1/work/ROCR-Runtime-rocm-5.7.1/src/core/inc/hsa_ext_interface.h:51: >In file included from /var/tmp/portage/dev-libs/rocr-runtime-5.7.1-r1/work/ROCR-Runtime-rocm-5.7.1/src/core/util/os.h:50: >/var/tmp/portage/dev-libs/rocr-runtime-5.7.1-r1/work/ROCR-Runtime-rocm-5.7.1/src/core/util/utils.h:77:12: error: invalid operands to binary expression ('std::nullptr_t' and 'int') > 77 | if (NULL != posix_memalign(&mem, alignment, size)) > | ~~~~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >In file included from /var/tmp/portage/dev-libs/rocr-runtime-5.7.1-r1/work/ROCR-Runtime-rocm-5.7.1/src/core/runtime/amd_blit_sdma.cpp:43: >In file included from /var/tmp/portage/dev-libs/rocr-runtime-5.7.1-r1/work/ROCR-Runtime-rocm-5.7.1/src/core/inc/amd_blit_sdma.h:52: >In file included from /var/tmp/portage/dev-libs/rocr-runtime-5.7.1-r1/work/ROCR-Runtime-rocm-5.7.1/src/core/inc/amd_gpu_agent.h:53: >In file included from /var/tmp/portage/dev-libs/rocr-runtime-5.7.1-r1/work/ROCR-Runtime-rocm-5.7.1/src/core/inc/runtime.h:59: >In file included from /var/tmp/portage/dev-libs/rocr-runtime-5.7.1-r1/work/ROCR-Runtime-rocm-5.7.1/src/core/inc/agent.h:51: >/var/tmp/portage/dev-libs/rocr-runtime-5.7.1-r1/work/ROCR-Runtime-rocm-5.7.1/src/core/inc/checked.h:61:24: error: assigning to 'uintptr_t' (aka 'unsigned long') from incompatible type 'std::nullptr_t' > 61 | ~Check() { object_ = NULL; } > | ^~~~ >/usr/include/locale.h:11:14: note: expanded from macro 'NULL' > 11 | #define NULL nullptr > | ^~~~~~~ >In file included from /var/tmp/portage/dev-libs/rocr-runtime-5.7.1-r1/work/ROCR-Runtime-rocm-5.7.1/src/core/runtime/amd_blit_sdma.cpp:52: >In file included from /var/tmp/portage/dev-libs/rocr-runtime-5.7.1-r1/work/ROCR-Runtime-rocm-5.7.1/src/core/inc/amd_memory_region.h:53: >/var/tmp/portage/dev-libs/rocr-runtime-5.7.1-r1/work/ROCR-Runtime-rocm-5.7.1/src/core/util/simple_heap.h:192:12: warning: unused variable 'err' [-Wunused-variable] > 192 | bool err = discardBlock(reinterpret_cast<void*>(base)); > | ^~~ >/var/tmp/portage/dev-libs/rocr-runtime-5.7.1-r1/work/ROCR-Runtime-rocm-5.7.1/src/core/runtime/amd_blit_sdma.cpp:207:10: warning: unused variable 'err' [-Wunused-variable] > 207 | auto err = hsaKmtDestroyQueue(queue_resource_.QueueId); > | ^~~ >2 warnings and 2 errors generated. >[61/118] /usr/lib/ccache/bin/clang++-17 -DAMD_INTERNAL_BUILD -DBRAHMA_BUILD=1 -DHAVE_MEMFD_CREATE -DHSA_DEPRECATED="" -DHSA_EXPORT=1 -DHSA_EXPORT_FINALIZER=1 -DHSA_EXPORT_IMAGES=1 -DHSA_IMAGE_SUPPORT -DLINUX -DLITTLEENDIAN_CPU=1 -DROCR_BUILD_ID=\"1.11.0-local-build-unknown\" -DUNIX_OS -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -D__linux__ -Dhsa_runtime64_EXPORTS -I/var/tmp/portage/dev-libs/rocr-runtime-5.7.1-r1/work/ROCR-Runtime-rocm-5.7.1/src/inc -I/var/tmp/portage/dev-libs/rocr-runtime-5.7.1-r1/work/ROCR-Runtime-rocm-5.7.1/src -I/var/tmp/portage/dev-libs/rocr-runtime-5.7.1-r1/work/ROCR-Runtime-rocm-5.7.1/src/libamdhsacode -I/var/tmp/portage/dev-libs/rocr-runtime-5.7.1-r1/work/ROCR-Runtime-rocm-5.7.1/src_build/core/runtime/trap_handler -I/var/tmp/portage/dev-libs/rocr-runtime-5.7.1-r1/work/ROCR-Runtime-rocm-5.7.1/src/image -I/var/tmp/portage/dev-libs/rocr-runtime-5.7.1-r1/work/ROCR-Runtime-rocm-5.7.1/src/image/addrlib -I/var/tmp/portage/dev-libs/rocr-runtime-5.7.1-r1/work/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/inc -I/var/tmp/portage/dev-libs/rocr-runtime-5.7.1-r1/work/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src -I/var/tmp/portage/dev-libs/rocr-runtime-5.7.1-r1/work/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/core -I/var/tmp/portage/dev-libs/rocr-runtime-5.7.1-r1/work/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/r800 -I/var/tmp/portage/dev-libs/rocr-runtime-5.7.1-r1/work/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/gfx9 -I/var/tmp/portage/dev-libs/rocr-runtime-5.7.1-r1/work/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/gfx10 -I/var/tmp/portage/dev-libs/rocr-runtime-5.7.1-r1/work/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/gfx11 -I/var/tmp/portage/dev-libs/rocr-runtime-5.7.1-r1/work/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/chip/r800 -I/var/tmp/portage/dev-libs/rocr-runtime-5.7.1-r1/work/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/chip/gfx9 -I/var/tmp/portage/dev-libs/rocr-runtime-5.7.1-r1/work/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/chip/gfx10 -I/var/tmp/portage/dev-libs/rocr-runtime-5.7.1-r1/work/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/chip/gfx11 -isystem /usr/include/libdrm -O2 -pipe -ftree-vectorize -march=native -mtune=native -DNDEBUG -fPIC -Wall -std=c++11 -fPIC -fno-strict-aliasing -m64 -msse -msse2 -fexceptions -fno-rtti -fvisibility=hidden -Wno-error=missing-braces -Wno-error=sign-compare -Wno-sign-compare -Wno-write-strings -Wno-conversion-null -fno-math-errno -fno-threadsafe-statics -fmerge-all-constants -fms-extensions -Wno-error=comment -Wno-comment -Wno-error=pointer-arith -Wno-pointer-arith -Wno-error=unused-variable -Wno-error=unused-function -mmwaitx -Wno-deprecated-declarations -Wno-error=self-assign -Wno-error=unused-but-set-variable -MD -MT CMakeFiles/hsa-runtime64.dir/core/runtime/amd_blit_kernel.cpp.o -MF CMakeFiles/hsa-runtime64.dir/core/runtime/amd_blit_kernel.cpp.o.d -o CMakeFiles/hsa-runtime64.dir/core/runtime/amd_blit_kernel.cpp.o -c /var/tmp/portage/dev-libs/rocr-runtime-5.7.1-r1/work/ROCR-Runtime-rocm-5.7.1/src/core/runtime/amd_blit_kernel.cpp >[31mFAILED: [0mCMakeFiles/hsa-runtime64.dir/core/runtime/amd_blit_kernel.cpp.o >/usr/lib/ccache/bin/clang++-17 -DAMD_INTERNAL_BUILD -DBRAHMA_BUILD=1 -DHAVE_MEMFD_CREATE -DHSA_DEPRECATED="" -DHSA_EXPORT=1 -DHSA_EXPORT_FINALIZER=1 -DHSA_EXPORT_IMAGES=1 -DHSA_IMAGE_SUPPORT -DLINUX -DLITTLEENDIAN_CPU=1 -DROCR_BUILD_ID=\"1.11.0-local-build-unknown\" -DUNIX_OS -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -D__linux__ -Dhsa_runtime64_EXPORTS -I/var/tmp/portage/dev-libs/rocr-runtime-5.7.1-r1/work/ROCR-Runtime-rocm-5.7.1/src/inc -I/var/tmp/portage/dev-libs/rocr-runtime-5.7.1-r1/work/ROCR-Runtime-rocm-5.7.1/src -I/var/tmp/portage/dev-libs/rocr-runtime-5.7.1-r1/work/ROCR-Runtime-rocm-5.7.1/src/libamdhsacode -I/var/tmp/portage/dev-libs/rocr-runtime-5.7.1-r1/work/ROCR-Runtime-rocm-5.7.1/src_build/core/runtime/trap_handler -I/var/tmp/portage/dev-libs/rocr-runtime-5.7.1-r1/work/ROCR-Runtime-rocm-5.7.1/src/image -I/var/tmp/portage/dev-libs/rocr-runtime-5.7.1-r1/work/ROCR-Runtime-rocm-5.7.1/src/image/addrlib -I/var/tmp/portage/dev-libs/rocr-runtime-5.7.1-r1/work/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/inc -I/var/tmp/portage/dev-libs/rocr-runtime-5.7.1-r1/work/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src -I/var/tmp/portage/dev-libs/rocr-runtime-5.7.1-r1/work/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/core -I/var/tmp/portage/dev-libs/rocr-runtime-5.7.1-r1/work/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/r800 -I/var/tmp/portage/dev-libs/rocr-runtime-5.7.1-r1/work/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/gfx9 -I/var/tmp/portage/dev-libs/rocr-runtime-5.7.1-r1/work/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/gfx10 -I/var/tmp/portage/dev-libs/rocr-runtime-5.7.1-r1/work/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/gfx11 -I/var/tmp/portage/dev-libs/rocr-runtime-5.7.1-r1/work/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/chip/r800 -I/var/tmp/portage/dev-libs/rocr-runtime-5.7.1-r1/work/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/chip/gfx9 -I/var/tmp/portage/dev-libs/rocr-runtime-5.7.1-r1/work/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/chip/gfx10 -I/var/tmp/portage/dev-libs/rocr-runtime-5.7.1-r1/work/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/chip/gfx11 -isystem /usr/include/libdrm -O2 -pipe -ftree-vectorize -march=native -mtune=native -DNDEBUG -fPIC -Wall -std=c++11 -fPIC -fno-strict-aliasing -m64 -msse -msse2 -fexceptions -fno-rtti -fvisibility=hidden -Wno-error=missing-braces -Wno-error=sign-compare -Wno-sign-compare -Wno-write-strings -Wno-conversion-null -fno-math-errno -fno-threadsafe-statics -fmerge-all-constants -fms-extensions -Wno-error=comment -Wno-comment -Wno-error=pointer-arith -Wno-pointer-arith -Wno-error=unused-variable -Wno-error=unused-function -mmwaitx -Wno-deprecated-declarations -Wno-error=self-assign -Wno-error=unused-but-set-variable -MD -MT CMakeFiles/hsa-runtime64.dir/core/runtime/amd_blit_kernel.cpp.o -MF CMakeFiles/hsa-runtime64.dir/core/runtime/amd_blit_kernel.cpp.o.d -o CMakeFiles/hsa-runtime64.dir/core/runtime/amd_blit_kernel.cpp.o -c /var/tmp/portage/dev-libs/rocr-runtime-5.7.1-r1/work/ROCR-Runtime-rocm-5.7.1/src/core/runtime/amd_blit_kernel.cpp >In file included from /var/tmp/portage/dev-libs/rocr-runtime-5.7.1-r1/work/ROCR-Runtime-rocm-5.7.1/src/core/runtime/amd_blit_kernel.cpp:43: >In file included from /var/tmp/portage/dev-libs/rocr-runtime-5.7.1-r1/work/ROCR-Runtime-rocm-5.7.1/src/core/inc/amd_blit_kernel.h:52: >In file included from /var/tmp/portage/dev-libs/rocr-runtime-5.7.1-r1/work/ROCR-Runtime-rocm-5.7.1/src/core/inc/blit.h:48: >In file included from /var/tmp/portage/dev-libs/rocr-runtime-5.7.1-r1/work/ROCR-Runtime-rocm-5.7.1/src/core/inc/agent.h:51: >/var/tmp/portage/dev-libs/rocr-runtime-5.7.1-r1/work/ROCR-Runtime-rocm-5.7.1/src/core/inc/checked.h:61:24: error: assigning to 'uintptr_t' (aka 'unsigned long') from incompatible type 'std::nullptr_t' > 61 | ~Check() { object_ = NULL; } > | ^~~~ >/usr/include/locale.h:11:14: note: expanded from macro 'NULL' > 11 | #define NULL nullptr > | ^~~~~~~ >In file included from /var/tmp/portage/dev-libs/rocr-runtime-5.7.1-r1/work/ROCR-Runtime-rocm-5.7.1/src/core/runtime/amd_blit_kernel.cpp:43: >In file included from /var/tmp/portage/dev-libs/rocr-runtime-5.7.1-r1/work/ROCR-Runtime-rocm-5.7.1/src/core/inc/amd_blit_kernel.h:52: >In file included from /var/tmp/portage/dev-libs/rocr-runtime-5.7.1-r1/work/ROCR-Runtime-rocm-5.7.1/src/core/inc/blit.h:48: >In file included from /var/tmp/portage/dev-libs/rocr-runtime-5.7.1-r1/work/ROCR-Runtime-rocm-5.7.1/src/core/inc/agent.h:53: >In file included from /var/tmp/portage/dev-libs/rocr-runtime-5.7.1-r1/work/ROCR-Runtime-rocm-5.7.1/src/core/inc/queue.h:50: >In file included from /var/tmp/portage/dev-libs/rocr-runtime-5.7.1-r1/work/ROCR-Runtime-rocm-5.7.1/src/core/common/shared.h:51: >/var/tmp/portage/dev-libs/rocr-runtime-5.7.1-r1/work/ROCR-Runtime-rocm-5.7.1/src/core/util/utils.h:77:12: error: invalid operands to binary expression ('std::nullptr_t' and 'int') > 77 | if (NULL != posix_memalign(&mem, alignment, size)) > | ~~~~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >2 errors generated. >[62/118] /usr/lib/ccache/bin/clang++-17 -DAMD_INTERNAL_BUILD -DBRAHMA_BUILD=1 -DHAVE_MEMFD_CREATE -DHSA_DEPRECATED="" -DHSA_EXPORT=1 -DHSA_EXPORT_FINALIZER=1 -DHSA_EXPORT_IMAGES=1 -DHSA_IMAGE_SUPPORT -DLINUX -DLITTLEENDIAN_CPU=1 -DROCR_BUILD_ID=\"1.11.0-local-build-unknown\" -DUNIX_OS -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -D__linux__ -Dhsa_runtime64_EXPORTS -I/var/tmp/portage/dev-libs/rocr-runtime-5.7.1-r1/work/ROCR-Runtime-rocm-5.7.1/src/inc -I/var/tmp/portage/dev-libs/rocr-runtime-5.7.1-r1/work/ROCR-Runtime-rocm-5.7.1/src -I/var/tmp/portage/dev-libs/rocr-runtime-5.7.1-r1/work/ROCR-Runtime-rocm-5.7.1/src/libamdhsacode -I/var/tmp/portage/dev-libs/rocr-runtime-5.7.1-r1/work/ROCR-Runtime-rocm-5.7.1/src_build/core/runtime/trap_handler -I/var/tmp/portage/dev-libs/rocr-runtime-5.7.1-r1/work/ROCR-Runtime-rocm-5.7.1/src/image -I/var/tmp/portage/dev-libs/rocr-runtime-5.7.1-r1/work/ROCR-Runtime-rocm-5.7.1/src/image/addrlib -I/var/tmp/portage/dev-libs/rocr-runtime-5.7.1-r1/work/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/inc -I/var/tmp/portage/dev-libs/rocr-runtime-5.7.1-r1/work/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src -I/var/tmp/portage/dev-libs/rocr-runtime-5.7.1-r1/work/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/core -I/var/tmp/portage/dev-libs/rocr-runtime-5.7.1-r1/work/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/r800 -I/var/tmp/portage/dev-libs/rocr-runtime-5.7.1-r1/work/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/gfx9 -I/var/tmp/portage/dev-libs/rocr-runtime-5.7.1-r1/work/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/gfx10 -I/var/tmp/portage/dev-libs/rocr-runtime-5.7.1-r1/work/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/gfx11 -I/var/tmp/portage/dev-libs/rocr-runtime-5.7.1-r1/work/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/chip/r800 -I/var/tmp/portage/dev-libs/rocr-runtime-5.7.1-r1/work/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/chip/gfx9 -I/var/tmp/portage/dev-libs/rocr-runtime-5.7.1-r1/work/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/chip/gfx10 -I/var/tmp/portage/dev-libs/rocr-runtime-5.7.1-r1/work/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/chip/gfx11 -isystem /usr/include/libdrm -O2 -pipe -ftree-vectorize -march=native -mtune=native -DNDEBUG -fPIC -Wall -std=c++11 -fPIC -fno-strict-aliasing -m64 -msse -msse2 -fexceptions -fno-rtti -fvisibility=hidden -Wno-error=missing-braces -Wno-error=sign-compare -Wno-sign-compare -Wno-write-strings -Wno-conversion-null -fno-math-errno -fno-threadsafe-statics -fmerge-all-constants -fms-extensions -Wno-error=comment -Wno-comment -Wno-error=pointer-arith -Wno-pointer-arith -Wno-error=unused-variable -Wno-error=unused-function -mmwaitx -Wno-deprecated-declarations -Wno-error=self-assign -Wno-error=unused-but-set-variable -MD -MT CMakeFiles/hsa-runtime64.dir/core/runtime/amd_gpu_agent.cpp.o -MF CMakeFiles/hsa-runtime64.dir/core/runtime/amd_gpu_agent.cpp.o.d -o CMakeFiles/hsa-runtime64.dir/core/runtime/amd_gpu_agent.cpp.o -c /var/tmp/portage/dev-libs/rocr-runtime-5.7.1-r1/work/ROCR-Runtime-rocm-5.7.1/src/core/runtime/amd_gpu_agent.cpp >[31mFAILED: [0mCMakeFiles/hsa-runtime64.dir/core/runtime/amd_gpu_agent.cpp.o >/usr/lib/ccache/bin/clang++-17 -DAMD_INTERNAL_BUILD -DBRAHMA_BUILD=1 -DHAVE_MEMFD_CREATE -DHSA_DEPRECATED="" -DHSA_EXPORT=1 -DHSA_EXPORT_FINALIZER=1 -DHSA_EXPORT_IMAGES=1 -DHSA_IMAGE_SUPPORT -DLINUX -DLITTLEENDIAN_CPU=1 -DROCR_BUILD_ID=\"1.11.0-local-build-unknown\" -DUNIX_OS -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -D__linux__ -Dhsa_runtime64_EXPORTS -I/var/tmp/portage/dev-libs/rocr-runtime-5.7.1-r1/work/ROCR-Runtime-rocm-5.7.1/src/inc -I/var/tmp/portage/dev-libs/rocr-runtime-5.7.1-r1/work/ROCR-Runtime-rocm-5.7.1/src -I/var/tmp/portage/dev-libs/rocr-runtime-5.7.1-r1/work/ROCR-Runtime-rocm-5.7.1/src/libamdhsacode -I/var/tmp/portage/dev-libs/rocr-runtime-5.7.1-r1/work/ROCR-Runtime-rocm-5.7.1/src_build/core/runtime/trap_handler -I/var/tmp/portage/dev-libs/rocr-runtime-5.7.1-r1/work/ROCR-Runtime-rocm-5.7.1/src/image -I/var/tmp/portage/dev-libs/rocr-runtime-5.7.1-r1/work/ROCR-Runtime-rocm-5.7.1/src/image/addrlib -I/var/tmp/portage/dev-libs/rocr-runtime-5.7.1-r1/work/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/inc -I/var/tmp/portage/dev-libs/rocr-runtime-5.7.1-r1/work/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src -I/var/tmp/portage/dev-libs/rocr-runtime-5.7.1-r1/work/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/core -I/var/tmp/portage/dev-libs/rocr-runtime-5.7.1-r1/work/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/r800 -I/var/tmp/portage/dev-libs/rocr-runtime-5.7.1-r1/work/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/gfx9 -I/var/tmp/portage/dev-libs/rocr-runtime-5.7.1-r1/work/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/gfx10 -I/var/tmp/portage/dev-libs/rocr-runtime-5.7.1-r1/work/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/gfx11 -I/var/tmp/portage/dev-libs/rocr-runtime-5.7.1-r1/work/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/chip/r800 -I/var/tmp/portage/dev-libs/rocr-runtime-5.7.1-r1/work/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/chip/gfx9 -I/var/tmp/portage/dev-libs/rocr-runtime-5.7.1-r1/work/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/chip/gfx10 -I/var/tmp/portage/dev-libs/rocr-runtime-5.7.1-r1/work/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/chip/gfx11 -isystem /usr/include/libdrm -O2 -pipe -ftree-vectorize -march=native -mtune=native -DNDEBUG -fPIC -Wall -std=c++11 -fPIC -fno-strict-aliasing -m64 -msse -msse2 -fexceptions -fno-rtti -fvisibility=hidden -Wno-error=missing-braces -Wno-error=sign-compare -Wno-sign-compare -Wno-write-strings -Wno-conversion-null -fno-math-errno -fno-threadsafe-statics -fmerge-all-constants -fms-extensions -Wno-error=comment -Wno-comment -Wno-error=pointer-arith -Wno-pointer-arith -Wno-error=unused-variable -Wno-error=unused-function -mmwaitx -Wno-deprecated-declarations -Wno-error=self-assign -Wno-error=unused-but-set-variable -MD -MT CMakeFiles/hsa-runtime64.dir/core/runtime/amd_gpu_agent.cpp.o -MF CMakeFiles/hsa-runtime64.dir/core/runtime/amd_gpu_agent.cpp.o.d -o CMakeFiles/hsa-runtime64.dir/core/runtime/amd_gpu_agent.cpp.o -c /var/tmp/portage/dev-libs/rocr-runtime-5.7.1-r1/work/ROCR-Runtime-rocm-5.7.1/src/core/runtime/amd_gpu_agent.cpp >In file included from /var/tmp/portage/dev-libs/rocr-runtime-5.7.1-r1/work/ROCR-Runtime-rocm-5.7.1/src/core/runtime/amd_gpu_agent.cpp:43: >In file included from /var/tmp/portage/dev-libs/rocr-runtime-5.7.1-r1/work/ROCR-Runtime-rocm-5.7.1/src/core/inc/amd_gpu_agent.h:53: >In file included from /var/tmp/portage/dev-libs/rocr-runtime-5.7.1-r1/work/ROCR-Runtime-rocm-5.7.1/src/core/inc/runtime.h:55: >In file included from /var/tmp/portage/dev-libs/rocr-runtime-5.7.1-r1/work/ROCR-Runtime-rocm-5.7.1/src/core/inc/hsa_ext_interface.h:51: >In file included from /var/tmp/portage/dev-libs/rocr-runtime-5.7.1-r1/work/ROCR-Runtime-rocm-5.7.1/src/core/util/os.h:50: >/var/tmp/portage/dev-libs/rocr-runtime-5.7.1-r1/work/ROCR-Runtime-rocm-5.7.1/src/core/util/utils.h:77:12: error: invalid operands to binary expression ('std::nullptr_t' and 'int') > 77 | if (NULL != posix_memalign(&mem, alignment, size)) > | ~~~~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >In file included from /var/tmp/portage/dev-libs/rocr-runtime-5.7.1-r1/work/ROCR-Runtime-rocm-5.7.1/src/core/runtime/amd_gpu_agent.cpp:43: >In file included from /var/tmp/portage/dev-libs/rocr-runtime-5.7.1-r1/work/ROCR-Runtime-rocm-5.7.1/src/core/inc/amd_gpu_agent.h:53: >In file included from /var/tmp/portage/dev-libs/rocr-runtime-5.7.1-r1/work/ROCR-Runtime-rocm-5.7.1/src/core/inc/runtime.h:59: >In file included from /var/tmp/portage/dev-libs/rocr-runtime-5.7.1-r1/work/ROCR-Runtime-rocm-5.7.1/src/core/inc/agent.h:51: >/var/tmp/portage/dev-libs/rocr-runtime-5.7.1-r1/work/ROCR-Runtime-rocm-5.7.1/src/core/inc/checked.h:61:24: error: assigning to 'uintptr_t' (aka 'unsigned long') from incompatible type 'std::nullptr_t' > 61 | ~Check() { object_ = NULL; } > | ^~~~ >/usr/include/locale.h:11:14: note: expanded from macro 'NULL' > 11 | #define NULL nullptr > | ^~~~~~~ >In file included from /var/tmp/portage/dev-libs/rocr-runtime-5.7.1-r1/work/ROCR-Runtime-rocm-5.7.1/src/core/runtime/amd_gpu_agent.cpp:60: >In file included from /var/tmp/portage/dev-libs/rocr-runtime-5.7.1-r1/work/ROCR-Runtime-rocm-5.7.1/src/core/inc/amd_memory_region.h:53: >/var/tmp/portage/dev-libs/rocr-runtime-5.7.1-r1/work/ROCR-Runtime-rocm-5.7.1/src/core/util/simple_heap.h:192:12: warning: unused variable 'err' [-Wunused-variable] > 192 | bool err = discardBlock(reinterpret_cast<void*>(base)); > | ^~~ >/var/tmp/portage/dev-libs/rocr-runtime-5.7.1-r1/work/ROCR-Runtime-rocm-5.7.1/src/core/runtime/amd_gpu_agent.cpp:115:17: warning: unused variable 'err' [-Wunused-variable] > 115 | HSAKMT_STATUS err = hsaKmtGetClockCounters(node_id(), &t0_); > | ^~~ >/var/tmp/portage/dev-libs/rocr-runtime-5.7.1-r1/work/ROCR-Runtime-rocm-5.7.1/src/core/runtime/amd_gpu_agent.cpp:218:20: warning: unused variable 'status' [-Wunused-variable] > 218 | hsa_status_t status = blit->Destroy(*this); > | ^~~~~~ >/var/tmp/portage/dev-libs/rocr-runtime-5.7.1-r1/work/ROCR-Runtime-rocm-5.7.1/src/core/runtime/amd_gpu_agent.cpp:532:17: warning: unused variable 'err' [-Wunused-variable] > 532 | HSAKMT_STATUS err = hsaKmtAvailableMemory(node_id(), &available); > | ^~~ >/var/tmp/portage/dev-libs/rocr-runtime-5.7.1-r1/work/ROCR-Runtime-rocm-5.7.1/src/core/runtime/amd_gpu_agent.cpp:1312:22: warning: unused variable 'err' [-Wunused-variable] > 1312 | hsa_status_t err = GetInfo((hsa_agent_info_t)HSA_AMD_AGENT_INFO_COMPUTE_UNIT_COUNT, &count); > | ^~~ >/var/tmp/portage/dev-libs/rocr-runtime-5.7.1-r1/work/ROCR-Runtime-rocm-5.7.1/src/core/runtime/amd_gpu_agent.cpp:1782:17: warning: unused variable 'err' [-Wunused-variable] > 1782 | HSAKMT_STATUS err = hsaKmtGetClockCounters(node_id(), &t1_); > | ^~~ >/var/tmp/portage/dev-libs/rocr-runtime-5.7.1-r1/work/ROCR-Runtime-rocm-5.7.1/src/core/runtime/amd_gpu_agent.cpp:1822:17: warning: unused variable 'err' [-Wunused-variable] > 1822 | HSAKMT_STATUS err = hsaKmtSetTrapHandler(node_id(), trap_code_buf_, trap_code_buf_size_, > | ^~~ >7 warnings and 2 errors generated. >ninja: build stopped: subcommand failed. > [31;01m*[0m ERROR: dev-libs/rocr-runtime-5.7.1-r1::gentoo failed (compile phase): > [31;01m*[0m ninja -v -j12 -l0 failed > [31;01m*[0m > [31;01m*[0m Call stack: > [31;01m*[0m ebuild.sh, line 136: Called src_compile > [31;01m*[0m environment, line 2334: Called cmake_src_compile > [31;01m*[0m environment, line 900: Called cmake_build > [31;01m*[0m environment, line 867: Called eninja > [31;01m*[0m environment, line 1336: Called die > [31;01m*[0m The specific snippet of code: > [31;01m*[0m "$@" || die -n "${*} failed" > [31;01m*[0m > [31;01m*[0m If you need support, post the output of `emerge --info '=dev-libs/rocr-runtime-5.7.1-r1::gentoo'`, > [31;01m*[0m the complete build log and the output of `emerge -pqv '=dev-libs/rocr-runtime-5.7.1-r1::gentoo'`. > [31;01m*[0m The complete build log is located at '/var/tmp/portage/dev-libs/rocr-runtime-5.7.1-r1/temp/build.log'. > [31;01m*[0m The ebuild environment file is located at '/var/tmp/portage/dev-libs/rocr-runtime-5.7.1-r1/temp/environment'. > [31;01m*[0m Working directory: '/var/tmp/portage/dev-libs/rocr-runtime-5.7.1-r1/work/ROCR-Runtime-rocm-5.7.1/src_build' > [31;01m*[0m S: '/var/tmp/portage/dev-libs/rocr-runtime-5.7.1-r1/work/ROCR-Runtime-rocm-5.7.1/src'
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 921322
: 881436 |
881437