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/golang.spec'], chrootPath='/var/lib/mock/dist-an8.9-build-380709-71817/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/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.21.7-2.0.2.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/golang.spec'], chrootPath='/var/lib/mock/dist-an8.9-build-380709-71817/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/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.M7NHpl + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf go-go1.21.7 + /usr/bin/gzip -dc /builddir/build/SOURCES/go1.21.7.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd go-go1.21.7 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + pushd .. ~/build/BUILD ~/build/BUILD/go-go1.21.7 + tar -xf /builddir/build/SOURCES/go1.21.7-1-openssl-fips.tar.gz + popd ~/build/BUILD/go-go1.21.7 + patch -p1 patching file api/go1.19.txt patching file src/cmd/go/testdata/script/gopath_std_vendor.txt patching file src/crypto/ecdh/ecdh_test.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/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.go Hunk #1 succeeded at 534 (offset 25 lines). Hunk #2 succeeded at 724 (offset 44 lines). 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 Hunk #2 succeeded at 1032 (offset 37 lines). patching file src/crypto/tls/handshake_client.go Hunk #1 succeeded at 139 (offset 12 lines). patching file src/crypto/tls/handshake_client_test.go Hunk #1 succeeded at 2198 (offset 42 lines). patching file src/crypto/tls/handshake_client_tls13.go patching file src/crypto/tls/handshake_server_tls13.go Hunk #1 succeeded at 45 (offset 1 line). patching file src/crypto/tls/key_schedule.go Hunk #2 succeeded at 60 (offset 1 line). Hunk #3 succeeded at 91 (offset 1 line). patching file src/crypto/x509/boring_test.go patching file src/crypto/x509/x509_test.go Hunk #5 succeeded at 3713 (offset 75 lines). patching file src/go/build/deps_test.go Hunk #1 succeeded at 423 (offset 27 lines). Hunk #2 succeeded at 456 (offset 27 lines). Hunk #3 succeeded at 667 (offset 34 lines). Hunk #4 succeeded at 710 (offset 34 lines). Hunk #5 succeeded at 720 (offset 34 lines). patching file src/runtime/pprof/proto_test.go patching file src/runtime/runtime_boring.go + patch -p1 patching file src/cmd/api/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/ecdh/ecdh.go patching file src/crypto/ecdh/ecdh_test.go patching file src/crypto/ecdh/nist.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/ecdh.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/evp.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_ecdh.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 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/internal/goexperiment/exp_strictfipsruntime_off.go patching file src/internal/goexperiment/exp_strictfipsruntime_on.go patching file src/internal/goexperiment/flags.go Hunk #1 succeeded at 109 (offset 9 lines). + pushd ../go-go1.21.7-1-openssl-fips ~/build/BUILD/go-go1.21.7-1-openssl-fips ~/build/BUILD/go-go1.21.7 + ln -s ../go-go1.21.7 go + ./scripts/configure-crypto-tests.sh Detected unknown os: an8 ... Keeping current settings. ~/build/BUILD/go-go1.21.7 + popd + 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/0001-cmd-dist-cmd-link-internal-runtime-add-buildmode-plu.patch + for p in $(cat /builddir/build/SOURCES/loongarch64.patches) + patch -p1 -s -i loongarch64/0002-runtime-cmd-go-enable-memory-sanitizer-on-linux-loon.patch + for p in $(cat /builddir/build/SOURCES/loongarch64.patches) + patch -p1 -s -i loongarch64/0003-runtime-cmd-go-enable-address-sanitizer-on-linux-loo.patch + for p in $(cat /builddir/build/SOURCES/loongarch64.patches) + patch -p1 -s -i loongarch64/0004-internal-sysinfo-print-cpu-type-from-cpuinfo-when-in.patch + for p in $(cat /builddir/build/SOURCES/loongarch64.patches) + patch -p1 -s -i loongarch64/0005-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/0006-cmd-internal-objfile-add-loong64-disassembler-suppor.patch + for p in $(cat /builddir/build/SOURCES/loongarch64.patches) + patch -p1 -s -i loongarch64/0007-runtime-remove-the-meaningless-offset-of-8-for-duffz.patch + for p in $(cat /builddir/build/SOURCES/loongarch64.patches) + patch -p1 -s -i loongarch64/0008-cmd-compiler-remove-the-meaningless-offset-of-8-for-.patch + for p in $(cat /builddir/build/SOURCES/loongarch64.patches) + patch -p1 -s -i loongarch64/0009-cmd-internal-obj-loong64-add-atomic-memory-access-in.patch + for p in $(cat /builddir/build/SOURCES/loongarch64.patches) + patch -p1 -s -i loongarch64/0010-cmd-compiler-runtime-internal-atomic-optimize-xchg-a.patch + for p in $(cat /builddir/build/SOURCES/loongarch64.patches) + patch -p1 -s -i loongarch64/0011-cmd-compiler-runtime-internal-atomic-optimize-xadd-a.patch + for p in $(cat /builddir/build/SOURCES/loongarch64.patches) + patch -p1 -s -i loongarch64/0012-cmd-compiler-runtime-internal-atomic-optimize-And-32.patch + for p in $(cat /builddir/build/SOURCES/loongarch64.patches) + patch -p1 -s -i loongarch64/0013-cmd-compiler-runtime-internal-atomic-Implementing-xc.patch + for p in $(cat /builddir/build/SOURCES/loongarch64.patches) + patch -p1 -s -i loongarch64/0014-cmd-compiler-runtime-internal-atomic-Implementing-xa.patch + for p in $(cat /builddir/build/SOURCES/loongarch64.patches) + patch -p1 -s -i loongarch64/0015-cmd-compiler-runtime-internal-atomic-Implementing-An.patch + for p in $(cat /builddir/build/SOURCES/loongarch64.patches) + patch -p1 -s -i loongarch64/0016-cmd-internal-obj-loong64-remove-the-invalid-plan9-fo.patch + for p in $(cat /builddir/build/SOURCES/loongarch64.patches) + patch -p1 -s -i loongarch64/0017-cmd-internal-obj-loong64-correct-the-instruction-for.patch + for p in $(cat /builddir/build/SOURCES/loongarch64.patches) + patch -p1 -s -i loongarch64/0018-cmd-internal-obj-loong64-recheck-jump-offset-boundar.patch + for p in $(cat /builddir/build/SOURCES/loongarch64.patches) + patch -p1 -s -i loongarch64/0019-cmd-link-internal-loong64-correct-the-glibc-dynamic-.patch + for p in $(cat /builddir/build/SOURCES/loongarch64.patches) + patch -p1 -s -i loongarch64/0020-cmd-link-internal-loadelf-correct-the-relocation-siz.patch + for p in $(cat /builddir/build/SOURCES/loongarch64.patches) + patch -p1 -s -i loongarch64/0021-cmd-compile-cmd-internal-runtime-change-the-register.patch + for p in $(cat /builddir/build/SOURCES/loongarch64.patches) + patch -p1 -s -i loongarch64/0022-cmd-compile-add-ABI-register-definations-for-loong64.patch + for p in $(cat /builddir/build/SOURCES/loongarch64.patches) + patch -p1 -s -i loongarch64/0023-cmd-compile-cmd-internal-runtime-change-registers-on.patch + for p in $(cat /builddir/build/SOURCES/loongarch64.patches) + patch -p1 -s -i loongarch64/0024-internal-abi-define-loong64-regABI-constants.patch + for p in $(cat /builddir/build/SOURCES/loongarch64.patches) + patch -p1 -s -i loongarch64/0025-cmd-compile-internal-add-register-info-for-loong64-r.patch + for p in $(cat /builddir/build/SOURCES/loongarch64.patches) + patch -p1 -s -i loongarch64/0026-cmd-compile-internal-add-spill-support-for-loong64-r.patch + for p in $(cat /builddir/build/SOURCES/loongarch64.patches) + patch -p1 -s -i loongarch64/0027-cmd-compile-update-loong64-CALL-ops.patch + for p in $(cat /builddir/build/SOURCES/loongarch64.patches) + patch -p1 -s -i loongarch64/0028-runtime-make-duff-device-as-ABIInternal-for-loong64.patch + for p in $(cat /builddir/build/SOURCES/loongarch64.patches) + patch -p1 -s -i loongarch64/0029-runtime-support-regABI-and-add-spill-functions-in-ru.patch + for p in $(cat /builddir/build/SOURCES/loongarch64.patches) + patch -p1 -s -i loongarch64/0030-reflect-runtime-add-reflect-support-for-regABI-on-lo.patch + for p in $(cat /builddir/build/SOURCES/loongarch64.patches) + patch -p1 -s -i loongarch64/0031-internal-bytealg-add-regABI-support-in-bytealg-funct.patch + for p in $(cat /builddir/build/SOURCES/loongarch64.patches) + patch -p1 -s -i loongarch64/0032-runtime-add-regABI-support-in-memclr-and-memmove-fun.patch + for p in $(cat /builddir/build/SOURCES/loongarch64.patches) + patch -p1 -s -i loongarch64/0033-cmd-internal-obj-set-morestack-arg-spilling-and-rega.patch + for p in $(cat /builddir/build/SOURCES/loongarch64.patches) + patch -p1 -s -i loongarch64/0034-cmd-compile-fix-If-lowering-on-loong64.patch + for p in $(cat /builddir/build/SOURCES/loongarch64.patches) + patch -p1 -s -i loongarch64/0035-runtime-internal-syscall-use-ABIInternal-for-Syscall.patch + for p in $(cat /builddir/build/SOURCES/loongarch64.patches) + patch -p1 -s -i loongarch64/0036-cmd-compile-internal-buildcfg-enable-regABI-on-loong.patch + for p in $(cat /builddir/build/SOURCES/loongarch64.patches) + patch -p1 -s -i loongarch64/0037-internal-abi-internal-buildcfg-always-enable-registe.patch + for p in $(cat /builddir/build/SOURCES/loongarch64.patches) + patch -p1 -s -i loongarch64/0038-all-delete-loong64-non-register-ABI-fallback-path.patch + for p in $(cat /builddir/build/SOURCES/loongarch64.patches) + patch -p1 -s -i loongarch64/0039-cmd-internal-obj-loong64-using-LookupABI-to-find-duf.patch + for p in $(cat /builddir/build/SOURCES/loongarch64.patches) + patch -p1 -s -i loongarch64/0040-cmd-internal-cmd-link-unify-the-relocation-naming-st.patch + for p in $(cat /builddir/build/SOURCES/loongarch64.patches) + patch -p1 -s -i loongarch64/0041-cmd-link-internal-loadelf-remove-useless-relocation-.patch + for p in $(cat /builddir/build/SOURCES/loongarch64.patches) + patch -p1 -s -i loongarch64/0042-cmd-link-internal-loadelf-add-additional-relocations.patch + for p in $(cat /builddir/build/SOURCES/loongarch64.patches) + patch -p1 -s -i loongarch64/0043-cmd-link-add-new-relocations-numbered-101-to-109-for.patch + for p in $(cat /builddir/build/SOURCES/loongarch64.patches) + patch -p1 -s -i loongarch64/0044-api-add-new-relocations-numbered-101-to-109-for-loon.patch + for p in $(cat /builddir/build/SOURCES/loongarch64.patches) + patch -p1 -s -i loongarch64/0045-cmd-internal-obj-loong64-remove-unused-register-alia.patch + for p in $(cat /builddir/build/SOURCES/loongarch64.patches) + patch -p1 -s -i loongarch64/0046-cmd-internal-runtime-change-the-LR-parameter-registe.patch + for p in $(cat /builddir/build/SOURCES/loongarch64.patches) + patch -p1 -s -i loongarch64/0047-cmd-runtime-enable-race-detector-on-loong64.patch + for p in $(cat /builddir/build/SOURCES/loongarch64.patches) + patch -p1 -s -i loongarch64/0048-runtime-Mark-race-functions-on-loong64-as-ABInternal.patch + for p in $(cat /builddir/build/SOURCES/loongarch64.patches) + patch -p1 -s -i loongarch64/0049-runtime-delete-on-register-ABI-fallback-path-for-rac.patch + for p in $(cat /builddir/build/SOURCES/loongarch64.patches) + patch -p1 -s -i loongarch64/0050-cmd-dist-update-isUnsupportedVMASize-test-skip.patch + rm -rf loongarch64 + /usr/bin/cat /builddir/build/SOURCES/fix_TestScript_list_std.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + /usr/bin/cat /builddir/build/SOURCES/fix-memleak-setupRSA.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + /usr/bin/cat /builddir/build/SOURCES/skip_test_rhbz1939923.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + /usr/bin/cat /builddir/build/SOURCES/disable_static_tests_part1.patch + /usr/bin/cat /builddir/build/SOURCES/disable_static_tests_part2.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + /usr/bin/cat /builddir/build/SOURCES/skip-test-overlong-message.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + /usr/bin/cat /builddir/build/SOURCES/modify_go.env.patch + sed -i '1s/$/ (Red Hat 1.21.7-2.0.2.an8)/' VERSION + cp /builddir/build/SOURCES/fedora.go ./src/runtime/ + cp /builddir/build/SOURCES/race_linux_loong64.syso ./src/runtime/race + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.p19sh7 + umask 022 + cd /builddir/build/BUILD + cd go-go1.21.7 + set -xe + uname -a Linux localhost.localdomain 4.19.190-6.5.an8.loongarch64 #1 SMP Thu Jan 5 19:50:44 CST 2023 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-3C5000 CPU Revision : 0x11 FPU Revision : 0x00 CPU MHz : 2200.00 BogoMIPS : 4400.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-3C5000 CPU Revision : 0x11 FPU Revision : 0x00 CPU MHz : 2200.00 BogoMIPS : 4400.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-3C5000 CPU Revision : 0x11 FPU Revision : 0x00 CPU MHz : 2200.00 BogoMIPS : 4400.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-3C5000 CPU Revision : 0x11 FPU Revision : 0x00 CPU MHz : 2200.00 BogoMIPS : 4400.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 : 4 package : 0 core : 4 cpu family : Loongson-64bit model name : Loongson-3C5000 CPU Revision : 0x11 FPU Revision : 0x00 CPU MHz : 2200.00 BogoMIPS : 4400.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 : 5 package : 0 core : 5 cpu family : Loongson-64bit model name : Loongson-3C5000 CPU Revision : 0x11 FPU Revision : 0x00 CPU MHz : 2200.00 BogoMIPS : 4400.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 : 6 package : 0 core : 6 cpu family : Loongson-64bit model name : Loongson-3C5000 CPU Revision : 0x11 FPU Revision : 0x00 CPU MHz : 2200.00 BogoMIPS : 4400.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 : 7 package : 0 core : 7 cpu family : Loongson-64bit model name : Loongson-3C5000 CPU Revision : 0x11 FPU Revision : 0x00 CPU MHz : 2200.00 BogoMIPS : 4400.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 : 8 package : 0 core : 8 cpu family : Loongson-64bit model name : Loongson-3C5000 CPU Revision : 0x11 FPU Revision : 0x00 CPU MHz : 2200.00 BogoMIPS : 4400.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 : 9 package : 0 core : 9 cpu family : Loongson-64bit model name : Loongson-3C5000 CPU Revision : 0x11 FPU Revision : 0x00 CPU MHz : 2200.00 BogoMIPS : 4400.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 : 10 package : 0 core : 10 cpu family : Loongson-64bit model name : Loongson-3C5000 CPU Revision : 0x11 FPU Revision : 0x00 CPU MHz : 2200.00 BogoMIPS : 4400.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 : 11 package : 0 core : 11 cpu family : Loongson-64bit model name : Loongson-3C5000 CPU Revision : 0x11 FPU Revision : 0x00 CPU MHz : 2200.00 BogoMIPS : 4400.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 : 12 package : 0 core : 12 cpu family : Loongson-64bit model name : Loongson-3C5000 CPU Revision : 0x11 FPU Revision : 0x00 CPU MHz : 2200.00 BogoMIPS : 4400.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 : 13 package : 0 core : 13 cpu family : Loongson-64bit model name : Loongson-3C5000 CPU Revision : 0x11 FPU Revision : 0x00 CPU MHz : 2200.00 BogoMIPS : 4400.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 : 14 package : 0 core : 14 cpu family : Loongson-64bit model name : Loongson-3C5000 CPU Revision : 0x11 FPU Revision : 0x00 CPU MHz : 2200.00 BogoMIPS : 4400.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 : 15 package : 0 core : 15 cpu family : Loongson-64bit model name : Loongson-3C5000 CPU Revision : 0x11 FPU Revision : 0x00 CPU MHz : 2200.00 BogoMIPS : 4400.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 MemTotal: 66661664 kB MemFree: 46797312 kB MemAvailable: 60228112 kB Buffers: 4704 kB Cached: 15474320 kB SwapCached: 0 kB Active: 9125824 kB Inactive: 8073024 kB Active(anon): 1729280 kB Inactive(anon): 44560 kB Active(file): 7396544 kB Inactive(file): 8028464 kB Unevictable: 0 kB Mlocked: 0 kB SwapTotal: 25006064 kB SwapFree: 25006064 kB Dirty: 581680 kB Writeback: 0 kB AnonPages: 1722736 kB Mapped: 354976 kB Shmem: 52416 kB Slab: 1198208 kB SReclaimable: 466960 kB SUnreclaim: 731248 kB KernelStack: 10112 kB PageTables: 26912 kB Quicklists: 1003488 kB NFS_Unstable: 0 kB Bounce: 0 kB WritebackTmp: 0 kB CommitLimit: 58336896 kB Committed_AS: 4787408 kB VmallocTotal: 136360951775 kB VmallocUsed: 0 kB VmallocChunk: 0 kB Percpu: 18688 kB AnonHugePages: 229376 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.21.7/src ~/build/BUILD/go-go1.21.7 + cat /proc/meminfo + 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.20.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. go tool dist: FAILED: /builddir/build/BUILD/go-go1.21.7/pkg/tool/linux_loong64/go_bootstrap install -ldflags=all="-extldflags=-Wl,-z,now,-z,relro" -pgo=off cmd/asm cmd/cgo cmd/compile cmd/link: signal: segmentation fault (core dumped) error: Bad exit status from /var/tmp/rpm-tmp.p19sh7 (%build) Bad exit status from /var/tmp/rpm-tmp.p19sh7 (%build) RPM build errors: Child return code was: 1 EXCEPTION: [Error('Command failed: \n # bash --login -c /usr/bin/rpmbuild -bb --noclean --target loongarch64 --nodeps /builddir/build/SPECS/golang.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/golang.spec