Mock Version: 3.5 Mock Version: 3.5 Mock Version: 3.5 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target loongarch64 --nodeps /builddir/build/SPECS/perftest.spec'], chrootPath='/var/lib/mock/dist-ocs23-loongarch64-build-145631-9787/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=86400uid=983gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target loongarch64 --nodeps /builddir/build/SPECS/perftest.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: loongarch64 Building for target loongarch64 Wrote: /builddir/build/SRPMS/perftest-23.10.0.0.29-1.ocs23.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target loongarch64 --nodeps /builddir/build/SPECS/perftest.spec'], chrootPath='/var/lib/mock/dist-ocs23-loongarch64-build-145631-9787/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=86400uid=983gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target loongarch64 --nodeps /builddir/build/SPECS/perftest.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: loongarch64 Building for target loongarch64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.Twyhi6 + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf perftest-23.10.0 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/perftest-23.10.0-0.29.g0705c22.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd perftest-23.10.0 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + find src -type f -iname '*.[ch]' -exec chmod a-x '{}' ';' + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.UBHvik + umask 022 + cd /builddir/build/BUILD + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -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/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd perftest-23.10.0 + '[' '-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' ./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 --- ./configure.backup 2023-09-03 15:52:27.000000000 +0800 +++ ./configure 2024-04-26 15:06:57.229966454 +0800 @@ -1886,7 +1886,7 @@ #ifdef __cplusplus extern "C" #endif -char $2 (); +__attribute__ ((used)) char $2 (); /* The GNU C library defines this for functions which it implements to always fail with ENOSYS. Some functions are actually named something starting with __ and the normal name is an alias. */ + /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 --- ./configure.backup 2024-04-26 15:06:57.229966454 +0800 +++ ./configure 2024-04-26 15:06:57.257967092 +0800 @@ -6761,7 +6761,7 @@ # Transform an extracted symbol line into a proper C declaration. # Some systems (esp. on ia64) link data and code symbols differently, # so use this general approach. -lt_cv_sys_global_symbol_to_cdecl="sed -n"\ +lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'" $lt_cdecl_hook\ " -e 's/^T .* \(.*\)$/extern int \1();/p'"\ " -e 's/^$symcode$symcode* .* \(.*\)$/extern char \1;/p'" @@ -18890,7 +18890,7 @@ compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`' GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`' lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`' -lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`' +lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'" lt_cv_sys_global_symbol_to_import='`$ECHO "$lt_cv_sys_global_symbol_to_import" | $SED "$delay_single_quote_subst"`' lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`' lt_cv_sys_global_symbol_to_c_name_address_lib_prefix='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address_lib_prefix" | $SED "$delay_single_quote_subst"`' + '[' 1 = 1 ']' +++ dirname ./configure ++ find . -name config.guess -o -name config.sub + for i in $(find $(dirname ./configure) -name config.guess -o -name config.sub) ++ basename ./config/config.guess + '[' -f /usr/lib/rpm/OpenCloudOS/config.guess ']' + /usr/bin/rm -f ./config/config.guess ++ basename ./config/config.guess + /usr/bin/cp -fv /usr/lib/rpm/OpenCloudOS/config.guess ./config/config.guess '/usr/lib/rpm/OpenCloudOS/config.guess' -> './config/config.guess' + for i in $(find $(dirname ./configure) -name config.guess -o -name config.sub) ++ basename ./config/config.sub + '[' -f /usr/lib/rpm/OpenCloudOS/config.sub ']' + /usr/bin/rm -f ./config/config.sub ++ basename ./config/config.sub + /usr/bin/cp -fv /usr/lib/rpm/OpenCloudOS/config.sub ./config/config.sub '/usr/lib/rpm/OpenCloudOS/config.sub' -> './config/config.sub' + '[' 1 = 1 ']' + '[' x '!=' 'x-Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld' ']' ++ find . -name ltmain.sh + for i in $(find . -name ltmain.sh) + /usr/bin/sed -i.backup -e 's~compiler_flags=$~compiler_flags="-Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld"~' ./config/ltmain.sh + ./configure --build=loongarch64-opencloudos-linux-gnu --host=loongarch64-opencloudos-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 checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... /usr/bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking whether make supports nested variables... yes checking whether make supports nested variables... (cached) yes checking for loongarch64-opencloudos-linux-gnu-gcc... 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 we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed checking whether gcc understands -c and -o together... yes checking whether make supports the include directive... yes (GNU style) checking dependency style of gcc... none checking whether we are using the GNU C++ compiler... no checking whether g++ accepts -g... no checking dependency style of g++... none checking dependency style of gcc... none checking build system type... loongarch64-opencloudos-linux-gnu checking host system type... loongarch64-opencloudos-linux-gnu checking how to print strings... printf checking for a sed that does not truncate output... /usr/bin/sed checking for grep that handles long lines and -e... /usr/bin/grep checking for egrep... /usr/bin/grep -E checking for fgrep... /usr/bin/grep -F checking for ld used by gcc... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B checking the name lister (/usr/bin/nm -B) interface... BSD nm checking whether ln -s works... yes checking the maximum length of command line arguments... 1572864 checking how to convert loongarch64-opencloudos-linux-gnu file names to loongarch64-opencloudos-linux-gnu format... func_convert_file_noop checking how to convert loongarch64-opencloudos-linux-gnu file names to toolchain format... func_convert_file_noop checking for /usr/bin/ld option to reload object files... -r checking for loongarch64-opencloudos-linux-gnu-objdump... no checking for objdump... objdump checking how to recognize dependent libraries... pass_all checking for loongarch64-opencloudos-linux-gnu-dlltool... no checking for dlltool... no checking how to associate runtime and link libraries... printf %s\n checking for loongarch64-opencloudos-linux-gnu-ar... no checking for ar... ar checking for archiver @FILE support... @ checking for loongarch64-opencloudos-linux-gnu-strip... no checking for strip... strip checking for loongarch64-opencloudos-linux-gnu-ranlib... no checking for ranlib... ranlib checking command to parse /usr/bin/nm -B output from gcc object... ./configure: line 6767: -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^[ABCDGIRSTW][ABCDGIRSTW]* .* \(.*\)$/extern char \1;/p': No such file or directory ok checking for sysroot... no checking for a working dd... /usr/bin/dd checking how to truncate binary pipes... /usr/bin/dd bs=4096 count=1 checking for loongarch64-opencloudos-linux-gnu-mt... no checking for mt... no checking if : is a manifest tool... no checking how to run the C preprocessor... gcc -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking for dlfcn.h... yes checking for objdir... .libs checking if gcc supports -fno-rtti -fno-exceptions... no checking for gcc option to produce PIC... -fPIC -DPIC checking if gcc PIC flag -fPIC -DPIC works... yes checking if gcc static flag -static works... yes checking if gcc supports -c -o file.o... yes checking if gcc supports -c -o file.o... (cached) yes checking whether the gcc linker (/usr/bin/ld) supports shared libraries... yes checking whether -lc should be explicitly linked in... no checking dynamic linker characteristics... GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... yes checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... yes checking for loongarch64-opencloudos-linux-gnu-ranlib... ranlib checking for ANSI C header files... (cached) yes checking infiniband/verbs.h usability... yes checking infiniband/verbs.h presence... yes checking for infiniband/verbs.h... yes checking for ibv_get_device_list in -libverbs... yes checking for rdma_create_event_channel in -lrdmacm... yes checking for umad_init in -libumad... yes checking for log in -lm... yes checking for ibv_reg_dmabuf_mr in -libverbs... yes checking pci/pci.h usability... yes checking pci/pci.h presence... yes checking for pci/pci.h... yes checking for pci_init in -lpci... yes checking for efadv_create_qp_ex in -lefa... yes checking for mlx5dv_create_qp in -lmlx5... yes checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating Makefile config.status: creating config.h config.status: executing depfiles commands config.status: executing libtool commands + /usr/bin/make -O -j32 V=1 VERBOSE=1 /usr/bin/make all-am make[1]: Entering directory '/builddir/build/BUILD/perftest-23.10.0' ln -s perftest.1 man/ib_write_bw.1 make[1]: Leaving directory '/builddir/build/BUILD/perftest-23.10.0' make[1]: Entering directory '/builddir/build/BUILD/perftest-23.10.0' ln -s perftest.1 man/ib_read_bw.1 make[1]: Leaving directory '/builddir/build/BUILD/perftest-23.10.0' make[1]: Entering directory '/builddir/build/BUILD/perftest-23.10.0' ln -s perftest.1 man/ib_send_bw.1 make[1]: Leaving directory '/builddir/build/BUILD/perftest-23.10.0' make[1]: Entering directory '/builddir/build/BUILD/perftest-23.10.0' ln -s perftest.1 man/ib_atomic_bw.1 make[1]: Leaving directory '/builddir/build/BUILD/perftest-23.10.0' make[1]: Entering directory '/builddir/build/BUILD/perftest-23.10.0' ln -s perftest.1 man/ib_write_lat.1 make[1]: Leaving directory '/builddir/build/BUILD/perftest-23.10.0' make[1]: Entering directory '/builddir/build/BUILD/perftest-23.10.0' ln -s perftest.1 man/ib_read_lat.1 make[1]: Leaving directory '/builddir/build/BUILD/perftest-23.10.0' make[1]: Entering directory '/builddir/build/BUILD/perftest-23.10.0' ln -s perftest.1 man/ib_send_lat.1 make[1]: Leaving directory '/builddir/build/BUILD/perftest-23.10.0' make[1]: Entering directory '/builddir/build/BUILD/perftest-23.10.0' ln -s perftest.1 man/ib_atomic_lat.1 make[1]: Leaving directory '/builddir/build/BUILD/perftest-23.10.0' make[1]: Entering directory '/builddir/build/BUILD/perftest-23.10.0' ln -s perftest.1 man/raw_ethernet_bw.1 make[1]: Leaving directory '/builddir/build/BUILD/perftest-23.10.0' make[1]: Entering directory '/builddir/build/BUILD/perftest-23.10.0' ln -s perftest.1 man/raw_ethernet_lat.1 make[1]: Leaving directory '/builddir/build/BUILD/perftest-23.10.0' make[1]: Entering directory '/builddir/build/BUILD/perftest-23.10.0' ln -s perftest.1 man/raw_ethernet_burst_lat.1 make[1]: Leaving directory '/builddir/build/BUILD/perftest-23.10.0' make[1]: Entering directory '/builddir/build/BUILD/perftest-23.10.0' ln -s perftest.1 man/raw_ethernet_fs_rate.1 make[1]: Leaving directory '/builddir/build/BUILD/perftest-23.10.0' make[1]: Entering directory '/builddir/build/BUILD/perftest-23.10.0' gcc -DHAVE_CONFIG_H -I. -g -Wall -D_GNU_SOURCE -O3 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -c -o src/get_clock.o src/get_clock.c make[1]: Leaving directory '/builddir/build/BUILD/perftest-23.10.0' In file included from src/get_clock.c:48: src/get_clock.h:118:2: warning: #warning get_cycles not implemented for this architecture: attempt asm/timex.h [-Wcpp] 118 | #warning get_cycles not implemented for this architecture: attempt asm/timex.h | ^~~~~~~ src/get_clock.h:119:10: fatal error: asm/timex.h: No such file or directory 119 | #include | ^~~~~~~~~~~~~ compilation terminated. make[1]: *** [Makefile:922: src/get_clock.o] Error 1 make[1]: *** Waiting for unfinished jobs.... make[1]: Entering directory '/builddir/build/BUILD/perftest-23.10.0' gcc -DHAVE_CONFIG_H -I. -g -Wall -D_GNU_SOURCE -O3 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -c -o src/send_lat.o src/send_lat.c make[1]: Leaving directory '/builddir/build/BUILD/perftest-23.10.0' In file included from src/send_lat.c:47: src/get_clock.h:118:2: warning: #warning get_cycles not implemented for this architecture: attempt asm/timex.h [-Wcpp] 118 | #warning get_cycles not implemented for this architecture: attempt asm/timex.h | ^~~~~~~ src/get_clock.h:119:10: fatal error: asm/timex.h: No such file or directory 119 | #include | ^~~~~~~~~~~~~ compilation terminated. make[1]: *** [Makefile:922: src/send_lat.o] Error 1 make[1]: Entering directory '/builddir/build/BUILD/perftest-23.10.0' gcc -DHAVE_CONFIG_H -I. -g -Wall -D_GNU_SOURCE -O3 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -c -o src/write_lat.o src/write_lat.c make[1]: Leaving directory '/builddir/build/BUILD/perftest-23.10.0' make[1]: Entering directory '/builddir/build/BUILD/perftest-23.10.0' gcc -DHAVE_CONFIG_H -I. -g -Wall -D_GNU_SOURCE -O3 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -c -o src/read_lat.o src/read_lat.c make[1]: Leaving directory '/builddir/build/BUILD/perftest-23.10.0' In file included from src/write_lat.c:46: src/get_clock.h:118:2: warning: #warning get_cycles not implemented for this architecture: attempt asm/timex.h [-Wcpp] 118 | #warning get_cycles not implemented for this architecture: attempt asm/timex.h | ^~~~~~~ src/get_clock.h:119:10: fatal error: asm/timex.h: No such file or directory 119 | #include | ^~~~~~~~~~~~~ compilation terminated. make[1]: *** [Makefile:922: src/write_lat.o] Error 1 In file included from src/read_lat.c:46: src/get_clock.h:118:2: warning: #warning get_cycles not implemented for this architecture: attempt asm/timex.h [-Wcpp] 118 | #warning get_cycles not implemented for this architecture: attempt asm/timex.h | ^~~~~~~ src/get_clock.h:119:10: fatal error: asm/timex.h: No such file or directory 119 | #include | ^~~~~~~~~~~~~ compilation terminated. make[1]: *** [Makefile:922: src/read_lat.o] Error 1 make[1]: Entering directory '/builddir/build/BUILD/perftest-23.10.0' gcc -DHAVE_CONFIG_H -I. -g -Wall -D_GNU_SOURCE -O3 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -c -o src/atomic_lat.o src/atomic_lat.c make[1]: Leaving directory '/builddir/build/BUILD/perftest-23.10.0' In file included from src/atomic_lat.c:47: src/get_clock.h:118:2: warning: #warning get_cycles not implemented for this architecture: attempt asm/timex.h [-Wcpp] 118 | #warning get_cycles not implemented for this architecture: attempt asm/timex.h | ^~~~~~~ src/get_clock.h:119:10: fatal error: asm/timex.h: No such file or directory 119 | #include | ^~~~~~~~~~~~~ compilation terminated. make[1]: *** [Makefile:922: src/atomic_lat.o] Error 1 make[1]: Entering directory '/builddir/build/BUILD/perftest-23.10.0' gcc -DHAVE_CONFIG_H -I. -g -Wall -D_GNU_SOURCE -O3 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -c -o src/send_bw.o src/send_bw.c make[1]: Leaving directory '/builddir/build/BUILD/perftest-23.10.0' In file included from src/perftest_parameters.h:62, from src/send_bw.c:41: src/get_clock.h:118:2: warning: #warning get_cycles not implemented for this architecture: attempt asm/timex.h [-Wcpp] 118 | #warning get_cycles not implemented for this architecture: attempt asm/timex.h | ^~~~~~~ src/get_clock.h:119:10: fatal error: asm/timex.h: No such file or directory 119 | #include | ^~~~~~~~~~~~~ compilation terminated. make[1]: *** [Makefile:922: src/send_bw.o] Error 1 make[1]: Entering directory '/builddir/build/BUILD/perftest-23.10.0' gcc -DHAVE_CONFIG_H -I. -g -Wall -D_GNU_SOURCE -O3 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -c -o src/host_memory.o src/host_memory.c make[1]: Leaving directory '/builddir/build/BUILD/perftest-23.10.0' In file included from src/perftest_parameters.h:62, from src/host_memory.c:12: src/get_clock.h:118:2: warning: #warning get_cycles not implemented for this architecture: attempt asm/timex.h [-Wcpp] 118 | #warning get_cycles not implemented for this architecture: attempt asm/timex.h | ^~~~~~~ src/get_clock.h:119:10: fatal error: asm/timex.h: No such file or directory 119 | #include | ^~~~~~~~~~~~~ compilation terminated. make[1]: *** [Makefile:922: src/host_memory.o] Error 1 make[1]: Entering directory '/builddir/build/BUILD/perftest-23.10.0' gcc -DHAVE_CONFIG_H -I. -g -Wall -D_GNU_SOURCE -O3 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -c -o src/multicast_resources.o src/multicast_resources.c make[1]: Leaving directory '/builddir/build/BUILD/perftest-23.10.0' In file included from src/multicast_resources.h:63, from src/multicast_resources.c:24: src/get_clock.h:118:2: warning: #warning get_cycles not implemented for this architecture: attempt asm/timex.h [-Wcpp] 118 | #warning get_cycles not implemented for this architecture: attempt asm/timex.h | ^~~~~~~ src/get_clock.h:119:10: fatal error: asm/timex.h: No such file or directory 119 | #include | ^~~~~~~~~~~~~ compilation terminated. make[1]: *** [Makefile:922: src/multicast_resources.o] Error 1 In file included from src/perftest_parameters.h:62, from src/perftest_parameters.c:12: src/get_clock.h:118:2: warning: #warning get_cycles not implemented for this architecture: attempt asm/timex.h [-Wcpp] 118 | #warning get_cycles not implemented for this architecture: attempt asm/timex.h | ^~~~~~~ src/get_clock.h:119:10: fatal error: asm/timex.h: No such file or directory 119 | #include | ^~~~~~~~~~~~~ compilation terminated. make[1]: *** [Makefile:922: src/perftest_parameters.o] Error 1 make[1]: Entering directory '/builddir/build/BUILD/perftest-23.10.0' gcc -DHAVE_CONFIG_H -I. -g -Wall -D_GNU_SOURCE -O3 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -c -o src/perftest_parameters.o src/perftest_parameters.c make[1]: Leaving directory '/builddir/build/BUILD/perftest-23.10.0' make[1]: Entering directory '/builddir/build/BUILD/perftest-23.10.0' gcc -DHAVE_CONFIG_H -I. -g -Wall -D_GNU_SOURCE -O3 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -c -o src/perftest_counters.o src/perftest_counters.c make[1]: Leaving directory '/builddir/build/BUILD/perftest-23.10.0' make[1]: Entering directory '/builddir/build/BUILD/perftest-23.10.0' gcc -DHAVE_CONFIG_H -I. -g -Wall -D_GNU_SOURCE -O3 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -c -o src/mmap_memory.o src/mmap_memory.c make[1]: Leaving directory '/builddir/build/BUILD/perftest-23.10.0' make[1]: Entering directory '/builddir/build/BUILD/perftest-23.10.0' gcc -DHAVE_CONFIG_H -I. -g -Wall -D_GNU_SOURCE -O3 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -c -o src/raw_ethernet_resources.o src/raw_ethernet_resources.c make[1]: Leaving directory '/builddir/build/BUILD/perftest-23.10.0' In file included from src/perftest_parameters.h:62, from src/perftest_counters.c:7: src/get_clock.h:118:2: warning: #warning get_cycles not implemented for this architecture: attempt asm/timex.h [-Wcpp] 118 | #warning get_cycles not implemented for this architecture: attempt asm/timex.h | ^~~~~~~ src/get_clock.h:119:10: fatal error: asm/timex.h: No such file or directory 119 | #include | ^~~~~~~~~~~~~ compilation terminated. make[1]: *** [Makefile:922: src/perftest_counters.o] Error 1 In file included from src/perftest_parameters.h:62, from src/mmap_memory.c:12: src/get_clock.h:118:2: warning: #warning get_cycles not implemented for this architecture: attempt asm/timex.h [-Wcpp] 118 | #warning get_cycles not implemented for this architecture: attempt asm/timex.h | ^~~~~~~ src/get_clock.h:119:10: fatal error: asm/timex.h: No such file or directory 119 | #include | ^~~~~~~~~~~~~ compilation terminated. make[1]: *** [Makefile:922: src/mmap_memory.o] Error 1 In file included from src/perftest_parameters.h:62, from src/raw_ethernet_resources.c:49: src/get_clock.h:118:2: warning: #warning get_cycles not implemented for this architecture: attempt asm/timex.h [-Wcpp] 118 | #warning get_cycles not implemented for this architecture: attempt asm/timex.h | ^~~~~~~ src/get_clock.h:119:10: fatal error: asm/timex.h: No such file or directory 119 | #include | ^~~~~~~~~~~~~ compilation terminated. make[1]: *** [Makefile:922: src/raw_ethernet_resources.o] Error 1 In file included from src/perftest_parameters.h:62, from src/write_bw.c:42: src/get_clock.h:118:2: warning: #warning get_cycles not implemented for this architecture: attempt asm/timex.h [-Wcpp] 118 | #warning get_cycles not implemented for this architecture: attempt asm/timex.h | ^~~~~~~ src/get_clock.h:119:10: fatal error: asm/timex.h: No such file or directory 119 | #include | ^~~~~~~~~~~~~ compilation terminated. make[1]: *** [Makefile:922: src/write_bw.o] Error 1 make[1]: Entering directory '/builddir/build/BUILD/perftest-23.10.0' gcc -DHAVE_CONFIG_H -I. -g -Wall -D_GNU_SOURCE -O3 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -c -o src/write_bw.o src/write_bw.c make[1]: Leaving directory '/builddir/build/BUILD/perftest-23.10.0' make[1]: Entering directory '/builddir/build/BUILD/perftest-23.10.0' gcc -DHAVE_CONFIG_H -I. -g -Wall -D_GNU_SOURCE -O3 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -c -o src/atomic_bw.o src/atomic_bw.c make[1]: Leaving directory '/builddir/build/BUILD/perftest-23.10.0' make[1]: Entering directory '/builddir/build/BUILD/perftest-23.10.0' gcc -DHAVE_CONFIG_H -I. -g -Wall -D_GNU_SOURCE -O3 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -c -o src/raw_ethernet_send_bw.o src/raw_ethernet_send_bw.c make[1]: Leaving directory '/builddir/build/BUILD/perftest-23.10.0' make[1]: Entering directory '/builddir/build/BUILD/perftest-23.10.0' gcc -DHAVE_CONFIG_H -I. -g -Wall -D_GNU_SOURCE -O3 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -c -o src/raw_ethernet_send_lat.o src/raw_ethernet_send_lat.c make[1]: Leaving directory '/builddir/build/BUILD/perftest-23.10.0' make[1]: Entering directory '/builddir/build/BUILD/perftest-23.10.0' gcc -DHAVE_CONFIG_H -I. -g -Wall -D_GNU_SOURCE -O3 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -c -o src/raw_ethernet_send_burst_lat.o src/raw_ethernet_send_burst_lat.c make[1]: Leaving directory '/builddir/build/BUILD/perftest-23.10.0' make[1]: Entering directory '/builddir/build/BUILD/perftest-23.10.0' gcc -DHAVE_CONFIG_H -I. -g -Wall -D_GNU_SOURCE -O3 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -c -o src/raw_ethernet_fs_rate.o src/raw_ethernet_fs_rate.c make[1]: Leaving directory '/builddir/build/BUILD/perftest-23.10.0' In file included from src/perftest_parameters.h:62, from src/atomic_bw.c:41: src/get_clock.h:118:2: warning: #warning get_cycles not implemented for this architecture: attempt asm/timex.h [-Wcpp] 118 | #warning get_cycles not implemented for this architecture: attempt asm/timex.h | ^~~~~~~ src/get_clock.h:119:10: fatal error: asm/timex.h: No such file or directory 119 | #include | ^~~~~~~~~~~~~ compilation terminated. make[1]: *** [Makefile:922: src/atomic_bw.o] Error 1 In file included from src/perftest_parameters.h:62, from src/raw_ethernet_send_bw.c:49: src/get_clock.h:118:2: warning: #warning get_cycles not implemented for this architecture: attempt asm/timex.h [-Wcpp] 118 | #warning get_cycles not implemented for this architecture: attempt asm/timex.h | ^~~~~~~ src/get_clock.h:119:10: fatal error: asm/timex.h: No such file or directory 119 | #include | ^~~~~~~~~~~~~ compilation terminated. make[1]: *** [Makefile:922: src/raw_ethernet_send_bw.o] Error 1 In file included from src/perftest_parameters.h:62, from src/raw_ethernet_send_lat.c:49: src/get_clock.h:118:2: warning: #warning get_cycles not implemented for this architecture: attempt asm/timex.h [-Wcpp] 118 | #warning get_cycles not implemented for this architecture: attempt asm/timex.h | ^~~~~~~ src/get_clock.h:119:10: fatal error: asm/timex.h: No such file or directory 119 | #include | ^~~~~~~~~~~~~ compilation terminated. make[1]: *** [Makefile:922: src/raw_ethernet_send_lat.o] Error 1 In file included from src/perftest_parameters.h:62, from src/raw_ethernet_send_burst_lat.c:49: src/get_clock.h:118:2: warning: #warning get_cycles not implemented for this architecture: attempt asm/timex.h [-Wcpp] 118 | #warning get_cycles not implemented for this architecture: attempt asm/timex.h | ^~~~~~~ src/get_clock.h:119:10: fatal error: asm/timex.h: No such file or directory 119 | #include | ^~~~~~~~~~~~~ compilation terminated. make[1]: *** [Makefile:922: src/raw_ethernet_send_burst_lat.o] Error 1 In file included from src/perftest_parameters.h:62, from src/raw_ethernet_fs_rate.c:49: src/get_clock.h:118:2: warning: #warning get_cycles not implemented for this architecture: attempt asm/timex.h [-Wcpp] 118 | #warning get_cycles not implemented for this architecture: attempt asm/timex.h | ^~~~~~~ src/get_clock.h:119:10: fatal error: asm/timex.h: No such file or directory 119 | #include | ^~~~~~~~~~~~~ compilation terminated. make[1]: *** [Makefile:922: src/raw_ethernet_fs_rate.o] Error 1 make[1]: Entering directory '/builddir/build/BUILD/perftest-23.10.0' gcc -DHAVE_CONFIG_H -I. -g -Wall -D_GNU_SOURCE -O3 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -c -o src/perftest_communication.o src/perftest_communication.c make[1]: Leaving directory '/builddir/build/BUILD/perftest-23.10.0' In file included from src/perftest_parameters.h:62, from src/perftest_resources.h:72, from src/perftest_communication.h:45, from src/perftest_communication.c:17: src/get_clock.h:118:2: warning: #warning get_cycles not implemented for this architecture: attempt asm/timex.h [-Wcpp] 118 | #warning get_cycles not implemented for this architecture: attempt asm/timex.h | ^~~~~~~ src/get_clock.h:119:10: fatal error: asm/timex.h: No such file or directory 119 | #include | ^~~~~~~~~~~~~ compilation terminated. make[1]: *** [Makefile:922: src/perftest_communication.o] Error 1 make[1]: Entering directory '/builddir/build/BUILD/perftest-23.10.0' gcc -DHAVE_CONFIG_H -I. -g -Wall -D_GNU_SOURCE -O3 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -c -o src/read_bw.o src/read_bw.c make[1]: Leaving directory '/builddir/build/BUILD/perftest-23.10.0' In file included from src/perftest_parameters.h:62, from src/perftest_resources.h:72, from src/read_bw.c:41: src/get_clock.h:118:2: warning: #warning get_cycles not implemented for this architecture: attempt asm/timex.h [-Wcpp] 118 | #warning get_cycles not implemented for this architecture: attempt asm/timex.h | ^~~~~~~ src/get_clock.h:119:10: fatal error: asm/timex.h: No such file or directory 119 | #include | ^~~~~~~~~~~~~ compilation terminated. make[1]: *** [Makefile:922: src/read_bw.o] Error 1 make[1]: Entering directory '/builddir/build/BUILD/perftest-23.10.0' gcc -DHAVE_CONFIG_H -I. -g -Wall -D_GNU_SOURCE -O3 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -c -o src/perftest_resources.o src/perftest_resources.c make[1]: Leaving directory '/builddir/build/BUILD/perftest-23.10.0' In file included from src/perftest_parameters.h:62, from src/perftest_resources.h:72, from src/perftest_resources.c:29: src/get_clock.h:118:2: warning: #warning get_cycles not implemented for this architecture: attempt asm/timex.h [-Wcpp] 118 | #warning get_cycles not implemented for this architecture: attempt asm/timex.h | ^~~~~~~ src/get_clock.h:119:10: fatal error: asm/timex.h: No such file or directory 119 | #include | ^~~~~~~~~~~~~ compilation terminated. make[1]: *** [Makefile:922: src/perftest_resources.o] Error 1 make: *** [Makefile:628: all] Error 2 error: Bad exit status from /var/tmp/rpm-tmp.UBHvik (%build) RPM build errors: Bad exit status from /var/tmp/rpm-tmp.UBHvik (%build) Child return code was: 1 EXCEPTION: [Error('Command failed: \n # bash --login -c /usr/bin/rpmbuild -bb --noclean --target loongarch64 --nodeps /builddir/build/SPECS/perftest.spec\n', 1)] Traceback (most recent call last): File "/usr/lib/python3.10/site-packages/mockbuild/trace_decorator.py", line 93, in trace result = func(*args, **kw) File "/usr/lib/python3.10/site-packages/mockbuild/util.py", line 598, 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 --noclean --target loongarch64 --nodeps /builddir/build/SPECS/perftest.spec