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/rust.spec'], chrootPath='/var/lib/mock/f37-build-664921-74202/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=604800uid=991gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/rust.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=1667520000 Wrote: /builddir/build/SRPMS/rust-1.65.0-1.0.riscv64.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/rust.spec'], chrootPath='/var/lib/mock/f37-build-664921-74202/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=604800uid=991gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/rust.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=1667520000 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.wHKzQ7 + umask 022 + cd /builddir/build/BUILD + rm -rf /builddir/build/BUILD/rust-1.64.0-riscv64gc-unknown-linux-gnu + cd /builddir/build/BUILD + rm -rf cargo-1.64.0-riscv64gc-unknown-linux-gnu + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/cargo-1.64.0-riscv64gc-unknown-linux-gnu.tar.xz + STATUS=0 + '[' 0 -ne 0 ']' + cd cargo-1.64.0-riscv64gc-unknown-linux-gnu + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + ./install.sh --prefix=/builddir/build/BUILD/rust-1.64.0-riscv64gc-unknown-linux-gnu --disable-ldconfig install: creating uninstall script at /builddir/build/BUILD/rust-1.64.0-riscv64gc-unknown-linux-gnu/lib/rustlib/uninstall.sh install: installing component 'cargo' cargo installed. + cd /builddir/build/BUILD + rm -rf rustc-1.64.0-riscv64gc-unknown-linux-gnu + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/rustc-1.64.0-riscv64gc-unknown-linux-gnu.tar.xz + STATUS=0 + '[' 0 -ne 0 ']' + cd rustc-1.64.0-riscv64gc-unknown-linux-gnu + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + ./install.sh --prefix=/builddir/build/BUILD/rust-1.64.0-riscv64gc-unknown-linux-gnu --disable-ldconfig install: creating uninstall script at /builddir/build/BUILD/rust-1.64.0-riscv64gc-unknown-linux-gnu/lib/rustlib/uninstall.sh install: installing component 'rustc' rustc installed. + cd /builddir/build/BUILD + rm -rf rust-std-1.64.0-riscv64gc-unknown-linux-gnu + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/rust-std-1.64.0-riscv64gc-unknown-linux-gnu.tar.xz + STATUS=0 + '[' 0 -ne 0 ']' + cd rust-std-1.64.0-riscv64gc-unknown-linux-gnu + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + ./install.sh --prefix=/builddir/build/BUILD/rust-1.64.0-riscv64gc-unknown-linux-gnu --disable-ldconfig install: creating uninstall script at /builddir/build/BUILD/rust-1.64.0-riscv64gc-unknown-linux-gnu/lib/rustlib/uninstall.sh install: installing component 'rust-std-riscv64gc-unknown-linux-gnu' rust std installed. + test -f /builddir/build/BUILD/rust-1.64.0-riscv64gc-unknown-linux-gnu/bin/cargo + test -f /builddir/build/BUILD/rust-1.64.0-riscv64gc-unknown-linux-gnu/bin/rustc + cd /builddir/build/BUILD + rm -rf rustc-1.65.0-src + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/rustc-1.65.0-src.tar.xz + STATUS=0 + '[' 0 -ne 0 ']' + cd rustc-1.65.0-src + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . Patch #1 (0001-Use-lld-provided-by-system-for-wasm.patch): + echo 'Patch #1 (0001-Use-lld-provided-by-system-for-wasm.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file compiler/rustc_target/src/spec/wasm_base.rs Hunk #1 succeeded at 89 (offset -10 lines). Patch #2 (rustc-1.61.0-rust-gdb-substitute-path.patch): + echo 'Patch #2 (rustc-1.61.0-rust-gdb-substitute-path.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file src/etc/rust-gdb Patch #3 (0001-rustc_transmute-fix-big-endian-discriminants.patch): + echo 'Patch #3 (0001-rustc_transmute-fix-big-endian-discriminants.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file compiler/rustc_transmute/src/layout/tree.rs Patch #4 (0001-compiletest-set-the-dylib-path-when-gathering-target.patch): + echo 'Patch #4 (0001-compiletest-set-the-dylib-path-when-gathering-target.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file src/tools/compiletest/src/common.rs patching file src/tools/compiletest/src/runtest.rs patching file src/tools/compiletest/src/util.rs + sed -i.try-python -e '/^try python3 /i try "/usr/bin/python3" "$@"' ./configure + sed -i.rust-src -e s#@BUILDDIR@#/builddir/build/BUILD/rustc-1.65.0-src# ./src/etc/rust-gdb + rm -rf src/llvm-project/ + mkdir -p src/llvm-project/libunwind/ + rm -rf vendor/curl-sys/curl/ + rm -rf vendor/jemalloc-sys/jemalloc/ vendor/tikv-jemalloc-sys/jemalloc/ + rm -rf vendor/libmimalloc-sys/c_src/mimalloc/ + rm -rf vendor/libssh2-sys/libssh2/ + rm -rf vendor/libz-sys/src/zlib/ + rm -rf vendor/libz-sys/src/zlib-ng/ + rm -rf vendor/lzma-sys/xz-5.2/ + rm -rf vendor/openssl-src/openssl/ + sed -i.lzma -e /LZMA_API_STATIC/d src/bootstrap/tool.rs + find vendor -name .cargo-checksum.json -exec sed -i.uncheck -e 's/"files":{[^}]*}/"files":{ }/' '{}' + + find -name '*.rs' -type f -perm /111 -exec chmod -v -x '{}' + mode of './compiler/rustc_codegen_cranelift/scripts/filter_profile.rs' changed from 0755 (rwxr-xr-x) to 0644 (rw-r--r--) mode of './compiler/rustc_codegen_cranelift/y.rs' changed from 0755 (rwxr-xr-x) to 0644 (rw-r--r--) mode of './vendor/unicode-normalization/src/no_std_prelude.rs' changed from 0755 (rwxr-xr-x) to 0644 (rw-r--r--) mode of './vendor/unicode-normalization-0.1.13/src/no_std_prelude.rs' changed from 0755 (rwxr-xr-x) to 0644 (rw-r--r--) mode of './vendor/arbitrary/tests/derive.rs' changed from 0755 (rwxr-xr-x) to 0644 (rw-r--r--) mode of './vendor/gimli-0.26.1/tests/parse_self.rs' changed from 0755 (rwxr-xr-x) to 0644 (rw-r--r--) mode of './vendor/type-map/src/lib.rs' changed from 0755 (rwxr-xr-x) to 0644 (rw-r--r--) mode of './vendor/gimli-0.25.0/tests/parse_self.rs' changed from 0755 (rwxr-xr-x) to 0644 (rw-r--r--) mode of './vendor/colored/tests/ansi_term_compat.rs' changed from 0755 (rwxr-xr-x) to 0644 (rw-r--r--) mode of './vendor/colored/src/color.rs' changed from 0755 (rwxr-xr-x) to 0644 (rw-r--r--) mode of './vendor/colored/src/style.rs' changed from 0755 (rwxr-xr-x) to 0644 (rw-r--r--) mode of './vendor/colored/src/formatters.rs' changed from 0755 (rwxr-xr-x) to 0644 (rw-r--r--) mode of './vendor/colored/src/control.rs' changed from 0755 (rwxr-xr-x) to 0644 (rw-r--r--) mode of './vendor/colored/src/lib.rs' changed from 0755 (rwxr-xr-x) to 0644 (rw-r--r--) mode of './vendor/colored/examples/most_simple.rs' changed from 0755 (rwxr-xr-x) to 0644 (rw-r--r--) mode of './vendor/colored/examples/dynamic_colors.rs' changed from 0755 (rwxr-xr-x) to 0644 (rw-r--r--) mode of './vendor/colored/examples/nested_colors.rs' changed from 0755 (rwxr-xr-x) to 0644 (rw-r--r--) mode of './vendor/colored/examples/control.rs' changed from 0755 (rwxr-xr-x) to 0644 (rw-r--r--) mode of './vendor/gimli/tests/parse_self.rs' changed from 0755 (rwxr-xr-x) to 0644 (rw-r--r--) mode of './src/tools/rust-analyzer/crates/ide/src/folding_ranges.rs' changed from 0755 (rwxr-xr-x) to 0644 (rw-r--r--) + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.Y4lNXC + 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/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 -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/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 -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/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 -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/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 -specs=/usr/lib/rpm/redhat/redhat-package-notes' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd rustc-1.65.0-src + export LIBSSH2_SYS_USE_PKG_CONFIG=1 + LIBSSH2_SYS_USE_PKG_CONFIG=1 ++ /usr/bin/getconf _NPROCESSORS_ONLN + ncpus=4 ++ free -g ++ awk '/^Mem:/{print $2}' + max_cpus=8 + '[' 8 -ge 1 -a 8 -lt 4 ']' + 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/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 -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/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 -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/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 -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/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 -specs=/usr/lib/rpm/redhat/redhat-package-notes' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + '[' '-flto=auto -ffat-lto-objectsx' '!=' x ']' ++ find . -type f -name configure -print + for file in $(find . -type f -name configure -print) + /usr/bin/sed -r --in-place=.backup 's/^char \(\*f\) \(\) = /__attribute__ ((used)) char (*f) () = /g' ./configure + diff -u ./configure.backup ./configure + mv ./configure.backup ./configure + /usr/bin/sed -r --in-place=.backup 's/^char \(\*f\) \(\);/__attribute__ ((used)) char (*f) ();/g' ./configure + diff -u ./configure.backup ./configure + mv ./configure.backup ./configure + /usr/bin/sed -r --in-place=.backup 's/^char \$2 \(\);/__attribute__ ((used)) char \$2 ();/g' ./configure + diff -u ./configure.backup ./configure + mv ./configure.backup ./configure + /usr/bin/sed --in-place=.backup '1{$!N;$!N};$!N;s/int x = 1;\nint y = 0;\nint z;\nint nan;/volatile int x = 1; volatile int y = 0; volatile int z, nan;/;P;D' ./configure + diff -u ./configure.backup ./configure + mv ./configure.backup ./configure + /usr/bin/sed --in-place=.backup 's#^lt_cv_sys_global_symbol_to_cdecl=.*#lt_cv_sys_global_symbol_to_cdecl="sed -n -e '\''s/^T .* \\(.*\\)$/extern int \\1();/p'\'' -e '\''s/^$symcode* .* \\(.*\\)$/extern char \\1;/p'\''"#' ./configure + diff -u ./configure.backup ./configure + mv ./configure.backup ./configure + for file in $(find . -type f -name configure -print) + /usr/bin/sed -r --in-place=.backup 's/^char \(\*f\) \(\) = /__attribute__ ((used)) char (*f) () = /g' ./vendor/libffi-sys/libffi/configure + diff -u ./vendor/libffi-sys/libffi/configure.backup ./vendor/libffi-sys/libffi/configure + mv ./vendor/libffi-sys/libffi/configure.backup ./vendor/libffi-sys/libffi/configure + /usr/bin/sed -r --in-place=.backup 's/^char \(\*f\) \(\);/__attribute__ ((used)) char (*f) ();/g' ./vendor/libffi-sys/libffi/configure + diff -u ./vendor/libffi-sys/libffi/configure.backup ./vendor/libffi-sys/libffi/configure + mv ./vendor/libffi-sys/libffi/configure.backup ./vendor/libffi-sys/libffi/configure + /usr/bin/sed -r --in-place=.backup 's/^char \$2 \(\);/__attribute__ ((used)) char \$2 ();/g' ./vendor/libffi-sys/libffi/configure + diff -u ./vendor/libffi-sys/libffi/configure.backup ./vendor/libffi-sys/libffi/configure --- ./vendor/libffi-sys/libffi/configure.backup 2022-11-02 12:21:41.000000000 -0400 +++ ./vendor/libffi-sys/libffi/configure 2022-11-04 15:28:46.624974817 -0400 @@ -1875,7 +1875,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' ./vendor/libffi-sys/libffi/configure + diff -u ./vendor/libffi-sys/libffi/configure.backup ./vendor/libffi-sys/libffi/configure + mv ./vendor/libffi-sys/libffi/configure.backup ./vendor/libffi-sys/libffi/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'\''"#' ./vendor/libffi-sys/libffi/configure + diff -u ./vendor/libffi-sys/libffi/configure.backup ./vendor/libffi-sys/libffi/configure --- ./vendor/libffi-sys/libffi/configure.backup 2022-11-04 15:28:46.624974817 -0400 +++ ./vendor/libffi-sys/libffi/configure 2022-11-04 15:28:46.794975177 -0400 @@ -7094,7 +7094,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'" @@ -20206,7 +20206,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"`' + for file in $(find . -type f -name configure -print) + /usr/bin/sed -r --in-place=.backup 's/^char \(\*f\) \(\) = /__attribute__ ((used)) char (*f) () = /g' ./vendor/tikv-jemalloc-sys/configure/configure + diff -u ./vendor/tikv-jemalloc-sys/configure/configure.backup ./vendor/tikv-jemalloc-sys/configure/configure + mv ./vendor/tikv-jemalloc-sys/configure/configure.backup ./vendor/tikv-jemalloc-sys/configure/configure + /usr/bin/sed -r --in-place=.backup 's/^char \(\*f\) \(\);/__attribute__ ((used)) char (*f) ();/g' ./vendor/tikv-jemalloc-sys/configure/configure + diff -u ./vendor/tikv-jemalloc-sys/configure/configure.backup ./vendor/tikv-jemalloc-sys/configure/configure + mv ./vendor/tikv-jemalloc-sys/configure/configure.backup ./vendor/tikv-jemalloc-sys/configure/configure + /usr/bin/sed -r --in-place=.backup 's/^char \$2 \(\);/__attribute__ ((used)) char \$2 ();/g' ./vendor/tikv-jemalloc-sys/configure/configure + diff -u ./vendor/tikv-jemalloc-sys/configure/configure.backup ./vendor/tikv-jemalloc-sys/configure/configure --- ./vendor/tikv-jemalloc-sys/configure/configure.backup 2022-11-02 12:21:42.000000000 -0400 +++ ./vendor/tikv-jemalloc-sys/configure/configure 2022-11-04 15:28:46.964975538 -0400 @@ -2140,7 +2140,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' ./vendor/tikv-jemalloc-sys/configure/configure + diff -u ./vendor/tikv-jemalloc-sys/configure/configure.backup ./vendor/tikv-jemalloc-sys/configure/configure + mv ./vendor/tikv-jemalloc-sys/configure/configure.backup ./vendor/tikv-jemalloc-sys/configure/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'\''"#' ./vendor/tikv-jemalloc-sys/configure/configure + diff -u ./vendor/tikv-jemalloc-sys/configure/configure.backup ./vendor/tikv-jemalloc-sys/configure/configure + mv ./vendor/tikv-jemalloc-sys/configure/configure.backup ./vendor/tikv-jemalloc-sys/configure/configure + for file in $(find . -type f -name configure -print) + /usr/bin/sed -r --in-place=.backup 's/^char \(\*f\) \(\) = /__attribute__ ((used)) char (*f) () = /g' ./vendor/jemalloc-sys/configure/configure + diff -u ./vendor/jemalloc-sys/configure/configure.backup ./vendor/jemalloc-sys/configure/configure + mv ./vendor/jemalloc-sys/configure/configure.backup ./vendor/jemalloc-sys/configure/configure + /usr/bin/sed -r --in-place=.backup 's/^char \(\*f\) \(\);/__attribute__ ((used)) char (*f) ();/g' ./vendor/jemalloc-sys/configure/configure + diff -u ./vendor/jemalloc-sys/configure/configure.backup ./vendor/jemalloc-sys/configure/configure + mv ./vendor/jemalloc-sys/configure/configure.backup ./vendor/jemalloc-sys/configure/configure + /usr/bin/sed -r --in-place=.backup 's/^char \$2 \(\);/__attribute__ ((used)) char \$2 ();/g' ./vendor/jemalloc-sys/configure/configure + diff -u ./vendor/jemalloc-sys/configure/configure.backup ./vendor/jemalloc-sys/configure/configure --- ./vendor/jemalloc-sys/configure/configure.backup 2022-11-02 12:21:41.000000000 -0400 +++ ./vendor/jemalloc-sys/configure/configure 2022-11-04 15:28:47.224976089 -0400 @@ -2140,7 +2140,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' ./vendor/jemalloc-sys/configure/configure + diff -u ./vendor/jemalloc-sys/configure/configure.backup ./vendor/jemalloc-sys/configure/configure + mv ./vendor/jemalloc-sys/configure/configure.backup ./vendor/jemalloc-sys/configure/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'\''"#' ./vendor/jemalloc-sys/configure/configure + diff -u ./vendor/jemalloc-sys/configure/configure.backup ./vendor/jemalloc-sys/configure/configure + mv ./vendor/jemalloc-sys/configure/configure.backup ./vendor/jemalloc-sys/configure/configure + '[' 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 ./vendor/libffi-sys/libffi/config.sub + '[' -f /usr/lib/rpm/redhat/config.sub ']' + /usr/bin/rm -f ./vendor/libffi-sys/libffi/config.sub ++ basename ./vendor/libffi-sys/libffi/config.sub + /usr/bin/cp -fv /usr/lib/rpm/redhat/config.sub ./vendor/libffi-sys/libffi/config.sub '/usr/lib/rpm/redhat/config.sub' -> './vendor/libffi-sys/libffi/config.sub' + for i in $(find $(dirname ./configure) -name config.guess -o -name config.sub) ++ basename ./vendor/libffi-sys/libffi/config.guess + '[' -f /usr/lib/rpm/redhat/config.guess ']' + /usr/bin/rm -f ./vendor/libffi-sys/libffi/config.guess ++ basename ./vendor/libffi-sys/libffi/config.guess + /usr/bin/cp -fv /usr/lib/rpm/redhat/config.guess ./vendor/libffi-sys/libffi/config.guess '/usr/lib/rpm/redhat/config.guess' -> './vendor/libffi-sys/libffi/config.guess' + '[' 1 = 1 ']' + '[' x '!=' 'x-Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-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/redhat/redhat-hardened-ld"~' ./vendor/libffi-sys/libffi/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 --disable-option-checking --libdir=/usr/lib --build=riscv64gc-unknown-linux-gnu --host=riscv64gc-unknown-linux-gnu --target=riscv64gc-unknown-linux-gnu --set target.riscv64gc-unknown-linux-gnu.linker=gcc --set target.riscv64gc-unknown-linux-gnu.cc=gcc --set target.riscv64gc-unknown-linux-gnu.cxx=g++ --set target.riscv64gc-unknown-linux-gnu.ar=ar --set target.riscv64gc-unknown-linux-gnu.ranlib=/usr/bin/ranlib --python=/usr/bin/python3 --local-rust-root=/builddir/build/BUILD/rust-1.64.0-riscv64gc-unknown-linux-gnu --set build.rustfmt=/bin/true --llvm-root=/usr --enable-llvm-link-shared --disable-llvm-static-stdcpp --disable-rpath --debuginfo-level=0 --debuginfo-level-std=2 --set rust.codegen-units-std=1 --set build.build-stage=2 --set build.doc-stage=2 --set build.install-stage=2 --set build.test-stage=2 --enable-extended --tools=analysis,cargo,clippy,rls,rust-analyzer,rustfmt,src --enable-vendor --enable-verbose-tests --dist-compression-formats=gz --release-channel=stable '--release-description=Fedora 1.65.0-1.0.riscv64.fc37' configure: processing command line configure: configure: build.build := riscv64gc-unknown-linux-gnu configure: build.host := ['riscv64gc-unknown-linux-gnu'] configure: install.prefix := /usr configure: install.bindir := /usr/bin configure: install.sysconfdir := /etc configure: install.datadir := /usr/share configure: install.libdir := /usr/lib configure: install.localstatedir := /var configure: install.mandir := /usr/share/man configure: install.infodir := /usr/share/info configure: build.target := ['riscv64gc-unknown-linux-gnu'] configure: target.riscv64gc-unknown-linux-gnu.linker := gcc configure: target.riscv64gc-unknown-linux-gnu.cc := gcc configure: target.riscv64gc-unknown-linux-gnu.cxx := g++ configure: target.riscv64gc-unknown-linux-gnu.ar := ar configure: target.riscv64gc-unknown-linux-gnu.ranlib := /usr/bin/ranlib configure: build.rustfmt := /bin/true configure: rust.codegen-units-std := 1 configure: build.build-stage := 2 configure: build.doc-stage := 2 configure: build.install-stage := 2 configure: build.test-stage := 2 configure: build.python := /usr/bin/python3 configure: build.rustc := /builddir/build/BUILD/rust-1.64.0-riscv64gc-un ... configure: build.cargo := /builddir/build/BUILD/rust-1.64.0-riscv64gc-un ... configure: target.riscv64gc-unknown-linux-gnu.llvm-config := /usr/bin/llvm-config ... configure: llvm.link-shared := True configure: llvm.static-libstdcpp := False configure: rust.rpath := False configure: rust.debuginfo-level := 0 configure: rust.debuginfo-level-std := 2 configure: build.extended := True configure: build.tools := ['analysis', 'cargo', 'clippy', 'rls', 'rust-a ... configure: build.vendor := True configure: rust.verbose-tests := True configure: dist.compression-formats := ['gz'] configure: rust.channel := stable configure: rust.description := Fedora 1.65.0-1.0.riscv64.fc37 configure: build.configure-args := ['--build=riscv64-redhat-linux-gnu', '--host=r ... warning: localstatedir will be ignored warning: infodir will be ignored configure: configure: writing `config.toml` in current directory configure: configure: run `python /builddir/build/BUILD/rustc-1.65.0-src/x.py --help` + /usr/bin/python3 ./x.py build -j 4 Building rustbuild Compiling cfg-if v1.0.0 Compiling memchr v2.5.0 Compiling proc-macro2 v1.0.39 Compiling typenum v1.15.0 /builddir/build/BUILD/rust-1.64.0-riscv64gc-unknown-linux-gnu/bin/../lib/librustc_driver-ac972a4e10c98556.so(+0xc3d810)[0x3f8fe3d810] linux-vdso.so.1(__vdso_rt_sigreturn+0x0)[0x3f968eb800] /builddir/build/BUILD/rust-1.64.0-riscv64gc-unknown-linux-gnu/bin/../lib/librustc_driver-ac972a4e10c98556.so(+0x3cea1aa)[0x3f92eea1aa] /builddir/build/BUILD/rust-1.64.0-riscv64gc-unknown-linux-gnu/bin/../lib/librustc_driver-ac972a4e10c98556.so(_RNvCsZJaBwVYvUP_16rustc_query_impl15query_callbacks+0x916c)[0x3f930f0baa] /builddir/build/BUILD/rust-1.64.0-riscv64gc-unknown-linux-gnu/bin/../lib/librustc_driver-ac972a4e10c98556.so(+0x94700a)[0x3f8fb4700a] /builddir/build/BUILD/rust-1.64.0-riscv64gc-unknown-linux-gnu/bin/../lib/librustc_driver-ac972a4e10c98556.so(+0xd57d14)[0x3f8ff57d14] /builddir/build/BUILD/rust-1.64.0-riscv64gc-unknown-linux-gnu/bin/../lib/librustc_driver-ac972a4e10c98556.so(+0xcce018)[0x3f8fece018] /builddir/build/BUILD/rust-1.64.0-riscv64gc-unknown-linux-gnu/bin/../lib/librustc_driver-ac972a4e10c98556.so(+0xcccb48)[0x3f8feccb48] /builddir/build/BUILD/rust-1.64.0-riscv64gc-unknown-linux-gnu/bin/../lib/librustc_driver-ac972a4e10c98556.so(_RNvMs0_NtCs2PGdSkTarcu_15rustc_interface7queriesNtB5_7Queries11global_ctxt+0x300)[0x3f8ff46794] /builddir/build/BUILD/rust-1.64.0-riscv64gc-unknown-linux-gnu/bin/../lib/librustc_driver-ac972a4e10c98556.so(+0xbecada)[0x3f8fdecada] /builddir/build/BUILD/rust-1.64.0-riscv64gc-unknown-linux-gnu/bin/../lib/librustc_driver-ac972a4e10c98556.so(+0xc387a6)[0x3f8fe387a6] /builddir/build/BUILD/rust-1.64.0-riscv64gc-unknown-linux-gnu/bin/../lib/librustc_driver-ac972a4e10c98556.so(+0xbed8d4)[0x3f8fded8d4] /builddir/build/BUILD/rust-1.64.0-riscv64gc-unknown-linux-gnu/bin/../lib/librustc_driver-ac972a4e10c98556.so(+0xc0a996)[0x3f8fe0a996] /builddir/build/BUILD/rust-1.64.0-riscv64gc-unknown-linux-gnu/bin/../lib/librustc_driver-ac972a4e10c98556.so(+0xc04666)[0x3f8fe04666] /builddir/build/BUILD/rust-1.64.0-riscv64gc-unknown-linux-gnu/bin/../lib/librustc_driver-ac972a4e10c98556.so(+0xc3d810)[0x3f7ca3d810] linux-vdso.so.1(__vdso_rt_sigreturn+0x0)[0x3f83599800] /builddir/build/BUILD/rust-1.64.0-riscv64gc-unknown-linux-gnu/bin/../lib/librustc_driver-ac972a4e10c98556.so(+0x3cea1aa)[0x3f7faea1aa] /builddir/build/BUILD/rust-1.64.0-riscv64gc-unknown-linux-gnu/bin/../lib/librustc_driver-ac972a4e10c98556.so(_RNvCsZJaBwVYvUP_16rustc_query_impl15query_callbacks+0x916c)[0x3f7fcf0baa] /builddir/build/BUILD/rust-1.64.0-riscv64gc-unknown-linux-gnu/bin/../lib/librustc_driver-ac972a4e10c98556.so(+0x94700a)[0x3f7c74700a] /builddir/build/BUILD/rust-1.64.0-riscv64gc-unknown-linux-gnu/bin/../lib/librustc_driver-ac972a4e10c98556.so(+0xd57d14)[0x3f7cb57d14] /builddir/build/BUILD/rust-1.64.0-riscv64gc-unknown-linux-gnu/bin/../lib/librustc_driver-ac972a4e10c98556.so(+0xcce018)[0x3f7cace018] /builddir/build/BUILD/rust-1.64.0-riscv64gc-unknown-linux-gnu/bin/../lib/librustc_driver-ac972a4e10c98556.so(+0xcccb48)[0x3f7caccb48] /builddir/build/BUILD/rust-1.64.0-riscv64gc-unknown-linux-gnu/bin/../lib/librustc_driver-ac972a4e10c98556.so(_RNvMs0_NtCs2PGdSkTarcu_15rustc_interface7queriesNtB5_7Queries11global_ctxt+0x300)[0x3f7cb46794] /builddir/build/BUILD/rust-1.64.0-riscv64gc-unknown-linux-gnu/bin/../lib/librustc_driver-ac972a4e10c98556.so(+0xbecada)[0x3f7c9ecada] /builddir/build/BUILD/rust-1.64.0-riscv64gc-unknown-linux-gnu/bin/../lib/librustc_driver-ac972a4e10c98556.so(+0xc387a6)[0x3f7ca387a6] /builddir/build/BUILD/rust-1.64.0-riscv64gc-unknown-linux-gnu/bin/../lib/librustc_driver-ac972a4e10c98556.so(+0xbed8d4)[0x3f7c9ed8d4] /builddir/build/BUILD/rust-1.64.0-riscv64gc-unknown-linux-gnu/bin/../lib/librustc_driver-ac972a4e10c98556.so(+0xc0a996)[0x3f7ca0a996] /builddir/build/BUILD/rust-1.64.0-riscv64gc-unknown-linux-gnu/bin/../lib/librustc_driver-ac972a4e10c98556.so(+0xc3d810)[0x3fa103d810] linux-vdso.so.1(__vdso_rt_sigreturn+0x0)[0x3fa7cc7800] /builddir/build/BUILD/rust-1.64.0-riscv64gc-unknown-linux-gnu/bin/../lib/librustc_driver-ac972a4e10c98556.so(+0xc04666)[0x3f7ca04666] /builddir/build/BUILD/rust-1.64.0-riscv64gc-unknown-linux-gnu/bin/../lib/librustc_driver-ac972a4e10c98556.so(+0xc06da4)[0x3f7ca06da4] /builddir/build/BUILD/rust-1.64.0-riscv64gc-unknown-linux-gnu/bin/../lib/librustc_driver-ac972a4e10c98556.so(+0x3cea1aa)[0x3fa40ea1aa] /builddir/build/BUILD/rust-1.64.0-riscv64gc-unknown-linux-gnu/bin/../lib/librustc_driver-ac972a4e10c98556.so(+0xc0b6da)[0x3f7ca0b6da] /builddir/build/BUILD/rust-1.64.0-riscv64gc-unknown-linux-gnu/bin/../lib/libstd-f41102d4d21d2c30.so(rust_metadata_std_ac92b06979af539e+0xa0542)[0x3f7bd52542] /builddir/build/BUILD/rust-1.64.0-riscv64gc-unknown-linux-gnu/bin/../lib/librustc_driver-ac972a4e10c98556.so(_RNvCsZJaBwVYvUP_16rustc_query_impl15query_callbacks+0x916c)[0x3fa42f0baa] /lib64/lp64d/libc.so.6(+0x6f864)[0x3f7bbd1864] /lib64/lp64d/libc.so.6(+0xbd40a)[0x3f7bc1f40a] /builddir/build/BUILD/rust-1.64.0-riscv64gc-unknown-linux-gnu/bin/../lib/librustc_driver-ac972a4e10c98556.so(+0x94700a)[0x3fa0d4700a] /builddir/build/BUILD/rust-1.64.0-riscv64gc-unknown-linux-gnu/bin/../lib/librustc_driver-ac972a4e10c98556.so(+0xd57d14)[0x3fa1157d14] /builddir/build/BUILD/rust-1.64.0-riscv64gc-unknown-linux-gnu/bin/../lib/librustc_driver-ac972a4e10c98556.so(+0xcce018)[0x3fa10ce018] /builddir/build/BUILD/rust-1.64.0-riscv64gc-unknown-linux-gnu/bin/../lib/librustc_driver-ac972a4e10c98556.so(+0xcccb48)[0x3fa10ccb48] /builddir/build/BUILD/rust-1.64.0-riscv64gc-unknown-linux-gnu/bin/../lib/librustc_driver-ac972a4e10c98556.so(_RNvMs0_NtCs2PGdSkTarcu_15rustc_interface7queriesNtB5_7Queries11global_ctxt+0x300)[0x3fa1146794] /builddir/build/BUILD/rust-1.64.0-riscv64gc-unknown-linux-gnu/bin/../lib/librustc_driver-ac972a4e10c98556.so(+0xbecada)[0x3fa0fecada] /builddir/build/BUILD/rust-1.64.0-riscv64gc-unknown-linux-gnu/bin/../lib/librustc_driver-ac972a4e10c98556.so(+0xc387a6)[0x3fa10387a6] /builddir/build/BUILD/rust-1.64.0-riscv64gc-unknown-linux-gnu/bin/../lib/librustc_driver-ac972a4e10c98556.so(+0xbed8d4)[0x3fa0fed8d4] /builddir/build/BUILD/rust-1.64.0-riscv64gc-unknown-linux-gnu/bin/../lib/librustc_driver-ac972a4e10c98556.so(+0xc0a996)[0x3fa100a996] /builddir/build/BUILD/rust-1.64.0-riscv64gc-unknown-linux-gnu/bin/../lib/librustc_driver-ac972a4e10c98556.so(+0xc04666)[0x3fa1004666] /builddir/build/BUILD/rust-1.64.0-riscv64gc-unknown-linux-gnu/bin/../lib/librustc_driver-ac972a4e10c98556.so(+0xc06da4)[0x3fa1006da4] /builddir/build/BUILD/rust-1.64.0-riscv64gc-unknown-linux-gnu/bin/../lib/librustc_driver-ac972a4e10c98556.so(+0xc0b6da)[0x3fa100b6da] /builddir/build/BUILD/rust-1.64.0-riscv64gc-unknown-linux-gnu/bin/../lib/libstd-f41102d4d21d2c30.so(rust_metadata_std_ac92b06979af539e+0xa0542)[0x3fa7c15542] /lib64/lp64d/libc.so.6(+0x6f864)[0x3fa031f864] /lib64/lp64d/libc.so.6(+0xbd40a)[0x3fa036d40a] /builddir/build/BUILD/rust-1.64.0-riscv64gc-unknown-linux-gnu/bin/../lib/librustc_driver-ac972a4e10c98556.so(+0xc06da4)[0x3f8fe06da4] /builddir/build/BUILD/rust-1.64.0-riscv64gc-unknown-linux-gnu/bin/../lib/librustc_driver-ac972a4e10c98556.so(+0xc0b6da)[0x3f8fe0b6da] /builddir/build/BUILD/rust-1.64.0-riscv64gc-unknown-linux-gnu/bin/../lib/libstd-f41102d4d21d2c30.so(rust_metadata_std_ac92b06979af539e+0xa0542)[0x3f8f152542] /lib64/lp64d/libc.so.6(+0x6f864)[0x3f8efd1864] /lib64/lp64d/libc.so.6(+0xbd40a)[0x3f8f01f40a] /builddir/build/BUILD/rust-1.64.0-riscv64gc-unknown-linux-gnu/bin/../lib/librustc_driver-ac972a4e10c98556.so(+0xc3d810)[0x3fb0c3d810] linux-vdso.so.1(__vdso_rt_sigreturn+0x0)[0x3fb78aa800] /builddir/build/BUILD/rust-1.64.0-riscv64gc-unknown-linux-gnu/bin/../lib/librustc_driver-ac972a4e10c98556.so(+0x3cea1aa)[0x3fb3cea1aa] /builddir/build/BUILD/rust-1.64.0-riscv64gc-unknown-linux-gnu/bin/../lib/librustc_driver-ac972a4e10c98556.so(_RNvCsZJaBwVYvUP_16rustc_query_impl15query_callbacks+0x916c)[0x3fb3ef0baa] /builddir/build/BUILD/rust-1.64.0-riscv64gc-unknown-linux-gnu/bin/../lib/librustc_driver-ac972a4e10c98556.so(+0x94700a)[0x3fb094700a] /builddir/build/BUILD/rust-1.64.0-riscv64gc-unknown-linux-gnu/bin/../lib/librustc_driver-ac972a4e10c98556.so(+0xd57d14)[0x3fb0d57d14] /builddir/build/BUILD/rust-1.64.0-riscv64gc-unknown-linux-gnu/bin/../lib/librustc_driver-ac972a4e10c98556.so(+0xcce018)[0x3fb0cce018] /builddir/build/BUILD/rust-1.64.0-riscv64gc-unknown-linux-gnu/bin/../lib/librustc_driver-ac972a4e10c98556.so(+0xcccb48)[0x3fb0cccb48] /builddir/build/BUILD/rust-1.64.0-riscv64gc-unknown-linux-gnu/bin/../lib/librustc_driver-ac972a4e10c98556.so(_RNvMs0_NtCs2PGdSkTarcu_15rustc_interface7queriesNtB5_7Queries11global_ctxt+0x300)[0x3fb0d46794] /builddir/build/BUILD/rust-1.64.0-riscv64gc-unknown-linux-gnu/bin/../lib/librustc_driver-ac972a4e10c98556.so(+0xbecada)[0x3fb0becada] /builddir/build/BUILD/rust-1.64.0-riscv64gc-unknown-linux-gnu/bin/../lib/librustc_driver-ac972a4e10c98556.so(+0xc387a6)[0x3fb0c387a6] /builddir/build/BUILD/rust-1.64.0-riscv64gc-unknown-linux-gnu/bin/../lib/librustc_driver-ac972a4e10c98556.so(+0xbed8d4)[0x3fb0bed8d4] /builddir/build/BUILD/rust-1.64.0-riscv64gc-unknown-linux-gnu/bin/../lib/librustc_driver-ac972a4e10c98556.so(+0xc0a996)[0x3fb0c0a996] /builddir/build/BUILD/rust-1.64.0-riscv64gc-unknown-linux-gnu/bin/../lib/librustc_driver-ac972a4e10c98556.so(+0xc04666)[0x3fb0c04666] /builddir/build/BUILD/rust-1.64.0-riscv64gc-unknown-linux-gnu/bin/../lib/librustc_driver-ac972a4e10c98556.so(+0xc06da4)[0x3fb0c06da4] /builddir/build/BUILD/rust-1.64.0-riscv64gc-unknown-linux-gnu/bin/../lib/librustc_driver-ac972a4e10c98556.so(+0xc0b6da)[0x3fb0c0b6da] /builddir/build/BUILD/rust-1.64.0-riscv64gc-unknown-linux-gnu/bin/../lib/libstd-f41102d4d21d2c30.so(rust_metadata_std_ac92b06979af539e+0xa0542)[0x3fb77f8542] /lib64/lp64d/libc.so.6(+0x6f864)[0x3faff1f864] /lib64/lp64d/libc.so.6(+0xbd40a)[0x3faff6d40a] error: could not compile `cfg-if` Caused by: process didn't exit successfully: `/builddir/build/BUILD/rust-1.64.0-riscv64gc-unknown-linux-gnu/bin/rustc --crate-name cfg_if --edition=2018 /builddir/build/BUILD/rustc-1.65.0-src/vendor/cfg-if/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C embed-bitcode=no -C debuginfo=0 -C metadata=dd8bb26fa642d25f -C extra-filename=-dd8bb26fa642d25f --out-dir /builddir/build/BUILD/rustc-1.65.0-src/build/bootstrap/debug/deps -L dependency=/builddir/build/BUILD/rustc-1.65.0-src/build/bootstrap/debug/deps --cap-lints allow -Wrust_2018_idioms -Wunused_lifetimes -Wsemicolon_in_expressions_from_macros -Dwarnings` (signal: 11, SIGSEGV: invalid memory reference) warning: build failed, waiting for other jobs to finish... error: could not compile `memchr` Caused by: process didn't exit successfully: `/builddir/build/BUILD/rust-1.64.0-riscv64gc-unknown-linux-gnu/bin/rustc --crate-name build_script_build --edition=2018 /builddir/build/BUILD/rustc-1.65.0-src/vendor/memchr/build.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type bin --emit=dep-info,link -C embed-bitcode=no -C debuginfo=0 --cfg 'feature="default"' --cfg 'feature="std"' -C metadata=5ea1e9501d496500 -C extra-filename=-5ea1e9501d496500 --out-dir /builddir/build/BUILD/rustc-1.65.0-src/build/bootstrap/debug/build/memchr-5ea1e9501d496500 -L dependency=/builddir/build/BUILD/rustc-1.65.0-src/build/bootstrap/debug/deps --cap-lints allow -Wrust_2018_idioms -Wunused_lifetimes -Wsemicolon_in_expressions_from_macros -Dwarnings` (signal: 11, SIGSEGV: invalid memory reference) error: could not compile `proc-macro2` Caused by: process didn't exit successfully: `/builddir/build/BUILD/rust-1.64.0-riscv64gc-unknown-linux-gnu/bin/rustc --crate-name build_script_build --edition=2018 /builddir/build/BUILD/rustc-1.65.0-src/vendor/proc-macro2-1.0.39/build.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type bin --emit=dep-info,link -C embed-bitcode=no -C debuginfo=0 --cfg 'feature="default"' --cfg 'feature="proc-macro"' -C metadata=e84fcb0f980d2f5b -C extra-filename=-e84fcb0f980d2f5b --out-dir /builddir/build/BUILD/rustc-1.65.0-src/build/bootstrap/debug/build/proc-macro2-e84fcb0f980d2f5b -L dependency=/builddir/build/BUILD/rustc-1.65.0-src/build/bootstrap/debug/deps --cap-lints allow -Wrust_2018_idioms -Wunused_lifetimes -Wsemicolon_in_expressions_from_macros -Dwarnings` (signal: 11, SIGSEGV: invalid memory reference) error: could not compile `typenum` Caused by: process didn't exit successfully: `/builddir/build/BUILD/rust-1.64.0-riscv64gc-unknown-linux-gnu/bin/rustc --crate-name build_script_main --edition=2018 /builddir/build/BUILD/rustc-1.65.0-src/vendor/typenum/build/main.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type bin --emit=dep-info,link -C embed-bitcode=no -C debuginfo=0 -C metadata=e613887feb883b84 -C extra-filename=-e613887feb883b84 --out-dir /builddir/build/BUILD/rustc-1.65.0-src/build/bootstrap/debug/build/typenum-e613887feb883b84 -L dependency=/builddir/build/BUILD/rustc-1.65.0-src/build/bootstrap/debug/deps --cap-lints allow -Wrust_2018_idioms -Wunused_lifetimes -Wsemicolon_in_expressions_from_macros -Dwarnings` (signal: 11, SIGSEGV: invalid memory reference) failed to run: /builddir/build/BUILD/rust-1.64.0-riscv64gc-unknown-linux-gnu/bin/cargo build --manifest-path /builddir/build/BUILD/rustc-1.65.0-src/src/bootstrap/Cargo.toml --frozen Build completed unsuccessfully in 0:00:05 error: Bad exit status from /var/tmp/rpm-tmp.Y4lNXC (%build) Bad exit status from /var/tmp/rpm-tmp.Y4lNXC (%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/rust.spec