Mock Version: 5.5 Mock Version: 5.5 Mock Version: 5.5 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target riscv64 --nodeps /builddir/build/SPECS/papi.spec'], chrootPath='/var/lib/mock/f41-build-side-1-2962466-35752/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=864000uid=997gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.pgj4_05y:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--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=False) Using nspawn with args ['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.pgj4_05y:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--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', 'c0095642297744479f1ad2490ad00c2f', '-D', '/var/lib/mock/f41-build-side-1-2962466-35752/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.pgj4_05y:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--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 --noclean --target riscv64 --nodeps /builddir/build/SPECS/papi.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: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1721260800 Wrote: /builddir/build/SRPMS/papi-7.1.0-5.fc41.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target riscv64 --nodeps /builddir/build/SPECS/papi.spec'], chrootPath='/var/lib/mock/f41-build-side-1-2962466-35752/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=864000uid=997gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.pgj4_05y:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--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=False) Using nspawn with args ['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.pgj4_05y:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--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', '5c4aa66ba0894564a21b4c5577485e2a', '-D', '/var/lib/mock/f41-build-side-1-2962466-35752/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.pgj4_05y:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--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 --noclean --target riscv64 --nodeps /builddir/build/SPECS/papi.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: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1721260800 Executing(%mkbuilddir): /bin/sh -e /var/tmp/rpm-tmp.qTDIPE + umask 022 + cd /builddir/build/BUILD/papi-7.1.0-build + test -d /builddir/build/BUILD/papi-7.1.0-build + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w /builddir/build/BUILD/papi-7.1.0-build + /usr/bin/rm -rf /builddir/build/BUILD/papi-7.1.0-build + /usr/bin/mkdir -p /builddir/build/BUILD/papi-7.1.0-build + /usr/bin/mkdir -p /builddir/build/BUILD/papi-7.1.0-build/SPECPARTS + RPM_EC=0 ++ jobs -p + exit 0 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.E1xWWG + umask 022 + cd /builddir/build/BUILD/papi-7.1.0-build + cd /builddir/build/BUILD/papi-7.1.0-build + rm -rf papi-7.1.0 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/papi-7.1.0.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd papi-7.1.0 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . Patch #1 (papi-python3.patch): + echo 'Patch #1 (papi-python3.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .python3 --fuzz=0 patching file src/high-level/scripts/papi_hl_output_writer.py Patch #5 (papi-nostatic.patch): + echo 'Patch #5 (papi-nostatic.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file src/Rules.pfm4_pe Patch #6 (papi-libsde.patch): + echo 'Patch #6 (papi-libsde.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .flags --fuzz=0 patching file src/sde_lib/Makefile + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.Ys4GEX + umask 022 + cd /builddir/build/BUILD/papi-7.1.0-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 -fasynchronous-unwind-tables -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 -fasynchronous-unwind-tables -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 -fasynchronous-unwind-tables -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 -fasynchronous-unwind-tables -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 -Cstrip=none -Cforce-frame-pointers=yes -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 papi-7.1.0 + export PAPI_INFINIBAND_UMAD_ROOT=/usr + PAPI_INFINIBAND_UMAD_ROOT=/usr + export PAPI_LMSENSORS_ROOT=/usr + PAPI_LMSENSORS_ROOT=/usr + export PAPI_PCP_ROOT=/usr + PAPI_PCP_ROOT=/usr + cd src + autoconf configure.in:11: warning: The macro 'AC_CONFIG_HEADER' is obsolete. configure.in:11: You should run autoupdate. ./lib/autoconf/status.m4:719: AC_CONFIG_HEADER is expanded from... configure.in:11: the top level configure.in:187: warning: The macro 'AC_GNU_SOURCE' is obsolete. configure.in:187: You should run autoupdate. ./lib/autoconf/specific.m4:489: AC_GNU_SOURCE is expanded from... configure.in:187: the top level configure.in:188: warning: The macro 'AC_HEADER_STDC' is obsolete. configure.in:188: You should run autoupdate. ./lib/autoconf/headers.m4:663: AC_HEADER_STDC is expanded from... configure.in:188: the top level configure.in:190: warning: The macro 'AC_HEADER_TIME' is obsolete. configure.in:190: You should run autoupdate. ./lib/autoconf/headers.m4:702: AC_HEADER_TIME is expanded from... configure.in:190: the top level configure.in:200: warning: The macro 'AC_TRY_LINK' is obsolete. configure.in:200: You should run autoupdate. ./lib/autoconf/general.m4:2918: AC_TRY_LINK is expanded from... configure.in:200: the top level configure.in:212: warning: The macro 'AC_TRY_LINK' is obsolete. configure.in:212: You should run autoupdate. ./lib/autoconf/general.m4:2918: AC_TRY_LINK is expanded from... configure.in:212: the top level configure.in:225: warning: The macro 'AC_TRY_LINK' is obsolete. configure.in:225: You should run autoupdate. ./lib/autoconf/general.m4:2918: AC_TRY_LINK is expanded from... configure.in:225: the top level configure.in:247: warning: The macro 'AC_TRY_LINK' is obsolete. configure.in:247: You should run autoupdate. ./lib/autoconf/general.m4:2918: AC_TRY_LINK is expanded from... configure.in:247: the top level configure.in:258: warning: The macro 'AC_TRY_LINK' is obsolete. configure.in:258: You should run autoupdate. ./lib/autoconf/general.m4:2918: AC_TRY_LINK is expanded from... configure.in:258: the top level configure.in:282: warning: The macro 'AC_TRY_LINK' is obsolete. configure.in:282: You should run autoupdate. ./lib/autoconf/general.m4:2918: AC_TRY_LINK is expanded from... configure.in:282: the top level configure.in:448: warning: The macro 'AC_TRY_RUN' is obsolete. configure.in:448: You should run autoupdate. ./lib/autoconf/general.m4:2995: AC_TRY_RUN is expanded from... lib/m4sugar/m4sh.m4:697: AS_IF is expanded from... ./lib/autoconf/headers.m4:89: _AC_CHECK_HEADER_COMPILE is expanded from... ./lib/autoconf/headers.m4:56: AC_CHECK_HEADER is expanded from... lib/m4sugar/m4sh.m4:690: _AS_IF_ELSE is expanded from... lib/m4sugar/m4sh.m4:697: AS_IF is expanded from... ./lib/autoconf/general.m4:1553: AC_ARG_WITH is expanded from... configure.in:448: the top level configure.in:606: warning: The macro 'AC_TRY_RUN' is obsolete. configure.in:606: You should run autoupdate. ./lib/autoconf/general.m4:2995: AC_TRY_RUN is expanded from... lib/m4sugar/m4sh.m4:690: _AS_IF_ELSE is expanded from... lib/m4sugar/m4sh.m4:697: AS_IF is expanded from... ./lib/autoconf/general.m4:1553: AC_ARG_WITH is expanded from... configure.in:606: the top level configure.in:606: warning: The macro 'AC_TRY_RUN' is obsolete. configure.in:606: You should run autoupdate. ./lib/autoconf/general.m4:2995: AC_TRY_RUN is expanded from... lib/m4sugar/m4sh.m4:690: _AS_IF_ELSE is expanded from... lib/m4sugar/m4sh.m4:697: AS_IF is expanded from... ./lib/autoconf/general.m4:2960: _AC_RUN_IFELSE is expanded from... lib/m4sugar/m4sh.m4:690: _AS_IF_ELSE is expanded from... lib/m4sugar/m4sh.m4:697: AS_IF is expanded from... ./lib/autoconf/general.m4:2979: AC_RUN_IFELSE is expanded from... ./lib/autoconf/general.m4:2995: AC_TRY_RUN is expanded from... lib/m4sugar/m4sh.m4:690: _AS_IF_ELSE is expanded from... lib/m4sugar/m4sh.m4:697: AS_IF is expanded from... ./lib/autoconf/general.m4:1553: AC_ARG_WITH is expanded from... configure.in:606: the top level configure.in:606: warning: The macro 'AC_TRY_RUN' is obsolete. configure.in:606: You should run autoupdate. ./lib/autoconf/general.m4:2995: AC_TRY_RUN is expanded from... lib/m4sugar/m4sh.m4:690: _AS_IF_ELSE is expanded from... lib/m4sugar/m4sh.m4:697: AS_IF is expanded from... ./lib/autoconf/general.m4:2960: _AC_RUN_IFELSE is expanded from... lib/m4sugar/m4sh.m4:690: _AS_IF_ELSE is expanded from... lib/m4sugar/m4sh.m4:697: AS_IF is expanded from... ./lib/autoconf/general.m4:2979: AC_RUN_IFELSE is expanded from... ./lib/autoconf/general.m4:2995: AC_TRY_RUN is expanded from... lib/m4sugar/m4sh.m4:690: _AS_IF_ELSE is expanded from... lib/m4sugar/m4sh.m4:697: AS_IF is expanded from... ./lib/autoconf/general.m4:2960: _AC_RUN_IFELSE is expanded from... lib/m4sugar/m4sh.m4:690: _AS_IF_ELSE is expanded from... lib/m4sugar/m4sh.m4:697: AS_IF is expanded from... ./lib/autoconf/general.m4:2979: AC_RUN_IFELSE is expanded from... ./lib/autoconf/general.m4:2995: AC_TRY_RUN is expanded from... lib/m4sugar/m4sh.m4:690: _AS_IF_ELSE is expanded from... lib/m4sugar/m4sh.m4:697: AS_IF is expanded from... ./lib/autoconf/general.m4:1553: AC_ARG_WITH is expanded from... configure.in:606: the top level configure.in:705: warning: The macro 'AC_TRY_RUN' is obsolete. configure.in:705: You should run autoupdate. ./lib/autoconf/general.m4:2995: AC_TRY_RUN is expanded from... lib/m4sugar/m4sh.m4:690: _AS_IF_ELSE is expanded from... lib/m4sugar/m4sh.m4:697: AS_IF is expanded from... ./lib/autoconf/general.m4:1553: AC_ARG_WITH is expanded from... configure.in:705: the top level configure.in:767: warning: The macro 'AC_TRY_RUN' is obsolete. configure.in:767: You should run autoupdate. ./lib/autoconf/general.m4:2995: AC_TRY_RUN is expanded from... lib/m4sugar/m4sh.m4:690: _AS_IF_ELSE is expanded from... lib/m4sugar/m4sh.m4:697: AS_IF is expanded from... ./lib/autoconf/general.m4:1553: AC_ARG_WITH is expanded from... configure.in:767: the top level configure.in:767: warning: The macro 'AC_TRY_RUN' is obsolete. configure.in:767: You should run autoupdate. ./lib/autoconf/general.m4:2995: AC_TRY_RUN is expanded from... lib/m4sugar/m4sh.m4:690: _AS_IF_ELSE is expanded from... lib/m4sugar/m4sh.m4:697: AS_IF is expanded from... ./lib/autoconf/general.m4:2960: _AC_RUN_IFELSE is expanded from... lib/m4sugar/m4sh.m4:690: _AS_IF_ELSE is expanded from... lib/m4sugar/m4sh.m4:697: AS_IF is expanded from... ./lib/autoconf/general.m4:2979: AC_RUN_IFELSE is expanded from... ./lib/autoconf/general.m4:2995: AC_TRY_RUN is expanded from... lib/m4sugar/m4sh.m4:690: _AS_IF_ELSE is expanded from... lib/m4sugar/m4sh.m4:697: AS_IF is expanded from... ./lib/autoconf/general.m4:1553: AC_ARG_WITH is expanded from... configure.in:767: the top level configure.in:1137: warning: The macro 'AC_TRY_RUN' is obsolete. configure.in:1137: You should run autoupdate. ./lib/autoconf/general.m4:2995: AC_TRY_RUN is expanded from... lib/m4sugar/m4sh.m4:697: AS_IF is expanded from... ./lib/autoconf/headers.m4:89: _AC_CHECK_HEADER_COMPILE is expanded from... ./lib/autoconf/headers.m4:56: AC_CHECK_HEADER is expanded from... lib/m4sugar/m4sh.m4:652: AS_FOR is expanded from... ./lib/autoconf/headers.m4:217: AC_CHECK_HEADERS is expanded from... lib/m4sugar/m4sh.m4:697: AS_IF is expanded from... ./lib/autoconf/libs.m4:100: AC_CHECK_LIB is expanded from... configure.in:1137: the top level configure.in:1465: warning: The macro 'AC_TRY_LINK' is obsolete. configure.in:1465: You should run autoupdate. ./lib/autoconf/general.m4:2918: AC_TRY_LINK is expanded from... configure.in:1465: the top level configure.in:1472: warning: The macro 'AC_TRY_RUN' is obsolete. configure.in:1472: You should run autoupdate. ./lib/autoconf/general.m4:2995: AC_TRY_RUN is expanded from... configure.in:1472: the top level + 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 -fasynchronous-unwind-tables -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 -fasynchronous-unwind-tables -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 -fasynchronous-unwind-tables -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 -fasynchronous-unwind-tables -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 -Cstrip=none -Cforce-frame-pointers=yes -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 + '[' '-flto=auto -ffat-lto-objectsx' '!=' x ']' ++ find . -type f -name configure -print + for file in $(find . -type f -name configure -print) + /usr/bin/sed -r --in-place=.backup 's/^char \(\*f\) \(\) = /__attribute__ ((used)) char (*f) () = /g' ./components/host_micpower/configure + diff -u ./components/host_micpower/configure.backup ./components/host_micpower/configure + mv ./components/host_micpower/configure.backup ./components/host_micpower/configure + /usr/bin/sed -r --in-place=.backup 's/^char \(\*f\) \(\);/__attribute__ ((used)) char (*f) ();/g' ./components/host_micpower/configure + diff -u ./components/host_micpower/configure.backup ./components/host_micpower/configure + mv ./components/host_micpower/configure.backup ./components/host_micpower/configure + /usr/bin/sed -r --in-place=.backup 's/^char \$2 \(\);/__attribute__ ((used)) char \$2 ();/g' ./components/host_micpower/configure + diff -u ./components/host_micpower/configure.backup ./components/host_micpower/configure + mv ./components/host_micpower/configure.backup ./components/host_micpower/configure + /usr/bin/sed --in-place=.backup '1{$!N;$!N};$!N;s/int x = 1;\nint y = 0;\nint z;\nint nan;/volatile int x = 1; volatile int y = 0; volatile int z, nan;/;P;D' ./components/host_micpower/configure + diff -u ./components/host_micpower/configure.backup ./components/host_micpower/configure + mv ./components/host_micpower/configure.backup ./components/host_micpower/configure + /usr/bin/sed --in-place=.backup 's#^lt_cv_sys_global_symbol_to_cdecl=.*#lt_cv_sys_global_symbol_to_cdecl="sed -n -e '\''s/^T .* \\(.*\\)$/extern int \\1();/p'\'' -e '\''s/^$symcode* .* \\(.*\\)$/extern char \\1;/p'\''"#' ./components/host_micpower/configure + diff -u ./components/host_micpower/configure.backup ./components/host_micpower/configure + mv ./components/host_micpower/configure.backup ./components/host_micpower/configure + for file in $(find . -type f -name configure -print) + /usr/bin/sed -r --in-place=.backup 's/^char \(\*f\) \(\) = /__attribute__ ((used)) char (*f) () = /g' ./components/vmware/configure + diff -u ./components/vmware/configure.backup ./components/vmware/configure + mv ./components/vmware/configure.backup ./components/vmware/configure + /usr/bin/sed -r --in-place=.backup 's/^char \(\*f\) \(\);/__attribute__ ((used)) char (*f) ();/g' ./components/vmware/configure + diff -u ./components/vmware/configure.backup ./components/vmware/configure + mv ./components/vmware/configure.backup ./components/vmware/configure + /usr/bin/sed -r --in-place=.backup 's/^char \$2 \(\);/__attribute__ ((used)) char \$2 ();/g' ./components/vmware/configure + diff -u ./components/vmware/configure.backup ./components/vmware/configure + mv ./components/vmware/configure.backup ./components/vmware/configure + /usr/bin/sed --in-place=.backup '1{$!N;$!N};$!N;s/int x = 1;\nint y = 0;\nint z;\nint nan;/volatile int x = 1; volatile int y = 0; volatile int z, nan;/;P;D' ./components/vmware/configure + diff -u ./components/vmware/configure.backup ./components/vmware/configure + mv ./components/vmware/configure.backup ./components/vmware/configure + /usr/bin/sed --in-place=.backup 's#^lt_cv_sys_global_symbol_to_cdecl=.*#lt_cv_sys_global_symbol_to_cdecl="sed -n -e '\''s/^T .* \\(.*\\)$/extern int \\1();/p'\'' -e '\''s/^$symcode* .* \\(.*\\)$/extern char \\1;/p'\''"#' ./components/vmware/configure + diff -u ./components/vmware/configure.backup ./components/vmware/configure + mv ./components/vmware/configure.backup ./components/vmware/configure + for file in $(find . -type f -name configure -print) + /usr/bin/sed -r --in-place=.backup 's/^char \(\*f\) \(\) = /__attribute__ ((used)) char (*f) () = /g' ./configure + diff -u ./configure.backup ./configure + mv ./configure.backup ./configure + /usr/bin/sed -r --in-place=.backup 's/^char \(\*f\) \(\);/__attribute__ ((used)) char (*f) ();/g' ./configure + diff -u ./configure.backup ./configure + mv ./configure.backup ./configure + /usr/bin/sed -r --in-place=.backup 's/^char \$2 \(\);/__attribute__ ((used)) char \$2 ();/g' ./configure + diff -u ./configure.backup ./configure + mv ./configure.backup ./configure + /usr/bin/sed --in-place=.backup '1{$!N;$!N};$!N;s/int x = 1;\nint y = 0;\nint z;\nint nan;/volatile int x = 1; volatile int y = 0; volatile int z, nan;/;P;D' ./configure + diff -u ./configure.backup ./configure + mv ./configure.backup ./configure + /usr/bin/sed --in-place=.backup 's#^lt_cv_sys_global_symbol_to_cdecl=.*#lt_cv_sys_global_symbol_to_cdecl="sed -n -e '\''s/^T .* \\(.*\\)$/extern int \\1();/p'\'' -e '\''s/^$symcode* .* \\(.*\\)$/extern char \\1;/p'\''"#' ./configure + diff -u ./configure.backup ./configure + mv ./configure.backup ./configure + '[' 1 = 1 ']' +++ dirname ./configure ++ find . -name config.guess -o -name config.sub + '[' 1 = 1 ']' + '[' x '!=' 'x-Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' ']' ++ find . -name ltmain.sh ++ grep -q runstatedir=DIR ./configure ++ echo --runstatedir=/run + ./configure --build=riscv64-koji-linux-gnu --host=riscv64-koji-linux-gnu --program-prefix= --disable-dependency-tracking --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib64 --libexecdir=/usr/libexec --localstatedir=/var --runstatedir=/run --sharedstatedir=/var/lib --mandir=/usr/share/man --infodir=/usr/share/info --with-perf-events --with-pfm-incdir=/usr/include --with-pfm-libdir=/usr/lib64 --with-static-lib=no --with-shared-lib=yes --with-shlib-tools '--with-components=appio coretemp example infiniband lmsensors lustre micpower mx net pcp rapl stealtime' configure: WARNING: unrecognized options: --disable-dependency-tracking checking for architecture... riscv64 checking for OS... linux checking for OS version... 6.5.0-0.rc4.30.5.riscv64.fc38.riscv64 checking for perf_event workaround level... autodetect checking for if MIC should be used... no checking for if NEC should be used... no checking for riscv64-koji-linux-gnu-xlc... gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether the compiler supports GNU C... yes checking whether gcc accepts -g... yes checking for gcc option to enable C11 features... none needed checking for riscv64-koji-linux-gnu-xlf... no checking for riscv64-koji-linux-gnu-ifort... no checking for riscv64-koji-linux-gnu-gfortran... no checking for riscv64-koji-linux-gnu-f95... no checking for riscv64-koji-linux-gnu-f90... no checking for riscv64-koji-linux-gnu-f77... no checking for xlf... no checking for ifort... no checking for gfortran... gfortran checking whether the compiler supports GNU Fortran 77... yes checking whether gfortran accepts -g... yes checking for mpicc... no checking for gawk... gawk checking how to run the C preprocessor... gcc -E checking whether ln -s works... yes checking whether make sets $(MAKE)... yes checking for riscv64-koji-linux-gnu-ranlib... no checking for ranlib... ranlib checking for stdio.h... yes checking for stdlib.h... yes checking for string.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for strings.h... yes checking for sys/stat.h... yes checking for sys/types.h... yes checking for unistd.h... yes checking for wchar.h... yes checking for minix/config.h... no checking for sys/time.h... yes checking whether it is safe to define __EXTENSIONS__... yes checking whether _XOPEN_SOURCE should be defined... no checking for grep that handles long lines and -e... /usr/bin/grep checking for egrep... /usr/bin/grep -E checking for inline... inline checking for sys/time.h... (cached) yes checking for c_asm.h... no checking for intrinsics.h... no checking for mach/mach_time.h... no checking for sched.h... yes checking for gethrtime... no checking for read_real_time... no checking for time_base_to_time... no checking for clock_gettime... yes checking for mach_absolute_time... no checking for sched_getcpu... yes checking for timer_create and timer_*ettime symbols in base system... found checking for dlopen and dlerror symbols in base system... found checking for tests... ctests ftests checking for debug build... checking for -Wno-override-init... 1 checking for CPU type... checking for ffsll... yes checking for working gettid... yes checking for working MMTIMER... no checking for working CLOCK_REALTIME_HR POSIX 1b timer... no checking for working CLOCK_REALTIME POSIX 1b timer... yes checking for which real time clock to use... clock_realtime checking for working __thread... yes checking for high performance thread local storage... __thread checking for working CLOCK_THREAD_CPUTIME_ID POSIX 1b timer... yes checking for which virtual timer to use... clock_thread_cputime_id checking for static user preset events... no checking for static PAPI preset events... yes checking for whether to build static library... no checking for whether to build shared library... yes checking for static compile of tests and utilities... no checking for linking with papi shared library of tests and utilities... yes checking for building libsde... shared only checking for /sys/class/perfctr... no checking for /dev/perfctr... no checking for /sys/kernel/perfmon/version... no checking for /proc/perfmon... no checking for /proc/sys/kernel/perf_event_paranoid... yes checking for /usr/include/perfmon/perf_event.h... yes checking for pfm_initialize in -lpfm... yes checking for perfmon/pfmlib.h... yes checking for pfm_get_event_description... no checking for pfmlib_reg_t.reg_evt_idx... no checking for pfmlib_output_param_t.pfp_pmd_count... no checking for pfm_msg_t.type... no checking platform... linux-pe checking for components to build... perf_event perf_event_uncore appio coretemp example infiniband lmsensors lustre micpower mx net pcp rapl stealtime sysdetect checking for PAPI event CSV filename to use... papi_events.csv configure: Rules.pfm4_pe will be included in the generated Makefile configure: creating ./config.status config.status: creating Makefile config.status: creating papi.pc config.status: creating components/Makefile_comp_tests.target config.status: creating testlib/Makefile.target config.status: creating utils/Makefile.target config.status: creating ctests/Makefile.target config.status: creating ftests/Makefile.target config.status: creating validation_tests/Makefile.target config.status: creating config.h config.status: executing genpapifdef commands configure: WARNING: unrecognized options: --disable-dependency-tracking + DBG= + make -j32 sh papi_events_table.sh papi_events.csv > papi_events_table.h Host architecture : Linux with perf_event kernel support and libpfm4 make CC=gcc -C sde_lib dynamic make -C testlib Host CPU component : perf_event make[1]: Entering directory '/builddir/build/BUILD/papi-7.1.0-build/papi-7.1.0/src/sde_lib' gcc -c -Bdynamic -fPIC -shared -fvisibility=hidden -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 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DPAPI_NUM_COMP=15 -I/usr/include -I/usr/include/sensors -g -DPAPI_LMSENSORS_MAIN=\"\" -I/usr/include -I/usr/include/pcp -g -DPAPI_PCP_MAIN=\"\" -Wextra -Wall -O2 -I. -I.. sde_lib.c -o sde_lib_d.o gcc -c -Bdynamic -fPIC -shared -fvisibility=hidden -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 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DPAPI_NUM_COMP=15 -I/usr/include -I/usr/include/sensors -g -DPAPI_LMSENSORS_MAIN=\"\" -I/usr/include -I/usr/include/pcp -g -DPAPI_PCP_MAIN=\"\" -Wextra -Wall -O2 -I. -I.. sde_lib_datastructures.c -o sde_lib_datastructures_d.o gcc -c -Bdynamic -fPIC -shared -fvisibility=hidden -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 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DPAPI_NUM_COMP=15 -I/usr/include -I/usr/include/sensors -g -DPAPI_LMSENSORS_MAIN=\"\" -I/usr/include -I/usr/include/pcp -g -DPAPI_PCP_MAIN=\"\" -Wextra -Wall -O2 -I. -I.. sde_lib_misc.c -o sde_lib_misc_d.o Installation DESTDIR: gcc -c -Bdynamic -fPIC -shared -fvisibility=hidden -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 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DPAPI_NUM_COMP=15 -I/usr/include -I/usr/include/sensors -g -DPAPI_LMSENSORS_MAIN=\"\" -I/usr/include -I/usr/include/pcp -g -DPAPI_PCP_MAIN=\"\" -Wextra -Wall -O2 -I. -I.. sde_lib_ti.c -o sde_lib_ti_d.o make[1]: Entering directory '/builddir/build/BUILD/papi-7.1.0-build/papi-7.1.0/src/testlib' gcc -I. -I.. -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 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DPAPI_NUM_COMP=15 -O1 -c test_utils.c gfortran -I. -I.. -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 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules -Dlinux -ffixed-line-length-132 -c ftests_util.F gcc -I. -I.. -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 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DPAPI_NUM_COMP=15 -O1 -O0 -c do_loops.c gcc -I. -I.. -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 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DPAPI_NUM_COMP=15 -O1 -c clockcore.c gcc -E -I/usr/include -DFORTRANCAPS papi_fwrappers.c > upper_PAPI_FWRAPPERS.c Installation PREFIX : /usr gcc -E -I/usr/include -DFORTRANUNDERSCORE papi_fwrappers.c > papi_fwrappers_.c Installation EPREFIX: /usr gcc -E -I/usr/include -DFORTRANDOUBLEUNDERSCORE papi_fwrappers.c > papi_fwrappers__.c f951: Warning: ‘-Werror=’ argument ‘-Werror=format-security’ is not valid for Fortran Installation INCDIR : /usr/include Installation LIBDIR : /usr/lib64 Installation BINDIR : /usr/bin Installation MANDIR : /usr/share/man Installation DOCDIR : /usr/share/doc/papi In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:28, from do_loops.c:3: /usr/include/features.h:422:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] 422 | # warning _FORTIFY_SOURCE requires compiling with optimization (-O) | ^~~~~~~ Installation DATADIR: /usr/share/papi rm -f libpapi.so.7.1.0.0 libpapi.so libpapi.so.7.1 gcc -fPIC -DPIC -shared -Wl,-soname -Wl,libpapi.so.7.1 -Xlinker "-rpath" -Xlinker "/usr/lib64" -DPAPI_NO_MEMORY_MANAGEMENT -DSTATIC_PAPI_EVENTS_TABLE -DUSE_PERFEVENT_RDPMC=1 -DPEINCLUDE=\"/usr/include/perfmon/perf_event.h\" -D_REENTRANT -D_GNU_SOURCE -DUSE_COMPILER_TLS -fvisibility=hidden -I. -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 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DPAPI_NUM_COMP=15 -I/usr/include -I/usr/include/sensors -g -DPAPI_LMSENSORS_MAIN=\"\" -I/usr/include -I/usr/include/pcp -g -DPAPI_PCP_MAIN=\"\" -DOSLOCK=\"linux-lock.h\" -DOSCONTEXT=\"linux-context.h\" -O2 papi_libpfm4_events.c papi.c papi_internal.c high-level/papi_hl.c extras.c sw_multiplex.c upper_PAPI_FWRAPPERS.c papi_fwrappers_.c papi_fwrappers__.c threads.c cpus.c linux-memory.c linux-timer.c linux-common.c papi_preset.c papi_vector.c papi_memory.c components/perf_event/perf_event.c components/perf_event/pe_libpfm4_events.c components/perf_event_uncore/perf_event_uncore.c components/appio/appio.c components/coretemp/linux-coretemp.c components/example/example.c components/infiniband/linux-infiniband.c components/lmsensors/linux-lmsensors.c components/lustre/linux-lustre.c components/micpower/linux-micpower.c components/mx/linux-mx.c components/net/linux-net.c components/pcp/linux-pcp.c components/rapl/linux-rapl.c components/stealtime/linux-stealtime.c components/sysdetect/sysdetect.c components/sysdetect/nvidia_gpu.c components/sysdetect/amd_gpu.c components/sysdetect/cpu.c components/sysdetect/cpu_utils.c components/sysdetect/os_cpu_utils.c components/sysdetect/linux_cpu_utils.c -o libpapi.so.7.1.0.0 -Bdynamic -L/usr/lib64 -lpfm -ldl -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 -Wl,-rpath=/builddir/build/BUILD/papi-7.1.0-build/papi-7.1.0/src/libpfm4/lib:/builddir/build/BUILD/papi-7.1.0-build/papi-7.1.0/src,--enable-new-dtags -g -g In file included from papi_internal.h:119, from papi_libpfm4_events.c:10: linux-context.h:43:2: error: #error "OVERFLOW_ADDRESS() undefined!" 43 | #error "OVERFLOW_ADDRESS() undefined!" | ^~~~~ In file included from linux-lock.h:4, from papi_lock.h:20, from papi_internal.h:437: mb.h:67:2: error: #error Need to define rmb for this architecture! 67 | #error Need to define rmb for this architecture! | ^~~~~ mb.h:68:2: error: #error See the kernel source directory: tools/perf/perf.h file 68 | #error See the kernel source directory: tools/perf/perf.h file | ^~~~~ In file included from papi_internal.h:119, from papi.c:34: linux-context.h:43:2: error: #error "OVERFLOW_ADDRESS() undefined!" 43 | #error "OVERFLOW_ADDRESS() undefined!" | ^~~~~ In file included from linux-lock.h:4, from papi_lock.h:20, from papi_internal.h:437: mb.h:67:2: error: #error Need to define rmb for this architecture! 67 | #error Need to define rmb for this architecture! | ^~~~~ mb.h:68:2: error: #error See the kernel source directory: tools/perf/perf.h file 68 | #error See the kernel source directory: tools/perf/perf.h file | ^~~~~ In file included from papi_internal.h:119, from papi_internal.c:38: linux-context.h:43:2: error: #error "OVERFLOW_ADDRESS() undefined!" 43 | #error "OVERFLOW_ADDRESS() undefined!" | ^~~~~ In file included from linux-lock.h:4, from papi_lock.h:20, from papi_internal.h:437: mb.h:67:2: error: #error Need to define rmb for this architecture! 67 | #error Need to define rmb for this architecture! | ^~~~~ mb.h:68:2: error: #error See the kernel source directory: tools/perf/perf.h file 68 | #error See the kernel source directory: tools/perf/perf.h file | ^~~~~ ar rv libtestlib.a test_utils.o ftests_util.o ar: creating libtestlib.a a - test_utils.o a - ftests_util.o make[1]: Leaving directory '/builddir/build/BUILD/papi-7.1.0-build/papi-7.1.0/src/testlib' In file included from ./papi_internal.h:119, from high-level/papi_hl.c:29: ./linux-context.h:43:2: error: #error "OVERFLOW_ADDRESS() undefined!" 43 | #error "OVERFLOW_ADDRESS() undefined!" | ^~~~~ In file included from ./linux-lock.h:4, from ./papi_lock.h:20, from ./papi_internal.h:437: ./mb.h:67:2: error: #error Need to define rmb for this architecture! 67 | #error Need to define rmb for this architecture! | ^~~~~ ./mb.h:68:2: error: #error See the kernel source directory: tools/perf/perf.h file 68 | #error See the kernel source directory: tools/perf/perf.h file | ^~~~~ gcc -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 -Wl,-rpath=/builddir/build/BUILD/papi-7.1.0-build/papi-7.1.0/src/libpfm4/lib:/builddir/build/BUILD/papi-7.1.0-build/papi-7.1.0/src,--enable-new-dtags -g -g -Bdynamic -fPIC -shared -Wl,-soname -Wl,libsde.so -fvisibility=hidden -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 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DPAPI_NUM_COMP=15 -I/usr/include -I/usr/include/sensors -g -DPAPI_LMSENSORS_MAIN=\"\" -I/usr/include -I/usr/include/pcp -g -DPAPI_PCP_MAIN=\"\" -Wextra -Wall -O2 sde_lib_d.o sde_lib_datastructures_d.o sde_lib_misc_d.o sde_lib_ti_d.o -lrt -ldl -pthread -o libsde.so.1.0 In file included from papi_internal.h:119, from extras.c:23: linux-context.h:43:2: error: #error "OVERFLOW_ADDRESS() undefined!" 43 | #error "OVERFLOW_ADDRESS() undefined!" | ^~~~~ In file included from linux-lock.h:4, from papi_lock.h:20, from papi_internal.h:437: mb.h:67:2: error: #error Need to define rmb for this architecture! 67 | #error Need to define rmb for this architecture! | ^~~~~ mb.h:68:2: error: #error See the kernel source directory: tools/perf/perf.h file 68 | #error See the kernel source directory: tools/perf/perf.h file | ^~~~~ In file included from papi_internal.h:119, from sw_multiplex.c:130: linux-context.h:43:2: error: #error "OVERFLOW_ADDRESS() undefined!" 43 | #error "OVERFLOW_ADDRESS() undefined!" | ^~~~~ In file included from linux-lock.h:4, from papi_lock.h:20, from papi_internal.h:437: mb.h:67:2: error: #error Need to define rmb for this architecture! 67 | #error Need to define rmb for this architecture! | ^~~~~ mb.h:68:2: error: #error See the kernel source directory: tools/perf/perf.h file 68 | #error See the kernel source directory: tools/perf/perf.h file | ^~~~~ sde_lib_ti.c: In function ‘sde_ti_read_counter’: sde_lib_ti.c:112:25: warning: ‘list_head’ may be used uninitialized [-Wmaybe-uninitialized] 112 | *rslt_ptr = (long long)list_head; | ^ sde_lib_ti.c:110:33: note: ‘list_head’ was declared here 110 | cset_list_object_t *list_head; | ^ rm -f *_d.o make[1]: Leaving directory '/builddir/build/BUILD/papi-7.1.0-build/papi-7.1.0/src/sde_lib' ln -sf sde_lib/libsde.so.1.0 libsde.so In file included from papi_internal.h:119, from threads.c:16: linux-context.h:43:2: error: #error "OVERFLOW_ADDRESS() undefined!" 43 | #error "OVERFLOW_ADDRESS() undefined!" | ^~~~~ In file included from linux-lock.h:4, from papi_lock.h:20, from papi_internal.h:437: mb.h:67:2: error: #error Need to define rmb for this architecture! 67 | #error Need to define rmb for this architecture! | ^~~~~ mb.h:68:2: error: #error See the kernel source directory: tools/perf/perf.h file 68 | #error See the kernel source directory: tools/perf/perf.h file | ^~~~~ In file included from papi_internal.h:119, from cpus.c:15: linux-context.h:43:2: error: #error "OVERFLOW_ADDRESS() undefined!" 43 | #error "OVERFLOW_ADDRESS() undefined!" | ^~~~~ In file included from linux-lock.h:4, from papi_lock.h:20, from papi_internal.h:437: mb.h:67:2: error: #error Need to define rmb for this architecture! 67 | #error Need to define rmb for this architecture! | ^~~~~ mb.h:68:2: error: #error See the kernel source directory: tools/perf/perf.h file 68 | #error See the kernel source directory: tools/perf/perf.h file | ^~~~~ In file included from papi_internal.h:119, from linux-memory.c:26: linux-context.h:43:2: error: #error "OVERFLOW_ADDRESS() undefined!" 43 | #error "OVERFLOW_ADDRESS() undefined!" | ^~~~~ In file included from linux-lock.h:4, from papi_lock.h:20, from papi_internal.h:437: mb.h:67:2: error: #error Need to define rmb for this architecture! 67 | #error Need to define rmb for this architecture! | ^~~~~ mb.h:68:2: error: #error See the kernel source directory: tools/perf/perf.h file 68 | #error See the kernel source directory: tools/perf/perf.h file | ^~~~~ In file included from papi_internal.h:119, from linux-timer.c:14: linux-context.h:43:2: error: #error "OVERFLOW_ADDRESS() undefined!" 43 | #error "OVERFLOW_ADDRESS() undefined!" | ^~~~~ In file included from linux-lock.h:4, from papi_lock.h:20, from papi_internal.h:437: mb.h:67:2: error: #error Need to define rmb for this architecture! 67 | #error Need to define rmb for this architecture! | ^~~~~ mb.h:68:2: error: #error See the kernel source directory: tools/perf/perf.h file 68 | #error See the kernel source directory: tools/perf/perf.h file | ^~~~~ linux-timer.c: In function ‘_linux_get_real_cycles’: linux-timer.c:322:18: error: implicit declaration of function ‘get_cycles’ [-Wimplicit-function-declaration] 322 | retval = get_cycles( ); | ^~~~~~~~~~ In file included from papi_internal.h:119, from linux-common.c:18: linux-context.h:43:2: error: #error "OVERFLOW_ADDRESS() undefined!" 43 | #error "OVERFLOW_ADDRESS() undefined!" | ^~~~~ In file included from linux-lock.h:4, from papi_lock.h:20, from papi_internal.h:437: mb.h:67:2: error: #error Need to define rmb for this architecture! 67 | #error Need to define rmb for this architecture! | ^~~~~ mb.h:68:2: error: #error See the kernel source directory: tools/perf/perf.h file 68 | #error See the kernel source directory: tools/perf/perf.h file | ^~~~~ In file included from papi_internal.h:119, from papi_preset.c:18: linux-context.h:43:2: error: #error "OVERFLOW_ADDRESS() undefined!" 43 | #error "OVERFLOW_ADDRESS() undefined!" | ^~~~~ In file included from linux-lock.h:4, from papi_lock.h:20, from papi_internal.h:437: mb.h:67:2: error: #error Need to define rmb for this architecture! 67 | #error Need to define rmb for this architecture! | ^~~~~ mb.h:68:2: error: #error See the kernel source directory: tools/perf/perf.h file 68 | #error See the kernel source directory: tools/perf/perf.h file | ^~~~~ In file included from papi_internal.h:119, from papi_vector.c:12: linux-context.h:43:2: error: #error "OVERFLOW_ADDRESS() undefined!" 43 | #error "OVERFLOW_ADDRESS() undefined!" | ^~~~~ In file included from linux-lock.h:4, from papi_lock.h:20, from papi_internal.h:437: mb.h:67:2: error: #error Need to define rmb for this architecture! 67 | #error Need to define rmb for this architecture! | ^~~~~ mb.h:68:2: error: #error See the kernel source directory: tools/perf/perf.h file 68 | #error See the kernel source directory: tools/perf/perf.h file | ^~~~~ In file included from linux-lock.h:4, from papi_lock.h:20, from papi_memory.c:22: mb.h:67:2: error: #error Need to define rmb for this architecture! 67 | #error Need to define rmb for this architecture! | ^~~~~ mb.h:68:2: error: #error See the kernel source directory: tools/perf/perf.h file 68 | #error See the kernel source directory: tools/perf/perf.h file | ^~~~~ In file included from papi_internal.h:119, from papi_memory.c:24: linux-context.h:43:2: error: #error "OVERFLOW_ADDRESS() undefined!" 43 | #error "OVERFLOW_ADDRESS() undefined!" | ^~~~~ In file included from ./papi_internal.h:119, from components/perf_event/perf_event.c:38: ./linux-context.h:43:2: error: #error "OVERFLOW_ADDRESS() undefined!" 43 | #error "OVERFLOW_ADDRESS() undefined!" | ^~~~~ In file included from ./linux-lock.h:4, from ./papi_lock.h:20, from ./papi_internal.h:437: ./mb.h:67:2: error: #error Need to define rmb for this architecture! 67 | #error Need to define rmb for this architecture! | ^~~~~ ./mb.h:68:2: error: #error See the kernel source directory: tools/perf/perf.h file 68 | #error See the kernel source directory: tools/perf/perf.h file | ^~~~~ In file included from components/perf_event/perf_event.c:56: components/perf_event/perf_helpers.h: In function ‘mmap_read_head’: components/perf_event/perf_helpers.h:432:9: error: implicit declaration of function ‘rmb’ [-Wimplicit-function-declaration] 432 | rmb(); | ^~~ components/perf_event/perf_event.c: In function ‘_pe_dispatch_timer’: ./linux-context.h:46:44: error: implicit declaration of function ‘OVERFLOW_ADDRESS’; did you mean ‘GET_OVERFLOW_ADDRESS’? [-Wimplicit-function-declaration] 46 | #define GET_OVERFLOW_ADDRESS(ctx) (vptr_t)(OVERFLOW_ADDRESS(ctx)) | ^~~~~~~~~~~~~~~~ components/perf_event/perf_event.c:2002:27: note: in expansion of macro ‘GET_OVERFLOW_ADDRESS’ 2002 | address = GET_OVERFLOW_ADDRESS( hw_context ); | ^~~~~~~~~~~~~~~~~~~~ ./linux-context.h:46:35: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 46 | #define GET_OVERFLOW_ADDRESS(ctx) (vptr_t)(OVERFLOW_ADDRESS(ctx)) | ^ components/perf_event/perf_event.c:2002:27: note: in expansion of macro ‘GET_OVERFLOW_ADDRESS’ 2002 | address = GET_OVERFLOW_ADDRESS( hw_context ); | ^~~~~~~~~~~~~~~~~~~~ In file included from ./papi_internal.h:119, from components/perf_event/pe_libpfm4_events.c:19: ./linux-context.h:43:2: error: #error "OVERFLOW_ADDRESS() undefined!" 43 | #error "OVERFLOW_ADDRESS() undefined!" | ^~~~~ In file included from ./linux-lock.h:4, from ./papi_lock.h:20, from ./papi_internal.h:437: ./mb.h:67:2: error: #error Need to define rmb for this architecture! 67 | #error Need to define rmb for this architecture! | ^~~~~ ./mb.h:68:2: error: #error See the kernel source directory: tools/perf/perf.h file 68 | #error See the kernel source directory: tools/perf/perf.h file | ^~~~~ In file included from ./papi_internal.h:119, from components/perf_event_uncore/perf_event_uncore.c:29: ./linux-context.h:43:2: error: #error "OVERFLOW_ADDRESS() undefined!" 43 | #error "OVERFLOW_ADDRESS() undefined!" | ^~~~~ In file included from ./linux-lock.h:4, from ./papi_lock.h:20, from ./papi_internal.h:437: ./mb.h:67:2: error: #error Need to define rmb for this architecture! 67 | #error Need to define rmb for this architecture! | ^~~~~ ./mb.h:68:2: error: #error See the kernel source directory: tools/perf/perf.h file 68 | #error See the kernel source directory: tools/perf/perf.h file | ^~~~~ In file included from ./papi_internal.h:119, from components/appio/appio.c:40: ./linux-context.h:43:2: error: #error "OVERFLOW_ADDRESS() undefined!" 43 | #error "OVERFLOW_ADDRESS() undefined!" | ^~~~~ In file included from ./linux-lock.h:4, from ./papi_lock.h:20, from ./papi_internal.h:437: ./mb.h:67:2: error: #error Need to define rmb for this architecture! 67 | #error Need to define rmb for this architecture! | ^~~~~ ./mb.h:68:2: error: #error See the kernel source directory: tools/perf/perf.h file 68 | #error See the kernel source directory: tools/perf/perf.h file | ^~~~~ In file included from ./papi_internal.h:119, from components/coretemp/linux-coretemp.c:5: ./linux-context.h:43:2: error: #error "OVERFLOW_ADDRESS() undefined!" 43 | #error "OVERFLOW_ADDRESS() undefined!" | ^~~~~ In file included from ./linux-lock.h:4, from ./papi_lock.h:20, from ./papi_internal.h:437: ./mb.h:67:2: error: #error Need to define rmb for this architecture! 67 | #error Need to define rmb for this architecture! | ^~~~~ ./mb.h:68:2: error: #error See the kernel source directory: tools/perf/perf.h file 68 | #error See the kernel source directory: tools/perf/perf.h file | ^~~~~ In file included from ./papi_internal.h:119, from components/example/example.c:22: ./linux-context.h:43:2: error: #error "OVERFLOW_ADDRESS() undefined!" 43 | #error "OVERFLOW_ADDRESS() undefined!" | ^~~~~ In file included from ./linux-lock.h:4, from ./papi_lock.h:20, from ./papi_internal.h:437: ./mb.h:67:2: error: #error Need to define rmb for this architecture! 67 | #error Need to define rmb for this architecture! | ^~~~~ ./mb.h:68:2: error: #error See the kernel source directory: tools/perf/perf.h file 68 | #error See the kernel source directory: tools/perf/perf.h file | ^~~~~ In file included from ./papi_internal.h:119, from components/infiniband/linux-infiniband.c:37: ./linux-context.h:43:2: error: #error "OVERFLOW_ADDRESS() undefined!" 43 | #error "OVERFLOW_ADDRESS() undefined!" | ^~~~~ In file included from ./linux-lock.h:4, from ./papi_lock.h:20, from ./papi_internal.h:437: ./mb.h:67:2: error: #error Need to define rmb for this architecture! 67 | #error Need to define rmb for this architecture! | ^~~~~ ./mb.h:68:2: error: #error See the kernel source directory: tools/perf/perf.h file 68 | #error See the kernel source directory: tools/perf/perf.h file | ^~~~~ In file included from ./papi_internal.h:119, from components/lmsensors/linux-lmsensors.c:40: ./linux-context.h:43:2: error: #error "OVERFLOW_ADDRESS() undefined!" 43 | #error "OVERFLOW_ADDRESS() undefined!" | ^~~~~ In file included from ./linux-lock.h:4, from ./papi_lock.h:20, from ./papi_internal.h:437: ./mb.h:67:2: error: #error Need to define rmb for this architecture! 67 | #error Need to define rmb for this architecture! | ^~~~~ ./mb.h:68:2: error: #error See the kernel source directory: tools/perf/perf.h file 68 | #error See the kernel source directory: tools/perf/perf.h file | ^~~~~ In file included from ./papi_internal.h:119, from components/lustre/linux-lustre.c:25: ./linux-context.h:43:2: error: #error "OVERFLOW_ADDRESS() undefined!" 43 | #error "OVERFLOW_ADDRESS() undefined!" | ^~~~~ In file included from ./linux-lock.h:4, from ./papi_lock.h:20, from ./papi_internal.h:437: ./mb.h:67:2: error: #error Need to define rmb for this architecture! 67 | #error Need to define rmb for this architecture! | ^~~~~ ./mb.h:68:2: error: #error See the kernel source directory: tools/perf/perf.h file 68 | #error See the kernel source directory: tools/perf/perf.h file | ^~~~~ In file included from ./papi_internal.h:119, from components/micpower/linux-micpower.c:6: ./linux-context.h:43:2: error: #error "OVERFLOW_ADDRESS() undefined!" 43 | #error "OVERFLOW_ADDRESS() undefined!" | ^~~~~ In file included from ./linux-lock.h:4, from ./papi_lock.h:20, from ./papi_internal.h:437: ./mb.h:67:2: error: #error Need to define rmb for this architecture! 67 | #error Need to define rmb for this architecture! | ^~~~~ ./mb.h:68:2: error: #error See the kernel source directory: tools/perf/perf.h file 68 | #error See the kernel source directory: tools/perf/perf.h file | ^~~~~ In file included from ./papi_internal.h:119, from components/mx/linux-mx.c:8: ./linux-context.h:43:2: error: #error "OVERFLOW_ADDRESS() undefined!" 43 | #error "OVERFLOW_ADDRESS() undefined!" | ^~~~~ In file included from ./linux-lock.h:4, from ./papi_lock.h:20, from ./papi_internal.h:437: ./mb.h:67:2: error: #error Need to define rmb for this architecture! 67 | #error Need to define rmb for this architecture! | ^~~~~ ./mb.h:68:2: error: #error See the kernel source directory: tools/perf/perf.h file 68 | #error See the kernel source directory: tools/perf/perf.h file | ^~~~~ In file included from ./papi_internal.h:119, from components/net/linux-net.c:28: ./linux-context.h:43:2: error: #error "OVERFLOW_ADDRESS() undefined!" 43 | #error "OVERFLOW_ADDRESS() undefined!" | ^~~~~ In file included from ./linux-lock.h:4, from ./papi_lock.h:20, from ./papi_internal.h:437: ./mb.h:67:2: error: #error Need to define rmb for this architecture! 67 | #error Need to define rmb for this architecture! | ^~~~~ ./mb.h:68:2: error: #error See the kernel source directory: tools/perf/perf.h file 68 | #error See the kernel source directory: tools/perf/perf.h file | ^~~~~ In file included from ./papi_internal.h:119, from components/pcp/linux-pcp.c:29: ./linux-context.h:43:2: error: #error "OVERFLOW_ADDRESS() undefined!" 43 | #error "OVERFLOW_ADDRESS() undefined!" | ^~~~~ In file included from ./linux-lock.h:4, from ./papi_lock.h:20, from ./papi_internal.h:437: ./mb.h:67:2: error: #error Need to define rmb for this architecture! 67 | #error Need to define rmb for this architecture! | ^~~~~ ./mb.h:68:2: error: #error See the kernel source directory: tools/perf/perf.h file 68 | #error See the kernel source directory: tools/perf/perf.h file | ^~~~~ In file included from ./papi_internal.h:119, from components/rapl/linux-rapl.c:28: ./linux-context.h:43:2: error: #error "OVERFLOW_ADDRESS() undefined!" 43 | #error "OVERFLOW_ADDRESS() undefined!" | ^~~~~ In file included from ./linux-lock.h:4, from ./papi_lock.h:20, from ./papi_internal.h:437: ./mb.h:67:2: error: #error Need to define rmb for this architecture! 67 | #error Need to define rmb for this architecture! | ^~~~~ ./mb.h:68:2: error: #error See the kernel source directory: tools/perf/perf.h file 68 | #error See the kernel source directory: tools/perf/perf.h file | ^~~~~ In file included from ./papi_internal.h:119, from components/stealtime/linux-stealtime.c:17: ./linux-context.h:43:2: error: #error "OVERFLOW_ADDRESS() undefined!" 43 | #error "OVERFLOW_ADDRESS() undefined!" | ^~~~~ In file included from ./linux-lock.h:4, from ./papi_lock.h:20, from ./papi_internal.h:437: ./mb.h:67:2: error: #error Need to define rmb for this architecture! 67 | #error Need to define rmb for this architecture! | ^~~~~ ./mb.h:68:2: error: #error See the kernel source directory: tools/perf/perf.h file 68 | #error See the kernel source directory: tools/perf/perf.h file | ^~~~~ In file included from ./papi_internal.h:119, from components/sysdetect/sysdetect.h:6, from components/sysdetect/sysdetect.c:19: ./linux-context.h:43:2: error: #error "OVERFLOW_ADDRESS() undefined!" 43 | #error "OVERFLOW_ADDRESS() undefined!" | ^~~~~ In file included from ./linux-lock.h:4, from ./papi_lock.h:20, from ./papi_internal.h:437: ./mb.h:67:2: error: #error Need to define rmb for this architecture! 67 | #error Need to define rmb for this architecture! | ^~~~~ ./mb.h:68:2: error: #error See the kernel source directory: tools/perf/perf.h file 68 | #error See the kernel source directory: tools/perf/perf.h file | ^~~~~ In file included from ./papi_internal.h:119, from components/sysdetect/sysdetect.h:6, from components/sysdetect/nvidia_gpu.c:17: ./linux-context.h:43:2: error: #error "OVERFLOW_ADDRESS() undefined!" 43 | #error "OVERFLOW_ADDRESS() undefined!" | ^~~~~ In file included from ./linux-lock.h:4, from ./papi_lock.h:20, from ./papi_internal.h:437: ./mb.h:67:2: error: #error Need to define rmb for this architecture! 67 | #error Need to define rmb for this architecture! | ^~~~~ ./mb.h:68:2: error: #error See the kernel source directory: tools/perf/perf.h file 68 | #error See the kernel source directory: tools/perf/perf.h file | ^~~~~ In file included from ./papi_internal.h:119, from components/sysdetect/sysdetect.h:6, from components/sysdetect/amd_gpu.c:18: ./linux-context.h:43:2: error: #error "OVERFLOW_ADDRESS() undefined!" 43 | #error "OVERFLOW_ADDRESS() undefined!" | ^~~~~ In file included from ./linux-lock.h:4, from ./papi_lock.h:20, from ./papi_internal.h:437: ./mb.h:67:2: error: #error Need to define rmb for this architecture! 67 | #error Need to define rmb for this architecture! | ^~~~~ ./mb.h:68:2: error: #error See the kernel source directory: tools/perf/perf.h file 68 | #error See the kernel source directory: tools/perf/perf.h file | ^~~~~ In file included from ./papi_internal.h:119, from components/sysdetect/sysdetect.h:6, from components/sysdetect/cpu.c:16: ./linux-context.h:43:2: error: #error "OVERFLOW_ADDRESS() undefined!" 43 | #error "OVERFLOW_ADDRESS() undefined!" | ^~~~~ In file included from ./linux-lock.h:4, from ./papi_lock.h:20, from ./papi_internal.h:437: ./mb.h:67:2: error: #error Need to define rmb for this architecture! 67 | #error Need to define rmb for this architecture! | ^~~~~ ./mb.h:68:2: error: #error See the kernel source directory: tools/perf/perf.h file 68 | #error See the kernel source directory: tools/perf/perf.h file | ^~~~~ In file included from ./papi_internal.h:119, from components/sysdetect/sysdetect.h:6, from components/sysdetect/cpu_utils.c:15: ./linux-context.h:43:2: error: #error "OVERFLOW_ADDRESS() undefined!" 43 | #error "OVERFLOW_ADDRESS() undefined!" | ^~~~~ In file included from ./linux-lock.h:4, from ./papi_lock.h:20, from ./papi_internal.h:437: ./mb.h:67:2: error: #error Need to define rmb for this architecture! 67 | #error Need to define rmb for this architecture! | ^~~~~ ./mb.h:68:2: error: #error See the kernel source directory: tools/perf/perf.h file 68 | #error See the kernel source directory: tools/perf/perf.h file | ^~~~~ In file included from ./papi_internal.h:119, from components/sysdetect/sysdetect.h:6, from components/sysdetect/os_cpu_utils.c:1: ./linux-context.h:43:2: error: #error "OVERFLOW_ADDRESS() undefined!" 43 | #error "OVERFLOW_ADDRESS() undefined!" | ^~~~~ In file included from ./linux-lock.h:4, from ./papi_lock.h:20, from ./papi_internal.h:437: ./mb.h:67:2: error: #error Need to define rmb for this architecture! 67 | #error Need to define rmb for this architecture! | ^~~~~ ./mb.h:68:2: error: #error See the kernel source directory: tools/perf/perf.h file 68 | #error See the kernel source directory: tools/perf/perf.h file | ^~~~~ In file included from ./papi_internal.h:119, from components/sysdetect/sysdetect.h:6, from components/sysdetect/linux_cpu_utils.c:10: ./linux-context.h:43:2: error: #error "OVERFLOW_ADDRESS() undefined!" 43 | #error "OVERFLOW_ADDRESS() undefined!" | ^~~~~ In file included from ./linux-lock.h:4, from ./papi_lock.h:20, from ./papi_internal.h:437: ./mb.h:67:2: error: #error Need to define rmb for this architecture! 67 | #error Need to define rmb for this architecture! | ^~~~~ ./mb.h:68:2: error: #error See the kernel source directory: tools/perf/perf.h file 68 | #error See the kernel source directory: tools/perf/perf.h file | ^~~~~ make: *** [Makefile.inc:68: libpapi.so.7.1.0.0] Error 1 error: Bad exit status from /var/tmp/rpm-tmp.Ys4GEX (%build) RPM build errors: Bad exit status from /var/tmp/rpm-tmp.Ys4GEX (%build) Child return code was: 1 EXCEPTION: [Error('Command failed: \n # /usr/bin/systemd-nspawn -q -M 5c4aa66ba0894564a21b4c5577485e2a -D /var/lib/mock/f41-build-side-1-2962466-35752/root -a -u mockbuild --capability=cap_ipc_lock --bind=/tmp/mock-resolv.pgj4_05y:/etc/resolv.conf --bind=/dev/btrfs-control --bind=/dev/mapper/control --bind=/dev/fuse --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 --noclean --target riscv64 --nodeps /builddir/build/SPECS/papi.spec\'\n', 1)] Traceback (most recent call last): File "/usr/lib/python3.12/site-packages/mockbuild/trace_decorator.py", line 93, in trace result = func(*args, **kw) ^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.12/site-packages/mockbuild/util.py", line 612, in do_with_status raise exception.Error("Command failed: \n # %s\n%s" % (cmd_pretty(command, env), output), child.returncode) mockbuild.exception.Error: Command failed: # /usr/bin/systemd-nspawn -q -M 5c4aa66ba0894564a21b4c5577485e2a -D /var/lib/mock/f41-build-side-1-2962466-35752/root -a -u mockbuild --capability=cap_ipc_lock --bind=/tmp/mock-resolv.pgj4_05y:/etc/resolv.conf --bind=/dev/btrfs-control --bind=/dev/mapper/control --bind=/dev/fuse --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 --noclean --target riscv64 --nodeps /builddir/build/SPECS/papi.spec'