Mock Version: 2.8 Mock Version: 2.8 Mock Version: 2.8 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target loongarch64 --nodeps /builddir/build/SPECS/golang.spec'], chrootPath='/var/lib/mock/dist-an8.8-build-317242-67598/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=986gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target loongarch64 --nodeps /builddir/build/SPECS/golang.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/golang-1.19.13-1.an8.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target loongarch64 --nodeps /builddir/build/SPECS/golang.spec'], chrootPath='/var/lib/mock/dist-an8.8-build-317242-67598/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=986gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target loongarch64 --nodeps /builddir/build/SPECS/golang.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.jqP7oh + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf go-go1.19.13 + /usr/bin/gzip -dc /builddir/build/SOURCES/go1.19.13.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd go-go1.19.13 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + pushd .. ~/build/BUILD ~/build/BUILD/go-go1.19.13 + tar -xf /builddir/build/SOURCES/go1.19.13-2-openssl-fips.tar.gz + popd ~/build/BUILD/go-go1.19.13 + patch -p1 patching file api/go1.19.txt patching file src/cmd/go/testdata/script/gopath_std_vendor.txt patching file src/crypto/ecdsa/ecdsa_hashsignverify.go patching file src/crypto/ecdsa/ecdsa_hashsignverify_test.go patching file src/crypto/ecdsa/ecdsa_test.go patching file src/crypto/ecdsa/equal_test.go patching file src/crypto/ed25519/ed25519_test.go patching file src/crypto/ed25519/ed25519vectors_test.go patching file src/crypto/internal/backend/bbig/big.go patching file src/crypto/internal/backend/boringtest/config.go patching file src/crypto/internal/backend/dummy.s patching file src/crypto/internal/backend/nobackend.go patching file src/crypto/internal/backend/openssl.go patching file src/crypto/rsa/pkcs1v15_test.go patching file src/crypto/rsa/pss_test.go patching file src/crypto/rsa/rsa_test.go patching file src/crypto/tls/boring.go patching file src/crypto/tls/boring_test.go patching file src/crypto/tls/cipher_suites.go patching file src/crypto/tls/common.go patching file src/crypto/tls/handshake_client.go Hunk #1 succeeded at 129 (offset 2 lines). patching file src/crypto/tls/handshake_client_test.go patching file src/crypto/tls/handshake_client_tls13.go patching file src/crypto/tls/handshake_server_tls13.go patching file src/crypto/tls/key_schedule.go patching file src/crypto/x509/boring_test.go patching file src/crypto/x509/x509_test.go patching file src/go/build/deps_test.go patching file src/runtime/pprof/proto_test.go patching file src/runtime/runtime_boring.go + patch -p1 patching file src/cmd/api/goapi_boring_test.go patching file src/crypto/aes/cipher.go patching file src/crypto/aes/cipher_asm.go patching file src/crypto/boring/boring.go patching file src/crypto/boring/boring_test.go patching file src/crypto/boring/notboring_test.go patching file src/crypto/ecdsa/boring.go patching file src/crypto/ecdsa/ecdsa.go patching file src/crypto/ecdsa/ecdsa_hashsignverify.go patching file src/crypto/ecdsa/ecdsa_hashsignverify_test.go patching file src/crypto/ecdsa/ecdsa_test.go patching file src/crypto/ecdsa/equal_test.go patching file src/crypto/ecdsa/notboring.go patching file src/crypto/ed25519/ed25519_test.go patching file src/crypto/hmac/hmac.go patching file src/crypto/hmac/hmac_test.go patching file src/crypto/internal/boring/aes.go patching file src/crypto/internal/boring/bbig/big.go patching file src/crypto/internal/boring/boring.go patching file src/crypto/internal/boring/boring_test.go patching file src/crypto/internal/boring/doc.go patching file src/crypto/internal/boring/fipstls/stub.s patching file src/crypto/internal/boring/fipstls/tls.go patching file src/crypto/rand/rand_unix.go patching file src/crypto/rsa/boring.go patching file src/crypto/rsa/boring_test.go patching file src/crypto/rsa/notboring.go patching file src/crypto/rsa/pkcs1v15.go patching file src/crypto/rsa/pkcs1v15_test.go patching file src/crypto/rsa/pss.go patching file src/crypto/rsa/pss_test.go patching file src/crypto/rsa/rsa.go patching file src/crypto/rsa/rsa_test.go patching file src/crypto/sha1/boring.go patching file src/crypto/sha1/notboring.go patching file src/crypto/sha1/sha1_test.go patching file src/crypto/sha256/sha256.go patching file src/crypto/sha256/sha256_test.go patching file src/crypto/sha512/sha512.go patching file src/crypto/sha512/sha512_test.go patching file src/crypto/tls/boring.go patching file src/crypto/tls/boring_test.go patching file src/crypto/tls/cipher_suites.go patching file src/crypto/tls/common.go patching file src/crypto/tls/key_schedule.go patching file src/crypto/tls/notboring.go patching file src/crypto/x509/boring.go patching file src/crypto/x509/boring_test.go patching file src/crypto/x509/notboring.go patching file src/crypto/x509/x509_test.go patching file src/go.mod patching file src/go.sum patching file src/vendor/github.com/golang-fips/openssl-fips/LICENSE patching file src/vendor/github.com/golang-fips/openssl-fips/openssl/aes.go patching file src/vendor/github.com/golang-fips/openssl-fips/openssl/doc.go patching file src/vendor/github.com/golang-fips/openssl-fips/openssl/ecdh.go patching file src/vendor/github.com/golang-fips/openssl-fips/openssl/ecdsa.go (renamed from src/crypto/internal/boring/ecdsa.go) patching file src/vendor/github.com/golang-fips/openssl-fips/openssl/goopenssl.h patching file src/vendor/github.com/golang-fips/openssl-fips/openssl/hkdf.go patching file src/vendor/github.com/golang-fips/openssl-fips/openssl/hmac.go (renamed from src/crypto/internal/boring/hmac.go) patching file src/vendor/github.com/golang-fips/openssl-fips/openssl/notboring.go (renamed from src/crypto/internal/boring/notboring.go) patching file src/vendor/github.com/golang-fips/openssl-fips/openssl/openssl.go patching file src/vendor/github.com/golang-fips/openssl-fips/openssl/openssl_ecdsa_signature.c patching file src/vendor/github.com/golang-fips/openssl-fips/openssl/openssl_evp.c patching file src/vendor/github.com/golang-fips/openssl-fips/openssl/openssl_lock_setup.c patching file src/vendor/github.com/golang-fips/openssl-fips/openssl/openssl_port_aead_gcm.c patching file src/vendor/github.com/golang-fips/openssl-fips/openssl/openssl_port_ctr128.c patching file src/vendor/github.com/golang-fips/openssl-fips/openssl/openssl_port_evp_md5_sha1.c patching file src/vendor/github.com/golang-fips/openssl-fips/openssl/openssl_port_hmac.c patching file src/vendor/github.com/golang-fips/openssl-fips/openssl/openssl_port_rsa.c patching file src/vendor/github.com/golang-fips/openssl-fips/openssl/openssl_stub_rand.c patching file src/vendor/github.com/golang-fips/openssl-fips/openssl/rand.go (renamed from src/crypto/internal/boring/rand.go) patching file src/vendor/github.com/golang-fips/openssl-fips/openssl/rsa.go (renamed from src/crypto/internal/boring/rsa.go) patching file src/vendor/github.com/golang-fips/openssl-fips/openssl/sha.go (renamed from src/crypto/internal/boring/sha.go) patching file src/vendor/modules.txt + patch -p1 patching file api/go1.16.txt patching file src/crypto/internal/backend/hostfips.go patching file src/crypto/internal/backend/nobackend.go patching file src/crypto/internal/backend/not_strict_fips.go patching file src/crypto/internal/backend/openssl.go patching file src/crypto/internal/backend/strict_fips.go patching file src/crypto/rsa/boring_test.go patching file src/crypto/rsa/equal_test.go patching file src/crypto/rsa/rsa.go patching file src/crypto/rsa/rsa_test.go patching file src/crypto/tls/boring_test.go patching file src/crypto/x509/boring_test.go patching file src/crypto/x509/x509_test.go patching file src/internal/goexperiment/exp_strictfipsruntime_off.go patching file src/internal/goexperiment/exp_strictfipsruntime_on.go patching file src/internal/goexperiment/flags.go + patch -p1 patching file src/net/http/h2_bundle.go + pushd ../go-go1.19.13-2-openssl-fips ~/build/BUILD/go-go1.19.13-2-openssl-fips ~/build/BUILD/go-go1.19.13 + ln -s ../go-go1.19.13 go + ./scripts/configure-crypto-tests.sh Detected unknown os: an8 ... Keeping current settings. ~/build/BUILD/go-go1.19.13 Patch #2 (disable_static_tests_part1.patch): + popd + echo 'Patch #2 (disable_static_tests_part1.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file src/crypto/internal/backend/nobackend.go patching file src/crypto/internal/boring/goboringcrypto.h patching file src/crypto/internal/boring/syso/syso.go patching file src/vendor/github.com/golang-fips/openssl-fips/openssl/aes.go patching file src/vendor/github.com/golang-fips/openssl-fips/openssl/ecdh.go patching file src/vendor/github.com/golang-fips/openssl-fips/openssl/ecdsa.go patching file src/vendor/github.com/golang-fips/openssl-fips/openssl/goopenssl.h patching file src/vendor/github.com/golang-fips/openssl-fips/openssl/hkdf.go patching file src/vendor/github.com/golang-fips/openssl-fips/openssl/hmac.go patching file src/vendor/github.com/golang-fips/openssl-fips/openssl/notboring.go patching file src/vendor/github.com/golang-fips/openssl-fips/openssl/openssl.go patching file src/vendor/github.com/golang-fips/openssl-fips/openssl/openssl_ecdsa_signature.c patching file src/vendor/github.com/golang-fips/openssl-fips/openssl/openssl_evp.c patching file src/vendor/github.com/golang-fips/openssl-fips/openssl/openssl_lock_setup.c patching file src/vendor/github.com/golang-fips/openssl-fips/openssl/openssl_port_aead_gcm.c patching file src/vendor/github.com/golang-fips/openssl-fips/openssl/openssl_port_ctr128.c patching file src/vendor/github.com/golang-fips/openssl-fips/openssl/openssl_port_evp_md5_sha1.c patching file src/vendor/github.com/golang-fips/openssl-fips/openssl/openssl_port_hmac.c patching file src/vendor/github.com/golang-fips/openssl-fips/openssl/openssl_port_rsa.c patching file src/vendor/github.com/golang-fips/openssl-fips/openssl/openssl_stub_rand.c patching file src/vendor/github.com/golang-fips/openssl-fips/openssl/rand.go patching file src/vendor/github.com/golang-fips/openssl-fips/openssl/rsa.go patching file src/vendor/github.com/golang-fips/openssl-fips/openssl/sha.go Patch #3 (disable_static_tests_part2.patch): + echo 'Patch #3 (disable_static_tests_part2.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file src/cmd/dist/test.go Patch #221 (fix_TestScript_list_std.patch): + echo 'Patch #221 (fix_TestScript_list_std.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file src/cmd/go/testdata/script/list_std.txt Patch #1939923 (skip_test_rhbz1939923.patch): + echo 'Patch #1939923 (skip_test_rhbz1939923.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file src/crypto/x509/x509_test.go Hunk #1 succeeded at 3022 (offset 29 lines). Patch #227 (cmd-link-use-correct-path-for-dynamic-loader-on-ppc6.patch): + echo 'Patch #227 (cmd-link-use-correct-path-for-dynamic-loader-on-ppc6.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file src/cmd/link/internal/ppc64/obj.go + tar xf /builddir/build/SOURCES/loongarch64.tar.gz ++ cat /builddir/build/SOURCES/loongarch64.patches + for p in $(cat /builddir/build/SOURCES/loongarch64.patches) + patch -p1 -s -i loongarch64/0002-fix-misc-cgo-test-sigaltstack-size-on-loong64.patch + for p in $(cat /builddir/build/SOURCES/loongarch64.patches) + patch -p1 -s -i loongarch64/0003-fix-mabi-to-lp64-for-loong64.patch + for p in $(cat /builddir/build/SOURCES/loongarch64.patches) + patch -p1 -s -i loongarch64/0004-fix-runtime-defs_linux_loong64.patch + for p in $(cat /builddir/build/SOURCES/loongarch64.patches) + patch -p1 -s -i loongarch64/0005-fix-test-issue11656-for-loong64.patch + for p in $(cat /builddir/build/SOURCES/loongarch64.patches) + patch -p1 -s -i loongarch64/0006-fixup-stack-growth-after-fork-in-runtime.sigfillset.patch + for p in $(cat /builddir/build/SOURCES/loongarch64.patches) + patch -p1 -s -i loongarch64/0007-debug-elf-add-new-style-LoongArch-reloc-types.patch + for p in $(cat /builddir/build/SOURCES/loongarch64.patches) + patch -p1 -s -i loongarch64/0008-cmd-link-recognize-the-new-R_LARCH_32_PCREL-type-on-.patch + for p in $(cat /builddir/build/SOURCES/loongarch64.patches) + patch -p1 -s -i loongarch64/0009-runtime-internal-atomic-enable-atomic-64bit-types-fo.patch + for p in $(cat /builddir/build/SOURCES/loongarch64.patches) + patch -p1 -s -i loongarch64/0010-cmd-compile-add-missing-tail-calls-flag-for-linux-lo.patch + for p in $(cat /builddir/build/SOURCES/loongarch64.patches) + patch -p1 -s -i loongarch64/0011-cmd-compile-remove-the-resultInArg0-register-checks-.patch + for p in $(cat /builddir/build/SOURCES/loongarch64.patches) + patch -p1 -s -i loongarch64/0012-runtime-remove-the-fake-mstart-caller-in-systemstack.patch + for p in $(cat /builddir/build/SOURCES/loongarch64.patches) + patch -p1 -s -i loongarch64/0013-cmd-internal-obj-loong64-save-LR-after-decrementing-.patch + for p in $(cat /builddir/build/SOURCES/loongarch64.patches) + patch -p1 -s -i loongarch64/0014-runtime-minor-refactoring-of-_rt0_loong64_linux.patch + for p in $(cat /builddir/build/SOURCES/loongarch64.patches) + patch -p1 -s -i loongarch64/0015-runtime-fix-gcWriteBarrier-frame-size-on-loong64-mip.patch + for p in $(cat /builddir/build/SOURCES/loongarch64.patches) + patch -p1 -s -i loongarch64/0016-cmd-internal-obj-loong64-remove-invalid-branch-delay.patch + for p in $(cat /builddir/build/SOURCES/loongarch64.patches) + patch -p1 -s -i loongarch64/0017-cmd-compile-cmd-internal-obj-rename-loong64-instruct.patch + for p in $(cat /builddir/build/SOURCES/loongarch64.patches) + patch -p1 -s -i loongarch64/0018-math-implement-Sqrt-in-assembly-for-loong64.patch + for p in $(cat /builddir/build/SOURCES/loongarch64.patches) + patch -p1 -s -i loongarch64/0019-cmd-asm-add-RDTIME-L-H-.W-RDTIME.D-support-for-loong.patch + for p in $(cat /builddir/build/SOURCES/loongarch64.patches) + patch -p1 -s -i loongarch64/0020-runtime-use-StableCounter-implement-cputicks-on-linu.patch + for p in $(cat /builddir/build/SOURCES/loongarch64.patches) + patch -p1 -s -i loongarch64/0021-cmd-compile-remove-atomic-Cas-Xchg-and-Xadd-intrinsi.patch + for p in $(cat /builddir/build/SOURCES/loongarch64.patches) + patch -p1 -s -i loongarch64/0022-runtime-fix-runtime.usleep-on-linux-loong64.patch + for p in $(cat /builddir/build/SOURCES/loongarch64.patches) + patch -p1 -s -i loongarch64/0023-cmd-internal-obj-remove-redundant-cnames-on-loong64.patch + for p in $(cat /builddir/build/SOURCES/loongarch64.patches) + patch -p1 -s -i loongarch64/0024-runtime-save-fetch-g-register-during-VDSO-on-loong64.patch + for p in $(cat /builddir/build/SOURCES/loongarch64.patches) + patch -p1 -s -i loongarch64/0025-runtime-save-restore-callee-saved-registers-in-loong.patch + for p in $(cat /builddir/build/SOURCES/loongarch64.patches) + patch -p1 -s -i loongarch64/0026-runtime-add-comment-for-sys_linux_loong64.patch + for p in $(cat /builddir/build/SOURCES/loongarch64.patches) + patch -p1 -s -i loongarch64/0027-runtime-add-support-for-buildmode-c-shared-on-loong6.patch + for p in $(cat /builddir/build/SOURCES/loongarch64.patches) + patch -p1 -s -i loongarch64/0028-cmd-compile-add-support-for-buildmode-c-shared-on-lo.patch + for p in $(cat /builddir/build/SOURCES/loongarch64.patches) + patch -p1 -s -i loongarch64/0029-cmd-internal-obj-loong64-cmd-internal-objabi-add-c-s.patch + for p in $(cat /builddir/build/SOURCES/loongarch64.patches) + patch -p1 -s -i loongarch64/0030-cmd-link-add-support-for-buildmode-c-shared-on-loong.patch + for p in $(cat /builddir/build/SOURCES/loongarch64.patches) + patch -p1 -s -i loongarch64/0031-cmd-internal-sys-enable-c-shared-feature-on-loong64.patch + for p in $(cat /builddir/build/SOURCES/loongarch64.patches) + patch -p1 -s -i loongarch64/0032-cmd-dist-misc-cgo-testcshared-enable-c-shared-test-o.patch + for p in $(cat /builddir/build/SOURCES/loongarch64.patches) + patch -p1 -s -i loongarch64/0033-cmd-compile-move-SSA-rotate-instruction-detection-to.patch + for p in $(cat /builddir/build/SOURCES/loongarch64.patches) + patch -p1 -s -i loongarch64/0034-cmd-compile-combine-multiple-rotate-instructions.patch + for p in $(cat /builddir/build/SOURCES/loongarch64.patches) + patch -p1 -s -i loongarch64/0035-cmd-internal-obj-loong64-add-MASKEQZ-and-MASKNEZ-ins.patch + for p in $(cat /builddir/build/SOURCES/loongarch64.patches) + patch -p1 -s -i loongarch64/0036-cmd-internal-obj-loong64-add-ROTR-ROTRV-instructions.patch + for p in $(cat /builddir/build/SOURCES/loongarch64.patches) + patch -p1 -s -i loongarch64/0037-cmd-compile-intrinsify-RotateLeft-32-64-on-loong64.patch + for p in $(cat /builddir/build/SOURCES/loongarch64.patches) + patch -p1 -s -i loongarch64/0038-cmd-compile-intrinsify-Add64-on-loong64.patch + for p in $(cat /builddir/build/SOURCES/loongarch64.patches) + patch -p1 -s -i loongarch64/0039-cmd-compile-intrinsify-Sub64-on-loong64.patch + for p in $(cat /builddir/build/SOURCES/loongarch64.patches) + patch -p1 -s -i loongarch64/0040-cmd-link-detect-glibc-vs-musl-ldso-at-link-time.patch + for p in $(cat /builddir/build/SOURCES/loongarch64.patches) + patch -p1 -s -i loongarch64/0041-runtime-mark-morestack_noctxt-SPWRITE-for-linux-loon.patch + for p in $(cat /builddir/build/SOURCES/loongarch64.patches) + patch -p1 -s -i loongarch64/0042-runtime-using-wyrand-for-fastrand-on-linux-loong64.patch + for p in $(cat /builddir/build/SOURCES/loongarch64.patches) + patch -p1 -s -i loongarch64/0043-cmd-compile-cmd-dist-cmd-go-enable-pie-buildmode-for.patch + for p in $(cat /builddir/build/SOURCES/loongarch64.patches) + patch -p1 -s -i loongarch64/0044-cmd-compile-cmd-link-cmd-internal-runtime-support-bu.patch + for p in $(cat /builddir/build/SOURCES/loongarch64.patches) + patch -p1 -s -i loongarch64/0045-cmd-link-cmd-internal-runtime-support-buildmode-plug.patch + for p in $(cat /builddir/build/SOURCES/loongarch64.patches) + patch -p1 -s -i loongarch64/0046-enable-test-for-buildmode-share-plugin.patch + for p in $(cat /builddir/build/SOURCES/loongarch64.patches) + patch -p1 -s -i loongarch64/0047-cmd-internal-runtime-enable-memory-sanitizer-on-loon.patch + for p in $(cat /builddir/build/SOURCES/loongarch64.patches) + patch -p1 -s -i loongarch64/0048-enable-test-for-msan.patch + for p in $(cat /builddir/build/SOURCES/loongarch64.patches) + patch -p1 -s -i loongarch64/0049-cmd-internal-runtime-enable-address-sanitizer-on-loo.patch + for p in $(cat /builddir/build/SOURCES/loongarch64.patches) + patch -p1 -s -i loongarch64/0050-enable-test-for-asan.patch + for p in $(cat /builddir/build/SOURCES/loongarch64.patches) + patch -p1 -s -i loongarch64/0051-Revert-cmd-compile-remove-atomic-Cas-Xchg-and-Xadd-i.patch + for p in $(cat /builddir/build/SOURCES/loongarch64.patches) + patch -p1 -s -i loongarch64/0052-cmd-compile-sign-extend-the-2nd-argument-of-the-Atom.patch + for p in $(cat /builddir/build/SOURCES/loongarch64.patches) + patch -p1 -s -i loongarch64/0053-cmd-asm-link-loong64-Implement-the-IE-model-to-acces.patch + for p in $(cat /builddir/build/SOURCES/loongarch64.patches) + patch -p1 -s -i loongarch64/0054-net-disable-TestLookupDotsWithRemoteSource-and-TestL.patch + for p in $(cat /builddir/build/SOURCES/loongarch64.patches) + patch -p1 -s -i loongarch64/0055-enable-c-archive-test-on-linux-loong64.patch + for p in $(cat /builddir/build/SOURCES/loongarch64.patches) + patch -p1 -s -i loongarch64/0056-runtime-no-need-to-save-these-registers-in-load_g-sa.patch + for p in $(cat /builddir/build/SOURCES/loongarch64.patches) + patch -p1 -s -i loongarch64/0057-cmd-internal-obj-loong64-add-support-for-movgr2cf-an.patch + for p in $(cat /builddir/build/SOURCES/loongarch64.patches) + patch -p1 -s -i loongarch64/0058-cmd-cmd-vendor-pick-up-updates-for-golang.org-x-arch.patch + for p in $(cat /builddir/build/SOURCES/loongarch64.patches) + patch -p1 -s -i loongarch64/0059-cmd-internal-objfile-add-loong64-disassembler-suppor.patch + for p in $(cat /builddir/build/SOURCES/loongarch64.patches) + patch -p1 -s -i loongarch64/0060-cmd-compile-disable-address-folding-for-globals-for-.patch + for p in $(cat /builddir/build/SOURCES/loongarch64.patches) + patch -p1 -s -i loongarch64/0061-cmd-compile-internal-runtime-use-NOOP-for-hardware-N.patch + for p in $(cat /builddir/build/SOURCES/loongarch64.patches) + patch -p1 -s -i loongarch64/0062-cmd-link-internal-loong64-use-BREAK-0-as-the-code-pa.patch + for p in $(cat /builddir/build/SOURCES/loongarch64.patches) + patch -p1 -s -i loongarch64/0063-cmd-asm-runtime-remove-the-RSB-register-from-loong64.patch + for p in $(cat /builddir/build/SOURCES/loongarch64.patches) + patch -p1 -s -i loongarch64/0064-cmd-internal-obj-loong64-realize-all-unconditional-j.patch + for p in $(cat /builddir/build/SOURCES/loongarch64.patches) + patch -p1 -s -i loongarch64/0065-cmd-internal-obj-loong64-clean-up-code-for-short-con.patch + for p in $(cat /builddir/build/SOURCES/loongarch64.patches) + patch -p1 -s -i loongarch64/0066-cmd-internal-obj-loong64-assemble-BEQ-BNEs-comparing.patch + for p in $(cat /builddir/build/SOURCES/loongarch64.patches) + patch -p1 -s -i loongarch64/0067-cmd-internal-obj-loong64-remove-Optab.family-and-reo.patch + for p in $(cat /builddir/build/SOURCES/loongarch64.patches) + patch -p1 -s -i loongarch64/0068-cmd-asm-support-the-PCALIGN-directive-on-loong64.patch + for p in $(cat /builddir/build/SOURCES/loongarch64.patches) + patch -p1 -s -i loongarch64/0069-internal-bytealg-runtime-align-some-loong64-asm-loop.patch + for p in $(cat /builddir/build/SOURCES/loongarch64.patches) + patch -p1 -s -i loongarch64/0070-cmd-link-bump-loong64-function-alignment-to-16-bytes.patch + for p in $(cat /builddir/build/SOURCES/loongarch64.patches) + patch -p1 -s -i loongarch64/0071-cmd-compile-remove-output-registers-limit-for-MUL-DI.patch + for p in $(cat /builddir/build/SOURCES/loongarch64.patches) + patch -p1 -s -i loongarch64/0072-cmd-compile-optimize-multiplication-on-loong64.patch + for p in $(cat /builddir/build/SOURCES/loongarch64.patches) + patch -p1 -s -i loongarch64/0073-cmd-compile-split-DIVV-DIVVU-op-on-loong64.patch + for p in $(cat /builddir/build/SOURCES/loongarch64.patches) + patch -p1 -s -i loongarch64/0074-cmd-internal-obj-loong64-auto-align-loop-heads-to-16.patch + for p in $(cat /builddir/build/SOURCES/loongarch64.patches) + patch -p1 -s -i loongarch64/0075-cmd-internal-obj-loong64-add-atomic-memory-access-in.patch + for p in $(cat /builddir/build/SOURCES/loongarch64.patches) + patch -p1 -s -i loongarch64/0076-cmd-compiler-runtime-internal-atomic-optimize-xchg-a.patch + for p in $(cat /builddir/build/SOURCES/loongarch64.patches) + patch -p1 -s -i loongarch64/0077-cmd-compiler-runtime-internal-atomic-optimize-xadd-a.patch + for p in $(cat /builddir/build/SOURCES/loongarch64.patches) + patch -p1 -s -i loongarch64/0078-cmd-compiler-runtime-internal-atomic-optimize-And-32.patch + for p in $(cat /builddir/build/SOURCES/loongarch64.patches) + patch -p1 -s -i loongarch64/0079-syscall-implement-Ptrace-Set-Get-Regs-using-PTRACE_-.patch + for p in $(cat /builddir/build/SOURCES/loongarch64.patches) + patch -p1 -s -i loongarch64/0080-cmd-internal-obj-loong64-remove-the-invalid-plan9-fo.patch + for p in $(cat /builddir/build/SOURCES/loongarch64.patches) + patch -p1 -s -i loongarch64/0081-internal-sysinfo-print-cpu-type-from-cpuinfo-when-in.patch + rm -rf loongarch64 + cp /builddir/build/SOURCES/fedora.go ./src/runtime/ + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.ttt5Nd + umask 022 + cd /builddir/build/BUILD + cd go-go1.19.13 + set -xe + uname -a Linux openanlios004 4.19.190-6.5.an8.loongarch64 #1 SMP Thu Sep 29 08:10:24 UTC 2022 loongarch64 loongarch64 loongarch64 GNU/Linux + cat /proc/cpuinfo system type : generic-loongson-machine processor : 0 package : 0 core : 0 cpu family : Loongson-64bit model name : Loongson-3A5000LL CPU Revision : 0x10 FPU Revision : 0x00 CPU MHz : 2300.00 BogoMIPS : 4600.00 TLB entries : 2112 Address sizes : 48 bits physical, 48 bits virtual isa : loongarch32 loongarch64 features : cpucfg lam ual fpu lsx lasx complex crypto lvz lbt_x86 lbt_arm lbt_mips hardware watchpoint : yes, iwatch count: 8, dwatch count: 8 processor : 1 package : 0 core : 1 cpu family : Loongson-64bit model name : Loongson-3A5000LL CPU Revision : 0x10 FPU Revision : 0x00 CPU MHz : 2300.00 BogoMIPS : 4600.00 TLB entries : 2112 Address sizes : 48 bits physical, 48 bits virtual isa : loongarch32 loongarch64 features : cpucfg lam ual fpu lsx lasx complex crypto lvz lbt_x86 lbt_arm lbt_mips hardware watchpoint : yes, iwatch count: 8, dwatch count: 8 processor : 2 package : 0 core : 2 cpu family : Loongson-64bit model name : Loongson-3A5000LL CPU Revision : 0x10 FPU Revision : 0x00 CPU MHz : 2300.00 BogoMIPS : 4600.00 TLB entries : 2112 Address sizes : 48 bits physical, 48 bits virtual isa : loongarch32 loongarch64 features : cpucfg lam ual fpu lsx lasx complex crypto lvz lbt_x86 lbt_arm lbt_mips hardware watchpoint : yes, iwatch count: 8, dwatch count: 8 processor : 3 package : 0 core : 3 cpu family : Loongson-64bit model name : Loongson-3A5000LL CPU Revision : 0x10 FPU Revision : 0x00 CPU MHz : 2300.00 BogoMIPS : 4600.00 TLB entries : 2112 Address sizes : 48 bits physical, 48 bits virtual isa : loongarch32 loongarch64 features : cpucfg lam ual fpu lsx lasx complex crypto lvz lbt_x86 lbt_arm lbt_mips hardware watchpoint : yes, iwatch count: 8, dwatch count: 8 + cat /proc/meminfo MemTotal: 16138160 kB MemFree: 9815056 kB MemAvailable: 12282784 kB Buffers: 1179056 kB Cached: 3907312 kB SwapCached: 27872 kB Active: 2380016 kB Inactive: 2994912 kB Active(anon): 525280 kB Inactive(anon): 485904 kB Active(file): 1854736 kB Inactive(file): 2509008 kB Unevictable: 32 kB Mlocked: 32 kB SwapTotal: 37748720 kB SwapFree: 37158096 kB Dirty: 867568 kB Writeback: 0 kB AnonPages: 282672 kB Mapped: 221504 kB Shmem: 721952 kB Slab: 474960 kB SReclaimable: 282880 kB SUnreclaim: 192080 kB KernelStack: 5136 kB PageTables: 12768 kB Quicklists: 270928 kB NFS_Unstable: 0 kB Bounce: 0 kB WritebackTmp: 0 kB CommitLimit: 45817792 kB Committed_AS: 3110720 kB VmallocTotal: 136360951775 kB VmallocUsed: 0 kB VmallocChunk: 0 kB Percpu: 3904 kB AnonHugePages: 32768 kB ShmemHugePages: 0 kB ShmemPmdMapped: 0 kB CmaTotal: 0 kB CmaFree: 0 kB HugePages_Total: 0 HugePages_Free: 0 HugePages_Rsvd: 0 HugePages_Surp: 0 Hugepagesize: 32768 kB Hugetlb: 0 kB ~/build/BUILD/go-go1.19.13/src ~/build/BUILD/go-go1.19.13 + export GOROOT_BOOTSTRAP=/opt/rh/go-toolset-1.10/root/usr/lib/go-toolset-1.10-golang + GOROOT_BOOTSTRAP=/opt/rh/go-toolset-1.10/root/usr/lib/go-toolset-1.10-golang + export GOROOT_FINAL=/usr/lib/golang + GOROOT_FINAL=/usr/lib/golang + export GOHOSTOS=linux + GOHOSTOS=linux + export GOHOSTARCH=loong64 + GOHOSTARCH=loong64 + pushd src + export 'CFLAGS=-O2 -g' + CFLAGS='-O2 -g' + export 'LDFLAGS=-Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' + LDFLAGS='-Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' + export CC=gcc + CC=gcc + export CC_FOR_TARGET=gcc + CC_FOR_TARGET=gcc + export GOOS=linux + GOOS=linux + export GOARCH=loong64 + GOARCH=loong64 + DEFAULT_GO_LD_FLAGS= + export 'GO_LDFLAGS="-extldflags=-Wl,-z,now,-z,relro" ' + GO_LDFLAGS='"-extldflags=-Wl,-z,now,-z,relro" ' + ./make.bash --no-clean WARNING: /opt/rh/go-toolset-1.10/root/usr/lib/go-toolset-1.10-golang/bin/go does not exist, found /usr/bin/go from env WARNING: set /usr/lib/golang as GOROOT_BOOTSTRAP Building Go cmd/dist using /usr/lib/golang. (go1.19.10 linux/loong64) warning: --no-clean is deprecated and has no effect; use 'go install std cmd' instead Building Go toolchain1 using /usr/lib/golang. Building Go bootstrap cmd/go (go_bootstrap) using Go toolchain1. Building Go toolchain2 using go_bootstrap and Go toolchain1. Building Go toolchain3 using go_bootstrap and Go toolchain2.