Mock Version: 1.4.9 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/rocm-runtime.spec'], chrootPath='/var/lib/mock/724470-epel-7-x86_64-1520266189.409868/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8'}shell=Falselogger=timeout=0uid=1001gid=135user='mockbuild'nspawn_args=[]unshare_net=FalseprintOutput=True) Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', '136974d682bd4283bf17b7d8a047d47e', '-D', '/var/lib/mock/724470-epel-7-x86_64-1520266189.409868/root', '-a', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=en_US.UTF-8', '-u', 'mockbuild', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/rocm-runtime.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8'} and shell False BUILDSTDERR: warning: Could not canonicalize hostname: 136974d682bd4283bf17b7d8a047d47e Building target platforms: x86_64 Building for target x86_64 Wrote: /builddir/build/SRPMS/rocm-runtime-1.7.0-2.el7.centos.src.rpm Child return code was: 0 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/rocm-runtime.spec'], chrootPath='/var/lib/mock/724470-epel-7-x86_64-1520266189.409868/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8'}shell=Falselogger=timeout=0uid=1001gid=135user='mockbuild'nspawn_args=[]unshare_net=FalseprintOutput=True) Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', '1577ffc50576467d8d870e0f211b04e5', '-D', '/var/lib/mock/724470-epel-7-x86_64-1520266189.409868/root', '-a', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=en_US.UTF-8', '-u', 'mockbuild', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/rocm-runtime.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8'} and shell False Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.RSJcVD + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf ROCR-Runtime-roc-1.7.0 + /usr/bin/gzip -dc /builddir/build/SOURCES/roc-1.7.0.tar.gz + /usr/bin/tar -xf - + STATUS=0 + '[' 0 -ne 0 ']' + cd ROCR-Runtime-roc-1.7.0 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/bin/cat /builddir/build/SOURCES/0001-Fix-Werror-format-overflow-warning.patch + /usr/bin/patch -p1 -s + /usr/bin/cat /builddir/build/SOURCES/0001-Fix-build-with-gcc-8.patch + /usr/bin/patch -p1 -s + chmod a-x src/inc/hsa_ext_amd.h + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.D0UhiK + umask 022 + cd /builddir/build/BUILD + cd ROCR-Runtime-roc-1.7.0 + mkdir build + cd build + CFLAGS='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic' + export CFLAGS + CXXFLAGS='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic' + export CXXFLAGS + FFLAGS='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro ' + export LDFLAGS + /usr/bin/cmake3 -DCMAKE_C_FLAGS_RELEASE:STRING=-DNDEBUG -DCMAKE_CXX_FLAGS_RELEASE:STRING=-DNDEBUG -DCMAKE_Fortran_FLAGS_RELEASE:STRING=-DNDEBUG -DCMAKE_VERBOSE_MAKEFILE:BOOL=ON -DCMAKE_INSTALL_PREFIX:PATH=/usr -DINCLUDE_INSTALL_DIR:PATH=/usr/include -DLIB_INSTALL_DIR:PATH=/usr/lib64 -DSYSCONF_INSTALL_DIR:PATH=/etc -DSHARE_INSTALL_PREFIX:PATH=/usr/share -DLIB_SUFFIX=64 -DBUILD_SHARED_LIBS:BOOL=ON ../src -DCMAKE_BUILD_TYPE=RelWithDebInfo -- The C compiler identification is GNU 4.8.5 -- The CXX compiler identification is GNU 4.8.5 -- Check for working C compiler: /usr/bin/cc -- Check for working C compiler: /usr/bin/cc -- works -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Detecting C compile features -- Detecting C compile features - done -- Check for working CXX compiler: /usr/bin/c++ -- Check for working CXX compiler: /usr/bin/c++ -- works -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Detecting CXX compile features -- Detecting CXX compile features - done -- Found LibElf: /usr/lib64/libelf.so -- Performing Test ELF_GETSHDRSTRNDX -- Performing Test ELF_GETSHDRSTRNDX - Success -- Looking for __NR_memfd_create -- Looking for __NR_memfd_create - found -- Configuring done -- Generating done BUILDSTDERR: CMake Warning: BUILDSTDERR: Manually-specified variables were not used by the project: BUILDSTDERR: CMAKE_CXX_FLAGS_RELEASE BUILDSTDERR: CMAKE_C_FLAGS_RELEASE BUILDSTDERR: CMAKE_Fortran_FLAGS_RELEASE BUILDSTDERR: INCLUDE_INSTALL_DIR BUILDSTDERR: LIB_INSTALL_DIR BUILDSTDERR: LIB_SUFFIX BUILDSTDERR: SHARE_INSTALL_PREFIX BUILDSTDERR: SYSCONF_INSTALL_DIR -- Build files have been written to: /builddir/build/BUILD/ROCR-Runtime-roc-1.7.0/build + /usr/bin/make -j2 /usr/bin/cmake3 -H/builddir/build/BUILD/ROCR-Runtime-roc-1.7.0/src -B/builddir/build/BUILD/ROCR-Runtime-roc-1.7.0/build --check-build-system CMakeFiles/Makefile.cmake 0 /usr/bin/cmake3 -E cmake_progress_start /builddir/build/BUILD/ROCR-Runtime-roc-1.7.0/build/CMakeFiles /builddir/build/BUILD/ROCR-Runtime-roc-1.7.0/build/CMakeFiles/progress.marks /usr/bin/make -f CMakeFiles/Makefile2 all make[1]: Entering directory `/builddir/build/BUILD/ROCR-Runtime-roc-1.7.0/build' /usr/bin/make -f CMakeFiles/hsa-runtime64.dir/build.make CMakeFiles/hsa-runtime64.dir/depend /usr/bin/make -f CMakeFiles/hsa-runtime64.so-link.dir/build.make CMakeFiles/hsa-runtime64.so-link.dir/depend make[2]: Entering directory `/builddir/build/BUILD/ROCR-Runtime-roc-1.7.0/build' cd /builddir/build/BUILD/ROCR-Runtime-roc-1.7.0/build && /usr/bin/cmake3 -E cmake_depends "Unix Makefiles" /builddir/build/BUILD/ROCR-Runtime-roc-1.7.0/src /builddir/build/BUILD/ROCR-Runtime-roc-1.7.0/src /builddir/build/BUILD/ROCR-Runtime-roc-1.7.0/build /builddir/build/BUILD/ROCR-Runtime-roc-1.7.0/build /builddir/build/BUILD/ROCR-Runtime-roc-1.7.0/build/CMakeFiles/hsa-runtime64.so-link.dir/DependInfo.cmake --color= make[2]: Entering directory `/builddir/build/BUILD/ROCR-Runtime-roc-1.7.0/build' cd /builddir/build/BUILD/ROCR-Runtime-roc-1.7.0/build && /usr/bin/cmake3 -E cmake_depends "Unix Makefiles" /builddir/build/BUILD/ROCR-Runtime-roc-1.7.0/src /builddir/build/BUILD/ROCR-Runtime-roc-1.7.0/src /builddir/build/BUILD/ROCR-Runtime-roc-1.7.0/build /builddir/build/BUILD/ROCR-Runtime-roc-1.7.0/build /builddir/build/BUILD/ROCR-Runtime-roc-1.7.0/build/CMakeFiles/hsa-runtime64.dir/DependInfo.cmake --color= Scanning dependencies of target hsa-runtime64.so-link make[2]: Leaving directory `/builddir/build/BUILD/ROCR-Runtime-roc-1.7.0/build' /usr/bin/make -f CMakeFiles/hsa-runtime64.so-link.dir/build.make CMakeFiles/hsa-runtime64.so-link.dir/build make[2]: Entering directory `/builddir/build/BUILD/ROCR-Runtime-roc-1.7.0/build' /usr/bin/cmake3 -E create_symlink ../hsa/lib/libhsa-runtime64.so libhsa-runtime64.so-link make[2]: Leaving directory `/builddir/build/BUILD/ROCR-Runtime-roc-1.7.0/build' [ 0%] Built target hsa-runtime64.so-link /usr/bin/make -f CMakeFiles/hsa-link.dir/build.make CMakeFiles/hsa-link.dir/depend make[2]: Entering directory `/builddir/build/BUILD/ROCR-Runtime-roc-1.7.0/build' cd /builddir/build/BUILD/ROCR-Runtime-roc-1.7.0/build && /usr/bin/cmake3 -E cmake_depends "Unix Makefiles" /builddir/build/BUILD/ROCR-Runtime-roc-1.7.0/src /builddir/build/BUILD/ROCR-Runtime-roc-1.7.0/src /builddir/build/BUILD/ROCR-Runtime-roc-1.7.0/build /builddir/build/BUILD/ROCR-Runtime-roc-1.7.0/build /builddir/build/BUILD/ROCR-Runtime-roc-1.7.0/build/CMakeFiles/hsa-link.dir/DependInfo.cmake --color= Scanning dependencies of target hsa-link make[2]: Leaving directory `/builddir/build/BUILD/ROCR-Runtime-roc-1.7.0/build' /usr/bin/make -f CMakeFiles/hsa-link.dir/build.make CMakeFiles/hsa-link.dir/build make[2]: Entering directory `/builddir/build/BUILD/ROCR-Runtime-roc-1.7.0/build' /usr/bin/cmake3 -E create_symlink ../hsa/include/hsa hsa-link make[2]: Leaving directory `/builddir/build/BUILD/ROCR-Runtime-roc-1.7.0/build' [ 0%] Built target hsa-link Scanning dependencies of target hsa-runtime64 make[2]: Leaving directory `/builddir/build/BUILD/ROCR-Runtime-roc-1.7.0/build' /usr/bin/make -f CMakeFiles/hsa-runtime64.dir/build.make CMakeFiles/hsa-runtime64.dir/build make[2]: Entering directory `/builddir/build/BUILD/ROCR-Runtime-roc-1.7.0/build' [ 5%] Building CXX object CMakeFiles/hsa-runtime64.dir/core/util/lnx/os_linux.cpp.o [ 5%] Building CXX object CMakeFiles/hsa-runtime64.dir/core/util/small_heap.cpp.o /usr/bin/c++ -DHAVE_MEMFD_CREATE -DHSA_EXPORT=1 -DHSA_EXPORT_FINALIZER=1 -DHSA_EXPORT_IMAGES=1 -DLITTLEENDIAN_CPU=1 -DROCR_BUILD_ID=1.0.0- -D__linux__ -Dhsa_runtime64_EXPORTS -I/usr/include/libhsakmt -I/builddir/build/BUILD/ROCR-Runtime-roc-1.7.0/src -I/builddir/build/BUILD/ROCR-Runtime-roc-1.7.0/src/inc -I/builddir/build/BUILD/ROCR-Runtime-roc-1.7.0/src/core/inc -I/builddir/build/BUILD/ROCR-Runtime-roc-1.7.0/src/libamdhsacode -Wall -std=c++11 -fpic -Wl,--unresolved-symbols=ignore-in-shared-libs -fno-strict-aliasing -m64 -msse -msse2 -Werror -fexceptions -fno-rtti -fvisibility=hidden -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-but-set-variable -Wno-error=unused-function -O2 -g -DNDEBUG -fPIC -D __STDC_LIMIT_MACROS -D __STDC_CONSTANT_MACROS -D __STDC_FORMAT_MACROS -D HSA_DEPRECATED= -o CMakeFiles/hsa-runtime64.dir/core/util/lnx/os_linux.cpp.o -c /builddir/build/BUILD/ROCR-Runtime-roc-1.7.0/src/core/util/lnx/os_linux.cpp /usr/bin/c++ -DHAVE_MEMFD_CREATE -DHSA_EXPORT=1 -DHSA_EXPORT_FINALIZER=1 -DHSA_EXPORT_IMAGES=1 -DLITTLEENDIAN_CPU=1 -DROCR_BUILD_ID=1.0.0- -D__linux__ -Dhsa_runtime64_EXPORTS -I/usr/include/libhsakmt -I/builddir/build/BUILD/ROCR-Runtime-roc-1.7.0/src -I/builddir/build/BUILD/ROCR-Runtime-roc-1.7.0/src/inc -I/builddir/build/BUILD/ROCR-Runtime-roc-1.7.0/src/core/inc -I/builddir/build/BUILD/ROCR-Runtime-roc-1.7.0/src/libamdhsacode -Wall -std=c++11 -fpic -Wl,--unresolved-symbols=ignore-in-shared-libs -fno-strict-aliasing -m64 -msse -msse2 -Werror -fexceptions -fno-rtti -fvisibility=hidden -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-but-set-variable -Wno-error=unused-function -O2 -g -DNDEBUG -fPIC -D __STDC_LIMIT_MACROS -D __STDC_CONSTANT_MACROS -D __STDC_FORMAT_MACROS -D HSA_DEPRECATED= -o CMakeFiles/hsa-runtime64.dir/core/util/small_heap.cpp.o -c /builddir/build/BUILD/ROCR-Runtime-roc-1.7.0/src/core/util/small_heap.cpp BUILDSTDERR: /builddir/build/BUILD/ROCR-Runtime-roc-1.7.0/src/core/util/lnx/os_linux.cpp: In function 'void* os::GetExportAddress(os::LibHandle, std::string)': BUILDSTDERR: /builddir/build/BUILD/ROCR-Runtime-roc-1.7.0/src/core/util/lnx/os_linux.cpp:83:7: warning: variable 'err' set but not used [-Wunused-but-set-variable] BUILDSTDERR: int err = dlinfo(*(void**)&lib, RTLD_DI_LINKMAP, &map); BUILDSTDERR: ^ BUILDSTDERR: /builddir/build/BUILD/ROCR-Runtime-roc-1.7.0/src/core/util/lnx/os_linux.cpp: In function 'uint64_t os::ReadAccurateClock()': BUILDSTDERR: /builddir/build/BUILD/ROCR-Runtime-roc-1.7.0/src/core/util/lnx/os_linux.cpp:334:7: warning: unused variable 'err' [-Wunused-variable] BUILDSTDERR: int err = clock_gettime(CLOCK_MONOTONIC_RAW, &time); BUILDSTDERR: ^ BUILDSTDERR: /builddir/build/BUILD/ROCR-Runtime-roc-1.7.0/src/core/util/lnx/os_linux.cpp: In function 'uint64_t os::AccurateClockFrequency()': BUILDSTDERR: /builddir/build/BUILD/ROCR-Runtime-roc-1.7.0/src/core/util/lnx/os_linux.cpp:363:7: warning: unused variable 'err' [-Wunused-variable] BUILDSTDERR: int err = clock_getres(clock, &time); BUILDSTDERR: ^ [ 8%] Building CXX object CMakeFiles/hsa-runtime64.dir/core/util/timer.cpp.o /usr/bin/c++ -DHAVE_MEMFD_CREATE -DHSA_EXPORT=1 -DHSA_EXPORT_FINALIZER=1 -DHSA_EXPORT_IMAGES=1 -DLITTLEENDIAN_CPU=1 -DROCR_BUILD_ID=1.0.0- -D__linux__ -Dhsa_runtime64_EXPORTS -I/usr/include/libhsakmt -I/builddir/build/BUILD/ROCR-Runtime-roc-1.7.0/src -I/builddir/build/BUILD/ROCR-Runtime-roc-1.7.0/src/inc -I/builddir/build/BUILD/ROCR-Runtime-roc-1.7.0/src/core/inc -I/builddir/build/BUILD/ROCR-Runtime-roc-1.7.0/src/libamdhsacode -Wall -std=c++11 -fpic -Wl,--unresolved-symbols=ignore-in-shared-libs -fno-strict-aliasing -m64 -msse -msse2 -Werror -fexceptions -fno-rtti -fvisibility=hidden -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-but-set-variable -Wno-error=unused-function -O2 -g -DNDEBUG -fPIC -D __STDC_LIMIT_MACROS -D __STDC_CONSTANT_MACROS -D __STDC_FORMAT_MACROS -D HSA_DEPRECATED= -o CMakeFiles/hsa-runtime64.dir/core/util/timer.cpp.o -c /builddir/build/BUILD/ROCR-Runtime-roc-1.7.0/src/core/util/timer.cpp [ 11%] Building CXX object CMakeFiles/hsa-runtime64.dir/core/runtime/amd_blit_kernel.cpp.o /usr/bin/c++ -DHAVE_MEMFD_CREATE -DHSA_EXPORT=1 -DHSA_EXPORT_FINALIZER=1 -DHSA_EXPORT_IMAGES=1 -DLITTLEENDIAN_CPU=1 -DROCR_BUILD_ID=1.0.0- -D__linux__ -Dhsa_runtime64_EXPORTS -I/usr/include/libhsakmt -I/builddir/build/BUILD/ROCR-Runtime-roc-1.7.0/src -I/builddir/build/BUILD/ROCR-Runtime-roc-1.7.0/src/inc -I/builddir/build/BUILD/ROCR-Runtime-roc-1.7.0/src/core/inc -I/builddir/build/BUILD/ROCR-Runtime-roc-1.7.0/src/libamdhsacode -Wall -std=c++11 -fpic -Wl,--unresolved-symbols=ignore-in-shared-libs -fno-strict-aliasing -m64 -msse -msse2 -Werror -fexceptions -fno-rtti -fvisibility=hidden -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-but-set-variable -Wno-error=unused-function -O2 -g -DNDEBUG -fPIC -D __STDC_LIMIT_MACROS -D __STDC_CONSTANT_MACROS -D __STDC_FORMAT_MACROS -D HSA_DEPRECATED= -o CMakeFiles/hsa-runtime64.dir/core/runtime/amd_blit_kernel.cpp.o -c /builddir/build/BUILD/ROCR-Runtime-roc-1.7.0/src/core/runtime/amd_blit_kernel.cpp [ 13%] Building CXX object CMakeFiles/hsa-runtime64.dir/core/runtime/amd_blit_sdma.cpp.o /usr/bin/c++ -DHAVE_MEMFD_CREATE -DHSA_EXPORT=1 -DHSA_EXPORT_FINALIZER=1 -DHSA_EXPORT_IMAGES=1 -DLITTLEENDIAN_CPU=1 -DROCR_BUILD_ID=1.0.0- -D__linux__ -Dhsa_runtime64_EXPORTS -I/usr/include/libhsakmt -I/builddir/build/BUILD/ROCR-Runtime-roc-1.7.0/src -I/builddir/build/BUILD/ROCR-Runtime-roc-1.7.0/src/inc -I/builddir/build/BUILD/ROCR-Runtime-roc-1.7.0/src/core/inc -I/builddir/build/BUILD/ROCR-Runtime-roc-1.7.0/src/libamdhsacode -Wall -std=c++11 -fpic -Wl,--unresolved-symbols=ignore-in-shared-libs -fno-strict-aliasing -m64 -msse -msse2 -Werror -fexceptions -fno-rtti -fvisibility=hidden -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-but-set-variable -Wno-error=unused-function -O2 -g -DNDEBUG -fPIC -D __STDC_LIMIT_MACROS -D __STDC_CONSTANT_MACROS -D __STDC_FORMAT_MACROS -D HSA_DEPRECATED= -o CMakeFiles/hsa-runtime64.dir/core/runtime/amd_blit_sdma.cpp.o -c /builddir/build/BUILD/ROCR-Runtime-roc-1.7.0/src/core/runtime/amd_blit_sdma.cpp BUILDSTDERR: /builddir/build/BUILD/ROCR-Runtime-roc-1.7.0/src/core/runtime/amd_blit_sdma.cpp: In instantiation of 'hsa_status_t amd::BlitSdma::Destroy(const core::Agent&) [with RingIndexTy = unsigned int; bool HwIndexMonotonic = false; int SizeToCountOffset = 0]': BUILDSTDERR: /builddir/build/BUILD/ROCR-Runtime-roc-1.7.0/src/core/runtime/amd_blit_sdma.cpp:1020:16: required from here BUILDSTDERR: /builddir/build/BUILD/ROCR-Runtime-roc-1.7.0/src/core/runtime/amd_blit_sdma.cpp:479:10: warning: unused variable 'err' [-Wunused-variable] BUILDSTDERR: auto err = hsaKmtDestroyQueue(queue_resource_.QueueId); BUILDSTDERR: ^ BUILDSTDERR: /builddir/build/BUILD/ROCR-Runtime-roc-1.7.0/src/core/runtime/amd_blit_sdma.cpp: In instantiation of 'hsa_status_t amd::BlitSdma::Destroy(const core::Agent&) [with RingIndexTy = long unsigned int; bool HwIndexMonotonic = true; int SizeToCountOffset = -1]': BUILDSTDERR: /builddir/build/BUILD/ROCR-Runtime-roc-1.7.0/src/core/runtime/amd_blit_sdma.cpp:1021:16: required from here BUILDSTDERR: /builddir/build/BUILD/ROCR-Runtime-roc-1.7.0/src/core/runtime/amd_blit_sdma.cpp:479:10: warning: unused variable 'err' [-Wunused-variable] [ 16%] Building CXX object CMakeFiles/hsa-runtime64.dir/core/runtime/amd_cpu_agent.cpp.o /usr/bin/c++ -DHAVE_MEMFD_CREATE -DHSA_EXPORT=1 -DHSA_EXPORT_FINALIZER=1 -DHSA_EXPORT_IMAGES=1 -DLITTLEENDIAN_CPU=1 -DROCR_BUILD_ID=1.0.0- -D__linux__ -Dhsa_runtime64_EXPORTS -I/usr/include/libhsakmt -I/builddir/build/BUILD/ROCR-Runtime-roc-1.7.0/src -I/builddir/build/BUILD/ROCR-Runtime-roc-1.7.0/src/inc -I/builddir/build/BUILD/ROCR-Runtime-roc-1.7.0/src/core/inc -I/builddir/build/BUILD/ROCR-Runtime-roc-1.7.0/src/libamdhsacode -Wall -std=c++11 -fpic -Wl,--unresolved-symbols=ignore-in-shared-libs -fno-strict-aliasing -m64 -msse -msse2 -Werror -fexceptions -fno-rtti -fvisibility=hidden -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-but-set-variable -Wno-error=unused-function -O2 -g -DNDEBUG -fPIC -D __STDC_LIMIT_MACROS -D __STDC_CONSTANT_MACROS -D __STDC_FORMAT_MACROS -D HSA_DEPRECATED= -o CMakeFiles/hsa-runtime64.dir/core/runtime/amd_cpu_agent.cpp.o -c /builddir/build/BUILD/ROCR-Runtime-roc-1.7.0/src/core/runtime/amd_cpu_agent.cpp [ 19%] Building CXX object CMakeFiles/hsa-runtime64.dir/core/runtime/amd_gpu_agent.cpp.o /usr/bin/c++ -DHAVE_MEMFD_CREATE -DHSA_EXPORT=1 -DHSA_EXPORT_FINALIZER=1 -DHSA_EXPORT_IMAGES=1 -DLITTLEENDIAN_CPU=1 -DROCR_BUILD_ID=1.0.0- -D__linux__ -Dhsa_runtime64_EXPORTS -I/usr/include/libhsakmt -I/builddir/build/BUILD/ROCR-Runtime-roc-1.7.0/src -I/builddir/build/BUILD/ROCR-Runtime-roc-1.7.0/src/inc -I/builddir/build/BUILD/ROCR-Runtime-roc-1.7.0/src/core/inc -I/builddir/build/BUILD/ROCR-Runtime-roc-1.7.0/src/libamdhsacode -Wall -std=c++11 -fpic -Wl,--unresolved-symbols=ignore-in-shared-libs -fno-strict-aliasing -m64 -msse -msse2 -Werror -fexceptions -fno-rtti -fvisibility=hidden -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-but-set-variable -Wno-error=unused-function -O2 -g -DNDEBUG -fPIC -D __STDC_LIMIT_MACROS -D __STDC_CONSTANT_MACROS -D __STDC_FORMAT_MACROS -D HSA_DEPRECATED= -o CMakeFiles/hsa-runtime64.dir/core/runtime/amd_gpu_agent.cpp.o -c /builddir/build/BUILD/ROCR-Runtime-roc-1.7.0/src/core/runtime/amd_gpu_agent.cpp BUILDSTDERR: /builddir/build/BUILD/ROCR-Runtime-roc-1.7.0/src/core/runtime/amd_gpu_agent.cpp: In constructor 'amd::GpuAgent::GpuAgent(HSAuint32, const HsaNodeProperties&)': BUILDSTDERR: /builddir/build/BUILD/ROCR-Runtime-roc-1.7.0/src/core/runtime/amd_gpu_agent.cpp:93:17: warning: unused variable 'err' [-Wunused-variable] BUILDSTDERR: HSAKMT_STATUS err = hsaKmtGetClockCounters(node_id(), &t0_); BUILDSTDERR: ^ BUILDSTDERR: /builddir/build/BUILD/ROCR-Runtime-roc-1.7.0/src/core/runtime/amd_gpu_agent.cpp: In destructor 'virtual amd::GpuAgent::~GpuAgent()': BUILDSTDERR: /builddir/build/BUILD/ROCR-Runtime-roc-1.7.0/src/core/runtime/amd_gpu_agent.cpp:135:20: warning: unused variable 'status' [-Wunused-variable] BUILDSTDERR: hsa_status_t status = blits_[i]->Destroy(*this); BUILDSTDERR: ^ BUILDSTDERR: /builddir/build/BUILD/ROCR-Runtime-roc-1.7.0/src/core/runtime/amd_gpu_agent.cpp: In member function 'void amd::GpuAgent::SyncClocks()': BUILDSTDERR: /builddir/build/BUILD/ROCR-Runtime-roc-1.7.0/src/core/runtime/amd_gpu_agent.cpp:1086:17: warning: unused variable 'err' [-Wunused-variable] BUILDSTDERR: HSAKMT_STATUS err = hsaKmtGetClockCounters(node_id(), &t1_); BUILDSTDERR: ^ BUILDSTDERR: /builddir/build/BUILD/ROCR-Runtime-roc-1.7.0/src/core/runtime/amd_gpu_agent.cpp: In member function 'void amd::GpuAgent::BindTrapHandler()': BUILDSTDERR: /builddir/build/BUILD/ROCR-Runtime-roc-1.7.0/src/core/runtime/amd_gpu_agent.cpp:1167:17: warning: unused variable 'err' [-Wunused-variable] BUILDSTDERR: HSAKMT_STATUS err = hsaKmtSetTrapHandler(node_id(), trap_code_buf_, BUILDSTDERR: ^ [ 22%] Building CXX object CMakeFiles/hsa-runtime64.dir/core/runtime/amd_aql_queue.cpp.o /usr/bin/c++ -DHAVE_MEMFD_CREATE -DHSA_EXPORT=1 -DHSA_EXPORT_FINALIZER=1 -DHSA_EXPORT_IMAGES=1 -DLITTLEENDIAN_CPU=1 -DROCR_BUILD_ID=1.0.0- -D__linux__ -Dhsa_runtime64_EXPORTS -I/usr/include/libhsakmt -I/builddir/build/BUILD/ROCR-Runtime-roc-1.7.0/src -I/builddir/build/BUILD/ROCR-Runtime-roc-1.7.0/src/inc -I/builddir/build/BUILD/ROCR-Runtime-roc-1.7.0/src/core/inc -I/builddir/build/BUILD/ROCR-Runtime-roc-1.7.0/src/libamdhsacode -Wall -std=c++11 -fpic -Wl,--unresolved-symbols=ignore-in-shared-libs -fno-strict-aliasing -m64 -msse -msse2 -Werror -fexceptions -fno-rtti -fvisibility=hidden -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-but-set-variable -Wno-error=unused-function -O2 -g -DNDEBUG -fPIC -D __STDC_LIMIT_MACROS -D __STDC_CONSTANT_MACROS -D __STDC_FORMAT_MACROS -D HSA_DEPRECATED= -o CMakeFiles/hsa-runtime64.dir/core/runtime/amd_aql_queue.cpp.o -c /builddir/build/BUILD/ROCR-Runtime-roc-1.7.0/src/core/runtime/amd_aql_queue.cpp BUILDSTDERR: /builddir/build/BUILD/ROCR-Runtime-roc-1.7.0/src/core/runtime/amd_aql_queue.cpp: In member function 'void amd::AqlQueue::AllocRegisteredRingBuffer(uint32_t)': BUILDSTDERR: /builddir/build/BUILD/ROCR-Runtime-roc-1.7.0/src/core/runtime/amd_aql_queue.cpp:503:11: warning: variable 'ring_buf_upper_half' set but not used [-Wunused-but-set-variable] BUILDSTDERR: void* ring_buf_upper_half = NULL; BUILDSTDERR: ^ BUILDSTDERR: /builddir/build/BUILD/ROCR-Runtime-roc-1.7.0/src/core/runtime/amd_aql_queue.cpp: In member function 'virtual hsa_status_t amd::AqlQueue::Inactivate()': BUILDSTDERR: /builddir/build/BUILD/ROCR-Runtime-roc-1.7.0/src/core/runtime/amd_aql_queue.cpp:682:10: warning: unused variable 'err' [-Wunused-variable] BUILDSTDERR: auto err = hsaKmtDestroyQueue(this->queue_id_); BUILDSTDERR: ^ [ 25%] Building CXX object CMakeFiles/hsa-runtime64.dir/core/runtime/amd_loader_context.cpp.o /usr/bin/c++ -DHAVE_MEMFD_CREATE -DHSA_EXPORT=1 -DHSA_EXPORT_FINALIZER=1 -DHSA_EXPORT_IMAGES=1 -DLITTLEENDIAN_CPU=1 -DROCR_BUILD_ID=1.0.0- -D__linux__ -Dhsa_runtime64_EXPORTS -I/usr/include/libhsakmt -I/builddir/build/BUILD/ROCR-Runtime-roc-1.7.0/src -I/builddir/build/BUILD/ROCR-Runtime-roc-1.7.0/src/inc -I/builddir/build/BUILD/ROCR-Runtime-roc-1.7.0/src/core/inc -I/builddir/build/BUILD/ROCR-Runtime-roc-1.7.0/src/libamdhsacode -Wall -std=c++11 -fpic -Wl,--unresolved-symbols=ignore-in-shared-libs -fno-strict-aliasing -m64 -msse -msse2 -Werror -fexceptions -fno-rtti -fvisibility=hidden -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-but-set-variable -Wno-error=unused-function -O2 -g -DNDEBUG -fPIC -D __STDC_LIMIT_MACROS -D __STDC_CONSTANT_MACROS -D __STDC_FORMAT_MACROS -D HSA_DEPRECATED= -o CMakeFiles/hsa-runtime64.dir/core/runtime/amd_loader_context.cpp.o -c /builddir/build/BUILD/ROCR-Runtime-roc-1.7.0/src/core/runtime/amd_loader_context.cpp [ 27%] Building CXX object CMakeFiles/hsa-runtime64.dir/core/runtime/hsa_ven_amd_loader.cpp.o /usr/bin/c++ -DHAVE_MEMFD_CREATE -DHSA_EXPORT=1 -DHSA_EXPORT_FINALIZER=1 -DHSA_EXPORT_IMAGES=1 -DLITTLEENDIAN_CPU=1 -DROCR_BUILD_ID=1.0.0- -D__linux__ -Dhsa_runtime64_EXPORTS -I/usr/include/libhsakmt -I/builddir/build/BUILD/ROCR-Runtime-roc-1.7.0/src -I/builddir/build/BUILD/ROCR-Runtime-roc-1.7.0/src/inc -I/builddir/build/BUILD/ROCR-Runtime-roc-1.7.0/src/core/inc -I/builddir/build/BUILD/ROCR-Runtime-roc-1.7.0/src/libamdhsacode -Wall -std=c++11 -fpic -Wl,--unresolved-symbols=ignore-in-shared-libs -fno-strict-aliasing -m64 -msse -msse2 -Werror -fexceptions -fno-rtti -fvisibility=hidden -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-but-set-variable -Wno-error=unused-function -O2 -g -DNDEBUG -fPIC -D __STDC_LIMIT_MACROS -D __STDC_CONSTANT_MACROS -D __STDC_FORMAT_MACROS -D HSA_DEPRECATED= -o CMakeFiles/hsa-runtime64.dir/core/runtime/hsa_ven_amd_loader.cpp.o -c /builddir/build/BUILD/ROCR-Runtime-roc-1.7.0/src/core/runtime/hsa_ven_amd_loader.cpp [ 30%] Building CXX object CMakeFiles/hsa-runtime64.dir/core/runtime/amd_memory_region.cpp.o /usr/bin/c++ -DHAVE_MEMFD_CREATE -DHSA_EXPORT=1 -DHSA_EXPORT_FINALIZER=1 -DHSA_EXPORT_IMAGES=1 -DLITTLEENDIAN_CPU=1 -DROCR_BUILD_ID=1.0.0- -D__linux__ -Dhsa_runtime64_EXPORTS -I/usr/include/libhsakmt -I/builddir/build/BUILD/ROCR-Runtime-roc-1.7.0/src -I/builddir/build/BUILD/ROCR-Runtime-roc-1.7.0/src/inc -I/builddir/build/BUILD/ROCR-Runtime-roc-1.7.0/src/core/inc -I/builddir/build/BUILD/ROCR-Runtime-roc-1.7.0/src/libamdhsacode -Wall -std=c++11 -fpic -Wl,--unresolved-symbols=ignore-in-shared-libs -fno-strict-aliasing -m64 -msse -msse2 -Werror -fexceptions -fno-rtti -fvisibility=hidden -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-but-set-variable -Wno-error=unused-function -O2 -g -DNDEBUG -fPIC -D __STDC_LIMIT_MACROS -D __STDC_CONSTANT_MACROS -D __STDC_FORMAT_MACROS -D HSA_DEPRECATED= -o CMakeFiles/hsa-runtime64.dir/core/runtime/amd_memory_region.cpp.o -c /builddir/build/BUILD/ROCR-Runtime-roc-1.7.0/src/core/runtime/amd_memory_region.cpp [ 33%] Building CXX object CMakeFiles/hsa-runtime64.dir/core/runtime/amd_topology.cpp.o /usr/bin/c++ -DHAVE_MEMFD_CREATE -DHSA_EXPORT=1 -DHSA_EXPORT_FINALIZER=1 -DHSA_EXPORT_IMAGES=1 -DLITTLEENDIAN_CPU=1 -DROCR_BUILD_ID=1.0.0- -D__linux__ -Dhsa_runtime64_EXPORTS -I/usr/include/libhsakmt -I/builddir/build/BUILD/ROCR-Runtime-roc-1.7.0/src -I/builddir/build/BUILD/ROCR-Runtime-roc-1.7.0/src/inc -I/builddir/build/BUILD/ROCR-Runtime-roc-1.7.0/src/core/inc -I/builddir/build/BUILD/ROCR-Runtime-roc-1.7.0/src/libamdhsacode -Wall -std=c++11 -fpic -Wl,--unresolved-symbols=ignore-in-shared-libs -fno-strict-aliasing -m64 -msse -msse2 -Werror -fexceptions -fno-rtti -fvisibility=hidden -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-but-set-variable -Wno-error=unused-function -O2 -g -DNDEBUG -fPIC -D __STDC_LIMIT_MACROS -D __STDC_CONSTANT_MACROS -D __STDC_FORMAT_MACROS -D HSA_DEPRECATED= -o CMakeFiles/hsa-runtime64.dir/core/runtime/amd_topology.cpp.o -c /builddir/build/BUILD/ROCR-Runtime-roc-1.7.0/src/core/runtime/amd_topology.cpp BUILDSTDERR: /builddir/build/BUILD/ROCR-Runtime-roc-1.7.0/src/core/runtime/amd_memory_region.cpp: In static member function 'static void amd::MemoryRegion::FreeKfdMemory(void*, size_t)': BUILDSTDERR: /builddir/build/BUILD/ROCR-Runtime-roc-1.7.0/src/core/runtime/amd_memory_region.cpp:67:17: warning: unused variable 'status' [-Wunused-variable] BUILDSTDERR: HSAKMT_STATUS status = hsaKmtFreeMemory(ptr, size); BUILDSTDERR: ^ BUILDSTDERR: /builddir/build/BUILD/ROCR-Runtime-roc-1.7.0/src/core/runtime/amd_topology.cpp: In function 'void amd::BuildTopology()': BUILDSTDERR: /builddir/build/BUILD/ROCR-Runtime-roc-1.7.0/src/core/runtime/amd_topology.cpp:176:21: warning: unused variable 'cpu' [-Wunused-variable] BUILDSTDERR: const CpuAgent* cpu = DiscoverCpu(node_id, node_prop); BUILDSTDERR: ^ BUILDSTDERR: /builddir/build/BUILD/ROCR-Runtime-roc-1.7.0/src/core/runtime/amd_topology.cpp:177:21: warning: unused variable 'gpu' [-Wunused-variable] BUILDSTDERR: const GpuAgent* gpu = DiscoverGpu(node_id, node_prop); BUILDSTDERR: ^ [ 36%] Building CXX object CMakeFiles/hsa-runtime64.dir/core/runtime/default_signal.cpp.o /usr/bin/c++ -DHAVE_MEMFD_CREATE -DHSA_EXPORT=1 -DHSA_EXPORT_FINALIZER=1 -DHSA_EXPORT_IMAGES=1 -DLITTLEENDIAN_CPU=1 -DROCR_BUILD_ID=1.0.0- -D__linux__ -Dhsa_runtime64_EXPORTS -I/usr/include/libhsakmt -I/builddir/build/BUILD/ROCR-Runtime-roc-1.7.0/src -I/builddir/build/BUILD/ROCR-Runtime-roc-1.7.0/src/inc -I/builddir/build/BUILD/ROCR-Runtime-roc-1.7.0/src/core/inc -I/builddir/build/BUILD/ROCR-Runtime-roc-1.7.0/src/libamdhsacode -Wall -std=c++11 -fpic -Wl,--unresolved-symbols=ignore-in-shared-libs -fno-strict-aliasing -m64 -msse -msse2 -Werror -fexceptions -fno-rtti -fvisibility=hidden -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-but-set-variable -Wno-error=unused-function -O2 -g -DNDEBUG -fPIC -D __STDC_LIMIT_MACROS -D __STDC_CONSTANT_MACROS -D __STDC_FORMAT_MACROS -D HSA_DEPRECATED= -o CMakeFiles/hsa-runtime64.dir/core/runtime/default_signal.cpp.o -c /builddir/build/BUILD/ROCR-Runtime-roc-1.7.0/src/core/runtime/default_signal.cpp [ 38%] Building CXX object CMakeFiles/hsa-runtime64.dir/core/runtime/host_queue.cpp.o /usr/bin/c++ -DHAVE_MEMFD_CREATE -DHSA_EXPORT=1 -DHSA_EXPORT_FINALIZER=1 -DHSA_EXPORT_IMAGES=1 -DLITTLEENDIAN_CPU=1 -DROCR_BUILD_ID=1.0.0- -D__linux__ -Dhsa_runtime64_EXPORTS -I/usr/include/libhsakmt -I/builddir/build/BUILD/ROCR-Runtime-roc-1.7.0/src -I/builddir/build/BUILD/ROCR-Runtime-roc-1.7.0/src/inc -I/builddir/build/BUILD/ROCR-Runtime-roc-1.7.0/src/core/inc -I/builddir/build/BUILD/ROCR-Runtime-roc-1.7.0/src/libamdhsacode -Wall -std=c++11 -fpic -Wl,--unresolved-symbols=ignore-in-shared-libs -fno-strict-aliasing -m64 -msse -msse2 -Werror -fexceptions -fno-rtti -fvisibility=hidden -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-but-set-variable -Wno-error=unused-function -O2 -g -DNDEBUG -fPIC -D __STDC_LIMIT_MACROS -D __STDC_CONSTANT_MACROS -D __STDC_FORMAT_MACROS -D HSA_DEPRECATED= -o CMakeFiles/hsa-runtime64.dir/core/runtime/host_queue.cpp.o -c /builddir/build/BUILD/ROCR-Runtime-roc-1.7.0/src/core/runtime/host_queue.cpp [ 41%] Building CXX object CMakeFiles/hsa-runtime64.dir/core/runtime/hsa.cpp.o /usr/bin/c++ -DHAVE_MEMFD_CREATE -DHSA_EXPORT=1 -DHSA_EXPORT_FINALIZER=1 -DHSA_EXPORT_IMAGES=1 -DLITTLEENDIAN_CPU=1 -DROCR_BUILD_ID=1.0.0- -D__linux__ -Dhsa_runtime64_EXPORTS -I/usr/include/libhsakmt -I/builddir/build/BUILD/ROCR-Runtime-roc-1.7.0/src -I/builddir/build/BUILD/ROCR-Runtime-roc-1.7.0/src/inc -I/builddir/build/BUILD/ROCR-Runtime-roc-1.7.0/src/core/inc -I/builddir/build/BUILD/ROCR-Runtime-roc-1.7.0/src/libamdhsacode -Wall -std=c++11 -fpic -Wl,--unresolved-symbols=ignore-in-shared-libs -fno-strict-aliasing -m64 -msse -msse2 -Werror -fexceptions -fno-rtti -fvisibility=hidden -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-but-set-variable -Wno-error=unused-function -O2 -g -DNDEBUG -fPIC -D __STDC_LIMIT_MACROS -D __STDC_CONSTANT_MACROS -D __STDC_FORMAT_MACROS -D HSA_DEPRECATED= -o CMakeFiles/hsa-runtime64.dir/core/runtime/hsa.cpp.o -c /builddir/build/BUILD/ROCR-Runtime-roc-1.7.0/src/core/runtime/hsa.cpp BUILDSTDERR: /builddir/build/BUILD/ROCR-Runtime-roc-1.7.0/src/core/runtime/hsa.cpp: In function 'hsa_status_t HSA::hsa_system_extension_supported(uint16_t, uint16_t, uint16_t, bool*)': BUILDSTDERR: /builddir/build/BUILD/ROCR-Runtime-roc-1.7.0/src/core/runtime/hsa.cpp:284:16: warning: unused variable 'status' [-Wunused-variable] BUILDSTDERR: hsa_status_t status = core::Runtime::runtime_singleton_->GetSystemInfo( BUILDSTDERR: ^ BUILDSTDERR: /builddir/build/BUILD/ROCR-Runtime-roc-1.7.0/src/core/runtime/hsa.cpp: In function 'hsa_status_t HSA::hsa_agent_extension_supported(uint16_t, hsa_agent_t, uint16_t, uint16_t, bool*)': BUILDSTDERR: /builddir/build/BUILD/ROCR-Runtime-roc-1.7.0/src/core/runtime/hsa.cpp:593:18: warning: unused variable 'status' [-Wunused-variable] BUILDSTDERR: hsa_status_t status = BUILDSTDERR: ^ BUILDSTDERR: /builddir/build/BUILD/ROCR-Runtime-roc-1.7.0/src/core/runtime/hsa.cpp: In function 'hsa_status_t HSA::hsa_agent_major_extension_supported(uint16_t, hsa_agent_t, uint16_t, uint16_t*, bool*)': BUILDSTDERR: /builddir/build/BUILD/ROCR-Runtime-roc-1.7.0/src/core/runtime/hsa.cpp:628:18: warning: unused variable 'status' [-Wunused-variable] BUILDSTDERR: hsa_status_t status = agent->GetInfo(HSA_AGENT_INFO_VERSION_MAJOR, &agent_version_major); BUILDSTDERR: ^ [ 44%] Building CXX object CMakeFiles/hsa-runtime64.dir/core/runtime/hsa_api_trace.cpp.o /usr/bin/c++ -DHAVE_MEMFD_CREATE -DHSA_EXPORT=1 -DHSA_EXPORT_FINALIZER=1 -DHSA_EXPORT_IMAGES=1 -DLITTLEENDIAN_CPU=1 -DROCR_BUILD_ID=1.0.0- -D__linux__ -Dhsa_runtime64_EXPORTS -I/usr/include/libhsakmt -I/builddir/build/BUILD/ROCR-Runtime-roc-1.7.0/src -I/builddir/build/BUILD/ROCR-Runtime-roc-1.7.0/src/inc -I/builddir/build/BUILD/ROCR-Runtime-roc-1.7.0/src/core/inc -I/builddir/build/BUILD/ROCR-Runtime-roc-1.7.0/src/libamdhsacode -Wall -std=c++11 -fpic -Wl,--unresolved-symbols=ignore-in-shared-libs -fno-strict-aliasing -m64 -msse -msse2 -Werror -fexceptions -fno-rtti -fvisibility=hidden -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-but-set-variable -Wno-error=unused-function -O2 -g -DNDEBUG -fPIC -D __STDC_LIMIT_MACROS -D __STDC_CONSTANT_MACROS -D __STDC_FORMAT_MACROS -D HSA_DEPRECATED= -o CMakeFiles/hsa-runtime64.dir/core/runtime/hsa_api_trace.cpp.o -c /builddir/build/BUILD/ROCR-Runtime-roc-1.7.0/src/core/runtime/hsa_api_trace.cpp [ 47%] Building CXX object CMakeFiles/hsa-runtime64.dir/core/runtime/hsa_ext_amd.cpp.o /usr/bin/c++ -DHAVE_MEMFD_CREATE -DHSA_EXPORT=1 -DHSA_EXPORT_FINALIZER=1 -DHSA_EXPORT_IMAGES=1 -DLITTLEENDIAN_CPU=1 -DROCR_BUILD_ID=1.0.0- -D__linux__ -Dhsa_runtime64_EXPORTS -I/usr/include/libhsakmt -I/builddir/build/BUILD/ROCR-Runtime-roc-1.7.0/src -I/builddir/build/BUILD/ROCR-Runtime-roc-1.7.0/src/inc -I/builddir/build/BUILD/ROCR-Runtime-roc-1.7.0/src/core/inc -I/builddir/build/BUILD/ROCR-Runtime-roc-1.7.0/src/libamdhsacode -Wall -std=c++11 -fpic -Wl,--unresolved-symbols=ignore-in-shared-libs -fno-strict-aliasing -m64 -msse -msse2 -Werror -fexceptions -fno-rtti -fvisibility=hidden -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-but-set-variable -Wno-error=unused-function -O2 -g -DNDEBUG -fPIC -D __STDC_LIMIT_MACROS -D __STDC_CONSTANT_MACROS -D __STDC_FORMAT_MACROS -D HSA_DEPRECATED= -o CMakeFiles/hsa-runtime64.dir/core/runtime/hsa_ext_amd.cpp.o -c /builddir/build/BUILD/ROCR-Runtime-roc-1.7.0/src/core/runtime/hsa_ext_amd.cpp [ 50%] Building CXX object CMakeFiles/hsa-runtime64.dir/core/runtime/hsa_ext_interface.cpp.o /usr/bin/c++ -DHAVE_MEMFD_CREATE -DHSA_EXPORT=1 -DHSA_EXPORT_FINALIZER=1 -DHSA_EXPORT_IMAGES=1 -DLITTLEENDIAN_CPU=1 -DROCR_BUILD_ID=1.0.0- -D__linux__ -Dhsa_runtime64_EXPORTS -I/usr/include/libhsakmt -I/builddir/build/BUILD/ROCR-Runtime-roc-1.7.0/src -I/builddir/build/BUILD/ROCR-Runtime-roc-1.7.0/src/inc -I/builddir/build/BUILD/ROCR-Runtime-roc-1.7.0/src/core/inc -I/builddir/build/BUILD/ROCR-Runtime-roc-1.7.0/src/libamdhsacode -Wall -std=c++11 -fpic -Wl,--unresolved-symbols=ignore-in-shared-libs -fno-strict-aliasing -m64 -msse -msse2 -Werror -fexceptions -fno-rtti -fvisibility=hidden -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-but-set-variable -Wno-error=unused-function -O2 -g -DNDEBUG -fPIC -D __STDC_LIMIT_MACROS -D __STDC_CONSTANT_MACROS -D __STDC_FORMAT_MACROS -D HSA_DEPRECATED= -o CMakeFiles/hsa-runtime64.dir/core/runtime/hsa_ext_interface.cpp.o -c /builddir/build/BUILD/ROCR-Runtime-roc-1.7.0/src/core/runtime/hsa_ext_interface.cpp [ 52%] Building CXX object CMakeFiles/hsa-runtime64.dir/core/runtime/interrupt_signal.cpp.o /usr/bin/c++ -DHAVE_MEMFD_CREATE -DHSA_EXPORT=1 -DHSA_EXPORT_FINALIZER=1 -DHSA_EXPORT_IMAGES=1 -DLITTLEENDIAN_CPU=1 -DROCR_BUILD_ID=1.0.0- -D__linux__ -Dhsa_runtime64_EXPORTS -I/usr/include/libhsakmt -I/builddir/build/BUILD/ROCR-Runtime-roc-1.7.0/src -I/builddir/build/BUILD/ROCR-Runtime-roc-1.7.0/src/inc -I/builddir/build/BUILD/ROCR-Runtime-roc-1.7.0/src/core/inc -I/builddir/build/BUILD/ROCR-Runtime-roc-1.7.0/src/libamdhsacode -Wall -std=c++11 -fpic -Wl,--unresolved-symbols=ignore-in-shared-libs -fno-strict-aliasing -m64 -msse -msse2 -Werror -fexceptions -fno-rtti -fvisibility=hidden -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-but-set-variable -Wno-error=unused-function -O2 -g -DNDEBUG -fPIC -D __STDC_LIMIT_MACROS -D __STDC_CONSTANT_MACROS -D __STDC_FORMAT_MACROS -D HSA_DEPRECATED= -o CMakeFiles/hsa-runtime64.dir/core/runtime/interrupt_signal.cpp.o -c /builddir/build/BUILD/ROCR-Runtime-roc-1.7.0/src/core/runtime/interrupt_signal.cpp [ 55%] Building CXX object CMakeFiles/hsa-runtime64.dir/core/runtime/intercept_queue.cpp.o /usr/bin/c++ -DHAVE_MEMFD_CREATE -DHSA_EXPORT=1 -DHSA_EXPORT_FINALIZER=1 -DHSA_EXPORT_IMAGES=1 -DLITTLEENDIAN_CPU=1 -DROCR_BUILD_ID=1.0.0- -D__linux__ -Dhsa_runtime64_EXPORTS -I/usr/include/libhsakmt -I/builddir/build/BUILD/ROCR-Runtime-roc-1.7.0/src -I/builddir/build/BUILD/ROCR-Runtime-roc-1.7.0/src/inc -I/builddir/build/BUILD/ROCR-Runtime-roc-1.7.0/src/core/inc -I/builddir/build/BUILD/ROCR-Runtime-roc-1.7.0/src/libamdhsacode -Wall -std=c++11 -fpic -Wl,--unresolved-symbols=ignore-in-shared-libs -fno-strict-aliasing -m64 -msse -msse2 -Werror -fexceptions -fno-rtti -fvisibility=hidden -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-but-set-variable -Wno-error=unused-function -O2 -g -DNDEBUG -fPIC -D __STDC_LIMIT_MACROS -D __STDC_CONSTANT_MACROS -D __STDC_FORMAT_MACROS -D HSA_DEPRECATED= -o CMakeFiles/hsa-runtime64.dir/core/runtime/intercept_queue.cpp.o -c /builddir/build/BUILD/ROCR-Runtime-roc-1.7.0/src/core/runtime/intercept_queue.cpp [ 58%] Building CXX object CMakeFiles/hsa-runtime64.dir/core/runtime/ipc_signal.cpp.o /usr/bin/c++ -DHAVE_MEMFD_CREATE -DHSA_EXPORT=1 -DHSA_EXPORT_FINALIZER=1 -DHSA_EXPORT_IMAGES=1 -DLITTLEENDIAN_CPU=1 -DROCR_BUILD_ID=1.0.0- -D__linux__ -Dhsa_runtime64_EXPORTS -I/usr/include/libhsakmt -I/builddir/build/BUILD/ROCR-Runtime-roc-1.7.0/src -I/builddir/build/BUILD/ROCR-Runtime-roc-1.7.0/src/inc -I/builddir/build/BUILD/ROCR-Runtime-roc-1.7.0/src/core/inc -I/builddir/build/BUILD/ROCR-Runtime-roc-1.7.0/src/libamdhsacode -Wall -std=c++11 -fpic -Wl,--unresolved-symbols=ignore-in-shared-libs -fno-strict-aliasing -m64 -msse -msse2 -Werror -fexceptions -fno-rtti -fvisibility=hidden -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-but-set-variable -Wno-error=unused-function -O2 -g -DNDEBUG -fPIC -D __STDC_LIMIT_MACROS -D __STDC_CONSTANT_MACROS -D __STDC_FORMAT_MACROS -D HSA_DEPRECATED= -o CMakeFiles/hsa-runtime64.dir/core/runtime/ipc_signal.cpp.o -c /builddir/build/BUILD/ROCR-Runtime-roc-1.7.0/src/core/runtime/ipc_signal.cpp [ 61%] Building CXX object CMakeFiles/hsa-runtime64.dir/core/runtime/isa.cpp.o /usr/bin/c++ -DHAVE_MEMFD_CREATE -DHSA_EXPORT=1 -DHSA_EXPORT_FINALIZER=1 -DHSA_EXPORT_IMAGES=1 -DLITTLEENDIAN_CPU=1 -DROCR_BUILD_ID=1.0.0- -D__linux__ -Dhsa_runtime64_EXPORTS -I/usr/include/libhsakmt -I/builddir/build/BUILD/ROCR-Runtime-roc-1.7.0/src -I/builddir/build/BUILD/ROCR-Runtime-roc-1.7.0/src/inc -I/builddir/build/BUILD/ROCR-Runtime-roc-1.7.0/src/core/inc -I/builddir/build/BUILD/ROCR-Runtime-roc-1.7.0/src/libamdhsacode -Wall -std=c++11 -fpic -Wl,--unresolved-symbols=ignore-in-shared-libs -fno-strict-aliasing -m64 -msse -msse2 -Werror -fexceptions -fno-rtti -fvisibility=hidden -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-but-set-variable -Wno-error=unused-function -O2 -g -DNDEBUG -fPIC -D __STDC_LIMIT_MACROS -D __STDC_CONSTANT_MACROS -D __STDC_FORMAT_MACROS -D HSA_DEPRECATED= -o CMakeFiles/hsa-runtime64.dir/core/runtime/isa.cpp.o -c /builddir/build/BUILD/ROCR-Runtime-roc-1.7.0/src/core/runtime/isa.cpp BUILDSTDERR: /builddir/build/BUILD/ROCR-Runtime-roc-1.7.0/src/core/runtime/ipc_signal.cpp: In destructor 'core::SharedMemory::~SharedMemory()': BUILDSTDERR: /builddir/build/BUILD/ROCR-Runtime-roc-1.7.0/src/core/runtime/ipc_signal.cpp:67:8: warning: unused variable 'err' [-Wunused-variable] BUILDSTDERR: auto err = Runtime::runtime_singleton_->IPCDetach(ptr_); BUILDSTDERR: ^ [ 63%] Building CXX object CMakeFiles/hsa-runtime64.dir/core/runtime/runtime.cpp.o /usr/bin/c++ -DHAVE_MEMFD_CREATE -DHSA_EXPORT=1 -DHSA_EXPORT_FINALIZER=1 -DHSA_EXPORT_IMAGES=1 -DLITTLEENDIAN_CPU=1 -DROCR_BUILD_ID=1.0.0- -D__linux__ -Dhsa_runtime64_EXPORTS -I/usr/include/libhsakmt -I/builddir/build/BUILD/ROCR-Runtime-roc-1.7.0/src -I/builddir/build/BUILD/ROCR-Runtime-roc-1.7.0/src/inc -I/builddir/build/BUILD/ROCR-Runtime-roc-1.7.0/src/core/inc -I/builddir/build/BUILD/ROCR-Runtime-roc-1.7.0/src/libamdhsacode -Wall -std=c++11 -fpic -Wl,--unresolved-symbols=ignore-in-shared-libs -fno-strict-aliasing -m64 -msse -msse2 -Werror -fexceptions -fno-rtti -fvisibility=hidden -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-but-set-variable -Wno-error=unused-function -O2 -g -DNDEBUG -fPIC -D __STDC_LIMIT_MACROS -D __STDC_CONSTANT_MACROS -D __STDC_FORMAT_MACROS -D HSA_DEPRECATED= -o CMakeFiles/hsa-runtime64.dir/core/runtime/runtime.cpp.o -c /builddir/build/BUILD/ROCR-Runtime-roc-1.7.0/src/core/runtime/runtime.cpp [ 66%] Building CXX object CMakeFiles/hsa-runtime64.dir/core/runtime/signal.cpp.o /usr/bin/c++ -DHAVE_MEMFD_CREATE -DHSA_EXPORT=1 -DHSA_EXPORT_FINALIZER=1 -DHSA_EXPORT_IMAGES=1 -DLITTLEENDIAN_CPU=1 -DROCR_BUILD_ID=1.0.0- -D__linux__ -Dhsa_runtime64_EXPORTS -I/usr/include/libhsakmt -I/builddir/build/BUILD/ROCR-Runtime-roc-1.7.0/src -I/builddir/build/BUILD/ROCR-Runtime-roc-1.7.0/src/inc -I/builddir/build/BUILD/ROCR-Runtime-roc-1.7.0/src/core/inc -I/builddir/build/BUILD/ROCR-Runtime-roc-1.7.0/src/libamdhsacode -Wall -std=c++11 -fpic -Wl,--unresolved-symbols=ignore-in-shared-libs -fno-strict-aliasing -m64 -msse -msse2 -Werror -fexceptions -fno-rtti -fvisibility=hidden -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-but-set-variable -Wno-error=unused-function -O2 -g -DNDEBUG -fPIC -D __STDC_LIMIT_MACROS -D __STDC_CONSTANT_MACROS -D __STDC_FORMAT_MACROS -D HSA_DEPRECATED= -o CMakeFiles/hsa-runtime64.dir/core/runtime/signal.cpp.o -c /builddir/build/BUILD/ROCR-Runtime-roc-1.7.0/src/core/runtime/signal.cpp [ 69%] Building CXX object CMakeFiles/hsa-runtime64.dir/core/runtime/queue.cpp.o /usr/bin/c++ -DHAVE_MEMFD_CREATE -DHSA_EXPORT=1 -DHSA_EXPORT_FINALIZER=1 -DHSA_EXPORT_IMAGES=1 -DLITTLEENDIAN_CPU=1 -DROCR_BUILD_ID=1.0.0- -D__linux__ -Dhsa_runtime64_EXPORTS -I/usr/include/libhsakmt -I/builddir/build/BUILD/ROCR-Runtime-roc-1.7.0/src -I/builddir/build/BUILD/ROCR-Runtime-roc-1.7.0/src/inc -I/builddir/build/BUILD/ROCR-Runtime-roc-1.7.0/src/core/inc -I/builddir/build/BUILD/ROCR-Runtime-roc-1.7.0/src/libamdhsacode -Wall -std=c++11 -fpic -Wl,--unresolved-symbols=ignore-in-shared-libs -fno-strict-aliasing -m64 -msse -msse2 -Werror -fexceptions -fno-rtti -fvisibility=hidden -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-but-set-variable -Wno-error=unused-function -O2 -g -DNDEBUG -fPIC -D __STDC_LIMIT_MACROS -D __STDC_CONSTANT_MACROS -D __STDC_FORMAT_MACROS -D HSA_DEPRECATED= -o CMakeFiles/hsa-runtime64.dir/core/runtime/queue.cpp.o -c /builddir/build/BUILD/ROCR-Runtime-roc-1.7.0/src/core/runtime/queue.cpp [ 72%] Building CXX object CMakeFiles/hsa-runtime64.dir/core/runtime/cache.cpp.o /usr/bin/c++ -DHAVE_MEMFD_CREATE -DHSA_EXPORT=1 -DHSA_EXPORT_FINALIZER=1 -DHSA_EXPORT_IMAGES=1 -DLITTLEENDIAN_CPU=1 -DROCR_BUILD_ID=1.0.0- -D__linux__ -Dhsa_runtime64_EXPORTS -I/usr/include/libhsakmt -I/builddir/build/BUILD/ROCR-Runtime-roc-1.7.0/src -I/builddir/build/BUILD/ROCR-Runtime-roc-1.7.0/src/inc -I/builddir/build/BUILD/ROCR-Runtime-roc-1.7.0/src/core/inc -I/builddir/build/BUILD/ROCR-Runtime-roc-1.7.0/src/libamdhsacode -Wall -std=c++11 -fpic -Wl,--unresolved-symbols=ignore-in-shared-libs -fno-strict-aliasing -m64 -msse -msse2 -Werror -fexceptions -fno-rtti -fvisibility=hidden -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-but-set-variable -Wno-error=unused-function -O2 -g -DNDEBUG -fPIC -D __STDC_LIMIT_MACROS -D __STDC_CONSTANT_MACROS -D __STDC_FORMAT_MACROS -D HSA_DEPRECATED= -o CMakeFiles/hsa-runtime64.dir/core/runtime/cache.cpp.o -c /builddir/build/BUILD/ROCR-Runtime-roc-1.7.0/src/core/runtime/cache.cpp [ 75%] Building CXX object CMakeFiles/hsa-runtime64.dir/core/common/shared.cpp.o /usr/bin/c++ -DHAVE_MEMFD_CREATE -DHSA_EXPORT=1 -DHSA_EXPORT_FINALIZER=1 -DHSA_EXPORT_IMAGES=1 -DLITTLEENDIAN_CPU=1 -DROCR_BUILD_ID=1.0.0- -D__linux__ -Dhsa_runtime64_EXPORTS -I/usr/include/libhsakmt -I/builddir/build/BUILD/ROCR-Runtime-roc-1.7.0/src -I/builddir/build/BUILD/ROCR-Runtime-roc-1.7.0/src/inc -I/builddir/build/BUILD/ROCR-Runtime-roc-1.7.0/src/core/inc -I/builddir/build/BUILD/ROCR-Runtime-roc-1.7.0/src/libamdhsacode -Wall -std=c++11 -fpic -Wl,--unresolved-symbols=ignore-in-shared-libs -fno-strict-aliasing -m64 -msse -msse2 -Werror -fexceptions -fno-rtti -fvisibility=hidden -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-but-set-variable -Wno-error=unused-function -O2 -g -DNDEBUG -fPIC -D __STDC_LIMIT_MACROS -D __STDC_CONSTANT_MACROS -D __STDC_FORMAT_MACROS -D HSA_DEPRECATED= -o CMakeFiles/hsa-runtime64.dir/core/common/shared.cpp.o -c /builddir/build/BUILD/ROCR-Runtime-roc-1.7.0/src/core/common/shared.cpp [ 77%] Building CXX object CMakeFiles/hsa-runtime64.dir/core/common/hsa_table_interface.cpp.o /usr/bin/c++ -DHAVE_MEMFD_CREATE -DHSA_EXPORT=1 -DHSA_EXPORT_FINALIZER=1 -DHSA_EXPORT_IMAGES=1 -DLITTLEENDIAN_CPU=1 -DROCR_BUILD_ID=1.0.0- -D__linux__ -Dhsa_runtime64_EXPORTS -I/usr/include/libhsakmt -I/builddir/build/BUILD/ROCR-Runtime-roc-1.7.0/src -I/builddir/build/BUILD/ROCR-Runtime-roc-1.7.0/src/inc -I/builddir/build/BUILD/ROCR-Runtime-roc-1.7.0/src/core/inc -I/builddir/build/BUILD/ROCR-Runtime-roc-1.7.0/src/libamdhsacode -Wall -std=c++11 -fpic -Wl,--unresolved-symbols=ignore-in-shared-libs -fno-strict-aliasing -m64 -msse -msse2 -Werror -fexceptions -fno-rtti -fvisibility=hidden -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-but-set-variable -Wno-error=unused-function -O2 -g -DNDEBUG -fPIC -D __STDC_LIMIT_MACROS -D __STDC_CONSTANT_MACROS -D __STDC_FORMAT_MACROS -D HSA_DEPRECATED= -o CMakeFiles/hsa-runtime64.dir/core/common/hsa_table_interface.cpp.o -c /builddir/build/BUILD/ROCR-Runtime-roc-1.7.0/src/core/common/hsa_table_interface.cpp [ 80%] Building CXX object CMakeFiles/hsa-runtime64.dir/loader/executable.cpp.o /usr/bin/c++ -DHAVE_MEMFD_CREATE -DHSA_EXPORT=1 -DHSA_EXPORT_FINALIZER=1 -DHSA_EXPORT_IMAGES=1 -DLITTLEENDIAN_CPU=1 -DROCR_BUILD_ID=1.0.0- -D__linux__ -Dhsa_runtime64_EXPORTS -I/usr/include/libhsakmt -I/builddir/build/BUILD/ROCR-Runtime-roc-1.7.0/src -I/builddir/build/BUILD/ROCR-Runtime-roc-1.7.0/src/inc -I/builddir/build/BUILD/ROCR-Runtime-roc-1.7.0/src/core/inc -I/builddir/build/BUILD/ROCR-Runtime-roc-1.7.0/src/libamdhsacode -Wall -std=c++11 -fpic -Wl,--unresolved-symbols=ignore-in-shared-libs -fno-strict-aliasing -m64 -msse -msse2 -Werror -fexceptions -fno-rtti -fvisibility=hidden -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-but-set-variable -Wno-error=unused-function -O2 -g -DNDEBUG -fPIC -D __STDC_LIMIT_MACROS -D __STDC_CONSTANT_MACROS -D __STDC_FORMAT_MACROS -D HSA_DEPRECATED= -o CMakeFiles/hsa-runtime64.dir/loader/executable.cpp.o -c /builddir/build/BUILD/ROCR-Runtime-roc-1.7.0/src/loader/executable.cpp [ 83%] Building CXX object CMakeFiles/hsa-runtime64.dir/loader/loaders.cpp.o /usr/bin/c++ -DHAVE_MEMFD_CREATE -DHSA_EXPORT=1 -DHSA_EXPORT_FINALIZER=1 -DHSA_EXPORT_IMAGES=1 -DLITTLEENDIAN_CPU=1 -DROCR_BUILD_ID=1.0.0- -D__linux__ -Dhsa_runtime64_EXPORTS -I/usr/include/libhsakmt -I/builddir/build/BUILD/ROCR-Runtime-roc-1.7.0/src -I/builddir/build/BUILD/ROCR-Runtime-roc-1.7.0/src/inc -I/builddir/build/BUILD/ROCR-Runtime-roc-1.7.0/src/core/inc -I/builddir/build/BUILD/ROCR-Runtime-roc-1.7.0/src/libamdhsacode -Wall -std=c++11 -fpic -Wl,--unresolved-symbols=ignore-in-shared-libs -fno-strict-aliasing -m64 -msse -msse2 -Werror -fexceptions -fno-rtti -fvisibility=hidden -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-but-set-variable -Wno-error=unused-function -O2 -g -DNDEBUG -fPIC -D __STDC_LIMIT_MACROS -D __STDC_CONSTANT_MACROS -D __STDC_FORMAT_MACROS -D HSA_DEPRECATED= -o CMakeFiles/hsa-runtime64.dir/loader/loaders.cpp.o -c /builddir/build/BUILD/ROCR-Runtime-roc-1.7.0/src/loader/loaders.cpp [ 86%] Building CXX object CMakeFiles/hsa-runtime64.dir/libamdhsacode/amd_elf_image.cpp.o /usr/bin/c++ -DHAVE_MEMFD_CREATE -DHSA_EXPORT=1 -DHSA_EXPORT_FINALIZER=1 -DHSA_EXPORT_IMAGES=1 -DLITTLEENDIAN_CPU=1 -DROCR_BUILD_ID=1.0.0- -D__linux__ -Dhsa_runtime64_EXPORTS -I/usr/include/libhsakmt -I/builddir/build/BUILD/ROCR-Runtime-roc-1.7.0/src -I/builddir/build/BUILD/ROCR-Runtime-roc-1.7.0/src/inc -I/builddir/build/BUILD/ROCR-Runtime-roc-1.7.0/src/core/inc -I/builddir/build/BUILD/ROCR-Runtime-roc-1.7.0/src/libamdhsacode -Wall -std=c++11 -fpic -Wl,--unresolved-symbols=ignore-in-shared-libs -fno-strict-aliasing -m64 -msse -msse2 -Werror -fexceptions -fno-rtti -fvisibility=hidden -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-but-set-variable -Wno-error=unused-function -O2 -g -DNDEBUG -fPIC -D __STDC_LIMIT_MACROS -D __STDC_CONSTANT_MACROS -D __STDC_FORMAT_MACROS -D HSA_DEPRECATED= -o CMakeFiles/hsa-runtime64.dir/libamdhsacode/amd_elf_image.cpp.o -c /builddir/build/BUILD/ROCR-Runtime-roc-1.7.0/src/libamdhsacode/amd_elf_image.cpp [ 88%] Building CXX object CMakeFiles/hsa-runtime64.dir/libamdhsacode/amd_hsa_code_util.cpp.o /usr/bin/c++ -DHAVE_MEMFD_CREATE -DHSA_EXPORT=1 -DHSA_EXPORT_FINALIZER=1 -DHSA_EXPORT_IMAGES=1 -DLITTLEENDIAN_CPU=1 -DROCR_BUILD_ID=1.0.0- -D__linux__ -Dhsa_runtime64_EXPORTS -I/usr/include/libhsakmt -I/builddir/build/BUILD/ROCR-Runtime-roc-1.7.0/src -I/builddir/build/BUILD/ROCR-Runtime-roc-1.7.0/src/inc -I/builddir/build/BUILD/ROCR-Runtime-roc-1.7.0/src/core/inc -I/builddir/build/BUILD/ROCR-Runtime-roc-1.7.0/src/libamdhsacode -Wall -std=c++11 -fpic -Wl,--unresolved-symbols=ignore-in-shared-libs -fno-strict-aliasing -m64 -msse -msse2 -Werror -fexceptions -fno-rtti -fvisibility=hidden -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-but-set-variable -Wno-error=unused-function -O2 -g -DNDEBUG -fPIC -D __STDC_LIMIT_MACROS -D __STDC_CONSTANT_MACROS -D __STDC_FORMAT_MACROS -D HSA_DEPRECATED= -o CMakeFiles/hsa-runtime64.dir/libamdhsacode/amd_hsa_code_util.cpp.o -c /builddir/build/BUILD/ROCR-Runtime-roc-1.7.0/src/libamdhsacode/amd_hsa_code_util.cpp [ 91%] Building CXX object CMakeFiles/hsa-runtime64.dir/libamdhsacode/amd_hsa_locks.cpp.o /usr/bin/c++ -DHAVE_MEMFD_CREATE -DHSA_EXPORT=1 -DHSA_EXPORT_FINALIZER=1 -DHSA_EXPORT_IMAGES=1 -DLITTLEENDIAN_CPU=1 -DROCR_BUILD_ID=1.0.0- -D__linux__ -Dhsa_runtime64_EXPORTS -I/usr/include/libhsakmt -I/builddir/build/BUILD/ROCR-Runtime-roc-1.7.0/src -I/builddir/build/BUILD/ROCR-Runtime-roc-1.7.0/src/inc -I/builddir/build/BUILD/ROCR-Runtime-roc-1.7.0/src/core/inc -I/builddir/build/BUILD/ROCR-Runtime-roc-1.7.0/src/libamdhsacode -Wall -std=c++11 -fpic -Wl,--unresolved-symbols=ignore-in-shared-libs -fno-strict-aliasing -m64 -msse -msse2 -Werror -fexceptions -fno-rtti -fvisibility=hidden -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-but-set-variable -Wno-error=unused-function -O2 -g -DNDEBUG -fPIC -D __STDC_LIMIT_MACROS -D __STDC_CONSTANT_MACROS -D __STDC_FORMAT_MACROS -D HSA_DEPRECATED= -o CMakeFiles/hsa-runtime64.dir/libamdhsacode/amd_hsa_locks.cpp.o -c /builddir/build/BUILD/ROCR-Runtime-roc-1.7.0/src/libamdhsacode/amd_hsa_locks.cpp [ 94%] Building CXX object CMakeFiles/hsa-runtime64.dir/libamdhsacode/amd_options.cpp.o /usr/bin/c++ -DHAVE_MEMFD_CREATE -DHSA_EXPORT=1 -DHSA_EXPORT_FINALIZER=1 -DHSA_EXPORT_IMAGES=1 -DLITTLEENDIAN_CPU=1 -DROCR_BUILD_ID=1.0.0- -D__linux__ -Dhsa_runtime64_EXPORTS -I/usr/include/libhsakmt -I/builddir/build/BUILD/ROCR-Runtime-roc-1.7.0/src -I/builddir/build/BUILD/ROCR-Runtime-roc-1.7.0/src/inc -I/builddir/build/BUILD/ROCR-Runtime-roc-1.7.0/src/core/inc -I/builddir/build/BUILD/ROCR-Runtime-roc-1.7.0/src/libamdhsacode -Wall -std=c++11 -fpic -Wl,--unresolved-symbols=ignore-in-shared-libs -fno-strict-aliasing -m64 -msse -msse2 -Werror -fexceptions -fno-rtti -fvisibility=hidden -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-but-set-variable -Wno-error=unused-function -O2 -g -DNDEBUG -fPIC -D __STDC_LIMIT_MACROS -D __STDC_CONSTANT_MACROS -D __STDC_FORMAT_MACROS -D HSA_DEPRECATED= -o CMakeFiles/hsa-runtime64.dir/libamdhsacode/amd_options.cpp.o -c /builddir/build/BUILD/ROCR-Runtime-roc-1.7.0/src/libamdhsacode/amd_options.cpp [ 97%] Building CXX object CMakeFiles/hsa-runtime64.dir/libamdhsacode/amd_hsa_code.cpp.o /usr/bin/c++ -DHAVE_MEMFD_CREATE -DHSA_EXPORT=1 -DHSA_EXPORT_FINALIZER=1 -DHSA_EXPORT_IMAGES=1 -DLITTLEENDIAN_CPU=1 -DROCR_BUILD_ID=1.0.0- -D__linux__ -Dhsa_runtime64_EXPORTS -I/usr/include/libhsakmt -I/builddir/build/BUILD/ROCR-Runtime-roc-1.7.0/src -I/builddir/build/BUILD/ROCR-Runtime-roc-1.7.0/src/inc -I/builddir/build/BUILD/ROCR-Runtime-roc-1.7.0/src/core/inc -I/builddir/build/BUILD/ROCR-Runtime-roc-1.7.0/src/libamdhsacode -Wall -std=c++11 -fpic -Wl,--unresolved-symbols=ignore-in-shared-libs -fno-strict-aliasing -m64 -msse -msse2 -Werror -fexceptions -fno-rtti -fvisibility=hidden -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-but-set-variable -Wno-error=unused-function -O2 -g -DNDEBUG -fPIC -D __STDC_LIMIT_MACROS -D __STDC_CONSTANT_MACROS -D __STDC_FORMAT_MACROS -D HSA_DEPRECATED= -o CMakeFiles/hsa-runtime64.dir/libamdhsacode/amd_hsa_code.cpp.o -c /builddir/build/BUILD/ROCR-Runtime-roc-1.7.0/src/libamdhsacode/amd_hsa_code.cpp [100%] Linking CXX shared library libhsa-runtime64.so /usr/bin/cmake3 -E cmake_link_script CMakeFiles/hsa-runtime64.dir/link.txt --verbose=1 /usr/bin/c++ -fPIC -Wall -std=c++11 -fpic -Wl,--unresolved-symbols=ignore-in-shared-libs -fno-strict-aliasing -m64 -msse -msse2 -Werror -fexceptions -fno-rtti -fvisibility=hidden -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-but-set-variable -Wno-error=unused-function -O2 -g -DNDEBUG -Wl,-Bdynamic -Wl,-z,noexecstack -Wl,/builddir/build/BUILD/ROCR-Runtime-roc-1.7.0/src/hsacore.so.link -Wl,--version-script=/builddir/build/BUILD/ROCR-Runtime-roc-1.7.0/src/hsacore.so.def -shared -Wl,-soname,libhsa-runtime64.so.1 -o libhsa-runtime64.so.1.0.0 CMakeFiles/hsa-runtime64.dir/core/util/lnx/os_linux.cpp.o CMakeFiles/hsa-runtime64.dir/core/util/small_heap.cpp.o CMakeFiles/hsa-runtime64.dir/core/util/timer.cpp.o CMakeFiles/hsa-runtime64.dir/core/runtime/amd_blit_kernel.cpp.o CMakeFiles/hsa-runtime64.dir/core/runtime/amd_blit_sdma.cpp.o CMakeFiles/hsa-runtime64.dir/core/runtime/amd_cpu_agent.cpp.o CMakeFiles/hsa-runtime64.dir/core/runtime/amd_gpu_agent.cpp.o CMakeFiles/hsa-runtime64.dir/core/runtime/amd_aql_queue.cpp.o CMakeFiles/hsa-runtime64.dir/core/runtime/amd_loader_context.cpp.o CMakeFiles/hsa-runtime64.dir/core/runtime/hsa_ven_amd_loader.cpp.o CMakeFiles/hsa-runtime64.dir/core/runtime/amd_memory_region.cpp.o CMakeFiles/hsa-runtime64.dir/core/runtime/amd_topology.cpp.o CMakeFiles/hsa-runtime64.dir/core/runtime/default_signal.cpp.o CMakeFiles/hsa-runtime64.dir/core/runtime/host_queue.cpp.o CMakeFiles/hsa-runtime64.dir/core/runtime/hsa.cpp.o CMakeFiles/hsa-runtime64.dir/core/runtime/hsa_api_trace.cpp.o CMakeFiles/hsa-runtime64.dir/core/runtime/hsa_ext_amd.cpp.o CMakeFiles/hsa-runtime64.dir/core/runtime/hsa_ext_interface.cpp.o CMakeFiles/hsa-runtime64.dir/core/runtime/interrupt_signal.cpp.o CMakeFiles/hsa-runtime64.dir/core/runtime/intercept_queue.cpp.o CMakeFiles/hsa-runtime64.dir/core/runtime/ipc_signal.cpp.o CMakeFiles/hsa-runtime64.dir/core/runtime/isa.cpp.o CMakeFiles/hsa-runtime64.dir/core/runtime/runtime.cpp.o CMakeFiles/hsa-runtime64.dir/core/runtime/signal.cpp.o CMakeFiles/hsa-runtime64.dir/core/runtime/queue.cpp.o CMakeFiles/hsa-runtime64.dir/core/runtime/cache.cpp.o CMakeFiles/hsa-runtime64.dir/core/common/shared.cpp.o CMakeFiles/hsa-runtime64.dir/core/common/hsa_table_interface.cpp.o CMakeFiles/hsa-runtime64.dir/loader/executable.cpp.o CMakeFiles/hsa-runtime64.dir/loader/loaders.cpp.o CMakeFiles/hsa-runtime64.dir/libamdhsacode/amd_elf_image.cpp.o CMakeFiles/hsa-runtime64.dir/libamdhsacode/amd_hsa_code_util.cpp.o CMakeFiles/hsa-runtime64.dir/libamdhsacode/amd_hsa_locks.cpp.o CMakeFiles/hsa-runtime64.dir/libamdhsacode/amd_options.cpp.o CMakeFiles/hsa-runtime64.dir/libamdhsacode/amd_hsa_code.cpp.o -lhsakmt /usr/lib64/libelf.so -ldl -lpthread -lrt BUILDSTDERR: CMakeFiles/hsa-runtime64.dir/libamdhsacode/amd_hsa_code_util.cpp.o: In function `amd::hsa::OpenTempFile(char const*)': BUILDSTDERR: /builddir/build/BUILD/ROCR-Runtime-roc-1.7.0/src/libamdhsacode/amd_hsa_code_util.cpp:962: warning: the use of `tempnam' is dangerous, better use `mkstemp' /usr/bin/cmake3 -E cmake_symlink_library libhsa-runtime64.so.1.0.0 libhsa-runtime64.so.1 libhsa-runtime64.so make[2]: Leaving directory `/builddir/build/BUILD/ROCR-Runtime-roc-1.7.0/build' [100%] Built target hsa-runtime64 make[1]: Leaving directory `/builddir/build/BUILD/ROCR-Runtime-roc-1.7.0/build' /usr/bin/cmake3 -E cmake_progress_start /builddir/build/BUILD/ROCR-Runtime-roc-1.7.0/build/CMakeFiles 0 + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.VAWrap + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/rocm-runtime-1.7.0-2.el7.centos.x86_64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/rocm-runtime-1.7.0-2.el7.centos.x86_64 BUILDSTDERR: ++ dirname /builddir/build/BUILDROOT/rocm-runtime-1.7.0-2.el7.centos.x86_64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/rocm-runtime-1.7.0-2.el7.centos.x86_64 + cd ROCR-Runtime-roc-1.7.0 + cd build + /usr/bin/make install DESTDIR=/builddir/build/BUILDROOT/rocm-runtime-1.7.0-2.el7.centos.x86_64 /usr/bin/cmake3 -H/builddir/build/BUILD/ROCR-Runtime-roc-1.7.0/src -B/builddir/build/BUILD/ROCR-Runtime-roc-1.7.0/build --check-build-system CMakeFiles/Makefile.cmake 0 /usr/bin/cmake3 -E cmake_progress_start /builddir/build/BUILD/ROCR-Runtime-roc-1.7.0/build/CMakeFiles /builddir/build/BUILD/ROCR-Runtime-roc-1.7.0/build/CMakeFiles/progress.marks /usr/bin/make -f CMakeFiles/Makefile2 all make[1]: Entering directory `/builddir/build/BUILD/ROCR-Runtime-roc-1.7.0/build' /usr/bin/make -f CMakeFiles/hsa-runtime64.dir/build.make CMakeFiles/hsa-runtime64.dir/depend make[2]: Entering directory `/builddir/build/BUILD/ROCR-Runtime-roc-1.7.0/build' cd /builddir/build/BUILD/ROCR-Runtime-roc-1.7.0/build && /usr/bin/cmake3 -E cmake_depends "Unix Makefiles" /builddir/build/BUILD/ROCR-Runtime-roc-1.7.0/src /builddir/build/BUILD/ROCR-Runtime-roc-1.7.0/src /builddir/build/BUILD/ROCR-Runtime-roc-1.7.0/build /builddir/build/BUILD/ROCR-Runtime-roc-1.7.0/build /builddir/build/BUILD/ROCR-Runtime-roc-1.7.0/build/CMakeFiles/hsa-runtime64.dir/DependInfo.cmake --color= make[2]: Leaving directory `/builddir/build/BUILD/ROCR-Runtime-roc-1.7.0/build' /usr/bin/make -f CMakeFiles/hsa-runtime64.dir/build.make CMakeFiles/hsa-runtime64.dir/build make[2]: Entering directory `/builddir/build/BUILD/ROCR-Runtime-roc-1.7.0/build' make[2]: Nothing to be done for `CMakeFiles/hsa-runtime64.dir/build'. make[2]: Leaving directory `/builddir/build/BUILD/ROCR-Runtime-roc-1.7.0/build' [100%] Built target hsa-runtime64 /usr/bin/make -f CMakeFiles/hsa-runtime64.so-link.dir/build.make CMakeFiles/hsa-runtime64.so-link.dir/depend make[2]: Entering directory `/builddir/build/BUILD/ROCR-Runtime-roc-1.7.0/build' cd /builddir/build/BUILD/ROCR-Runtime-roc-1.7.0/build && /usr/bin/cmake3 -E cmake_depends "Unix Makefiles" /builddir/build/BUILD/ROCR-Runtime-roc-1.7.0/src /builddir/build/BUILD/ROCR-Runtime-roc-1.7.0/src /builddir/build/BUILD/ROCR-Runtime-roc-1.7.0/build /builddir/build/BUILD/ROCR-Runtime-roc-1.7.0/build /builddir/build/BUILD/ROCR-Runtime-roc-1.7.0/build/CMakeFiles/hsa-runtime64.so-link.dir/DependInfo.cmake --color= make[2]: Leaving directory `/builddir/build/BUILD/ROCR-Runtime-roc-1.7.0/build' /usr/bin/make -f CMakeFiles/hsa-runtime64.so-link.dir/build.make CMakeFiles/hsa-runtime64.so-link.dir/build make[2]: Entering directory `/builddir/build/BUILD/ROCR-Runtime-roc-1.7.0/build' /usr/bin/cmake3 -E create_symlink ../hsa/lib/libhsa-runtime64.so libhsa-runtime64.so-link make[2]: Leaving directory `/builddir/build/BUILD/ROCR-Runtime-roc-1.7.0/build' [100%] Built target hsa-runtime64.so-link /usr/bin/make -f CMakeFiles/hsa-link.dir/build.make CMakeFiles/hsa-link.dir/depend make[2]: Entering directory `/builddir/build/BUILD/ROCR-Runtime-roc-1.7.0/build' cd /builddir/build/BUILD/ROCR-Runtime-roc-1.7.0/build && /usr/bin/cmake3 -E cmake_depends "Unix Makefiles" /builddir/build/BUILD/ROCR-Runtime-roc-1.7.0/src /builddir/build/BUILD/ROCR-Runtime-roc-1.7.0/src /builddir/build/BUILD/ROCR-Runtime-roc-1.7.0/build /builddir/build/BUILD/ROCR-Runtime-roc-1.7.0/build /builddir/build/BUILD/ROCR-Runtime-roc-1.7.0/build/CMakeFiles/hsa-link.dir/DependInfo.cmake --color= make[2]: Leaving directory `/builddir/build/BUILD/ROCR-Runtime-roc-1.7.0/build' /usr/bin/make -f CMakeFiles/hsa-link.dir/build.make CMakeFiles/hsa-link.dir/build make[2]: Entering directory `/builddir/build/BUILD/ROCR-Runtime-roc-1.7.0/build' /usr/bin/cmake3 -E create_symlink ../hsa/include/hsa hsa-link make[2]: Leaving directory `/builddir/build/BUILD/ROCR-Runtime-roc-1.7.0/build' [100%] Built target hsa-link make[1]: Leaving directory `/builddir/build/BUILD/ROCR-Runtime-roc-1.7.0/build' /usr/bin/cmake3 -E cmake_progress_start /builddir/build/BUILD/ROCR-Runtime-roc-1.7.0/build/CMakeFiles 0 /usr/bin/make -f CMakeFiles/Makefile2 preinstall make[1]: Entering directory `/builddir/build/BUILD/ROCR-Runtime-roc-1.7.0/build' make[1]: Nothing to be done for `preinstall'. make[1]: Leaving directory `/builddir/build/BUILD/ROCR-Runtime-roc-1.7.0/build' Install the project... /usr/bin/cmake3 -P cmake_install.cmake -- Install configuration: "RelWithDebInfo" -- Installing: /builddir/build/BUILDROOT/rocm-runtime-1.7.0-2.el7.centos.x86_64/usr/hsa/lib/libhsa-runtime64.so.1.0.0 -- Installing: /builddir/build/BUILDROOT/rocm-runtime-1.7.0-2.el7.centos.x86_64/usr/hsa/lib/libhsa-runtime64.so.1 -- Installing: /builddir/build/BUILDROOT/rocm-runtime-1.7.0-2.el7.centos.x86_64/usr/hsa/lib/libhsa-runtime64.so -- Installing: /builddir/build/BUILDROOT/rocm-runtime-1.7.0-2.el7.centos.x86_64/usr/hsa/include/hsa -- Installing: /builddir/build/BUILDROOT/rocm-runtime-1.7.0-2.el7.centos.x86_64/usr/hsa/include/hsa/hsa_ven_amd_loader.h -- Installing: /builddir/build/BUILDROOT/rocm-runtime-1.7.0-2.el7.centos.x86_64/usr/hsa/include/hsa/hsa_ven_amd_aqlprofile.h -- Installing: /builddir/build/BUILDROOT/rocm-runtime-1.7.0-2.el7.centos.x86_64/usr/hsa/include/hsa/hsa_ext_image.h -- Installing: /builddir/build/BUILDROOT/rocm-runtime-1.7.0-2.el7.centos.x86_64/usr/hsa/include/hsa/hsa_ext_finalize.h -- Installing: /builddir/build/BUILDROOT/rocm-runtime-1.7.0-2.el7.centos.x86_64/usr/hsa/include/hsa/hsa_ext_amd.h -- Installing: /builddir/build/BUILDROOT/rocm-runtime-1.7.0-2.el7.centos.x86_64/usr/hsa/include/hsa/hsa_api_trace.h -- Installing: /builddir/build/BUILDROOT/rocm-runtime-1.7.0-2.el7.centos.x86_64/usr/hsa/include/hsa/hsa.h -- Installing: /builddir/build/BUILDROOT/rocm-runtime-1.7.0-2.el7.centos.x86_64/usr/hsa/include/hsa/amd_hsa_signal.h -- Installing: /builddir/build/BUILDROOT/rocm-runtime-1.7.0-2.el7.centos.x86_64/usr/hsa/include/hsa/amd_hsa_queue.h -- Installing: /builddir/build/BUILDROOT/rocm-runtime-1.7.0-2.el7.centos.x86_64/usr/hsa/include/hsa/amd_hsa_kernel_code.h -- Installing: /builddir/build/BUILDROOT/rocm-runtime-1.7.0-2.el7.centos.x86_64/usr/hsa/include/hsa/amd_hsa_elf.h -- Installing: /builddir/build/BUILDROOT/rocm-runtime-1.7.0-2.el7.centos.x86_64/usr/hsa/include/hsa/amd_hsa_common.h -- Installing: /builddir/build/BUILDROOT/rocm-runtime-1.7.0-2.el7.centos.x86_64/usr/hsa/include/hsa/Brig.h -- Installing: /builddir/build/BUILDROOT/rocm-runtime-1.7.0-2.el7.centos.x86_64/usr/include/hsa -- Installing: /builddir/build/BUILDROOT/rocm-runtime-1.7.0-2.el7.centos.x86_64/usr/lib/libhsa-runtime64.so + rm /builddir/build/BUILDROOT/rocm-runtime-1.7.0-2.el7.centos.x86_64/usr/include/hsa + rm /builddir/build/BUILDROOT/rocm-runtime-1.7.0-2.el7.centos.x86_64/usr/lib/libhsa-runtime64.so + mv /builddir/build/BUILDROOT/rocm-runtime-1.7.0-2.el7.centos.x86_64/usr/hsa/lib /builddir/build/BUILDROOT/rocm-runtime-1.7.0-2.el7.centos.x86_64/usr/lib64 + mv /builddir/build/BUILDROOT/rocm-runtime-1.7.0-2.el7.centos.x86_64/usr/hsa/include/hsa /builddir/build/BUILDROOT/rocm-runtime-1.7.0-2.el7.centos.x86_64/usr/include + /usr/lib/rpm/find-debuginfo.sh --strict-build-id -m --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 110000000 /builddir/build/BUILD/ROCR-Runtime-roc-1.7.0 extracting debug info from /builddir/build/BUILDROOT/rocm-runtime-1.7.0-2.el7.centos.x86_64/usr/lib64/libhsa-runtime64.so.1.0.0 BUILDSTDERR: dwz: Too few files for multifile optimization /usr/lib/rpm/sepdebugcrcfix: Updated 1 CRC32s, 0 CRC32s did match. symlinked /usr/lib/debug/usr/lib64/libhsa-runtime64.so.1.0.0.debug to /usr/lib/debug/usr/lib64/libhsa-runtime64.so.debug symlinked /usr/lib/debug/usr/lib64/libhsa-runtime64.so.1.0.0.debug to /usr/lib/debug/usr/lib64/libhsa-runtime64.so.1.debug BUILDSTDERR: 3193 blocks + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-compress + /usr/lib/rpm/redhat/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/brp-python-bytecompile /usr/bin/python 1 + /usr/lib/rpm/redhat/brp-python-hardlink + /usr/lib/rpm/redhat/brp-java-repack-jars Processing files: rocm-runtime-1.7.0-2.el7.centos.x86_64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.3sJl08 + umask 022 + cd /builddir/build/BUILD + cd ROCR-Runtime-roc-1.7.0 + DOCDIR=/builddir/build/BUILDROOT/rocm-runtime-1.7.0-2.el7.centos.x86_64/usr/share/doc/rocm-runtime-1.7.0 + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/rocm-runtime-1.7.0-2.el7.centos.x86_64/usr/share/doc/rocm-runtime-1.7.0 + cp -pr README.md /builddir/build/BUILDROOT/rocm-runtime-1.7.0-2.el7.centos.x86_64/usr/share/doc/rocm-runtime-1.7.0 + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.fnjARS + umask 022 + cd /builddir/build/BUILD + cd ROCR-Runtime-roc-1.7.0 + LICENSEDIR=/builddir/build/BUILDROOT/rocm-runtime-1.7.0-2.el7.centos.x86_64/usr/share/licenses/rocm-runtime-1.7.0 + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/rocm-runtime-1.7.0-2.el7.centos.x86_64/usr/share/licenses/rocm-runtime-1.7.0 + cp -pr LICENSE.txt /builddir/build/BUILDROOT/rocm-runtime-1.7.0-2.el7.centos.x86_64/usr/share/licenses/rocm-runtime-1.7.0 + exit 0 Provides: libhsa-runtime64.so.1()(64bit) libhsa-runtime64.so.1(ROCR_1)(64bit) rocm-runtime = 1.7.0-2.el7.centos rocm-runtime(x86-64) = 1.7.0-2.el7.centos Requires(interp): /sbin/ldconfig /sbin/ldconfig Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires(post): /sbin/ldconfig Requires(postun): /sbin/ldconfig Requires: ld-linux-x86-64.so.2()(64bit) ld-linux-x86-64.so.2(GLIBC_2.3)(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.14)(64bit) libc.so.6(GLIBC_2.16)(64bit) libc.so.6(GLIBC_2.2.5)(64bit) libdl.so.2()(64bit) libdl.so.2(GLIBC_2.2.5)(64bit) libdl.so.2(GLIBC_2.3.3)(64bit) libelf.so.1()(64bit) libelf.so.1(ELFUTILS_1.0)(64bit) libelf.so.1(ELFUTILS_1.6)(64bit) libgcc_s.so.1()(64bit) libgcc_s.so.1(GCC_3.0)(64bit) libhsakmt.so.1()(64bit) libhsakmt.so.1(HSAKMT_1)(64bit) libm.so.6()(64bit) libpthread.so.0()(64bit) libpthread.so.0(GLIBC_2.2.5)(64bit) libpthread.so.0(GLIBC_2.3.2)(64bit) librt.so.1()(64bit) librt.so.1(GLIBC_2.2.5)(64bit) libstdc++.so.6()(64bit) libstdc++.so.6(CXXABI_1.3)(64bit) libstdc++.so.6(CXXABI_1.3.3)(64bit) libstdc++.so.6(CXXABI_1.3.5)(64bit) libstdc++.so.6(GLIBCXX_3.4)(64bit) libstdc++.so.6(GLIBCXX_3.4.11)(64bit) libstdc++.so.6(GLIBCXX_3.4.14)(64bit) libstdc++.so.6(GLIBCXX_3.4.15)(64bit) libstdc++.so.6(GLIBCXX_3.4.18)(64bit) libstdc++.so.6(GLIBCXX_3.4.9)(64bit) rtld(GNU_HASH) Processing files: rocm-runtime-devel-1.7.0-2.el7.centos.x86_64 Provides: rocm-runtime-devel = 1.7.0-2.el7.centos rocm-runtime-devel(x86-64) = 1.7.0-2.el7.centos Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: libhsa-runtime64.so.1()(64bit) Processing files: rocm-runtime-debuginfo-1.7.0-2.el7.centos.x86_64 Provides: rocm-runtime-debuginfo = 1.7.0-2.el7.centos rocm-runtime-debuginfo(x86-64) = 1.7.0-2.el7.centos Requires(rpmlib): rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 rpmlib(CompressedFileNames) <= 3.0.4-1 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/rocm-runtime-1.7.0-2.el7.centos.x86_64 BUILDSTDERR: warning: Could not canonicalize hostname: 1577ffc50576467d8d870e0f211b04e5 Wrote: /builddir/build/RPMS/rocm-runtime-1.7.0-2.el7.centos.x86_64.rpm Wrote: /builddir/build/RPMS/rocm-runtime-devel-1.7.0-2.el7.centos.x86_64.rpm Wrote: /builddir/build/RPMS/rocm-runtime-debuginfo-1.7.0-2.el7.centos.x86_64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.ViuRc3 + umask 022 + cd /builddir/build/BUILD + cd ROCR-Runtime-roc-1.7.0 + /usr/bin/rm -rf /builddir/build/BUILDROOT/rocm-runtime-1.7.0-2.el7.centos.x86_64 + exit 0 Child return code was: 0