Mock Version: 4.1 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/hipcc.spec'], chrootPath='/var/lib/mock/fedora-rawhide-x86_64-1688751244.741841/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': 'C.UTF-8'}shell=Falselogger=timeout=0uid=1000gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.z9o0yvf4:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']unshare_net=TrueprintOutput=True) Using nspawn with args ['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.z9o0yvf4:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', '7c64f6a567f44a67aefd941982de1b74', '-D', '/var/lib/mock/fedora-rawhide-x86_64-1688751244.741841/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.z9o0yvf4:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--console=pipe', '--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=C.UTF-8', '--resolv-conf=off', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/hipcc.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': 'C.UTF-8', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0', 'SYSTEMD_SECCOMP': '0'} and shell False Building target platforms: x86_64 Building for target x86_64 setting SOURCE_DATE_EPOCH=1688428800 Wrote: /builddir/build/SRPMS/hipcc-5.6.0-3.fc39.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/hipcc.spec'], chrootPath='/var/lib/mock/fedora-rawhide-x86_64-1688751244.741841/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': 'C.UTF-8'}shell=Falselogger=timeout=0uid=1000gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.z9o0yvf4:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']unshare_net=TrueprintOutput=True) Using nspawn with args ['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.z9o0yvf4:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', '2634dbc19da64012acd5a44be11201ae', '-D', '/var/lib/mock/fedora-rawhide-x86_64-1688751244.741841/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.z9o0yvf4:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--console=pipe', '--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=C.UTF-8', '--resolv-conf=off', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/hipcc.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': 'C.UTF-8', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0', 'SYSTEMD_SECCOMP': '0'} and shell False Building target platforms: x86_64 Building for target x86_64 setting SOURCE_DATE_EPOCH=1688428800 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.mvGXel + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf HIPCC-rocm-5.6.0 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/hipcc-5.6.0.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd HIPCC-rocm-5.6.0 + /usr/bin/mkdir -p SPECPARTS + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/a11397e769f71227cfc44353842ea90707610236.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/560bee0df3b95d9cf18d5e52d7fa99ffe6b0f488.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + sed -i 's|\(/usr/bin/\)env perl|\1perl|' bin/hipcc.pl + sed -i '/" -isystem " + hsaPath + "\/include"/d' src/hipBin_amd.h + sed -i '/^# Add paths to common HIP includes:/,/^$HIPCFLAGS/d' bin/hipcc.pl + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.SL0olj + umask 022 + cd /builddir/build/BUILD + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cforce-frame-pointers=yes -Clink-arg=-Wl,-z,relro -Clink-arg=-Wl,-z,now -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd HIPCC-rocm-5.6.0 + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cforce-frame-pointers=yes -Clink-arg=-Wl,-z,relro -Clink-arg=-Wl,-z,now -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + /usr/bin/cmake -S . -B redhat-linux-build -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_DO_STRIP:BOOL=OFF -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 -DHIPCC_BACKWARD_COMPATIBILITY=OFF -- The C compiler identification is GNU 13.1.1 -- The CXX compiler identification is GNU 13.1.1 -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Check for working C compiler: /usr/bin/gcc - 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/bin/g++ - skipped -- Detecting CXX compile features -- Detecting CXX compile features - done -- Configuring done (0.5s) -- Generating done (0.0s) CMake Warning: Manually-specified variables were not used by the project: BUILD_SHARED_LIBS CMAKE_CXX_FLAGS_RELEASE CMAKE_C_FLAGS_RELEASE CMAKE_Fortran_FLAGS_RELEASE CMAKE_INSTALL_DO_STRIP INCLUDE_INSTALL_DIR LIB_INSTALL_DIR LIB_SUFFIX SHARE_INSTALL_PREFIX SYSCONF_INSTALL_DIR -- Build files have been written to: /builddir/build/BUILD/HIPCC-rocm-5.6.0/redhat-linux-build + /usr/bin/cmake --build redhat-linux-build -j2 --verbose Change Dir: '/builddir/build/BUILD/HIPCC-rocm-5.6.0/redhat-linux-build' Run Build Command(s): /usr/bin/cmake -E env VERBOSE=1 /usr/bin/gmake -f Makefile -j2 /usr/bin/cmake -S/builddir/build/BUILD/HIPCC-rocm-5.6.0 -B/builddir/build/BUILD/HIPCC-rocm-5.6.0/redhat-linux-build --check-build-system CMakeFiles/Makefile.cmake 0 /usr/bin/cmake -E cmake_progress_start /builddir/build/BUILD/HIPCC-rocm-5.6.0/redhat-linux-build/CMakeFiles /builddir/build/BUILD/HIPCC-rocm-5.6.0/redhat-linux-build//CMakeFiles/progress.marks /usr/bin/gmake -f CMakeFiles/Makefile2 all gmake[1]: Entering directory '/builddir/build/BUILD/HIPCC-rocm-5.6.0/redhat-linux-build' /usr/bin/gmake -f CMakeFiles/hipcc.bin.dir/build.make CMakeFiles/hipcc.bin.dir/depend /usr/bin/gmake -f CMakeFiles/hipconfig.bin.dir/build.make CMakeFiles/hipconfig.bin.dir/depend gmake[2]: Entering directory '/builddir/build/BUILD/HIPCC-rocm-5.6.0/redhat-linux-build' cd /builddir/build/BUILD/HIPCC-rocm-5.6.0/redhat-linux-build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /builddir/build/BUILD/HIPCC-rocm-5.6.0 /builddir/build/BUILD/HIPCC-rocm-5.6.0 /builddir/build/BUILD/HIPCC-rocm-5.6.0/redhat-linux-build /builddir/build/BUILD/HIPCC-rocm-5.6.0/redhat-linux-build /builddir/build/BUILD/HIPCC-rocm-5.6.0/redhat-linux-build/CMakeFiles/hipcc.bin.dir/DependInfo.cmake "--color=" gmake[2]: Entering directory '/builddir/build/BUILD/HIPCC-rocm-5.6.0/redhat-linux-build' cd /builddir/build/BUILD/HIPCC-rocm-5.6.0/redhat-linux-build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /builddir/build/BUILD/HIPCC-rocm-5.6.0 /builddir/build/BUILD/HIPCC-rocm-5.6.0 /builddir/build/BUILD/HIPCC-rocm-5.6.0/redhat-linux-build /builddir/build/BUILD/HIPCC-rocm-5.6.0/redhat-linux-build /builddir/build/BUILD/HIPCC-rocm-5.6.0/redhat-linux-build/CMakeFiles/hipconfig.bin.dir/DependInfo.cmake "--color=" gmake[2]: Leaving directory '/builddir/build/BUILD/HIPCC-rocm-5.6.0/redhat-linux-build' /usr/bin/gmake -f CMakeFiles/hipcc.bin.dir/build.make CMakeFiles/hipcc.bin.dir/build gmake[2]: Leaving directory '/builddir/build/BUILD/HIPCC-rocm-5.6.0/redhat-linux-build' /usr/bin/gmake -f CMakeFiles/hipconfig.bin.dir/build.make CMakeFiles/hipconfig.bin.dir/build gmake[2]: Entering directory '/builddir/build/BUILD/HIPCC-rocm-5.6.0/redhat-linux-build' gmake[2]: Entering directory '/builddir/build/BUILD/HIPCC-rocm-5.6.0/redhat-linux-build' [ 25%] Building CXX object CMakeFiles/hipcc.bin.dir/src/hipBin.cpp.o /usr/bin/g++ -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=gnu++17 -MD -MT CMakeFiles/hipcc.bin.dir/src/hipBin.cpp.o -MF CMakeFiles/hipcc.bin.dir/src/hipBin.cpp.o.d -o CMakeFiles/hipcc.bin.dir/src/hipBin.cpp.o -c /builddir/build/BUILD/HIPCC-rocm-5.6.0/src/hipBin.cpp [ 50%] Building CXX object CMakeFiles/hipconfig.bin.dir/src/hipBin.cpp.o /usr/bin/g++ -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=gnu++17 -MD -MT CMakeFiles/hipconfig.bin.dir/src/hipBin.cpp.o -MF CMakeFiles/hipconfig.bin.dir/src/hipBin.cpp.o.d -o CMakeFiles/hipconfig.bin.dir/src/hipBin.cpp.o -c /builddir/build/BUILD/HIPCC-rocm-5.6.0/src/hipBin.cpp In file included from /builddir/build/BUILD/HIPCC-rocm-5.6.0/src/hipBin.cpp:23: /builddir/build/BUILD/HIPCC-rocm-5.6.0/src/hipBin_util.h: In member function 'std::string HipBinUtil::getSelfPath() const': /builddir/build/BUILD/HIPCC-rocm-5.6.0/src/hipBin_util.h:199:7: warning: unused variable 'bufferSize' [-Wunused-variable] 199 | int bufferSize = 0; | ^~~~~~~~~~ In file included from /builddir/build/BUILD/HIPCC-rocm-5.6.0/src/hipBin.cpp:23: /builddir/build/BUILD/HIPCC-rocm-5.6.0/src/hipBin_util.h: In member function 'std::string HipBinUtil::getSelfPath() const': /builddir/build/BUILD/HIPCC-rocm-5.6.0/src/hipBin_util.h:199:7: warning: unused variable 'bufferSize' [-Wunused-variable] 199 | int bufferSize = 0; | ^~~~~~~~~~ In file included from /builddir/build/BUILD/HIPCC-rocm-5.6.0/src/hipBin.cpp:24: /builddir/build/BUILD/HIPCC-rocm-5.6.0/src/hipBin_amd.h: In member function 'virtual void HipBinAmd::initializeHipCXXFlags()': /builddir/build/BUILD/HIPCC-rocm-5.6.0/src/hipBin_amd.h:207:19: warning: unused variable 'hsaPath' [-Wunused-variable] 207 | const string& hsaPath = getHsaPath(); | ^~~~~~~ In file included from /builddir/build/BUILD/HIPCC-rocm-5.6.0/src/hipBin.cpp:24: /builddir/build/BUILD/HIPCC-rocm-5.6.0/src/hipBin_amd.h: In member function 'virtual void HipBinAmd::initializeHipCXXFlags()': /builddir/build/BUILD/HIPCC-rocm-5.6.0/src/hipBin_amd.h:207:19: warning: unused variable 'hsaPath' [-Wunused-variable] 207 | const string& hsaPath = getHsaPath(); | ^~~~~~~ In file included from /builddir/build/BUILD/HIPCC-rocm-5.6.0/src/hipBin.cpp:25: /builddir/build/BUILD/HIPCC-rocm-5.6.0/src/hipBin_nvidia.h: In member function 'virtual bool HipBinNvidia::detectPlatform()': /builddir/build/BUILD/HIPCC-rocm-5.6.0/src/hipBin_nvidia.h:81:17: warning: unused variable 'os' [-Wunused-variable] 81 | const OsType& os = getOSInfo(); | ^~ /builddir/build/BUILD/HIPCC-rocm-5.6.0/src/hipBin_nvidia.h: In member function 'virtual void HipBinNvidia::executeHipCCCmd(std::vector >)': /builddir/build/BUILD/HIPCC-rocm-5.6.0/src/hipBin_nvidia.h:303:8: warning: variable 'default_amdgpu_target' set but not used [-Wunused-but-set-variable] 303 | bool default_amdgpu_target = 1; | ^~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/HIPCC-rocm-5.6.0/src/hipBin_nvidia.h:309:8: warning: variable 'hasOMPTargets' set but not used [-Wunused-but-set-variable] 309 | bool hasOMPTargets = 0; // If OMP targets is mentioned | ^~~~~~~~~~~~~ /builddir/build/BUILD/HIPCC-rocm-5.6.0/src/hipBin_nvidia.h:314:8: warning: variable 'hasCU' set but not used [-Wunused-but-set-variable] 314 | bool hasCU = 0; | ^~~~~ /builddir/build/BUILD/HIPCC-rocm-5.6.0/src/hipBin_nvidia.h:322:8: warning: variable 'linkType' set but not used [-Wunused-but-set-variable] 322 | bool linkType = 1; | ^~~~~~~~ /builddir/build/BUILD/HIPCC-rocm-5.6.0/src/hipBin_nvidia.h:325:8: warning: variable 'funcSupp' set but not used [-Wunused-but-set-variable] 325 | bool funcSupp = 0; // enable function support | ^~~~~~~~ /builddir/build/BUILD/HIPCC-rocm-5.6.0/src/hipBin_nvidia.h:326:8: warning: variable 'rdc' set but not used [-Wunused-but-set-variable] 326 | bool rdc = 0; // whether -fgpu-rdc is on | ^~~ /builddir/build/BUILD/HIPCC-rocm-5.6.0/src/hipBin.cpp: In destructor 'HipBin::~HipBin()': /builddir/build/BUILD/HIPCC-rocm-5.6.0/src/hipBin.cpp:88:3: warning: deleting object of abstract class type 'HipBinBase' which has non-virtual destructor will cause undefined behavior [-Wdelete-non-virtual-dtor] 88 | delete hipBinNVPtr_; | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/HIPCC-rocm-5.6.0/src/hipBin.cpp:89:3: warning: deleting object of abstract class type 'HipBinBase' which has non-virtual destructor will cause undefined behavior [-Wdelete-non-virtual-dtor] 89 | delete hipBinAMDPtr_; | ^~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/HIPCC-rocm-5.6.0/src/hipBin.cpp:25: /builddir/build/BUILD/HIPCC-rocm-5.6.0/src/hipBin_nvidia.h: In member function 'virtual bool HipBinNvidia::detectPlatform()': /builddir/build/BUILD/HIPCC-rocm-5.6.0/src/hipBin_nvidia.h:81:17: warning: unused variable 'os' [-Wunused-variable] 81 | const OsType& os = getOSInfo(); | ^~ /builddir/build/BUILD/HIPCC-rocm-5.6.0/src/hipBin_nvidia.h: In member function 'virtual void HipBinNvidia::executeHipCCCmd(std::vector >)': /builddir/build/BUILD/HIPCC-rocm-5.6.0/src/hipBin_nvidia.h:303:8: warning: variable 'default_amdgpu_target' set but not used [-Wunused-but-set-variable] 303 | bool default_amdgpu_target = 1; | ^~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/HIPCC-rocm-5.6.0/src/hipBin_nvidia.h:309:8: warning: variable 'hasOMPTargets' set but not used [-Wunused-but-set-variable] 309 | bool hasOMPTargets = 0; // If OMP targets is mentioned | ^~~~~~~~~~~~~ /builddir/build/BUILD/HIPCC-rocm-5.6.0/src/hipBin_nvidia.h:314:8: warning: variable 'hasCU' set but not used [-Wunused-but-set-variable] 314 | bool hasCU = 0; | ^~~~~ /builddir/build/BUILD/HIPCC-rocm-5.6.0/src/hipBin_nvidia.h:322:8: warning: variable 'linkType' set but not used [-Wunused-but-set-variable] 322 | bool linkType = 1; | ^~~~~~~~ /builddir/build/BUILD/HIPCC-rocm-5.6.0/src/hipBin_nvidia.h:325:8: warning: variable 'funcSupp' set but not used [-Wunused-but-set-variable] 325 | bool funcSupp = 0; // enable function support | ^~~~~~~~ /builddir/build/BUILD/HIPCC-rocm-5.6.0/src/hipBin_nvidia.h:326:8: warning: variable 'rdc' set but not used [-Wunused-but-set-variable] 326 | bool rdc = 0; // whether -fgpu-rdc is on | ^~~ /builddir/build/BUILD/HIPCC-rocm-5.6.0/src/hipBin.cpp: In destructor 'HipBin::~HipBin()': /builddir/build/BUILD/HIPCC-rocm-5.6.0/src/hipBin.cpp:88:3: warning: deleting object of abstract class type 'HipBinBase' which has non-virtual destructor will cause undefined behavior [-Wdelete-non-virtual-dtor] 88 | delete hipBinNVPtr_; | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/HIPCC-rocm-5.6.0/src/hipBin.cpp:89:3: warning: deleting object of abstract class type 'HipBinBase' which has non-virtual destructor will cause undefined behavior [-Wdelete-non-virtual-dtor] 89 | delete hipBinAMDPtr_; | ^~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/HIPCC-rocm-5.6.0/src/hipBin_amd.h:26: /builddir/build/BUILD/HIPCC-rocm-5.6.0/src/hipBin_base.h: In member function 'void HipBinBase::getSystemInfo() const': /builddir/build/BUILD/HIPCC-rocm-5.6.0/src/hipBin_base.h:386:11: warning: ignoring return value of 'int system(const char*)' declared with attribute 'warn_unused_result' [-Wunused-result] 386 | system("hostname"); | ~~~~~~^~~~~~~~~~~~ /builddir/build/BUILD/HIPCC-rocm-5.6.0/src/hipBin_base.h:387:11: warning: ignoring return value of 'int system(const char*)' declared with attribute 'warn_unused_result' [-Wunused-result] 387 | system("wmic path win32_VideoController get AdapterCompatibility," | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 388 | "InstalledDisplayDrivers,Name | findstr /B /C:\"Advanced Micro Devices\""); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/HIPCC-rocm-5.6.0/src/hipBin_base.h:393:11: warning: ignoring return value of 'int system(const char*)' declared with attribute 'warn_unused_result' [-Wunused-result] 393 | system("hostname"); | ~~~~~~^~~~~~~~~~~~ /builddir/build/BUILD/HIPCC-rocm-5.6.0/src/hipBin_base.h:394:11: warning: ignoring return value of 'int system(const char*)' declared with attribute 'warn_unused_result' [-Wunused-result] 394 | system("uname -a"); | ~~~~~~^~~~~~~~~~~~ /builddir/build/BUILD/HIPCC-rocm-5.6.0/src/hipBin_base.h: In member function 'void HipBinBase::printEnvironmentVariables() const': /builddir/build/BUILD/HIPCC-rocm-5.6.0/src/hipBin_base.h:403:11: warning: ignoring return value of 'int system(const char*)' declared with attribute 'warn_unused_result' [-Wunused-result] 403 | system("set | findstr" | ~~~~~~^~~~~~~~~~~~~~~~ 404 | " /B /C:\"HIP\" /C:\"HSA\" /C:\"CUDA\" /C:\"LD_LIBRARY_PATH\""); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/HIPCC-rocm-5.6.0/src/hipBin_base.h:408:11: warning: ignoring return value of 'int system(const char*)' declared with attribute 'warn_unused_result' [-Wunused-result] 408 | system(cmd.c_str()); | ~~~~~~^~~~~~~~~~~~~ /builddir/build/BUILD/HIPCC-rocm-5.6.0/src/hipBin_base.h:409:11: warning: ignoring return value of 'int system(const char*)' declared with attribute 'warn_unused_result' [-Wunused-result] 409 | system("env | egrep '^HIP|^HSA|^CUDA|^LD_LIBRARY_PATH'"); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/HIPCC-rocm-5.6.0/src/hipBin_amd.h: In member function 'virtual void HipBinAmd::printCompilerInfo() const': /builddir/build/BUILD/HIPCC-rocm-5.6.0/src/hipBin_amd.h:253:11: warning: ignoring return value of 'int system(const char*)' declared with attribute 'warn_unused_result' [-Wunused-result] 253 | system(cmd.c_str()); // hipclang version | ~~~~~~^~~~~~~~~~~~~ /builddir/build/BUILD/HIPCC-rocm-5.6.0/src/hipBin_amd.h:256:11: warning: ignoring return value of 'int system(const char*)' declared with attribute 'warn_unused_result' [-Wunused-result] 256 | system(cmd.c_str()); // llc version | ~~~~~~^~~~~~~~~~~~~ /builddir/build/BUILD/HIPCC-rocm-5.6.0/src/hipBin_amd.h:259:11: warning: ignoring return value of 'int system(const char*)' declared with attribute 'warn_unused_result' [-Wunused-result] 259 | system(cmd.c_str()); // cxx flags | ~~~~~~^~~~~~~~~~~~~ /builddir/build/BUILD/HIPCC-rocm-5.6.0/src/hipBin_amd.h:262:11: warning: ignoring return value of 'int system(const char*)' declared with attribute 'warn_unused_result' [-Wunused-result] 262 | system(cmd.c_str()); // ld flags | ~~~~~~^~~~~~~~~~~~~ /builddir/build/BUILD/HIPCC-rocm-5.6.0/src/hipBin_amd.h:266:11: warning: ignoring return value of 'int system(const char*)' declared with attribute 'warn_unused_result' [-Wunused-result] 266 | system(cmd.c_str()); // hipclang version | ~~~~~~^~~~~~~~~~~~~ /builddir/build/BUILD/HIPCC-rocm-5.6.0/src/hipBin_amd.h:268:11: warning: ignoring return value of 'int system(const char*)' declared with attribute 'warn_unused_result' [-Wunused-result] 268 | system(cmd.c_str()); // llc version | ~~~~~~^~~~~~~~~~~~~ /builddir/build/BUILD/HIPCC-rocm-5.6.0/src/hipBin_amd.h:271:11: warning: ignoring return value of 'int system(const char*)' declared with attribute 'warn_unused_result' [-Wunused-result] 271 | system(cmd.c_str()); // cxx flags | ~~~~~~^~~~~~~~~~~~~ /builddir/build/BUILD/HIPCC-rocm-5.6.0/src/hipBin_amd.h:274:11: warning: ignoring return value of 'int system(const char*)' declared with attribute 'warn_unused_result' [-Wunused-result] 274 | system(cmd.c_str()); // ldflags version | ~~~~~~^~~~~~~~~~~~~ /builddir/build/BUILD/HIPCC-rocm-5.6.0/src/hipBin_amd.h: In member function 'virtual void HipBinAmd::printFull()': /builddir/build/BUILD/HIPCC-rocm-5.6.0/src/hipBin_amd.h:447:11: warning: ignoring return value of 'int system(const char*)' declared with attribute 'warn_unused_result' [-Wunused-result] 447 | system("/usr/bin/lsb_release -a"); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/HIPCC-rocm-5.6.0/src/hipBin_nvidia.h: In member function 'virtual void HipBinNvidia::printFull()': /builddir/build/BUILD/HIPCC-rocm-5.6.0/src/hipBin_nvidia.h:162:11: warning: ignoring return value of 'int system(const char*)' declared with attribute 'warn_unused_result' [-Wunused-result] 162 | system("/usr/bin/lsb_release -a"); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/HIPCC-rocm-5.6.0/src/hipBin_nvidia.h: In member function 'virtual void HipBinNvidia::printCompilerInfo() const': /builddir/build/BUILD/HIPCC-rocm-5.6.0/src/hipBin_nvidia.h:257:9: warning: ignoring return value of 'int system(const char*)' declared with attribute 'warn_unused_result' [-Wunused-result] 257 | system(cmd.c_str()); | ~~~~~~^~~~~~~~~~~~~ /builddir/build/BUILD/HIPCC-rocm-5.6.0/src/hipBin_nvidia.h: In member function 'virtual std::string HipBinNvidia::getCompilerVersion()': /builddir/build/BUILD/HIPCC-rocm-5.6.0/src/hipBin_nvidia.h:267:9: warning: ignoring return value of 'int system(const char*)' declared with attribute 'warn_unused_result' [-Wunused-result] 267 | system(cmd.c_str()); | ~~~~~~^~~~~~~~~~~~~ /builddir/build/BUILD/HIPCC-rocm-5.6.0/src/hipBin_nvidia.h: In member function 'virtual void HipBinNvidia::executeHipCCCmd(std::vector >)': /builddir/build/BUILD/HIPCC-rocm-5.6.0/src/hipBin_nvidia.h:383:11: warning: ignoring return value of 'int system(const char*)' declared with attribute 'warn_unused_result' [-Wunused-result] 383 | system(ISACMD.c_str()); | ~~~~~~^~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/HIPCC-rocm-5.6.0/src/hipBin_amd.h:26: /builddir/build/BUILD/HIPCC-rocm-5.6.0/src/hipBin_base.h: In member function 'void HipBinBase::getSystemInfo() const': /builddir/build/BUILD/HIPCC-rocm-5.6.0/src/hipBin_base.h:386:11: warning: ignoring return value of 'int system(const char*)' declared with attribute 'warn_unused_result' [-Wunused-result] 386 | system("hostname"); | ~~~~~~^~~~~~~~~~~~ /builddir/build/BUILD/HIPCC-rocm-5.6.0/src/hipBin_base.h:387:11: warning: ignoring return value of 'int system(const char*)' declared with attribute 'warn_unused_result' [-Wunused-result] 387 | system("wmic path win32_VideoController get AdapterCompatibility," | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 388 | "InstalledDisplayDrivers,Name | findstr /B /C:\"Advanced Micro Devices\""); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/HIPCC-rocm-5.6.0/src/hipBin_base.h:393:11: warning: ignoring return value of 'int system(const char*)' declared with attribute 'warn_unused_result' [-Wunused-result] 393 | system("hostname"); | ~~~~~~^~~~~~~~~~~~ /builddir/build/BUILD/HIPCC-rocm-5.6.0/src/hipBin_base.h:394:11: warning: ignoring return value of 'int system(const char*)' declared with attribute 'warn_unused_result' [-Wunused-result] 394 | system("uname -a"); | ~~~~~~^~~~~~~~~~~~ /builddir/build/BUILD/HIPCC-rocm-5.6.0/src/hipBin_base.h: In member function 'void HipBinBase::printEnvironmentVariables() const': /builddir/build/BUILD/HIPCC-rocm-5.6.0/src/hipBin_base.h:403:11: warning: ignoring return value of 'int system(const char*)' declared with attribute 'warn_unused_result' [-Wunused-result] 403 | system("set | findstr" | ~~~~~~^~~~~~~~~~~~~~~~ 404 | " /B /C:\"HIP\" /C:\"HSA\" /C:\"CUDA\" /C:\"LD_LIBRARY_PATH\""); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/HIPCC-rocm-5.6.0/src/hipBin_base.h:408:11: warning: ignoring return value of 'int system(const char*)' declared with attribute 'warn_unused_result' [-Wunused-result] 408 | system(cmd.c_str()); | ~~~~~~^~~~~~~~~~~~~ /builddir/build/BUILD/HIPCC-rocm-5.6.0/src/hipBin_base.h:409:11: warning: ignoring return value of 'int system(const char*)' declared with attribute 'warn_unused_result' [-Wunused-result] 409 | system("env | egrep '^HIP|^HSA|^CUDA|^LD_LIBRARY_PATH'"); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/HIPCC-rocm-5.6.0/src/hipBin_amd.h: In member function 'virtual void HipBinAmd::printCompilerInfo() const': /builddir/build/BUILD/HIPCC-rocm-5.6.0/src/hipBin_amd.h:253:11: warning: ignoring return value of 'int system(const char*)' declared with attribute 'warn_unused_result' [-Wunused-result] 253 | system(cmd.c_str()); // hipclang version | ~~~~~~^~~~~~~~~~~~~ /builddir/build/BUILD/HIPCC-rocm-5.6.0/src/hipBin_amd.h:256:11: warning: ignoring return value of 'int system(const char*)' declared with attribute 'warn_unused_result' [-Wunused-result] 256 | system(cmd.c_str()); // llc version | ~~~~~~^~~~~~~~~~~~~ /builddir/build/BUILD/HIPCC-rocm-5.6.0/src/hipBin_amd.h:259:11: warning: ignoring return value of 'int system(const char*)' declared with attribute 'warn_unused_result' [-Wunused-result] 259 | system(cmd.c_str()); // cxx flags | ~~~~~~^~~~~~~~~~~~~ /builddir/build/BUILD/HIPCC-rocm-5.6.0/src/hipBin_amd.h:262:11: warning: ignoring return value of 'int system(const char*)' declared with attribute 'warn_unused_result' [-Wunused-result] 262 | system(cmd.c_str()); // ld flags | ~~~~~~^~~~~~~~~~~~~ /builddir/build/BUILD/HIPCC-rocm-5.6.0/src/hipBin_amd.h:266:11: warning: ignoring return value of 'int system(const char*)' declared with attribute 'warn_unused_result' [-Wunused-result] 266 | system(cmd.c_str()); // hipclang version | ~~~~~~^~~~~~~~~~~~~ /builddir/build/BUILD/HIPCC-rocm-5.6.0/src/hipBin_amd.h:268:11: warning: ignoring return value of 'int system(const char*)' declared with attribute 'warn_unused_result' [-Wunused-result] 268 | system(cmd.c_str()); // llc version | ~~~~~~^~~~~~~~~~~~~ /builddir/build/BUILD/HIPCC-rocm-5.6.0/src/hipBin_amd.h:271:11: warning: ignoring return value of 'int system(const char*)' declared with attribute 'warn_unused_result' [-Wunused-result] 271 | system(cmd.c_str()); // cxx flags | ~~~~~~^~~~~~~~~~~~~ /builddir/build/BUILD/HIPCC-rocm-5.6.0/src/hipBin_amd.h:274:11: warning: ignoring return value of 'int system(const char*)' declared with attribute 'warn_unused_result' [-Wunused-result] 274 | system(cmd.c_str()); // ldflags version | ~~~~~~^~~~~~~~~~~~~ /builddir/build/BUILD/HIPCC-rocm-5.6.0/src/hipBin_amd.h: In member function 'virtual void HipBinAmd::printFull()': /builddir/build/BUILD/HIPCC-rocm-5.6.0/src/hipBin_amd.h:447:11: warning: ignoring return value of 'int system(const char*)' declared with attribute 'warn_unused_result' [-Wunused-result] 447 | system("/usr/bin/lsb_release -a"); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/HIPCC-rocm-5.6.0/src/hipBin_nvidia.h: In member function 'virtual void HipBinNvidia::printFull()': /builddir/build/BUILD/HIPCC-rocm-5.6.0/src/hipBin_nvidia.h:162:11: warning: ignoring return value of 'int system(const char*)' declared with attribute 'warn_unused_result' [-Wunused-result] 162 | system("/usr/bin/lsb_release -a"); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/HIPCC-rocm-5.6.0/src/hipBin_nvidia.h: In member function 'virtual void HipBinNvidia::printCompilerInfo() const': /builddir/build/BUILD/HIPCC-rocm-5.6.0/src/hipBin_nvidia.h:257:9: warning: ignoring return value of 'int system(const char*)' declared with attribute 'warn_unused_result' [-Wunused-result] 257 | system(cmd.c_str()); | ~~~~~~^~~~~~~~~~~~~ /builddir/build/BUILD/HIPCC-rocm-5.6.0/src/hipBin_nvidia.h: In member function 'virtual std::string HipBinNvidia::getCompilerVersion()': /builddir/build/BUILD/HIPCC-rocm-5.6.0/src/hipBin_nvidia.h:267:9: warning: ignoring return value of 'int system(const char*)' declared with attribute 'warn_unused_result' [-Wunused-result] 267 | system(cmd.c_str()); | ~~~~~~^~~~~~~~~~~~~ /builddir/build/BUILD/HIPCC-rocm-5.6.0/src/hipBin_nvidia.h: In member function 'virtual void HipBinNvidia::executeHipCCCmd(std::vector >)': /builddir/build/BUILD/HIPCC-rocm-5.6.0/src/hipBin_nvidia.h:383:11: warning: ignoring return value of 'int system(const char*)' declared with attribute 'warn_unused_result' [-Wunused-result] 383 | system(ISACMD.c_str()); | ~~~~~~^~~~~~~~~~~~~~~~ [ 75%] Linking CXX executable hipconfig.bin /usr/bin/cmake -E cmake_link_script CMakeFiles/hipconfig.bin.dir/link.txt --verbose=1 /usr/bin/g++ -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes CMakeFiles/hipconfig.bin.dir/src/hipBin.cpp.o -o hipconfig.bin -lstdc++fs [100%] Linking CXX executable hipcc.bin /usr/bin/cmake -E cmake_link_script CMakeFiles/hipcc.bin.dir/link.txt --verbose=1 /usr/bin/g++ -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes CMakeFiles/hipcc.bin.dir/src/hipBin.cpp.o -o hipcc.bin -lstdc++fs gmake[2]: Leaving directory '/builddir/build/BUILD/HIPCC-rocm-5.6.0/redhat-linux-build' [100%] Built target hipconfig.bin gmake[2]: Leaving directory '/builddir/build/BUILD/HIPCC-rocm-5.6.0/redhat-linux-build' [100%] Built target hipcc.bin gmake[1]: Leaving directory '/builddir/build/BUILD/HIPCC-rocm-5.6.0/redhat-linux-build' /usr/bin/cmake -E cmake_progress_start /builddir/build/BUILD/HIPCC-rocm-5.6.0/redhat-linux-build/CMakeFiles 0 + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.iT1kSk + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/hipcc-5.6.0-3.fc39.x86_64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/hipcc-5.6.0-3.fc39.x86_64 ++ dirname /builddir/build/BUILDROOT/hipcc-5.6.0-3.fc39.x86_64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/hipcc-5.6.0-3.fc39.x86_64 + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cforce-frame-pointers=yes -Clink-arg=-Wl,-z,relro -Clink-arg=-Wl,-z,now -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd HIPCC-rocm-5.6.0 + DESTDIR=/builddir/build/BUILDROOT/hipcc-5.6.0-3.fc39.x86_64 + /usr/bin/cmake --install redhat-linux-build -- Install configuration: "" -- Installing: /builddir/build/BUILDROOT/hipcc-5.6.0-3.fc39.x86_64/usr/./bin -- Installing: /builddir/build/BUILDROOT/hipcc-5.6.0-3.fc39.x86_64/usr/./bin/hipcc.pl -- Installing: /builddir/build/BUILDROOT/hipcc-5.6.0-3.fc39.x86_64/usr/./bin/hipvars.pm -- Installing: /builddir/build/BUILDROOT/hipcc-5.6.0-3.fc39.x86_64/usr/./bin/hipconfig.pl -- Installing: /builddir/build/BUILDROOT/hipcc-5.6.0-3.fc39.x86_64/usr/./bin/hipconfig -- Installing: /builddir/build/BUILDROOT/hipcc-5.6.0-3.fc39.x86_64/usr/./bin/hipcc -- Installing: /builddir/build/BUILDROOT/hipcc-5.6.0-3.fc39.x86_64/usr/share/doc/hipcc/LICENSE.txt -- Installing: /builddir/build/BUILDROOT/hipcc-5.6.0-3.fc39.x86_64/usr/share/doc/hipcc/README.md -- Installing: /builddir/build/BUILDROOT/hipcc-5.6.0-3.fc39.x86_64/usr/bin/hipcc.bin -- Installing: /builddir/build/BUILDROOT/hipcc-5.6.0-3.fc39.x86_64/usr/bin/hipconfig.bin + mkdir -p /builddir/build/BUILDROOT/hipcc-5.6.0-3.fc39.x86_64/usr/share/perl5/vendor_perl + mv /builddir/build/BUILDROOT/hipcc-5.6.0-3.fc39.x86_64/usr/bin/hipvars.pm /builddir/build/BUILDROOT/hipcc-5.6.0-3.fc39.x86_64/usr/share/perl5/vendor_perl + _target= + _symlinks=0 + fdupes -q -n -r -p /builddir/build/BUILDROOT/hipcc-5.6.0-3.fc39.x86_64/usr + read _file + test -z '' + _target=/builddir/build/BUILDROOT/hipcc-5.6.0-3.fc39.x86_64/usr/bin/hipconfig.bin + read _file + test -z /builddir/build/BUILDROOT/hipcc-5.6.0-3.fc39.x86_64/usr/bin/hipconfig.bin + test -z /builddir/build/BUILDROOT/hipcc-5.6.0-3.fc39.x86_64/usr/bin/hipcc.bin + test 0 = 1 + ln -f /builddir/build/BUILDROOT/hipcc-5.6.0-3.fc39.x86_64/usr/bin/hipconfig.bin /builddir/build/BUILDROOT/hipcc-5.6.0-3.fc39.x86_64/usr/bin/hipcc.bin + read _file + test -z /builddir/build/BUILDROOT/hipcc-5.6.0-3.fc39.x86_64/usr/bin/hipconfig.bin + test -z '' + _target= + continue + read _file + /usr/bin/find-debuginfo -j2 --strict-build-id -m -i --build-id-seed 5.6.0-3.fc39 --unique-debug-suffix -5.6.0-3.fc39.x86_64 --unique-debug-src-base hipcc-5.6.0-3.fc39.x86_64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 110000000 -S debugsourcefiles.list /builddir/build/BUILD/HIPCC-rocm-5.6.0 find-debuginfo: starting Extracting debug info from 1 files /usr/bin/gdb.minimal DWARF-compressing 2 files dwz: Too few files for multifile optimization sepdebugcrcfix: Updated 1 CRC32s, 0 CRC32s did match. Creating .debug symlinks for symlinks to ELF files Copying sources found by 'debugedit -l' to /usr/src/debug/hipcc-5.6.0-3.fc39.x86_64 167 blocks find-debuginfo: done + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig + /usr/lib/rpm/brp-compress + /usr/lib/rpm/redhat/brp-strip-lto /usr/bin/strip + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/check-rpaths + /usr/lib/rpm/redhat/brp-mangle-shebangs mangling shebang in /usr/bin/hipcc from /usr/bin/env perl to #!/usr/bin/perl mangling shebang in /usr/bin/hipconfig from /usr/bin/env perl to #!/usr/bin/perl mangling shebang in /usr/bin/hipconfig.pl from /usr/bin/env perl to #!/usr/bin/perl + /usr/lib/rpm/brp-remove-la-files + env /usr/lib/rpm/redhat/brp-python-bytecompile '' 1 0 -j2 + /usr/lib/rpm/redhat/brp-python-hardlink Processing files: hipcc-5.6.0-3.fc39.x86_64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.wLrr6W + umask 022 + cd /builddir/build/BUILD + cd HIPCC-rocm-5.6.0 + DOCDIR=/builddir/build/BUILDROOT/hipcc-5.6.0-3.fc39.x86_64/usr/share/doc/hipcc + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/hipcc-5.6.0-3.fc39.x86_64/usr/share/doc/hipcc + cp -pr /builddir/build/BUILD/HIPCC-rocm-5.6.0/README.md /builddir/build/BUILDROOT/hipcc-5.6.0-3.fc39.x86_64/usr/share/doc/hipcc + RPM_EC=0 ++ jobs -p + exit 0 Provides: hip = 5.6.0-3.fc39 hipcc = 5.6.0-3.fc39 hipcc(x86-64) = 5.6.0-3.fc39 perl(hipvars) Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PartialHardlinkSets) <= 4.0.4-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: /usr/bin/perl glibc >= 2.37.9000-15 libc.so.6()(64bit) libc.so.6(GLIBC_2.14)(64bit) libc.so.6(GLIBC_2.2.5)(64bit) libc.so.6(GLIBC_2.32)(64bit) libc.so.6(GLIBC_2.34)(64bit) libc.so.6(GLIBC_2.38)(64bit) libc.so.6(GLIBC_2.4)(64bit) libgcc_s.so.1()(64bit) libgcc_s.so.1(GCC_3.0)(64bit) libgcc_s.so.1(GCC_3.3.1)(64bit) libstdc++.so.6()(64bit) libstdc++.so.6(CXXABI_1.3)(64bit) libstdc++.so.6(CXXABI_1.3.5)(64bit) libstdc++.so.6(CXXABI_1.3.9)(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.20)(64bit) libstdc++.so.6(GLIBCXX_3.4.21)(64bit) libstdc++.so.6(GLIBCXX_3.4.26)(64bit) libstdc++.so.6(GLIBCXX_3.4.29)(64bit) libstdc++.so.6(GLIBCXX_3.4.30)(64bit) libstdc++.so.6(GLIBCXX_3.4.32)(64bit) libstdc++.so.6(GLIBCXX_3.4.9)(64bit) perl(:VERSION) >= 5.6.0 perl(Cwd) perl(File::Basename) perl(File::Spec::Functions) perl(File::Temp) perl(Getopt::Long) perl(hipvars) perl(lib) perl(warnings) perl-libs rtld(GNU_HASH) Obsoletes: hip < 5.6.0 Recommends: rocm-hip Processing files: hipcc-debugsource-5.6.0-3.fc39.x86_64 Provides: hipcc-debugsource = 5.6.0-3.fc39 hipcc-debugsource(x86-64) = 5.6.0-3.fc39 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: hipcc-debuginfo-5.6.0-3.fc39.x86_64 Provides: debuginfo(build-id) = 3305fb020337563cb7e139b695f9f7c16fd07fe7 debuginfo(build-id) = nilnil hipcc-debuginfo = 5.6.0-3.fc39 hipcc-debuginfo(x86-64) = 5.6.0-3.fc39 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PartialHardlinkSets) <= 4.0.4-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: hipcc-debugsource(x86-64) = 5.6.0-3.fc39 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/hipcc-5.6.0-3.fc39.x86_64 Wrote: /builddir/build/RPMS/hipcc-5.6.0-3.fc39.x86_64.rpm Wrote: /builddir/build/RPMS/hipcc-debugsource-5.6.0-3.fc39.x86_64.rpm Wrote: /builddir/build/RPMS/hipcc-debuginfo-5.6.0-3.fc39.x86_64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.ZF7FJc + umask 022 + cd /builddir/build/BUILD + cd HIPCC-rocm-5.6.0 + /usr/bin/rm -rf /builddir/build/BUILDROOT/hipcc-5.6.0-3.fc39.x86_64 + RPM_EC=0 ++ jobs -p + exit 0 Executing(rmbuild): /bin/sh -e /var/tmp/rpm-tmp.vlouQC + umask 022 + cd /builddir/build/BUILD + rm -rf HIPCC-rocm-5.6.0 HIPCC-rocm-5.6.0.gemspec + RPM_EC=0 ++ jobs -p + exit 0 Child return code was: 0