Mock Version: 2.15 Mock Version: 2.15 Mock Version: 2.15 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/papi.spec'], chrootPath='/var/lib/mock/f37-build-639504-71248/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=432000uid=991gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --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'} and shell False Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1658448000 Wrote: /builddir/build/SRPMS/papi-6.0.0-12.fc37.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/papi.spec'], chrootPath='/var/lib/mock/f37-build-639504-71248/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=432000uid=991gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --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'} and shell False Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1658448000 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.eOy0JW + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf papi-6.0.0 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/papi-6.0.0.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd papi-6.0.0 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Patch #1 (papi-python3.patch):' 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 + echo 'Patch #2 (papi-a64fx.patch):' Patch #2 (papi-a64fx.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .a64fx --fuzz=0 patching file src/papi_events.csv + echo 'Patch #3 (papi-no-iozone.patch):' Patch #3 (papi-no-iozone.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file src/components/appio/tests/Makefile patching file src/components/appio/tests/iozone/Changes.txt patching file src/components/appio/tests/iozone/Generate_Graphs patching file src/components/appio/tests/iozone/Gnuplot.txt patching file src/components/appio/tests/iozone/client_list patching file src/components/appio/tests/iozone/fileop.c patching file src/components/appio/tests/iozone/gengnuplot.sh patching file src/components/appio/tests/iozone/gnu3d.dem patching file src/components/appio/tests/iozone/gnuplot.dem patching file src/components/appio/tests/iozone/gnuplotps.dem patching file src/components/appio/tests/iozone/iozone.c patching file src/components/appio/tests/iozone/iozone_visualizer.pl patching file src/components/appio/tests/iozone/libasync.c patching file src/components/appio/tests/iozone/libbif.c patching file src/components/appio/tests/iozone/makefile patching file src/components/appio/tests/iozone/pit_server.c patching file src/components/appio/tests/iozone/read_telemetry patching file src/components/appio/tests/iozone/report.pl patching file src/components/appio/tests/iozone/spec.in patching file src/components/appio/tests/iozone/write_telemetry + echo 'Patch #4 (papi-config.patch):' Patch #4 (papi-config.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file src/configure.in patching file src/configure.in patching file src/configure.in Hunk #2 succeeded at 1767 (offset -2 lines). Hunk #3 succeeded at 1862 (offset -2 lines). patching file src/ctests/Makefile.recipies patching file src/ctests/Makefile.target.in patching file src/utils/Makefile patching file src/utils/Makefile.target.in patching file src/utils/papi_native_avail.c patching file src/configure.in Hunk #1 succeeded at 1765 (offset -2 lines). patching file src/utils/papi_native_avail.c + echo 'Patch #5 (papi-nostatic.patch):' Patch #5 (papi-nostatic.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file src/Rules.pfm4_pe + echo 'Patch #6 (papi-init_thread.patch):' Patch #6 (papi-init_thread.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .thread --fuzz=0 patching file src/papi.c patching file src/papi_internal.c patching file src/papi_internal.h + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.7nJnb7 + umask 022 + cd /builddir/build/BUILD + CFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -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 -fstack-clash-protection' + export CFLAGS + CXXFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -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 -fstack-clash-protection' + export CXXFLAGS + FFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -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 -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -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 -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FCFLAGS + 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 -Wl,-dT,/builddir/build/BUILD/papi-6.0.0/.package_note-papi-6.0.0-12.fc37.riscv64.ld' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + '[' -f /usr/lib/rpm/generate-rpm-note.sh ']' + /usr/lib/rpm/generate-rpm-note.sh papi 6.0.0-12.fc37 riscv64 + cd papi-6.0.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:136: warning: The macro `AC_GNU_SOURCE' is obsolete. configure.in:136: You should run autoupdate. ./lib/autoconf/specific.m4:312: AC_GNU_SOURCE is expanded from... configure.in:136: the top level configure.in:137: warning: The macro `AC_HEADER_STDC' is obsolete. configure.in:137: You should run autoupdate. ./lib/autoconf/headers.m4:704: AC_HEADER_STDC is expanded from... configure.in:137: the top level configure.in:139: warning: The macro `AC_HEADER_TIME' is obsolete. configure.in:139: You should run autoupdate. ./lib/autoconf/headers.m4:743: AC_HEADER_TIME is expanded from... configure.in:139: the top level configure.in:149: warning: The macro `AC_TRY_LINK' is obsolete. configure.in:149: You should run autoupdate. ./lib/autoconf/general.m4:2920: AC_TRY_LINK is expanded from... configure.in:149: the top level configure.in:161: warning: The macro `AC_TRY_LINK' is obsolete. configure.in:161: You should run autoupdate. ./lib/autoconf/general.m4:2920: AC_TRY_LINK is expanded from... configure.in:161: the top level configure.in:181: warning: The macro `AC_TRY_LINK' is obsolete. configure.in:181: You should run autoupdate. ./lib/autoconf/general.m4:2920: AC_TRY_LINK is expanded from... configure.in:181: the top level configure.in:192: warning: The macro `AC_TRY_LINK' is obsolete. configure.in:192: You should run autoupdate. ./lib/autoconf/general.m4:2920: AC_TRY_LINK is expanded from... configure.in:192: the top level configure.in:216: warning: The macro `AC_TRY_LINK' is obsolete. configure.in:216: You should run autoupdate. ./lib/autoconf/general.m4:2920: AC_TRY_LINK is expanded from... configure.in:216: the top level configure.in:320: warning: The macro `AC_TRY_RUN' is obsolete. configure.in:320: You should run autoupdate. ./lib/autoconf/general.m4:2997: AC_TRY_RUN is expanded from... lib/m4sugar/m4sh.m4:699: 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:692: _AS_IF_ELSE is expanded from... lib/m4sugar/m4sh.m4:699: AS_IF is expanded from... ./lib/autoconf/general.m4:1553: AC_ARG_WITH is expanded from... configure.in:320: the top level configure.in:460: warning: The macro `AC_TRY_RUN' is obsolete. configure.in:460: You should run autoupdate. ./lib/autoconf/general.m4:2997: AC_TRY_RUN is expanded from... lib/m4sugar/m4sh.m4:692: _AS_IF_ELSE is expanded from... lib/m4sugar/m4sh.m4:699: AS_IF is expanded from... ./lib/autoconf/general.m4:1553: AC_ARG_WITH is expanded from... configure.in:460: the top level configure.in:460: warning: The macro `AC_TRY_RUN' is obsolete. configure.in:460: You should run autoupdate. ./lib/autoconf/general.m4:2997: AC_TRY_RUN is expanded from... lib/m4sugar/m4sh.m4:692: _AS_IF_ELSE is expanded from... lib/m4sugar/m4sh.m4:699: AS_IF is expanded from... ./lib/autoconf/general.m4:2962: _AC_RUN_IFELSE is expanded from... lib/m4sugar/m4sh.m4:692: _AS_IF_ELSE is expanded from... lib/m4sugar/m4sh.m4:699: AS_IF is expanded from... ./lib/autoconf/general.m4:2981: AC_RUN_IFELSE is expanded from... ./lib/autoconf/general.m4:2997: AC_TRY_RUN is expanded from... lib/m4sugar/m4sh.m4:692: _AS_IF_ELSE is expanded from... lib/m4sugar/m4sh.m4:699: AS_IF is expanded from... ./lib/autoconf/general.m4:1553: AC_ARG_WITH is expanded from... configure.in:460: the top level configure.in:460: warning: The macro `AC_TRY_RUN' is obsolete. configure.in:460: You should run autoupdate. ./lib/autoconf/general.m4:2997: AC_TRY_RUN is expanded from... lib/m4sugar/m4sh.m4:692: _AS_IF_ELSE is expanded from... lib/m4sugar/m4sh.m4:699: AS_IF is expanded from... ./lib/autoconf/general.m4:2962: _AC_RUN_IFELSE is expanded from... lib/m4sugar/m4sh.m4:692: _AS_IF_ELSE is expanded from... lib/m4sugar/m4sh.m4:699: AS_IF is expanded from... ./lib/autoconf/general.m4:2981: AC_RUN_IFELSE is expanded from... ./lib/autoconf/general.m4:2997: AC_TRY_RUN is expanded from... lib/m4sugar/m4sh.m4:692: _AS_IF_ELSE is expanded from... lib/m4sugar/m4sh.m4:699: AS_IF is expanded from... ./lib/autoconf/general.m4:2962: _AC_RUN_IFELSE is expanded from... lib/m4sugar/m4sh.m4:692: _AS_IF_ELSE is expanded from... lib/m4sugar/m4sh.m4:699: AS_IF is expanded from... ./lib/autoconf/general.m4:2981: AC_RUN_IFELSE is expanded from... ./lib/autoconf/general.m4:2997: AC_TRY_RUN is expanded from... lib/m4sugar/m4sh.m4:692: _AS_IF_ELSE is expanded from... lib/m4sugar/m4sh.m4:699: AS_IF is expanded from... ./lib/autoconf/general.m4:1553: AC_ARG_WITH is expanded from... configure.in:460: the top level configure.in:558: warning: The macro `AC_TRY_RUN' is obsolete. configure.in:558: You should run autoupdate. ./lib/autoconf/general.m4:2997: AC_TRY_RUN is expanded from... lib/m4sugar/m4sh.m4:692: _AS_IF_ELSE is expanded from... lib/m4sugar/m4sh.m4:699: AS_IF is expanded from... ./lib/autoconf/general.m4:1553: AC_ARG_WITH is expanded from... configure.in:558: the top level configure.in:618: warning: The macro `AC_TRY_RUN' is obsolete. configure.in:618: You should run autoupdate. ./lib/autoconf/general.m4:2997: AC_TRY_RUN is expanded from... lib/m4sugar/m4sh.m4:692: _AS_IF_ELSE is expanded from... lib/m4sugar/m4sh.m4:699: AS_IF is expanded from... ./lib/autoconf/general.m4:1553: AC_ARG_WITH is expanded from... configure.in:618: the top level configure.in:618: warning: The macro `AC_TRY_RUN' is obsolete. configure.in:618: You should run autoupdate. ./lib/autoconf/general.m4:2997: AC_TRY_RUN is expanded from... lib/m4sugar/m4sh.m4:692: _AS_IF_ELSE is expanded from... lib/m4sugar/m4sh.m4:699: AS_IF is expanded from... ./lib/autoconf/general.m4:2962: _AC_RUN_IFELSE is expanded from... lib/m4sugar/m4sh.m4:692: _AS_IF_ELSE is expanded from... lib/m4sugar/m4sh.m4:699: AS_IF is expanded from... ./lib/autoconf/general.m4:2981: AC_RUN_IFELSE is expanded from... ./lib/autoconf/general.m4:2997: AC_TRY_RUN is expanded from... lib/m4sugar/m4sh.m4:692: _AS_IF_ELSE is expanded from... lib/m4sugar/m4sh.m4:699: AS_IF is expanded from... ./lib/autoconf/general.m4:1553: AC_ARG_WITH is expanded from... configure.in:618: the top level configure.in:941: warning: The macro `AC_TRY_RUN' is obsolete. configure.in:941: You should run autoupdate. ./lib/autoconf/general.m4:2997: AC_TRY_RUN is expanded from... lib/m4sugar/m4sh.m4:699: 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:651: AS_FOR is expanded from... ./lib/autoconf/headers.m4:217: AC_CHECK_HEADERS is expanded from... lib/m4sugar/m4sh.m4:699: AS_IF is expanded from... ./lib/autoconf/libs.m4:100: AC_CHECK_LIB is expanded from... configure.in:941: the top level configure.in:1221: warning: The macro `AC_TRY_LINK' is obsolete. configure.in:1221: You should run autoupdate. ./lib/autoconf/general.m4:2920: AC_TRY_LINK is expanded from... configure.in:1221: the top level configure.in:1228: warning: The macro `AC_TRY_RUN' is obsolete. configure.in:1228: You should run autoupdate. ./lib/autoconf/general.m4:2997: AC_TRY_RUN is expanded from... configure.in:1228: the top level + CFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -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 -fstack-clash-protection' + export CFLAGS + CXXFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -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 -fstack-clash-protection' + export CXXFLAGS + FFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -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 -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -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 -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FCFLAGS + 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 -Wl,-dT,/builddir/build/BUILD/papi-6.0.0/.package_note-papi-6.0.0-12.fc37.riscv64.ld' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + '[' x '!=' x ']' + '[' 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 + ./configure --build=riscv64-redhat-linux-gnu --host=riscv64-redhat-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 --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 --with-shlib-tools '--with-components=appio coretemp example infiniband lmsensors lustre micpower mx net pcp rapl stealtime' configure: WARNING: unrecognized options: --disable-dependency-tracking, --with-shlib checking for architecture... riscv64 checking for OS... linux checking for OS version... 5.18.8-200.0.riscv64.fc33.riscv64 checking for perf_event workaround level... autodetect checking for if MIC should be used... no checking for riscv64-redhat-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-redhat-linux-gnu-xlf... no checking for riscv64-redhat-linux-gnu-ifort... no checking for riscv64-redhat-linux-gnu-gfortran... no checking for riscv64-redhat-linux-gnu-f95... no checking for riscv64-redhat-linux-gnu-f90... no checking for riscv64-redhat-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-redhat-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 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 /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 checking for PAPI event CSV filename to use... papi_events.csv configure: Compiling genpapifdef with gcc configure: Generating fpapi.h configure: Generating f77papi.h configure: Generating f90papi.h 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 configure: WARNING: unrecognized options: --disable-dependency-tracking, --with-shlib + DBG= + make -j4 sh papi_events_table.sh papi_events.csv > papi_events_table.h Host architecture : Linux with perf_event kernel support and libpfm4 make -C testlib Host CPU component : perf_event Installation DESTDIR: Installation PREFIX : /usr make[1]: Entering directory '/builddir/build/BUILD/papi-6.0.0/src/testlib' gcc -I. -I.. -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -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 -fstack-clash-protection -g -Wextra -Wall -O1 -c test_utils.c gcc -E -I/usr/include -DFORTRANUNDERSCORE papi_fwrappers.c > papi_fwrappers_.c Installation EPREFIX: /usr gfortran -I. -I.. -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -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 -fstack-clash-protection -g -Wextra -Wall -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -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 -fstack-clash-protection -I/usr/lib64/gfortran/modules -Dlinux -ffixed-line-length-132 -c ftests_util.F Installation INCDIR : /usr/include Installation LIBDIR : /usr/lib64 Installation BINDIR : /usr/bin Installation MANDIR : /usr/share/man f951: Warning: '-Werror=' argument '-Werror=format-security' is not valid for Fortran Installation DOCDIR : /usr/share/doc/papi f951: Warning: '-Werror=' argument '-Werror=format-security' is not valid for Fortran Installation DATADIR: /usr/share/papi gcc -E -I/usr/include -DFORTRANDOUBLEUNDERSCORE papi_fwrappers.c > papi_fwrappers__.c gcc -E -I/usr/include -DFORTRANCAPS papi_fwrappers.c > upper_PAPI_FWRAPPERS.c gcc -I. -I.. -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -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 -fstack-clash-protection -g -Wextra -Wall -O1 -O0 -c do_loops.c In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from do_loops.c:3: /usr/include/features.h:412:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] 412 | # warning _FORTIFY_SOURCE requires compiling with optimization (-O) | ^~~~~~~ rm -f libpapi.so.6.0.0.0 libpapi.so libpapi.so.6.0 gcc -fPIC -DPIC -shared -Wl,-soname -Wl,libpapi.so.6.0 -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 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -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 -fstack-clash-protection -g -Wextra -Wall -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 papi_fwrappers.c papi_fwrappers_.c papi_fwrappers__.c upper_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 -o libpapi.so.6.0.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 -Wl,-dT,/builddir/build/BUILD/papi-6.0.0/.package_note-papi-6.0.0-12.fc37.riscv64.ld -Wl,-rpath-link,/builddir/build/BUILD/papi-6.0.0/src/libpfm4/lib -g -g In file included from papi_internal.h:119, from papi_libpfm4_events.c:10: linux-context.h:41:2: error: #error "OVERFLOW_ADDRESS() undefined!" 41 | #error "OVERFLOW_ADDRESS() undefined!" | ^~~~~ In file included from linux-lock.h:4, from papi_lock.h:20, from papi_internal.h:437: mb.h:64:2: error: #error Need to define rmb for this architecture! 64 | #error Need to define rmb for this architecture! | ^~~~~ mb.h:65:2: error: #error See the kernel source directory: tools/perf/perf.h file 65 | #error See the kernel source directory: tools/perf/perf.h file | ^~~~~ linux-lock.h:232:2: error: #error "_papi_hwd_lock/unlock undefined!" 232 | #error "_papi_hwd_lock/unlock undefined!" | ^~~~~ gcc -I. -I.. -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -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 -fstack-clash-protection -g -Wextra -Wall -O1 -c clockcore.c In file included from papi_internal.h:438: threads.h: In function '_papi_hwi_lock': threads.h:72:17: warning: implicit declaration of function '_papi_hwd_lock'; did you mean '_papi_hwi_lock'? [-Wimplicit-function-declaration] 72 | _papi_hwd_lock( lck ); | ^~~~~~~~~~~~~~ | _papi_hwi_lock threads.h: In function '_papi_hwi_unlock': threads.h:86:17: warning: implicit declaration of function '_papi_hwd_unlock'; did you mean '_papi_hwi_unlock'? [-Wimplicit-function-declaration] 86 | _papi_hwd_unlock( lck ); | ^~~~~~~~~~~~~~~~ | _papi_hwi_unlock In file included from papi_internal.h:119, from papi.c:34: linux-context.h:41:2: error: #error "OVERFLOW_ADDRESS() undefined!" 41 | #error "OVERFLOW_ADDRESS() undefined!" | ^~~~~ In file included from linux-lock.h:4, from papi_lock.h:20, from papi_internal.h:437: mb.h:64:2: error: #error Need to define rmb for this architecture! 64 | #error Need to define rmb for this architecture! | ^~~~~ mb.h:65:2: error: #error See the kernel source directory: tools/perf/perf.h file 65 | #error See the kernel source directory: tools/perf/perf.h file | ^~~~~ linux-lock.h:232:2: error: #error "_papi_hwd_lock/unlock undefined!" 232 | #error "_papi_hwd_lock/unlock undefined!" | ^~~~~ In file included from papi_internal.h:438: threads.h: In function '_papi_hwi_lock': threads.h:72:17: warning: implicit declaration of function '_papi_hwd_lock'; did you mean '_papi_hwi_lock'? [-Wimplicit-function-declaration] 72 | _papi_hwd_lock( lck ); | ^~~~~~~~~~~~~~ | _papi_hwi_lock threads.h: In function '_papi_hwi_unlock': threads.h:86:17: warning: implicit declaration of function '_papi_hwd_unlock'; did you mean '_papi_hwi_unlock'? [-Wimplicit-function-declaration] 86 | _papi_hwd_unlock( lck ); | ^~~~~~~~~~~~~~~~ | _papi_hwi_unlock 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-6.0.0/src/testlib' In file included from papi_internal.h:119, from papi_internal.c:38: linux-context.h:41:2: error: #error "OVERFLOW_ADDRESS() undefined!" 41 | #error "OVERFLOW_ADDRESS() undefined!" | ^~~~~ In file included from linux-lock.h:4, from papi_lock.h:20, from papi_internal.h:437: mb.h:64:2: error: #error Need to define rmb for this architecture! 64 | #error Need to define rmb for this architecture! | ^~~~~ mb.h:65:2: error: #error See the kernel source directory: tools/perf/perf.h file 65 | #error See the kernel source directory: tools/perf/perf.h file | ^~~~~ linux-lock.h:232:2: error: #error "_papi_hwd_lock/unlock undefined!" 232 | #error "_papi_hwd_lock/unlock undefined!" | ^~~~~ In file included from papi_internal.h:438: threads.h: In function '_papi_hwi_lock': threads.h:72:17: warning: implicit declaration of function '_papi_hwd_lock'; did you mean '_papi_hwi_lock'? [-Wimplicit-function-declaration] 72 | _papi_hwd_lock( lck ); | ^~~~~~~~~~~~~~ | _papi_hwi_lock threads.h: In function '_papi_hwi_unlock': threads.h:86:17: warning: implicit declaration of function '_papi_hwd_unlock'; did you mean '_papi_hwi_unlock'? [-Wimplicit-function-declaration] 86 | _papi_hwd_unlock( lck ); | ^~~~~~~~~~~~~~~~ | _papi_hwi_unlock In file included from ./papi_internal.h:119, from high-level/papi_hl.c:27: ./linux-context.h:41:2: error: #error "OVERFLOW_ADDRESS() undefined!" 41 | #error "OVERFLOW_ADDRESS() undefined!" | ^~~~~ In file included from ./linux-lock.h:4, from ./papi_lock.h:20, from ./papi_internal.h:437: ./mb.h:64:2: error: #error Need to define rmb for this architecture! 64 | #error Need to define rmb for this architecture! | ^~~~~ ./mb.h:65:2: error: #error See the kernel source directory: tools/perf/perf.h file 65 | #error See the kernel source directory: tools/perf/perf.h file | ^~~~~ ./linux-lock.h:232:2: error: #error "_papi_hwd_lock/unlock undefined!" 232 | #error "_papi_hwd_lock/unlock undefined!" | ^~~~~ In file included from ./papi_internal.h:438: ./threads.h: In function '_papi_hwi_lock': ./threads.h:72:17: warning: implicit declaration of function '_papi_hwd_lock'; did you mean '_papi_hwi_lock'? [-Wimplicit-function-declaration] 72 | _papi_hwd_lock( lck ); | ^~~~~~~~~~~~~~ | _papi_hwi_lock ./threads.h: In function '_papi_hwi_unlock': ./threads.h:86:17: warning: implicit declaration of function '_papi_hwd_unlock'; did you mean '_papi_hwi_unlock'? [-Wimplicit-function-declaration] 86 | _papi_hwd_unlock( lck ); | ^~~~~~~~~~~~~~~~ | _papi_hwi_unlock In file included from papi_internal.h:119, from extras.c:23: linux-context.h:41:2: error: #error "OVERFLOW_ADDRESS() undefined!" 41 | #error "OVERFLOW_ADDRESS() undefined!" | ^~~~~ In file included from linux-lock.h:4, from papi_lock.h:20, from papi_internal.h:437: mb.h:64:2: error: #error Need to define rmb for this architecture! 64 | #error Need to define rmb for this architecture! | ^~~~~ mb.h:65:2: error: #error See the kernel source directory: tools/perf/perf.h file 65 | #error See the kernel source directory: tools/perf/perf.h file | ^~~~~ linux-lock.h:232:2: error: #error "_papi_hwd_lock/unlock undefined!" 232 | #error "_papi_hwd_lock/unlock undefined!" | ^~~~~ In file included from papi_internal.h:438: threads.h: In function '_papi_hwi_lock': threads.h:72:17: warning: implicit declaration of function '_papi_hwd_lock'; did you mean '_papi_hwi_lock'? [-Wimplicit-function-declaration] 72 | _papi_hwd_lock( lck ); | ^~~~~~~~~~~~~~ | _papi_hwi_lock threads.h: In function '_papi_hwi_unlock': threads.h:86:17: warning: implicit declaration of function '_papi_hwd_unlock'; did you mean '_papi_hwi_unlock'? [-Wimplicit-function-declaration] 86 | _papi_hwd_unlock( lck ); | ^~~~~~~~~~~~~~~~ | _papi_hwi_unlock In file included from papi_internal.h:119, from sw_multiplex.c:130: linux-context.h:41:2: error: #error "OVERFLOW_ADDRESS() undefined!" 41 | #error "OVERFLOW_ADDRESS() undefined!" | ^~~~~ In file included from linux-lock.h:4, from papi_lock.h:20, from papi_internal.h:437: mb.h:64:2: error: #error Need to define rmb for this architecture! 64 | #error Need to define rmb for this architecture! | ^~~~~ mb.h:65:2: error: #error See the kernel source directory: tools/perf/perf.h file 65 | #error See the kernel source directory: tools/perf/perf.h file | ^~~~~ linux-lock.h:232:2: error: #error "_papi_hwd_lock/unlock undefined!" 232 | #error "_papi_hwd_lock/unlock undefined!" | ^~~~~ In file included from papi_internal.h:438: threads.h: In function '_papi_hwi_lock': threads.h:72:17: warning: implicit declaration of function '_papi_hwd_lock'; did you mean '_papi_hwi_lock'? [-Wimplicit-function-declaration] 72 | _papi_hwd_lock( lck ); | ^~~~~~~~~~~~~~ | _papi_hwi_lock threads.h: In function '_papi_hwi_unlock': threads.h:86:17: warning: implicit declaration of function '_papi_hwd_unlock'; did you mean '_papi_hwi_unlock'? [-Wimplicit-function-declaration] 86 | _papi_hwd_unlock( lck ); | ^~~~~~~~~~~~~~~~ | _papi_hwi_unlock In file included from papi_internal.h:119, from threads.c:16: linux-context.h:41:2: error: #error "OVERFLOW_ADDRESS() undefined!" 41 | #error "OVERFLOW_ADDRESS() undefined!" | ^~~~~ In file included from linux-lock.h:4, from papi_lock.h:20, from papi_internal.h:437: mb.h:64:2: error: #error Need to define rmb for this architecture! 64 | #error Need to define rmb for this architecture! | ^~~~~ mb.h:65:2: error: #error See the kernel source directory: tools/perf/perf.h file 65 | #error See the kernel source directory: tools/perf/perf.h file | ^~~~~ linux-lock.h:232:2: error: #error "_papi_hwd_lock/unlock undefined!" 232 | #error "_papi_hwd_lock/unlock undefined!" | ^~~~~ In file included from papi_internal.h:438: threads.h: In function '_papi_hwi_lock': threads.h:72:17: warning: implicit declaration of function '_papi_hwd_lock'; did you mean '_papi_hwi_lock'? [-Wimplicit-function-declaration] 72 | _papi_hwd_lock( lck ); | ^~~~~~~~~~~~~~ | _papi_hwi_lock threads.h: In function '_papi_hwi_unlock': threads.h:86:17: warning: implicit declaration of function '_papi_hwd_unlock'; did you mean '_papi_hwi_unlock'? [-Wimplicit-function-declaration] 86 | _papi_hwd_unlock( lck ); | ^~~~~~~~~~~~~~~~ | _papi_hwi_unlock In file included from papi_internal.h:119, from cpus.c:15: linux-context.h:41:2: error: #error "OVERFLOW_ADDRESS() undefined!" 41 | #error "OVERFLOW_ADDRESS() undefined!" | ^~~~~ In file included from linux-lock.h:4, from papi_lock.h:20, from papi_internal.h:437: mb.h:64:2: error: #error Need to define rmb for this architecture! 64 | #error Need to define rmb for this architecture! | ^~~~~ mb.h:65:2: error: #error See the kernel source directory: tools/perf/perf.h file 65 | #error See the kernel source directory: tools/perf/perf.h file | ^~~~~ linux-lock.h:232:2: error: #error "_papi_hwd_lock/unlock undefined!" 232 | #error "_papi_hwd_lock/unlock undefined!" | ^~~~~ In file included from papi_internal.h:438: threads.h: In function '_papi_hwi_lock': threads.h:72:17: warning: implicit declaration of function '_papi_hwd_lock'; did you mean '_papi_hwi_lock'? [-Wimplicit-function-declaration] 72 | _papi_hwd_lock( lck ); | ^~~~~~~~~~~~~~ | _papi_hwi_lock threads.h: In function '_papi_hwi_unlock': threads.h:86:17: warning: implicit declaration of function '_papi_hwd_unlock'; did you mean '_papi_hwi_unlock'? [-Wimplicit-function-declaration] 86 | _papi_hwd_unlock( lck ); | ^~~~~~~~~~~~~~~~ | _papi_hwi_unlock In file included from papi_internal.h:119, from linux-memory.c:26: linux-context.h:41:2: error: #error "OVERFLOW_ADDRESS() undefined!" 41 | #error "OVERFLOW_ADDRESS() undefined!" | ^~~~~ In file included from linux-lock.h:4, from papi_lock.h:20, from papi_internal.h:437: mb.h:64:2: error: #error Need to define rmb for this architecture! 64 | #error Need to define rmb for this architecture! | ^~~~~ mb.h:65:2: error: #error See the kernel source directory: tools/perf/perf.h file 65 | #error See the kernel source directory: tools/perf/perf.h file | ^~~~~ linux-lock.h:232:2: error: #error "_papi_hwd_lock/unlock undefined!" 232 | #error "_papi_hwd_lock/unlock undefined!" | ^~~~~ In file included from papi_internal.h:438: threads.h: In function '_papi_hwi_lock': threads.h:72:17: warning: implicit declaration of function '_papi_hwd_lock'; did you mean '_papi_hwi_lock'? [-Wimplicit-function-declaration] 72 | _papi_hwd_lock( lck ); | ^~~~~~~~~~~~~~ | _papi_hwi_lock threads.h: In function '_papi_hwi_unlock': threads.h:86:17: warning: implicit declaration of function '_papi_hwd_unlock'; did you mean '_papi_hwi_unlock'? [-Wimplicit-function-declaration] 86 | _papi_hwd_unlock( lck ); | ^~~~~~~~~~~~~~~~ | _papi_hwi_unlock In file included from papi_internal.h:119, from linux-timer.c:14: linux-context.h:41:2: error: #error "OVERFLOW_ADDRESS() undefined!" 41 | #error "OVERFLOW_ADDRESS() undefined!" | ^~~~~ In file included from linux-lock.h:4, from papi_lock.h:20, from papi_internal.h:437: mb.h:64:2: error: #error Need to define rmb for this architecture! 64 | #error Need to define rmb for this architecture! | ^~~~~ mb.h:65:2: error: #error See the kernel source directory: tools/perf/perf.h file 65 | #error See the kernel source directory: tools/perf/perf.h file | ^~~~~ linux-lock.h:232:2: error: #error "_papi_hwd_lock/unlock undefined!" 232 | #error "_papi_hwd_lock/unlock undefined!" | ^~~~~ In file included from papi_internal.h:438: threads.h: In function '_papi_hwi_lock': threads.h:72:17: warning: implicit declaration of function '_papi_hwd_lock'; did you mean '_papi_hwi_lock'? [-Wimplicit-function-declaration] 72 | _papi_hwd_lock( lck ); | ^~~~~~~~~~~~~~ | _papi_hwi_lock threads.h: In function '_papi_hwi_unlock': threads.h:86:17: warning: implicit declaration of function '_papi_hwd_unlock'; did you mean '_papi_hwi_unlock'? [-Wimplicit-function-declaration] 86 | _papi_hwd_unlock( lck ); | ^~~~~~~~~~~~~~~~ | _papi_hwi_unlock linux-timer.c: In function '_linux_get_real_cycles': linux-timer.c:312:18: warning: implicit declaration of function 'get_cycles' [-Wimplicit-function-declaration] 312 | retval = get_cycles( ); | ^~~~~~~~~~ In file included from papi_internal.h:119, from linux-common.c:18: linux-context.h:41:2: error: #error "OVERFLOW_ADDRESS() undefined!" 41 | #error "OVERFLOW_ADDRESS() undefined!" | ^~~~~ In file included from linux-lock.h:4, from papi_lock.h:20, from papi_internal.h:437: mb.h:64:2: error: #error Need to define rmb for this architecture! 64 | #error Need to define rmb for this architecture! | ^~~~~ mb.h:65:2: error: #error See the kernel source directory: tools/perf/perf.h file 65 | #error See the kernel source directory: tools/perf/perf.h file | ^~~~~ linux-lock.h:232:2: error: #error "_papi_hwd_lock/unlock undefined!" 232 | #error "_papi_hwd_lock/unlock undefined!" | ^~~~~ In file included from papi_internal.h:438: threads.h: In function '_papi_hwi_lock': threads.h:72:17: warning: implicit declaration of function '_papi_hwd_lock'; did you mean '_papi_hwi_lock'? [-Wimplicit-function-declaration] 72 | _papi_hwd_lock( lck ); | ^~~~~~~~~~~~~~ | _papi_hwi_lock threads.h: In function '_papi_hwi_unlock': threads.h:86:17: warning: implicit declaration of function '_papi_hwd_unlock'; did you mean '_papi_hwi_unlock'? [-Wimplicit-function-declaration] 86 | _papi_hwd_unlock( lck ); | ^~~~~~~~~~~~~~~~ | _papi_hwi_unlock In file included from papi_internal.h:119, from papi_preset.c:18: linux-context.h:41:2: error: #error "OVERFLOW_ADDRESS() undefined!" 41 | #error "OVERFLOW_ADDRESS() undefined!" | ^~~~~ In file included from linux-lock.h:4, from papi_lock.h:20, from papi_internal.h:437: mb.h:64:2: error: #error Need to define rmb for this architecture! 64 | #error Need to define rmb for this architecture! | ^~~~~ mb.h:65:2: error: #error See the kernel source directory: tools/perf/perf.h file 65 | #error See the kernel source directory: tools/perf/perf.h file | ^~~~~ linux-lock.h:232:2: error: #error "_papi_hwd_lock/unlock undefined!" 232 | #error "_papi_hwd_lock/unlock undefined!" | ^~~~~ In file included from papi_internal.h:438: threads.h: In function '_papi_hwi_lock': threads.h:72:17: warning: implicit declaration of function '_papi_hwd_lock'; did you mean '_papi_hwi_lock'? [-Wimplicit-function-declaration] 72 | _papi_hwd_lock( lck ); | ^~~~~~~~~~~~~~ | _papi_hwi_lock threads.h: In function '_papi_hwi_unlock': threads.h:86:17: warning: implicit declaration of function '_papi_hwd_unlock'; did you mean '_papi_hwi_unlock'? [-Wimplicit-function-declaration] 86 | _papi_hwd_unlock( lck ); | ^~~~~~~~~~~~~~~~ | _papi_hwi_unlock In file included from papi_internal.h:119, from papi_vector.c:12: linux-context.h:41:2: error: #error "OVERFLOW_ADDRESS() undefined!" 41 | #error "OVERFLOW_ADDRESS() undefined!" | ^~~~~ In file included from linux-lock.h:4, from papi_lock.h:20, from papi_internal.h:437: mb.h:64:2: error: #error Need to define rmb for this architecture! 64 | #error Need to define rmb for this architecture! | ^~~~~ mb.h:65:2: error: #error See the kernel source directory: tools/perf/perf.h file 65 | #error See the kernel source directory: tools/perf/perf.h file | ^~~~~ linux-lock.h:232:2: error: #error "_papi_hwd_lock/unlock undefined!" 232 | #error "_papi_hwd_lock/unlock undefined!" | ^~~~~ In file included from papi_internal.h:438: threads.h: In function '_papi_hwi_lock': threads.h:72:17: warning: implicit declaration of function '_papi_hwd_lock'; did you mean '_papi_hwi_lock'? [-Wimplicit-function-declaration] 72 | _papi_hwd_lock( lck ); | ^~~~~~~~~~~~~~ | _papi_hwi_lock threads.h: In function '_papi_hwi_unlock': threads.h:86:17: warning: implicit declaration of function '_papi_hwd_unlock'; did you mean '_papi_hwi_unlock'? [-Wimplicit-function-declaration] 86 | _papi_hwd_unlock( lck ); | ^~~~~~~~~~~~~~~~ | _papi_hwi_unlock In file included from linux-lock.h:4, from papi_lock.h:20, from papi_memory.c:22: mb.h:64:2: error: #error Need to define rmb for this architecture! 64 | #error Need to define rmb for this architecture! | ^~~~~ mb.h:65:2: error: #error See the kernel source directory: tools/perf/perf.h file 65 | #error See the kernel source directory: tools/perf/perf.h file | ^~~~~ linux-lock.h:232:2: error: #error "_papi_hwd_lock/unlock undefined!" 232 | #error "_papi_hwd_lock/unlock undefined!" | ^~~~~ In file included from papi_internal.h:119, from papi_memory.c:24: linux-context.h:41:2: error: #error "OVERFLOW_ADDRESS() undefined!" 41 | #error "OVERFLOW_ADDRESS() undefined!" | ^~~~~ In file included from papi_internal.h:438: threads.h: In function '_papi_hwi_lock': threads.h:72:17: warning: implicit declaration of function '_papi_hwd_lock'; did you mean '_papi_hwi_lock'? [-Wimplicit-function-declaration] 72 | _papi_hwd_lock( lck ); | ^~~~~~~~~~~~~~ | _papi_hwi_lock threads.h: In function '_papi_hwi_unlock': threads.h:86:17: warning: implicit declaration of function '_papi_hwd_unlock'; did you mean '_papi_hwi_unlock'? [-Wimplicit-function-declaration] 86 | _papi_hwd_unlock( lck ); | ^~~~~~~~~~~~~~~~ | _papi_hwi_unlock In file included from ./papi_internal.h:119, from components/perf_event/perf_event.c:38: ./linux-context.h:41:2: error: #error "OVERFLOW_ADDRESS() undefined!" 41 | #error "OVERFLOW_ADDRESS() undefined!" | ^~~~~ In file included from ./linux-lock.h:4, from ./papi_lock.h:20, from ./papi_internal.h:437: ./mb.h:64:2: error: #error Need to define rmb for this architecture! 64 | #error Need to define rmb for this architecture! | ^~~~~ ./mb.h:65:2: error: #error See the kernel source directory: tools/perf/perf.h file 65 | #error See the kernel source directory: tools/perf/perf.h file | ^~~~~ ./linux-lock.h:232:2: error: #error "_papi_hwd_lock/unlock undefined!" 232 | #error "_papi_hwd_lock/unlock undefined!" | ^~~~~ In file included from ./papi_internal.h:438: ./threads.h: In function '_papi_hwi_lock': ./threads.h:72:17: warning: implicit declaration of function '_papi_hwd_lock'; did you mean '_papi_hwi_lock'? [-Wimplicit-function-declaration] 72 | _papi_hwd_lock( lck ); | ^~~~~~~~~~~~~~ | _papi_hwi_lock ./threads.h: In function '_papi_hwi_unlock': ./threads.h:86:17: warning: implicit declaration of function '_papi_hwd_unlock'; did you mean '_papi_hwi_unlock'? [-Wimplicit-function-declaration] 86 | _papi_hwd_unlock( lck ); | ^~~~~~~~~~~~~~~~ | _papi_hwi_unlock 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:190:9: warning: implicit declaration of function 'rmb' [-Wimplicit-function-declaration] 190 | rmb(); | ^~~ components/perf_event/perf_event.c: In function '_pe_dispatch_timer': ./linux-context.h:44:45: warning: implicit declaration of function 'OVERFLOW_ADDRESS'; did you mean 'GET_OVERFLOW_ADDRESS'? [-Wimplicit-function-declaration] 44 | #define GET_OVERFLOW_ADDRESS(ctx) (caddr_t)(OVERFLOW_ADDRESS(ctx)) | ^~~~~~~~~~~~~~~~ components/perf_event/perf_event.c:1963:27: note: in expansion of macro 'GET_OVERFLOW_ADDRESS' 1963 | address = GET_OVERFLOW_ADDRESS( hw_context ); | ^~~~~~~~~~~~~~~~~~~~ ./linux-context.h:44:35: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 44 | #define GET_OVERFLOW_ADDRESS(ctx) (caddr_t)(OVERFLOW_ADDRESS(ctx)) | ^ components/perf_event/perf_event.c:1963:27: note: in expansion of macro 'GET_OVERFLOW_ADDRESS' 1963 | 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:41:2: error: #error "OVERFLOW_ADDRESS() undefined!" 41 | #error "OVERFLOW_ADDRESS() undefined!" | ^~~~~ In file included from ./linux-lock.h:4, from ./papi_lock.h:20, from ./papi_internal.h:437: ./mb.h:64:2: error: #error Need to define rmb for this architecture! 64 | #error Need to define rmb for this architecture! | ^~~~~ ./mb.h:65:2: error: #error See the kernel source directory: tools/perf/perf.h file 65 | #error See the kernel source directory: tools/perf/perf.h file | ^~~~~ ./linux-lock.h:232:2: error: #error "_papi_hwd_lock/unlock undefined!" 232 | #error "_papi_hwd_lock/unlock undefined!" | ^~~~~ In file included from ./papi_internal.h:438: ./threads.h: In function '_papi_hwi_lock': ./threads.h:72:17: warning: implicit declaration of function '_papi_hwd_lock'; did you mean '_papi_hwi_lock'? [-Wimplicit-function-declaration] 72 | _papi_hwd_lock( lck ); | ^~~~~~~~~~~~~~ | _papi_hwi_lock ./threads.h: In function '_papi_hwi_unlock': ./threads.h:86:17: warning: implicit declaration of function '_papi_hwd_unlock'; did you mean '_papi_hwi_unlock'? [-Wimplicit-function-declaration] 86 | _papi_hwd_unlock( lck ); | ^~~~~~~~~~~~~~~~ | _papi_hwi_unlock In file included from ./papi_internal.h:119, from components/perf_event_uncore/perf_event_uncore.c:29: ./linux-context.h:41:2: error: #error "OVERFLOW_ADDRESS() undefined!" 41 | #error "OVERFLOW_ADDRESS() undefined!" | ^~~~~ In file included from ./linux-lock.h:4, from ./papi_lock.h:20, from ./papi_internal.h:437: ./mb.h:64:2: error: #error Need to define rmb for this architecture! 64 | #error Need to define rmb for this architecture! | ^~~~~ ./mb.h:65:2: error: #error See the kernel source directory: tools/perf/perf.h file 65 | #error See the kernel source directory: tools/perf/perf.h file | ^~~~~ ./linux-lock.h:232:2: error: #error "_papi_hwd_lock/unlock undefined!" 232 | #error "_papi_hwd_lock/unlock undefined!" | ^~~~~ In file included from ./papi_internal.h:438: ./threads.h: In function '_papi_hwi_lock': ./threads.h:72:17: warning: implicit declaration of function '_papi_hwd_lock'; did you mean '_papi_hwi_lock'? [-Wimplicit-function-declaration] 72 | _papi_hwd_lock( lck ); | ^~~~~~~~~~~~~~ | _papi_hwi_lock ./threads.h: In function '_papi_hwi_unlock': ./threads.h:86:17: warning: implicit declaration of function '_papi_hwd_unlock'; did you mean '_papi_hwi_unlock'? [-Wimplicit-function-declaration] 86 | _papi_hwd_unlock( lck ); | ^~~~~~~~~~~~~~~~ | _papi_hwi_unlock In file included from ./papi_internal.h:119, from components/appio/appio.c:40: ./linux-context.h:41:2: error: #error "OVERFLOW_ADDRESS() undefined!" 41 | #error "OVERFLOW_ADDRESS() undefined!" | ^~~~~ In file included from ./linux-lock.h:4, from ./papi_lock.h:20, from ./papi_internal.h:437: ./mb.h:64:2: error: #error Need to define rmb for this architecture! 64 | #error Need to define rmb for this architecture! | ^~~~~ ./mb.h:65:2: error: #error See the kernel source directory: tools/perf/perf.h file 65 | #error See the kernel source directory: tools/perf/perf.h file | ^~~~~ ./linux-lock.h:232:2: error: #error "_papi_hwd_lock/unlock undefined!" 232 | #error "_papi_hwd_lock/unlock undefined!" | ^~~~~ In file included from ./papi_internal.h:438: ./threads.h: In function '_papi_hwi_lock': ./threads.h:72:17: warning: implicit declaration of function '_papi_hwd_lock'; did you mean '_papi_hwi_lock'? [-Wimplicit-function-declaration] 72 | _papi_hwd_lock( lck ); | ^~~~~~~~~~~~~~ | _papi_hwi_lock ./threads.h: In function '_papi_hwi_unlock': ./threads.h:86:17: warning: implicit declaration of function '_papi_hwd_unlock'; did you mean '_papi_hwi_unlock'? [-Wimplicit-function-declaration] 86 | _papi_hwd_unlock( lck ); | ^~~~~~~~~~~~~~~~ | _papi_hwi_unlock In file included from ./papi_internal.h:119, from components/coretemp/linux-coretemp.c:5: ./linux-context.h:41:2: error: #error "OVERFLOW_ADDRESS() undefined!" 41 | #error "OVERFLOW_ADDRESS() undefined!" | ^~~~~ In file included from ./linux-lock.h:4, from ./papi_lock.h:20, from ./papi_internal.h:437: ./mb.h:64:2: error: #error Need to define rmb for this architecture! 64 | #error Need to define rmb for this architecture! | ^~~~~ ./mb.h:65:2: error: #error See the kernel source directory: tools/perf/perf.h file 65 | #error See the kernel source directory: tools/perf/perf.h file | ^~~~~ ./linux-lock.h:232:2: error: #error "_papi_hwd_lock/unlock undefined!" 232 | #error "_papi_hwd_lock/unlock undefined!" | ^~~~~ In file included from ./papi_internal.h:438: ./threads.h: In function '_papi_hwi_lock': ./threads.h:72:17: warning: implicit declaration of function '_papi_hwd_lock'; did you mean '_papi_hwi_lock'? [-Wimplicit-function-declaration] 72 | _papi_hwd_lock( lck ); | ^~~~~~~~~~~~~~ | _papi_hwi_lock ./threads.h: In function '_papi_hwi_unlock': ./threads.h:86:17: warning: implicit declaration of function '_papi_hwd_unlock'; did you mean '_papi_hwi_unlock'? [-Wimplicit-function-declaration] 86 | _papi_hwd_unlock( lck ); | ^~~~~~~~~~~~~~~~ | _papi_hwi_unlock In file included from ./papi_internal.h:119, from components/example/example.c:22: ./linux-context.h:41:2: error: #error "OVERFLOW_ADDRESS() undefined!" 41 | #error "OVERFLOW_ADDRESS() undefined!" | ^~~~~ In file included from ./linux-lock.h:4, from ./papi_lock.h:20, from ./papi_internal.h:437: ./mb.h:64:2: error: #error Need to define rmb for this architecture! 64 | #error Need to define rmb for this architecture! | ^~~~~ ./mb.h:65:2: error: #error See the kernel source directory: tools/perf/perf.h file 65 | #error See the kernel source directory: tools/perf/perf.h file | ^~~~~ ./linux-lock.h:232:2: error: #error "_papi_hwd_lock/unlock undefined!" 232 | #error "_papi_hwd_lock/unlock undefined!" | ^~~~~ In file included from ./papi_internal.h:438: ./threads.h: In function '_papi_hwi_lock': ./threads.h:72:17: warning: implicit declaration of function '_papi_hwd_lock'; did you mean '_papi_hwi_lock'? [-Wimplicit-function-declaration] 72 | _papi_hwd_lock( lck ); | ^~~~~~~~~~~~~~ | _papi_hwi_lock ./threads.h: In function '_papi_hwi_unlock': ./threads.h:86:17: warning: implicit declaration of function '_papi_hwd_unlock'; did you mean '_papi_hwi_unlock'? [-Wimplicit-function-declaration] 86 | _papi_hwd_unlock( lck ); | ^~~~~~~~~~~~~~~~ | _papi_hwi_unlock In file included from ./papi_internal.h:119, from components/infiniband/linux-infiniband.c:37: ./linux-context.h:41:2: error: #error "OVERFLOW_ADDRESS() undefined!" 41 | #error "OVERFLOW_ADDRESS() undefined!" | ^~~~~ In file included from ./linux-lock.h:4, from ./papi_lock.h:20, from ./papi_internal.h:437: ./mb.h:64:2: error: #error Need to define rmb for this architecture! 64 | #error Need to define rmb for this architecture! | ^~~~~ ./mb.h:65:2: error: #error See the kernel source directory: tools/perf/perf.h file 65 | #error See the kernel source directory: tools/perf/perf.h file | ^~~~~ ./linux-lock.h:232:2: error: #error "_papi_hwd_lock/unlock undefined!" 232 | #error "_papi_hwd_lock/unlock undefined!" | ^~~~~ In file included from ./papi_internal.h:438: ./threads.h: In function '_papi_hwi_lock': ./threads.h:72:17: warning: implicit declaration of function '_papi_hwd_lock'; did you mean '_papi_hwi_lock'? [-Wimplicit-function-declaration] 72 | _papi_hwd_lock( lck ); | ^~~~~~~~~~~~~~ | _papi_hwi_lock ./threads.h: In function '_papi_hwi_unlock': ./threads.h:86:17: warning: implicit declaration of function '_papi_hwd_unlock'; did you mean '_papi_hwi_unlock'? [-Wimplicit-function-declaration] 86 | _papi_hwd_unlock( lck ); | ^~~~~~~~~~~~~~~~ | _papi_hwi_unlock In file included from ./papi_internal.h:119, from components/lmsensors/linux-lmsensors.c:40: ./linux-context.h:41:2: error: #error "OVERFLOW_ADDRESS() undefined!" 41 | #error "OVERFLOW_ADDRESS() undefined!" | ^~~~~ In file included from ./linux-lock.h:4, from ./papi_lock.h:20, from ./papi_internal.h:437: ./mb.h:64:2: error: #error Need to define rmb for this architecture! 64 | #error Need to define rmb for this architecture! | ^~~~~ ./mb.h:65:2: error: #error See the kernel source directory: tools/perf/perf.h file 65 | #error See the kernel source directory: tools/perf/perf.h file | ^~~~~ ./linux-lock.h:232:2: error: #error "_papi_hwd_lock/unlock undefined!" 232 | #error "_papi_hwd_lock/unlock undefined!" | ^~~~~ In file included from ./papi_internal.h:438: ./threads.h: In function '_papi_hwi_lock': ./threads.h:72:17: warning: implicit declaration of function '_papi_hwd_lock'; did you mean '_papi_hwi_lock'? [-Wimplicit-function-declaration] 72 | _papi_hwd_lock( lck ); | ^~~~~~~~~~~~~~ | _papi_hwi_lock ./threads.h: In function '_papi_hwi_unlock': ./threads.h:86:17: warning: implicit declaration of function '_papi_hwd_unlock'; did you mean '_papi_hwi_unlock'? [-Wimplicit-function-declaration] 86 | _papi_hwd_unlock( lck ); | ^~~~~~~~~~~~~~~~ | _papi_hwi_unlock In file included from ./papi_internal.h:119, from components/lustre/linux-lustre.c:25: ./linux-context.h:41:2: error: #error "OVERFLOW_ADDRESS() undefined!" 41 | #error "OVERFLOW_ADDRESS() undefined!" | ^~~~~ In file included from ./linux-lock.h:4, from ./papi_lock.h:20, from ./papi_internal.h:437: ./mb.h:64:2: error: #error Need to define rmb for this architecture! 64 | #error Need to define rmb for this architecture! | ^~~~~ ./mb.h:65:2: error: #error See the kernel source directory: tools/perf/perf.h file 65 | #error See the kernel source directory: tools/perf/perf.h file | ^~~~~ ./linux-lock.h:232:2: error: #error "_papi_hwd_lock/unlock undefined!" 232 | #error "_papi_hwd_lock/unlock undefined!" | ^~~~~ In file included from ./papi_internal.h:438: ./threads.h: In function '_papi_hwi_lock': ./threads.h:72:17: warning: implicit declaration of function '_papi_hwd_lock'; did you mean '_papi_hwi_lock'? [-Wimplicit-function-declaration] 72 | _papi_hwd_lock( lck ); | ^~~~~~~~~~~~~~ | _papi_hwi_lock ./threads.h: In function '_papi_hwi_unlock': ./threads.h:86:17: warning: implicit declaration of function '_papi_hwd_unlock'; did you mean '_papi_hwi_unlock'? [-Wimplicit-function-declaration] 86 | _papi_hwd_unlock( lck ); | ^~~~~~~~~~~~~~~~ | _papi_hwi_unlock In file included from ./papi_internal.h:119, from components/micpower/linux-micpower.c:6: ./linux-context.h:41:2: error: #error "OVERFLOW_ADDRESS() undefined!" 41 | #error "OVERFLOW_ADDRESS() undefined!" | ^~~~~ In file included from ./linux-lock.h:4, from ./papi_lock.h:20, from ./papi_internal.h:437: ./mb.h:64:2: error: #error Need to define rmb for this architecture! 64 | #error Need to define rmb for this architecture! | ^~~~~ ./mb.h:65:2: error: #error See the kernel source directory: tools/perf/perf.h file 65 | #error See the kernel source directory: tools/perf/perf.h file | ^~~~~ ./linux-lock.h:232:2: error: #error "_papi_hwd_lock/unlock undefined!" 232 | #error "_papi_hwd_lock/unlock undefined!" | ^~~~~ In file included from ./papi_internal.h:438: ./threads.h: In function '_papi_hwi_lock': ./threads.h:72:17: warning: implicit declaration of function '_papi_hwd_lock'; did you mean '_papi_hwi_lock'? [-Wimplicit-function-declaration] 72 | _papi_hwd_lock( lck ); | ^~~~~~~~~~~~~~ | _papi_hwi_lock ./threads.h: In function '_papi_hwi_unlock': ./threads.h:86:17: warning: implicit declaration of function '_papi_hwd_unlock'; did you mean '_papi_hwi_unlock'? [-Wimplicit-function-declaration] 86 | _papi_hwd_unlock( lck ); | ^~~~~~~~~~~~~~~~ | _papi_hwi_unlock In file included from ./papi_internal.h:119, from components/mx/linux-mx.c:8: ./linux-context.h:41:2: error: #error "OVERFLOW_ADDRESS() undefined!" 41 | #error "OVERFLOW_ADDRESS() undefined!" | ^~~~~ In file included from ./linux-lock.h:4, from ./papi_lock.h:20, from ./papi_internal.h:437: ./mb.h:64:2: error: #error Need to define rmb for this architecture! 64 | #error Need to define rmb for this architecture! | ^~~~~ ./mb.h:65:2: error: #error See the kernel source directory: tools/perf/perf.h file 65 | #error See the kernel source directory: tools/perf/perf.h file | ^~~~~ ./linux-lock.h:232:2: error: #error "_papi_hwd_lock/unlock undefined!" 232 | #error "_papi_hwd_lock/unlock undefined!" | ^~~~~ In file included from ./papi_internal.h:438: ./threads.h: In function '_papi_hwi_lock': ./threads.h:72:17: warning: implicit declaration of function '_papi_hwd_lock'; did you mean '_papi_hwi_lock'? [-Wimplicit-function-declaration] 72 | _papi_hwd_lock( lck ); | ^~~~~~~~~~~~~~ | _papi_hwi_lock ./threads.h: In function '_papi_hwi_unlock': ./threads.h:86:17: warning: implicit declaration of function '_papi_hwd_unlock'; did you mean '_papi_hwi_unlock'? [-Wimplicit-function-declaration] 86 | _papi_hwd_unlock( lck ); | ^~~~~~~~~~~~~~~~ | _papi_hwi_unlock In file included from ./papi_internal.h:119, from components/net/linux-net.c:28: ./linux-context.h:41:2: error: #error "OVERFLOW_ADDRESS() undefined!" 41 | #error "OVERFLOW_ADDRESS() undefined!" | ^~~~~ In file included from ./linux-lock.h:4, from ./papi_lock.h:20, from ./papi_internal.h:437: ./mb.h:64:2: error: #error Need to define rmb for this architecture! 64 | #error Need to define rmb for this architecture! | ^~~~~ ./mb.h:65:2: error: #error See the kernel source directory: tools/perf/perf.h file 65 | #error See the kernel source directory: tools/perf/perf.h file | ^~~~~ ./linux-lock.h:232:2: error: #error "_papi_hwd_lock/unlock undefined!" 232 | #error "_papi_hwd_lock/unlock undefined!" | ^~~~~ In file included from ./papi_internal.h:438: ./threads.h: In function '_papi_hwi_lock': ./threads.h:72:17: warning: implicit declaration of function '_papi_hwd_lock'; did you mean '_papi_hwi_lock'? [-Wimplicit-function-declaration] 72 | _papi_hwd_lock( lck ); | ^~~~~~~~~~~~~~ | _papi_hwi_lock ./threads.h: In function '_papi_hwi_unlock': ./threads.h:86:17: warning: implicit declaration of function '_papi_hwd_unlock'; did you mean '_papi_hwi_unlock'? [-Wimplicit-function-declaration] 86 | _papi_hwd_unlock( lck ); | ^~~~~~~~~~~~~~~~ | _papi_hwi_unlock In file included from ./papi_internal.h:119, from components/pcp/linux-pcp.c:29: ./linux-context.h:41:2: error: #error "OVERFLOW_ADDRESS() undefined!" 41 | #error "OVERFLOW_ADDRESS() undefined!" | ^~~~~ In file included from ./linux-lock.h:4, from ./papi_lock.h:20, from ./papi_internal.h:437: ./mb.h:64:2: error: #error Need to define rmb for this architecture! 64 | #error Need to define rmb for this architecture! | ^~~~~ ./mb.h:65:2: error: #error See the kernel source directory: tools/perf/perf.h file 65 | #error See the kernel source directory: tools/perf/perf.h file | ^~~~~ ./linux-lock.h:232:2: error: #error "_papi_hwd_lock/unlock undefined!" 232 | #error "_papi_hwd_lock/unlock undefined!" | ^~~~~ In file included from ./papi_internal.h:438: ./threads.h: In function '_papi_hwi_lock': ./threads.h:72:17: warning: implicit declaration of function '_papi_hwd_lock'; did you mean '_papi_hwi_lock'? [-Wimplicit-function-declaration] 72 | _papi_hwd_lock( lck ); | ^~~~~~~~~~~~~~ | _papi_hwi_lock ./threads.h: In function '_papi_hwi_unlock': ./threads.h:86:17: warning: implicit declaration of function '_papi_hwd_unlock'; did you mean '_papi_hwi_unlock'? [-Wimplicit-function-declaration] 86 | _papi_hwd_unlock( lck ); | ^~~~~~~~~~~~~~~~ | _papi_hwi_unlock In file included from ./papi_internal.h:119, from components/rapl/linux-rapl.c:28: ./linux-context.h:41:2: error: #error "OVERFLOW_ADDRESS() undefined!" 41 | #error "OVERFLOW_ADDRESS() undefined!" | ^~~~~ In file included from ./linux-lock.h:4, from ./papi_lock.h:20, from ./papi_internal.h:437: ./mb.h:64:2: error: #error Need to define rmb for this architecture! 64 | #error Need to define rmb for this architecture! | ^~~~~ ./mb.h:65:2: error: #error See the kernel source directory: tools/perf/perf.h file 65 | #error See the kernel source directory: tools/perf/perf.h file | ^~~~~ ./linux-lock.h:232:2: error: #error "_papi_hwd_lock/unlock undefined!" 232 | #error "_papi_hwd_lock/unlock undefined!" | ^~~~~ In file included from ./papi_internal.h:438: ./threads.h: In function '_papi_hwi_lock': ./threads.h:72:17: warning: implicit declaration of function '_papi_hwd_lock'; did you mean '_papi_hwi_lock'? [-Wimplicit-function-declaration] 72 | _papi_hwd_lock( lck ); | ^~~~~~~~~~~~~~ | _papi_hwi_lock ./threads.h: In function '_papi_hwi_unlock': ./threads.h:86:17: warning: implicit declaration of function '_papi_hwd_unlock'; did you mean '_papi_hwi_unlock'? [-Wimplicit-function-declaration] 86 | _papi_hwd_unlock( lck ); | ^~~~~~~~~~~~~~~~ | _papi_hwi_unlock In file included from ./papi_internal.h:119, from components/stealtime/linux-stealtime.c:17: ./linux-context.h:41:2: error: #error "OVERFLOW_ADDRESS() undefined!" 41 | #error "OVERFLOW_ADDRESS() undefined!" | ^~~~~ In file included from ./linux-lock.h:4, from ./papi_lock.h:20, from ./papi_internal.h:437: ./mb.h:64:2: error: #error Need to define rmb for this architecture! 64 | #error Need to define rmb for this architecture! | ^~~~~ ./mb.h:65:2: error: #error See the kernel source directory: tools/perf/perf.h file 65 | #error See the kernel source directory: tools/perf/perf.h file | ^~~~~ ./linux-lock.h:232:2: error: #error "_papi_hwd_lock/unlock undefined!" 232 | #error "_papi_hwd_lock/unlock undefined!" | ^~~~~ In file included from ./papi_internal.h:438: ./threads.h: In function '_papi_hwi_lock': ./threads.h:72:17: warning: implicit declaration of function '_papi_hwd_lock'; did you mean '_papi_hwi_lock'? [-Wimplicit-function-declaration] 72 | _papi_hwd_lock( lck ); | ^~~~~~~~~~~~~~ | _papi_hwi_lock ./threads.h: In function '_papi_hwi_unlock': ./threads.h:86:17: warning: implicit declaration of function '_papi_hwd_unlock'; did you mean '_papi_hwi_unlock'? [-Wimplicit-function-declaration] 86 | _papi_hwd_unlock( lck ); | ^~~~~~~~~~~~~~~~ | _papi_hwi_unlock make: *** [Makefile.inc:68: libpapi.so.6.0.0.0] Error 1 error: Bad exit status from /var/tmp/rpm-tmp.7nJnb7 (%build) Bad exit status from /var/tmp/rpm-tmp.7nJnb7 (%build) RPM build errors: Child return code was: 1 EXCEPTION: [Error()] Traceback (most recent call last): File "/usr/lib/python3.9/site-packages/mockbuild/trace_decorator.py", line 93, in trace result = func(*args, **kw) File "/usr/lib/python3.9/site-packages/mockbuild/util.py", line 600, in do_with_status raise exception.Error("Command failed: \n # %s\n%s" % (command, output), child.returncode) mockbuild.exception.Error: Command failed: # bash --login -c /usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/papi.spec