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/rust.spec'], chrootPath='/var/lib/mock/dist-an8.9-build-383799-71925/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=976gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target loongarch64 --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: loongarch64 Building for target loongarch64 Wrote: /builddir/build/SRPMS/rust-1.72.1-1.0.1.an8.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/rust.spec'], chrootPath='/var/lib/mock/dist-an8.9-build-383799-71925/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=976gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target loongarch64 --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: loongarch64 Building for target loongarch64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.r8YDtU + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf wasi-libc-7018e24d8fe248596819d2e884761676f3542a04 + /usr/bin/gzip -dc /builddir/build/SOURCES/wasi-libc-7018e24d8fe248596819d2e884761676f3542a04.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd wasi-libc-7018e24d8fe248596819d2e884761676f3542a04 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + cd /builddir/build/BUILD + rm -rf rustc-1.72.1-src + /usr/bin/xz -dc /builddir/build/SOURCES/rustc-1.72.1-src.tar.xz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd rustc-1.72.1-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 -p1 --fuzz=0 patching file compiler/rustc_target/src/spec/wasm_base.rs Patch #2 (rustc-1.70.0-rust-gdb-substitute-path.patch): + echo 'Patch #2 (rustc-1.70.0-rust-gdb-substitute-path.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file src/etc/rust-gdb Patch #3 (0001-Let-environment-variables-override-some-default-CPUs.patch): + echo 'Patch #3 (0001-Let-environment-variables-override-some-default-CPUs.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file compiler/rustc_target/src/spec/powerpc64le_unknown_linux_gnu.rs patching file compiler/rustc_target/src/spec/s390x_unknown_linux_gnu.rs patching file compiler/rustc_target/src/spec/x86_64_unknown_linux_gnu.rs Patch #4 (0001-Allow-using-external-builds-of-the-compiler-rt-profi.patch): + echo 'Patch #4 (0001-Allow-using-external-builds-of-the-compiler-rt-profi.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file config.example.toml patching file library/profiler_builtins/build.rs patching file src/bootstrap/compile.rs patching file src/bootstrap/config.rs Patch #5 (0001-Don-t-fail-early-if-try_run-returns-an-error.patch): + echo 'Patch #5 (0001-Don-t-fail-early-if-try_run-returns-an-error.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file src/bootstrap/download.rs patching file src/bootstrap/run.rs patching file src/bootstrap/test.rs Patch #6 (0001-Skip-ExpandYamlAnchors-when-the-config-is-missing.patch): + echo 'Patch #6 (0001-Skip-ExpandYamlAnchors-when-the-config-is-missing.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file src/bootstrap/test.rs Hunk #1 succeeded at 1147 (offset -3 lines). Patch #7 (0001-llvm-wrapper-adapt-for-LLVM-API-change.patch): + echo 'Patch #7 (0001-llvm-wrapper-adapt-for-LLVM-API-change.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file compiler/rustc_llvm/llvm-wrapper/PassWrapper.cpp Patch #8 (0002-llvm-wrapper-update-for-LLVM-API-change.patch): + echo 'Patch #8 (0002-llvm-wrapper-update-for-LLVM-API-change.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file compiler/rustc_llvm/llvm-wrapper/SymbolWrapper.cpp Patch #100 (rustc-1.72.0-disable-libssh2.patch): + echo 'Patch #100 (rustc-1.72.0-disable-libssh2.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file src/tools/cargo/Cargo.lock patching file src/tools/cargo/Cargo.toml Patch #103 (0002-rustc-Convert-to-ABI-v0.patch): + echo 'Patch #103 (0002-rustc-Convert-to-ABI-v0.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file compiler/rustc_llvm/build.rs patching file compiler/rustc_target/src/abi/call/loongarch.rs patching file compiler/rustc_target/src/spec/loongarch64_unknown_linux_gnu.rs + sed -i.try-python -e '/^try python3 /i try "/usr/libexec/platform-python" "$@"' ./configure + sed -i.rust-src -e s#@BUILDDIR@#/builddir/build/BUILD/rustc-1.72.1-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/libffi-sys/libffi/ + rm -rf vendor/libmimalloc-sys/c_src/mimalloc/ + rm -rf vendor/libssh2-sys/libssh2/ + rm -rf vendor/libz-sys/src/zlib/ vendor/libz-sys/src/zlib-ng/ + rm -rf vendor/lzma-sys-0.1.17/xz-5.2/ vendor/lzma-sys/xz-5.2/ + rm -rf vendor/openssl-src/openssl/ + rm -rf vendor/libssh2-sys/ + 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 './vendor/equivalent/src/lib.rs' changed from 0755 (rwxr-xr-x) to 0644 (rw-r--r--) mode of './vendor/criterion/benches/benchmarks/measurement_overhead.rs' changed from 0755 (rwxr-xr-x) to 0644 (rw-r--r--) mode of './vendor/criterion/benches/benchmarks/async_measurement_overhead.rs' changed from 0755 (rwxr-xr-x) to 0644 (rw-r--r--) mode of './vendor/criterion/benches/benchmarks/mod.rs' changed from 0755 (rwxr-xr-x) to 0644 (rw-r--r--) mode of './vendor/criterion/benches/benchmarks/sampling_mode.rs' changed from 0755 (rwxr-xr-x) to 0644 (rw-r--r--) mode of './vendor/criterion/benches/benchmarks/iter_with_large_drop.rs' changed from 0755 (rwxr-xr-x) to 0644 (rw-r--r--) mode of './vendor/criterion/benches/benchmarks/iter_with_large_setup.rs' changed from 0755 (rwxr-xr-x) to 0644 (rw-r--r--) mode of './vendor/criterion/benches/benchmarks/iter_with_setup.rs' changed from 0755 (rwxr-xr-x) to 0644 (rw-r--r--) mode of './vendor/criterion/benches/benchmarks/compare_functions.rs' changed from 0755 (rwxr-xr-x) to 0644 (rw-r--r--) mode of './vendor/criterion/benches/benchmarks/special_characters.rs' changed from 0755 (rwxr-xr-x) to 0644 (rw-r--r--) mode of './vendor/criterion/benches/benchmarks/external_process.rs' changed from 0755 (rwxr-xr-x) to 0644 (rw-r--r--) mode of './vendor/criterion/benches/benchmarks/with_inputs.rs' changed from 0755 (rwxr-xr-x) to 0644 (rw-r--r--) mode of './vendor/criterion/benches/benchmarks/custom_measurement.rs' changed from 0755 (rwxr-xr-x) to 0644 (rw-r--r--) mode of './vendor/criterion/benches/bench_main.rs' changed from 0755 (rwxr-xr-x) to 0644 (rw-r--r--) mode of './vendor/criterion/tests/criterion_tests.rs' changed from 0755 (rwxr-xr-x) to 0644 (rw-r--r--) mode of './vendor/criterion/src/plot/plotters_backend/mod.rs' changed from 0755 (rwxr-xr-x) to 0644 (rw-r--r--) mode of './vendor/criterion/src/plot/plotters_backend/pdf.rs' changed from 0755 (rwxr-xr-x) to 0644 (rw-r--r--) mode of './vendor/criterion/src/plot/plotters_backend/regression.rs' changed from 0755 (rwxr-xr-x) to 0644 (rw-r--r--) mode of './vendor/criterion/src/plot/plotters_backend/iteration_times.rs' changed from 0755 (rwxr-xr-x) to 0644 (rw-r--r--) mode of './vendor/criterion/src/plot/plotters_backend/distributions.rs' changed from 0755 (rwxr-xr-x) to 0644 (rw-r--r--) mode of './vendor/criterion/src/plot/plotters_backend/t_test.rs' changed from 0755 (rwxr-xr-x) to 0644 (rw-r--r--) mode of './vendor/criterion/src/plot/plotters_backend/summary.rs' changed from 0755 (rwxr-xr-x) to 0644 (rw-r--r--) mode of './vendor/criterion/src/plot/gnuplot_backend/mod.rs' changed from 0755 (rwxr-xr-x) to 0644 (rw-r--r--) mode of './vendor/criterion/src/plot/gnuplot_backend/pdf.rs' changed from 0755 (rwxr-xr-x) to 0644 (rw-r--r--) mode of './vendor/criterion/src/plot/gnuplot_backend/regression.rs' changed from 0755 (rwxr-xr-x) to 0644 (rw-r--r--) mode of './vendor/criterion/src/plot/gnuplot_backend/iteration_times.rs' changed from 0755 (rwxr-xr-x) to 0644 (rw-r--r--) mode of './vendor/criterion/src/plot/gnuplot_backend/distributions.rs' changed from 0755 (rwxr-xr-x) to 0644 (rw-r--r--) mode of './vendor/criterion/src/plot/gnuplot_backend/t_test.rs' changed from 0755 (rwxr-xr-x) to 0644 (rw-r--r--) mode of './vendor/criterion/src/plot/gnuplot_backend/summary.rs' changed from 0755 (rwxr-xr-x) to 0644 (rw-r--r--) mode of './vendor/criterion/src/plot/mod.rs' changed from 0755 (rwxr-xr-x) to 0644 (rw-r--r--) mode of './vendor/criterion/src/html/mod.rs' changed from 0755 (rwxr-xr-x) to 0644 (rw-r--r--) mode of './vendor/criterion/src/analysis/mod.rs' changed from 0755 (rwxr-xr-x) to 0644 (rw-r--r--) mode of './vendor/criterion/src/analysis/compare.rs' changed from 0755 (rwxr-xr-x) to 0644 (rw-r--r--) mode of './vendor/criterion/src/stats/bivariate/mod.rs' changed from 0755 (rwxr-xr-x) to 0644 (rw-r--r--) mode of './vendor/criterion/src/stats/bivariate/regression.rs' changed from 0755 (rwxr-xr-x) to 0644 (rw-r--r--) mode of './vendor/criterion/src/stats/bivariate/bootstrap.rs' changed from 0755 (rwxr-xr-x) to 0644 (rw-r--r--) mode of './vendor/criterion/src/stats/bivariate/resamples.rs' changed from 0755 (rwxr-xr-x) to 0644 (rw-r--r--) mode of './vendor/criterion/src/stats/univariate/kde/mod.rs' changed from 0755 (rwxr-xr-x) to 0644 (rw-r--r--) mode of './vendor/criterion/src/stats/univariate/kde/kernel.rs' changed from 0755 (rwxr-xr-x) to 0644 (rw-r--r--) mode of './vendor/criterion/src/stats/univariate/outliers/mod.rs' changed from 0755 (rwxr-xr-x) to 0644 (rw-r--r--) mode of './vendor/criterion/src/stats/univariate/outliers/tukey.rs' changed from 0755 (rwxr-xr-x) to 0644 (rw-r--r--) mode of './vendor/criterion/src/stats/univariate/mixed.rs' changed from 0755 (rwxr-xr-x) to 0644 (rw-r--r--) mode of './vendor/criterion/src/stats/univariate/mod.rs' changed from 0755 (rwxr-xr-x) to 0644 (rw-r--r--) mode of './vendor/criterion/src/stats/univariate/sample.rs' changed from 0755 (rwxr-xr-x) to 0644 (rw-r--r--) mode of './vendor/criterion/src/stats/univariate/bootstrap.rs' changed from 0755 (rwxr-xr-x) to 0644 (rw-r--r--) mode of './vendor/criterion/src/stats/univariate/percentiles.rs' changed from 0755 (rwxr-xr-x) to 0644 (rw-r--r--) mode of './vendor/criterion/src/stats/univariate/resamples.rs' changed from 0755 (rwxr-xr-x) to 0644 (rw-r--r--) mode of './vendor/criterion/src/stats/mod.rs' changed from 0755 (rwxr-xr-x) to 0644 (rw-r--r--) mode of './vendor/criterion/src/stats/tuple.rs' changed from 0755 (rwxr-xr-x) to 0644 (rw-r--r--) mode of './vendor/criterion/src/stats/rand_util.rs' changed from 0755 (rwxr-xr-x) to 0644 (rw-r--r--) mode of './vendor/criterion/src/stats/float.rs' changed from 0755 (rwxr-xr-x) to 0644 (rw-r--r--) mode of './vendor/criterion/src/stats/test.rs' changed from 0755 (rwxr-xr-x) to 0644 (rw-r--r--) mode of './vendor/criterion/src/lib.rs' changed from 0755 (rwxr-xr-x) to 0644 (rw-r--r--) mode of './vendor/criterion/src/kde.rs' changed from 0755 (rwxr-xr-x) to 0644 (rw-r--r--) mode of './vendor/criterion/src/routine.rs' changed from 0755 (rwxr-xr-x) to 0644 (rw-r--r--) mode of './vendor/criterion/src/estimate.rs' changed from 0755 (rwxr-xr-x) to 0644 (rw-r--r--) mode of './vendor/criterion/src/macros_private.rs' changed from 0755 (rwxr-xr-x) to 0644 (rw-r--r--) mode of './vendor/criterion/src/benchmark.rs' changed from 0755 (rwxr-xr-x) to 0644 (rw-r--r--) mode of './vendor/criterion/src/connection.rs' changed from 0755 (rwxr-xr-x) to 0644 (rw-r--r--) mode of './vendor/criterion/src/benchmark_group.rs' changed from 0755 (rwxr-xr-x) to 0644 (rw-r--r--) mode of './vendor/criterion/src/bencher.rs' changed from 0755 (rwxr-xr-x) to 0644 (rw-r--r--) mode of './vendor/criterion/src/profiler.rs' changed from 0755 (rwxr-xr-x) to 0644 (rw-r--r--) mode of './vendor/criterion/src/error.rs' changed from 0755 (rwxr-xr-x) to 0644 (rw-r--r--) mode of './vendor/criterion/src/async_executor.rs' changed from 0755 (rwxr-xr-x) to 0644 (rw-r--r--) mode of './vendor/criterion/src/fs.rs' changed from 0755 (rwxr-xr-x) to 0644 (rw-r--r--) mode of './vendor/criterion/src/macros.rs' changed from 0755 (rwxr-xr-x) to 0644 (rw-r--r--) mode of './vendor/criterion/src/format.rs' changed from 0755 (rwxr-xr-x) to 0644 (rw-r--r--) mode of './vendor/criterion/src/measurement.rs' changed from 0755 (rwxr-xr-x) to 0644 (rw-r--r--) mode of './vendor/criterion/src/report.rs' changed from 0755 (rwxr-xr-x) to 0644 (rw-r--r--) mode of './vendor/criterion/src/csv_report.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/bumpalo/src/lib.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/colored/examples/most_simple.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/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/tests/ansi_term_compat.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/src/style.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/color.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/gimli-0.27.2/tests/parse_self.rs' changed from 0755 (rwxr-xr-x) to 0644 (rw-r--r--) mode of './vendor/gix-pack/src/lib.rs' changed from 0755 (rwxr-xr-x) to 0644 (rw-r--r--) mode of './vendor/gimli-0.26.2/tests/parse_self.rs' changed from 0755 (rwxr-xr-x) to 0644 (rw-r--r--) mode of './vendor/criterion-plot/src/data.rs' changed from 0755 (rwxr-xr-x) to 0644 (rw-r--r--) mode of './vendor/criterion-plot/src/lib.rs' changed from 0755 (rwxr-xr-x) to 0644 (rw-r--r--) mode of './vendor/criterion-plot/src/grid.rs' changed from 0755 (rwxr-xr-x) to 0644 (rw-r--r--) mode of './vendor/criterion-plot/src/prelude.rs' changed from 0755 (rwxr-xr-x) to 0644 (rw-r--r--) mode of './vendor/criterion-plot/src/curve.rs' changed from 0755 (rwxr-xr-x) to 0644 (rw-r--r--) mode of './vendor/criterion-plot/src/filledcurve.rs' changed from 0755 (rwxr-xr-x) to 0644 (rw-r--r--) mode of './vendor/criterion-plot/src/candlestick.rs' changed from 0755 (rwxr-xr-x) to 0644 (rw-r--r--) mode of './vendor/criterion-plot/src/map.rs' changed from 0755 (rwxr-xr-x) to 0644 (rw-r--r--) mode of './vendor/criterion-plot/src/errorbar.rs' changed from 0755 (rwxr-xr-x) to 0644 (rw-r--r--) mode of './vendor/criterion-plot/src/axis.rs' changed from 0755 (rwxr-xr-x) to 0644 (rw-r--r--) mode of './vendor/criterion-plot/src/traits.rs' changed from 0755 (rwxr-xr-x) to 0644 (rw-r--r--) mode of './vendor/criterion-plot/src/display.rs' changed from 0755 (rwxr-xr-x) to 0644 (rw-r--r--) mode of './vendor/criterion-plot/src/key.rs' changed from 0755 (rwxr-xr-x) to 0644 (rw-r--r--) mode of './vendor/criterion-plot/src/proxy.rs' changed from 0755 (rwxr-xr-x) to 0644 (rw-r--r--) mode of './vendor/tinytemplate/benches/benchmarks.rs' changed from 0755 (rwxr-xr-x) to 0644 (rw-r--r--) mode of './vendor/tinytemplate/src/lib.rs' changed from 0755 (rwxr-xr-x) to 0644 (rw-r--r--) mode of './vendor/tinytemplate/src/template.rs' changed from 0755 (rwxr-xr-x) to 0644 (rw-r--r--) mode of './vendor/tinytemplate/src/instruction.rs' changed from 0755 (rwxr-xr-x) to 0644 (rw-r--r--) mode of './vendor/tinytemplate/src/compiler.rs' changed from 0755 (rwxr-xr-x) to 0644 (rw-r--r--) mode of './vendor/tinytemplate/src/error.rs' changed from 0755 (rwxr-xr-x) to 0644 (rw-r--r--) mode of './vendor/tinytemplate/src/syntax.rs' changed from 0755 (rwxr-xr-x) to 0644 (rw-r--r--) mode of './vendor/rayon-core-1.10.1/src/broadcast/test.rs' changed from 0755 (rwxr-xr-x) to 0644 (rw-r--r--) 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 './src/tools/rust-analyzer/crates/ide/src/folding_ranges.rs' changed from 0755 (rwxr-xr-x) to 0644 (rw-r--r--) + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.0trU06 + umask 022 + cd /builddir/build/BUILD + cd rustc-1.72.1-src + export RUSTC_TARGET_CPU_X86_64=x86-64 RUSTC_TARGET_CPU_PPC64LE=pwr8 RUSTC_TARGET_CPU_S390X=z13 + RUSTC_TARGET_CPU_X86_64=x86-64 + RUSTC_TARGET_CPU_PPC64LE=pwr8 + RUSTC_TARGET_CPU_S390X=z13 ++ /usr/bin/getconf _NPROCESSORS_ONLN + ncpus=16 ++ free -g ++ awk '/^Mem:/{print $2}' + max_cpus=32 + '[' 32 -ge 1 -a 32 -lt 16 ']' + /usr/bin/make -O -j16 --quiet -C /builddir/build/BUILD/wasi-libc-7018e24d8fe248596819d2e884761676f3542a04 CC=clang AR=llvm-ar NM=llvm-nm find: 'build/wasm32-wasi': No such file or directory ++ find /usr/lib64/clang -type f -name 'libclang_rt.profile-*.a' + PROFILER=/usr/lib64/clang/15.0.7/lib/libclang_rt.profile-loongarch64.a + test -r /usr/lib64/clang/15.0.7/lib/libclang_rt.profile-loongarch64.a + CFLAGS='-O2 -g' + export CFLAGS + CXXFLAGS='-O2 -g' + export CXXFLAGS + FFLAGS='-O2 -g -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -g -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' + export LDFLAGS + '[' 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=loongarch64-Anolis-linux --host=loongarch64-Anolis-linux --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=loongarch64-unknown-linux-gnu --host=loongarch64-unknown-linux-gnu --target=loongarch64-unknown-linux-gnu --set target.loongarch64-unknown-linux-gnu.linker=gcc --set target.loongarch64-unknown-linux-gnu.cc=gcc --set target.loongarch64-unknown-linux-gnu.cxx=g++ --set target.loongarch64-unknown-linux-gnu.ar=ar --set target.loongarch64-unknown-linux-gnu.ranlib=/usr/bin/ranlib --set target.loongarch64-unknown-linux-gnu.profiler=/usr/lib64/clang/15.0.7/lib/libclang_rt.profile-loongarch64.a --set target.wasm32-wasi.wasi-root=/builddir/build/BUILD/wasi-libc-7018e24d8fe248596819d2e884761676f3542a04/sysroot --python=/usr/libexec/platform-python --local-rust-root=/usr --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=cargo,clippy,rls,rust-analyzer,rustfmt,src --enable-vendor --enable-verbose-tests --dist-compression-formats=gz --release-channel=stable '--release-description=Red Hat 1.72.1-1.0.1.an8' configure: processing command line configure: configure: build.configure-args := ['--build=loongarch64-Anolis-linux', '--host=l ... configure: build.build := loongarch64-unknown-linux-gnu configure: build.host := ['loongarch64-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 := ['loongarch64-unknown-linux-gnu'] configure: target.loongarch64-unknown-linux-gnu.linker := gcc configure: target.loongarch64-unknown-linux-gnu.cc := gcc configure: target.loongarch64-unknown-linux-gnu.cxx := g++ configure: target.loongarch64-unknown-linux-gnu.ar := ar configure: target.loongarch64-unknown-linux-gnu.ranlib := /usr/bin/ranlib configure: target.loongarch64-unknown-linux-gnu.profiler := /usr/lib64/clang/15.0 ... configure: target.wasm32-wasi.wasi-root := /builddir/build/BUILD/wasi-libc-7018e2 ... 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/libexec/platform-python configure: build.rustc := /usr/bin/rustc configure: build.cargo := /usr/bin/cargo configure: target.loongarch64-unknown-linux-gnu.llvm-config := /usr/bin/llvm-conf ... 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 := ['cargo', 'clippy', 'rls', 'rust-analyzer', 'r ... configure: build.vendor := True configure: rust.verbose-tests := True configure: dist.compression-formats := ['gz'] configure: rust.channel := stable configure: rust.description := Red Hat 1.72.1-1.0.1.an8 configure: profile := dist 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.72.1-src/x.py --help` + /usr/libexec/platform-python ./x.py build -j 16 Compiling libc v0.2.140 Compiling memchr v2.5.0 Compiling proc-macro2 v1.0.60 Compiling cfg-if v1.0.0 Compiling unicode-ident v1.0.0 Compiling typenum v1.15.0 Compiling version_check v0.9.4 Compiling quote v1.0.26 Compiling bitflags v1.3.2 Compiling cc v1.0.73 Compiling once_cell v1.12.0 Compiling lazy_static v1.4.0 Compiling pkg-config v0.3.25 Compiling log v0.4.17 Compiling io-lifetimes v1.0.9 Compiling regex-automata v0.1.10 Compiling serde v1.0.160 Compiling anstyle v1.0.0 Compiling heck v0.4.1 Compiling rustix v0.37.6 Compiling regex-syntax v0.6.26 Compiling crossbeam-utils v0.8.14 Compiling clap_lex v0.4.1 Compiling serde_json v1.0.81 Compiling semver v1.0.17 Compiling linux-raw-sys v0.3.2 Compiling generic-array v0.14.5 Compiling clap_builder v4.2.4 Compiling fnv v1.0.7 Compiling same-file v1.0.6 Compiling serde_derive v1.0.160 Compiling aho-corasick v0.7.18 Compiling bstr v0.2.17 Compiling walkdir v2.3.2 Compiling thread_local v1.1.4 Compiling ryu v1.0.10 Compiling bootstrap v0.0.0 (/builddir/build/BUILD/rustc-1.72.1-src/src/bootstrap) Compiling itoa v1.0.2 Compiling cmake v0.1.48 Compiling object v0.31.1 Compiling build_helper v0.1.0 (/builddir/build/BUILD/rustc-1.72.1-src/src/tools/build_helper) Compiling syn v2.0.8 Compiling opener v0.5.0 Compiling termcolor v1.2.0 Compiling hex v0.4.3 Compiling lzma-sys v0.1.17 Compiling errno v0.3.0 Compiling filetime v0.2.16 Compiling xattr v0.2.3 Compiling xz2 v0.1.6 Compiling tar v0.4.38 Compiling block-buffer v0.10.2 Compiling crypto-common v0.1.3 Compiling digest v0.10.3 Compiling regex v1.5.6 Compiling sha2 v0.10.2 Compiling globset v0.4.8 Compiling ignore v0.4.18 Compiling fd-lock v3.0.11 Compiling toml v0.5.9 Compiling clap_derive v4.2.0 Compiling clap v4.2.4 Compiling clap_complete v4.2.2 Finished dev [unoptimized] target(s) in 47.06s Building stage0 library artifacts (loongarch64-unknown-linux-gnu) Compiling compiler_builtins v0.1.95 Compiling core v0.0.0 (/builddir/build/BUILD/rustc-1.72.1-src/library/core) Compiling cc v1.0.79 Compiling libc v0.2.147 Compiling memchr v2.5.0 Compiling std v0.0.0 (/builddir/build/BUILD/rustc-1.72.1-src/library/std) Compiling unwind v0.0.0 (/builddir/build/BUILD/rustc-1.72.1-src/library/unwind) Compiling profiler_builtins v0.0.0 (/builddir/build/BUILD/rustc-1.72.1-src/library/profiler_builtins) Compiling rustc-std-workspace-core v1.99.0 (/builddir/build/BUILD/rustc-1.72.1-src/library/rustc-std-workspace-core) Compiling alloc v0.0.0 (/builddir/build/BUILD/rustc-1.72.1-src/library/alloc) Compiling cfg-if v1.0.0 Compiling adler v1.0.2 Compiling rustc-demangle v0.1.23 Compiling rustc-std-workspace-alloc v1.99.0 (/builddir/build/BUILD/rustc-1.72.1-src/library/rustc-std-workspace-alloc) Compiling panic_unwind v0.0.0 (/builddir/build/BUILD/rustc-1.72.1-src/library/panic_unwind) Compiling panic_abort v0.0.0 (/builddir/build/BUILD/rustc-1.72.1-src/library/panic_abort) Compiling gimli v0.28.0 Compiling miniz_oxide v0.7.1 Compiling std_detect v0.1.5 (/builddir/build/BUILD/rustc-1.72.1-src/library/stdarch/crates/std_detect) Compiling hashbrown v0.14.0 Compiling object v0.32.0 Compiling addr2line v0.21.0 Compiling rustc-std-workspace-std v1.99.0 (/builddir/build/BUILD/rustc-1.72.1-src/library/rustc-std-workspace-std) Compiling proc_macro v0.0.0 (/builddir/build/BUILD/rustc-1.72.1-src/library/proc_macro) Compiling unicode-width v0.1.10 Compiling getopts v0.2.21 Compiling test v0.0.0 (/builddir/build/BUILD/rustc-1.72.1-src/library/test) Compiling sysroot v0.0.0 (/builddir/build/BUILD/rustc-1.72.1-src/library/sysroot) Finished release [optimized + debuginfo] target(s) in 1m 53s Building compiler artifacts (stage0 -> stage1, loongarch64-unknown-linux-gnu) Compiling proc-macro2 v1.0.63 Compiling quote v1.0.29 Compiling unicode-ident v1.0.9 Compiling cfg-if v1.0.0 Compiling unicode-xid v0.2.4 Compiling libc v0.2.147 Compiling syn v1.0.109 Compiling autocfg v1.1.0 Compiling version_check v0.9.4 Compiling stable_deref_trait v1.2.0 Compiling once_cell v1.18.0 Compiling smallvec v1.10.0 Compiling cc v1.0.79 Compiling memchr v2.5.0 Compiling proc-macro-hack v0.5.20+deprecated Compiling scopeguard v1.1.0 Compiling log v0.4.19 Compiling rustc-hash v1.1.0 Compiling thiserror v1.0.40 Compiling pin-project-lite v0.2.10 Compiling typenum v1.16.0 Compiling parking_lot_core v0.8.6 Compiling bitflags v1.3.2 Compiling io-lifetimes v1.0.11 Compiling tracing-core v0.1.30 Compiling instant v0.1.12 Compiling rustix v0.37.11 Compiling equivalent v1.0.0 Compiling hashbrown v0.14.0 Compiling linux-raw-sys v0.3.8 Compiling thin-vec v0.2.12 Compiling arrayvec v0.7.4 Compiling generic-array v0.14.7 Compiling either v1.8.1 Compiling lock_api v0.4.10 Compiling tempfile v3.6.0 Compiling fastrand v1.9.0 Compiling rustc_arena v0.0.0 (/builddir/build/BUILD/rustc-1.72.1-src/compiler/rustc_arena) Compiling itertools v0.10.5 Compiling ena v0.14.2 Compiling elsa v1.7.1 Compiling rustc_graphviz v0.0.0 (/builddir/build/BUILD/rustc-1.72.1-src/compiler/rustc_graphviz) Compiling ahash v0.7.6 Compiling ppv-lite86 v0.2.17 Compiling unicode-width v0.1.10 Compiling indexmap v1.9.3 Compiling ahash v0.8.3 Compiling crc32fast v1.3.2 Compiling syn v2.0.8 Compiling indexmap v2.0.0 Compiling static_assertions v1.1.0 Compiling writeable v0.5.2 Compiling litemap v0.7.0 Compiling unic-common v0.9.0 Compiling scoped-tls v1.0.1 Compiling adler v1.0.2 Compiling unic-char-range v0.9.0 Compiling unic-ucd-version v0.9.0 Compiling unic-char-property v0.9.0 Compiling miniz_oxide v0.7.1 Compiling byteorder v1.4.3 Compiling serde v1.0.164 Compiling type-map v0.4.0 Compiling unic-emoji-char v0.9.0 Compiling hashbrown v0.13.2 Compiling regex-automata v0.2.0 Compiling psm v0.1.21 Compiling stacker v0.1.15 Compiling rustc_lexer v0.1.0 (/builddir/build/BUILD/rustc-1.72.1-src/compiler/rustc_lexer) Compiling self_cell v0.10.2 Compiling serde_json v1.0.99 Compiling flate2 v1.0.26 Compiling annotate-snippets v0.9.1 Compiling itoa v1.0.6 Compiling rustc_serialize v0.0.0 (/builddir/build/BUILD/rustc-1.72.1-src/compiler/rustc_serialize) Compiling ryu v1.0.13 Compiling rustc_fs_util v0.0.0 (/builddir/build/BUILD/rustc-1.72.1-src/compiler/rustc_fs_util) Compiling odht v0.3.1 Compiling getrandom v0.2.10 Compiling errno v0.3.1 Compiling rand_core v0.6.4 Compiling jobserver v0.1.26 Compiling parking_lot v0.11.2 Compiling memmap2 v0.2.3 Compiling block-buffer v0.10.4 Compiling crypto-common v0.1.6 Compiling rand_chacha v0.3.1 Compiling rand_xoshiro v0.6.0 Compiling atty v0.2.14 Compiling measureme v10.1.1 Compiling digest v0.10.7 Compiling termize v0.1.1 Compiling rand v0.8.5 Compiling hashbrown v0.12.3 Compiling termcolor v1.2.0 Compiling sha1 v0.10.5 Compiling md-5 v0.10.5 Compiling sha2 v0.10.7 Compiling getopts v0.2.21 Compiling semver v1.0.17 Compiling memoffset v0.9.0 Compiling convert_case v0.4.0 Compiling datafrog v2.0.1 Compiling rustc_apfloat v0.0.0 (/builddir/build/BUILD/rustc-1.72.1-src/compiler/rustc_apfloat) Compiling twox-hash v1.6.3 Compiling tinyvec_macros v0.1.1 Compiling tinyvec v1.6.0 Compiling rustc_version v0.4.0 Compiling crossbeam-utils v0.8.16 Compiling polonius-engine v0.13.0 Compiling aho-corasick v1.0.2 Compiling regex-syntax v0.7.2 Compiling field-offset v0.3.6 Compiling snap v1.1.0 Compiling libloading v0.7.4 Compiling parking_lot_core v0.9.8 Compiling unicase v2.6.0 Compiling fallible-iterator v0.2.0 Compiling unicode-script v0.5.5 Compiling crossbeam-channel v0.5.8 Compiling lazy_static v1.4.0 Compiling regex-syntax v0.6.29 Compiling rustc_llvm v0.0.0 (/builddir/build/BUILD/rustc-1.72.1-src/compiler/rustc_llvm) Compiling punycode v0.4.1 Compiling unicode-normalization v0.1.22 Compiling gimli v0.26.2 Compiling rustc-demangle v0.1.23 Compiling pulldown-cmark v0.9.3 Compiling overload v0.1.1 Compiling nu-ansi-term v0.46.0 Compiling parking_lot v0.12.1 Compiling sharded-slab v0.1.4 Compiling thread_local v1.1.7 Compiling unicode-security v0.1.0 Compiling synstructure v0.13.0 Compiling pathdiff v0.2.1 Compiling tracing-log v0.1.3 Compiling synstructure v0.12.6 Compiling cstr v0.2.8 Compiling rustc_error_codes v0.0.0 (/builddir/build/BUILD/rustc-1.72.1-src/compiler/rustc_error_codes) Compiling rustc-main v0.0.0 (/builddir/build/BUILD/rustc-1.72.1-src/compiler/rustc) Compiling regex v1.8.4 Compiling regex-automata v0.1.10 Compiling matchers v0.1.0 Compiling displaydoc v0.2.4 Compiling tracing-attributes v0.1.26 Compiling zerofrom-derive v0.1.2 Compiling yoke-derive v0.7.1 Compiling zerovec-derive v0.9.4 Compiling thiserror-impl v1.0.40 Compiling rustc_macros v0.1.0 (/builddir/build/BUILD/rustc-1.72.1-src/compiler/rustc_macros) Compiling icu_provider_macros v1.2.0 Compiling serde_derive v1.0.164 Compiling derive_more v0.99.17 Compiling tracing v0.1.37 Compiling tracing-subscriber v0.3.17 Compiling ruzstd v0.3.1 Compiling fluent-syntax v0.11.0 Compiling zerofrom v0.1.2 Compiling object v0.31.1 Compiling rustc_index v0.0.0 (/builddir/build/BUILD/rustc-1.72.1-src/compiler/rustc_index) Compiling yoke v0.7.1 Compiling zerovec v0.9.4 Compiling rustc_data_structures v0.0.0 (/builddir/build/BUILD/rustc-1.72.1-src/compiler/rustc_data_structures) Compiling tracing-tree v0.2.3 Compiling rustc_log v0.0.0 (/builddir/build/BUILD/rustc-1.72.1-src/compiler/rustc_log) Compiling tinystr v0.7.1 Compiling unic-langid-impl v0.9.1 Compiling icu_locid v1.2.0 Compiling unic-langid-macros-impl v0.9.1 Compiling rustc_span v0.0.0 (/builddir/build/BUILD/rustc-1.72.1-src/compiler/rustc_span) Compiling rustc_abi v0.0.0 (/builddir/build/BUILD/rustc-1.72.1-src/compiler/rustc_abi) Compiling rustc_type_ir v0.0.0 (/builddir/build/BUILD/rustc-1.72.1-src/compiler/rustc_type_ir) Compiling rustc_parse_format v0.0.0 (/builddir/build/BUILD/rustc-1.72.1-src/compiler/rustc_parse_format) Compiling icu_provider v1.2.0 Compiling unic-langid-macros v0.9.1 Compiling unic-langid v0.9.1 Compiling intl_pluralrules v7.0.2 Compiling fluent-langneg v0.13.0 Compiling intl-memoizer v0.5.1 Compiling icu_list v1.2.0 Compiling icu_provider_adapters v1.2.0 Compiling fluent-bundle v0.15.2 Compiling rustc_baked_icu_data v0.0.0 (/builddir/build/BUILD/rustc-1.72.1-src/compiler/rustc_baked_icu_data) Compiling rustc_fluent_macro v0.1.0 (/builddir/build/BUILD/rustc-1.72.1-src/compiler/rustc_fluent_macro) Compiling rustc_ast v0.0.0 (/builddir/build/BUILD/rustc-1.72.1-src/compiler/rustc_ast) Compiling rustc_feature v0.0.0 (/builddir/build/BUILD/rustc-1.72.1-src/compiler/rustc_feature) Compiling rustc_error_messages v0.0.0 (/builddir/build/BUILD/rustc-1.72.1-src/compiler/rustc_error_messages) Compiling ar_archive_writer v0.1.4 Compiling thorin-dwp v0.6.0 Compiling gsgdt v0.1.2 Compiling rustc_ast_pretty v0.0.0 (/builddir/build/BUILD/rustc-1.72.1-src/compiler/rustc_ast_pretty) Compiling rustc_target v0.0.0 (/builddir/build/BUILD/rustc-1.72.1-src/compiler/rustc_target) Compiling rustc_hir v0.0.0 (/builddir/build/BUILD/rustc-1.72.1-src/compiler/rustc_hir) Compiling rustc_lint_defs v0.0.0 (/builddir/build/BUILD/rustc-1.72.1-src/compiler/rustc_lint_defs) Compiling rustc_hir_pretty v0.0.0 (/builddir/build/BUILD/rustc-1.72.1-src/compiler/rustc_hir_pretty) Compiling rustc_errors v0.0.0 (/builddir/build/BUILD/rustc-1.72.1-src/compiler/rustc_errors) Compiling rustc_session v0.0.0 (/builddir/build/BUILD/rustc-1.72.1-src/compiler/rustc_session) Compiling rustc_attr v0.0.0 (/builddir/build/BUILD/rustc-1.72.1-src/compiler/rustc_attr) Compiling rustc_query_system v0.0.0 (/builddir/build/BUILD/rustc-1.72.1-src/compiler/rustc_query_system) Compiling rustc_parse v0.0.0 (/builddir/build/BUILD/rustc-1.72.1-src/compiler/rustc_parse) Compiling rustc_middle v0.0.0 (/builddir/build/BUILD/rustc-1.72.1-src/compiler/rustc_middle) Compiling rustc_ast_passes v0.0.0 (/builddir/build/BUILD/rustc-1.72.1-src/compiler/rustc_ast_passes) Compiling rustc_expand v0.0.0 (/builddir/build/BUILD/rustc-1.72.1-src/compiler/rustc_expand) Compiling rustc_builtin_macros v0.0.0 (/builddir/build/BUILD/rustc-1.72.1-src/compiler/rustc_builtin_macros) Compiling rustc_infer v0.0.0 (/builddir/build/BUILD/rustc-1.72.1-src/compiler/rustc_infer) Compiling rustc_metadata v0.0.0 (/builddir/build/BUILD/rustc-1.72.1-src/compiler/rustc_metadata) Compiling rustc_mir_dataflow v0.0.0 (/builddir/build/BUILD/rustc-1.72.1-src/compiler/rustc_mir_dataflow) Compiling rustc_incremental v0.0.0 (/builddir/build/BUILD/rustc-1.72.1-src/compiler/rustc_incremental) Compiling rustc_symbol_mangling v0.0.0 (/builddir/build/BUILD/rustc-1.72.1-src/compiler/rustc_symbol_mangling) Compiling rustc_monomorphize v0.0.0 (/builddir/build/BUILD/rustc-1.72.1-src/compiler/rustc_monomorphize) Compiling rustc_ast_lowering v0.0.0 (/builddir/build/BUILD/rustc-1.72.1-src/compiler/rustc_ast_lowering) Compiling rustc_query_impl v0.0.0 (/builddir/build/BUILD/rustc-1.72.1-src/compiler/rustc_query_impl) Compiling rustc_smir v0.0.0 (/builddir/build/BUILD/rustc-1.72.1-src/compiler/rustc_smir) Compiling rustc_codegen_ssa v0.0.0 (/builddir/build/BUILD/rustc-1.72.1-src/compiler/rustc_codegen_ssa) Compiling rustc_resolve v0.0.0 (/builddir/build/BUILD/rustc-1.72.1-src/compiler/rustc_resolve) Compiling rustc_transmute v0.1.0 (/builddir/build/BUILD/rustc-1.72.1-src/compiler/rustc_transmute) Compiling rustc_trait_selection v0.0.0 (/builddir/build/BUILD/rustc-1.72.1-src/compiler/rustc_trait_selection) Compiling rustc_codegen_llvm v0.0.0 (/builddir/build/BUILD/rustc-1.72.1-src/compiler/rustc_codegen_llvm) Compiling rustc_lint v0.0.0 (/builddir/build/BUILD/rustc-1.72.1-src/compiler/rustc_lint) Compiling rustc_hir_analysis v0.0.0 (/builddir/build/BUILD/rustc-1.72.1-src/compiler/rustc_hir_analysis) Compiling rustc_traits v0.0.0 (/builddir/build/BUILD/rustc-1.72.1-src/compiler/rustc_traits) Compiling rustc_const_eval v0.0.0 (/builddir/build/BUILD/rustc-1.72.1-src/compiler/rustc_const_eval) Compiling rustc_hir_typeck v0.1.0 (/builddir/build/BUILD/rustc-1.72.1-src/compiler/rustc_hir_typeck) Compiling rustc_privacy v0.0.0 (/builddir/build/BUILD/rustc-1.72.1-src/compiler/rustc_privacy) Compiling rustc_mir_transform v0.0.0 (/builddir/build/BUILD/rustc-1.72.1-src/compiler/rustc_mir_transform) Compiling rustc_plugin_impl v0.0.0 (/builddir/build/BUILD/rustc-1.72.1-src/compiler/rustc_plugin_impl) Compiling rustc_borrowck v0.0.0 (/builddir/build/BUILD/rustc-1.72.1-src/compiler/rustc_borrowck) Compiling rustc_passes v0.0.0 (/builddir/build/BUILD/rustc-1.72.1-src/compiler/rustc_passes) Compiling rustc_ty_utils v0.0.0 (/builddir/build/BUILD/rustc-1.72.1-src/compiler/rustc_ty_utils) Compiling rustc_mir_build v0.0.0 (/builddir/build/BUILD/rustc-1.72.1-src/compiler/rustc_mir_build) Compiling rustc_interface v0.0.0 (/builddir/build/BUILD/rustc-1.72.1-src/compiler/rustc_interface) Compiling rustc_driver_impl v0.0.0 (/builddir/build/BUILD/rustc-1.72.1-src/compiler/rustc_driver_impl) Compiling rustc_driver v0.0.0 (/builddir/build/BUILD/rustc-1.72.1-src/compiler/rustc_driver) Finished release [optimized] target(s) in 5m 27s Creating a sysroot for stage1 compiler (use `rustup toolchain link 'name' build/host/stage1`) Building stage1 library artifacts (loongarch64-unknown-linux-gnu) Compiling compiler_builtins v0.1.95 Compiling core v0.0.0 (/builddir/build/BUILD/rustc-1.72.1-src/library/core) Compiling cc v1.0.79 Compiling libc v0.2.147 Compiling memchr v2.5.0 Compiling std v0.0.0 (/builddir/build/BUILD/rustc-1.72.1-src/library/std) Compiling unwind v0.0.0 (/builddir/build/BUILD/rustc-1.72.1-src/library/unwind) Compiling profiler_builtins v0.0.0 (/builddir/build/BUILD/rustc-1.72.1-src/library/profiler_builtins) Compiling rustc-std-workspace-core v1.99.0 (/builddir/build/BUILD/rustc-1.72.1-src/library/rustc-std-workspace-core) Compiling alloc v0.0.0 (/builddir/build/BUILD/rustc-1.72.1-src/library/alloc) Compiling cfg-if v1.0.0 Compiling adler v1.0.2 Compiling rustc-demangle v0.1.23 Compiling rustc-std-workspace-alloc v1.99.0 (/builddir/build/BUILD/rustc-1.72.1-src/library/rustc-std-workspace-alloc) Compiling panic_unwind v0.0.0 (/builddir/build/BUILD/rustc-1.72.1-src/library/panic_unwind) Compiling panic_abort v0.0.0 (/builddir/build/BUILD/rustc-1.72.1-src/library/panic_abort) Compiling gimli v0.28.0 Compiling miniz_oxide v0.7.1 Compiling std_detect v0.1.5 (/builddir/build/BUILD/rustc-1.72.1-src/library/stdarch/crates/std_detect) Compiling hashbrown v0.14.0 Compiling object v0.32.0 Compiling addr2line v0.21.0 error: linking with `gcc` failed: exit status: 1 | = note: LC_ALL="C" PATH="/builddir/build/BUILD/rustc-1.72.1-src/build/loongarch64-unknown-linux-gnu/stage1/lib/rustlib/loongarch64-unknown-linux-gnu/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/sbin" VSLANG="1033" "gcc" "-Wl,--version-script=/tmp/rustca0oOxM/list" "-Wl,--no-undefined-version" "/tmp/rustca0oOxM/symbols.o" "/builddir/build/BUILD/rustc-1.72.1-src/build/loongarch64-unknown-linux-gnu/stage1-std/loongarch64-unknown-linux-gnu/release/deps/std-f01e755878bda3f0.std.960037eef2996d9-cgu.0.rcgu.o" "/builddir/build/BUILD/rustc-1.72.1-src/build/loongarch64-unknown-linux-gnu/stage1-std/loongarch64-unknown-linux-gnu/release/deps/std-f01e755878bda3f0.4eyj108dp28dpt6f.rcgu.rmeta" "/builddir/build/BUILD/rustc-1.72.1-src/build/loongarch64-unknown-linux-gnu/stage1-std/loongarch64-unknown-linux-gnu/release/deps/std-f01e755878bda3f0.2ygvom2vwjfw0ho1.rcgu.o" "-Wl,--as-needed" "-L" "/builddir/build/BUILD/rustc-1.72.1-src/build/loongarch64-unknown-linux-gnu/stage1-std/loongarch64-unknown-linux-gnu/release/deps" "-L" "/builddir/build/BUILD/rustc-1.72.1-src/build/loongarch64-unknown-linux-gnu/stage1-std/release/deps" "-L" "/builddir/build/BUILD/rustc-1.72.1-src/build/loongarch64-unknown-linux-gnu/stage1/lib/rustlib/loongarch64-unknown-linux-gnu/lib" "-Wl,-Bstatic" "/builddir/build/BUILD/rustc-1.72.1-src/build/loongarch64-unknown-linux-gnu/stage1-std/loongarch64-unknown-linux-gnu/release/deps/libpanic_unwind-f0be19867e44ac91.rlib" "/builddir/build/BUILD/rustc-1.72.1-src/build/loongarch64-unknown-linux-gnu/stage1-std/loongarch64-unknown-linux-gnu/release/deps/libobject-d5129604d1ce5af9.rlib" "/builddir/build/BUILD/rustc-1.72.1-src/build/loongarch64-unknown-linux-gnu/stage1-std/loongarch64-unknown-linux-gnu/release/deps/libmemchr-ea6e9ddd6b412f94.rlib" "/builddir/build/BUILD/rustc-1.72.1-src/build/loongarch64-unknown-linux-gnu/stage1-std/loongarch64-unknown-linux-gnu/release/deps/libaddr2line-d54be1ddd104ac05.rlib" "/builddir/build/BUILD/rustc-1.72.1-src/build/loongarch64-unknown-linux-gnu/stage1-std/loongarch64-unknown-linux-gnu/release/deps/libgimli-26c747ba36e52f89.rlib" "/builddir/build/BUILD/rustc-1.72.1-src/build/loongarch64-unknown-linux-gnu/stage1-std/loongarch64-unknown-linux-gnu/release/deps/librustc_demangle-063d71ed5fa94a76.rlib" "/builddir/build/BUILD/rustc-1.72.1-src/build/loongarch64-unknown-linux-gnu/stage1-std/loongarch64-unknown-linux-gnu/release/deps/libstd_detect-e9cc46cb0ecee236.rlib" "/builddir/build/BUILD/rustc-1.72.1-src/build/loongarch64-unknown-linux-gnu/stage1-std/loongarch64-unknown-linux-gnu/release/deps/libhashbrown-10657ba0b91b1976.rlib" "/builddir/build/BUILD/rustc-1.72.1-src/build/loongarch64-unknown-linux-gnu/stage1-std/loongarch64-unknown-linux-gnu/release/deps/librustc_std_workspace_alloc-b424a6b34d7a315b.rlib" "/builddir/build/BUILD/rustc-1.72.1-src/build/loongarch64-unknown-linux-gnu/stage1-std/loongarch64-unknown-linux-gnu/release/deps/libminiz_oxide-20fb71cec1c71afd.rlib" "/builddir/build/BUILD/rustc-1.72.1-src/build/loongarch64-unknown-linux-gnu/stage1-std/loongarch64-unknown-linux-gnu/release/deps/libadler-6fbeff2c76cb9b2c.rlib" "/builddir/build/BUILD/rustc-1.72.1-src/build/loongarch64-unknown-linux-gnu/stage1-std/loongarch64-unknown-linux-gnu/release/deps/libunwind-768247f640947a40.rlib" "/builddir/build/BUILD/rustc-1.72.1-src/build/loongarch64-unknown-linux-gnu/stage1-std/loongarch64-unknown-linux-gnu/release/deps/libcfg_if-068f9b82f0e7e28f.rlib" "/builddir/build/BUILD/rustc-1.72.1-src/build/loongarch64-unknown-linux-gnu/stage1-std/loongarch64-unknown-linux-gnu/release/deps/liblibc-fd7deffa3e42c3a7.rlib" "/builddir/build/BUILD/rustc-1.72.1-src/build/loongarch64-unknown-linux-gnu/stage1-std/loongarch64-unknown-linux-gnu/release/deps/liballoc-72d0ba12556f2366.rlib" "/builddir/build/BUILD/rustc-1.72.1-src/build/loongarch64-unknown-linux-gnu/stage1-std/loongarch64-unknown-linux-gnu/release/deps/librustc_std_workspace_core-94324cdd1098d8b7.rlib" "/builddir/build/BUILD/rustc-1.72.1-src/build/loongarch64-unknown-linux-gnu/stage1-std/loongarch64-unknown-linux-gnu/release/deps/libcore-27ab8225f8be2efb.rlib" "/builddir/build/BUILD/rustc-1.72.1-src/build/loongarch64-unknown-linux-gnu/stage1-std/loongarch64-unknown-linux-gnu/release/deps/libcompiler_builtins-8f80674fa066366b.rlib" "-Wl,-Bdynamic" "-lgcc_s" "-lutil" "-lrt" "-lpthread" "-lm" "-ldl" "-lc" "-Wl,--eh-frame-hdr" "-Wl,-z,noexecstack" "-L" "/builddir/build/BUILD/rustc-1.72.1-src/build/loongarch64-unknown-linux-gnu/stage1/lib/rustlib/loongarch64-unknown-linux-gnu/lib" "-o" "/builddir/build/BUILD/rustc-1.72.1-src/build/loongarch64-unknown-linux-gnu/stage1-std/loongarch64-unknown-linux-gnu/release/deps/libstd-f01e755878bda3f0.so" "-shared" "-Wl,-z,relro,-z,now" "-Wl,-O1" "-nodefaultlibs" = note: /usr/bin/ld: 0xaaba8b7460B: can't link different ABI object. /usr/bin/ld: failed to merge target specific data of file /builddir/build/BUILD/rustc-1.72.1-src/build/loongarch64-unknown-linux-gnu/stage1-std/loongarch64-unknown-linux-gnu/release/deps/std-f01e755878bda3f0.4eyj108dp28dpt6f.rcgu.rmeta collect2: error: ld returned 1 exit status error: could not compile `std` (lib) due to previous error Building bootstrap Build completed unsuccessfully in 0:09:40 RPM build errors: error: Bad exit status from /var/tmp/rpm-tmp.0trU06 (%build) Bad exit status from /var/tmp/rpm-tmp.0trU06 (%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/rust.spec\n', 1)] Traceback (most recent call last): File "/usr/lib/python3.6/site-packages/mockbuild/trace_decorator.py", line 93, in trace result = func(*args, **kw) File "/usr/lib/python3.6/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/rust.spec