Mock Version: 4.1 Mock Version: 4.1 Mock Version: 4.1 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target aarch64 --nodeps /builddir/build/SPECS/golang.spec'], chrootPath='/var/lib/mock/dist-ocs23-build-132626-9362/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=981gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target aarch64 --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: aarch64 Building for target aarch64 Wrote: /builddir/build/SRPMS/golang-1.21.7-2.ocs23.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target aarch64 --nodeps /builddir/build/SPECS/golang.spec'], chrootPath='/var/lib/mock/dist-ocs23-build-132626-9362/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=981gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target aarch64 --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: aarch64 Building for target aarch64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.uSc85y + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf go + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/go1.21.7.src.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd go + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/fix-CVE-2023-45289.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/fix-CVE-2023-45290.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/fix-CVE-2024-24783.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/fix-CVE-2024-24784.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/fix-CVE-2024-24785.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/0001-Modify-go.env.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/0002-cmd-link-use-gold-on-ARM-ARM64-only-if-gold-is-avail.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.dSTJCL + umask 022 + cd /builddir/build/BUILD + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ ~/build/BUILD/go/src ~/build/BUILD/go + export CXX + cd go + export GOROOT_BOOTSTRAP=/ + GOROOT_BOOTSTRAP=/ + export GOROOT_FINAL=/usr/lib/golang + GOROOT_FINAL=/usr/lib/golang + export GOHOSTOS=linux + GOHOSTOS=linux + export GOHOSTARCH=arm64 + GOHOSTARCH=arm64 + pushd src + export 'CFLAGS=-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection' + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection' + export 'LDFLAGS=-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1' + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1' + export CC=gcc + CC=gcc + export CC_FOR_TARGET=gcc + CC_FOR_TARGET=gcc + export GOOS=linux + GOOS=linux + export GOARCH=arm64 + GOARCH=arm64 + ./make.bash --no-clean -v Building Go cmd/dist using /. (go1.18 gccgo (Tencent Compiler 12.3.1) 12.3.1 20230912 (OpenCloudOS 12.3.1-2) linux/arm64) warning: --no-clean is deprecated and has no effect; use 'go install std cmd' instead Building Go toolchain1 using /. bootstrap/cmd/internal/bio bootstrap/internal/unsafeheader bootstrap/cmd/internal/src bootstrap/cmd/internal/pkgpath bootstrap/cmd/internal/sys bootstrap/internal/goexperiment bootstrap/math/bits bootstrap/internal/goarch bootstrap/cmd/internal/quoted bootstrap/internal/saferio bootstrap/internal/abi bootstrap/internal/bisect bootstrap/internal/coverage bootstrap/internal/platform bootstrap/internal/goversion bootstrap/strconv bootstrap/sort bootstrap/cmd/internal/notsha256 bootstrap/internal/zstd bootstrap/internal/lazyregexp bootstrap/cmd/internal/gcprog bootstrap/internal/race bootstrap/cmd/compile/internal/test bootstrap/cmd/link/internal/benchmark bootstrap/cmd/internal/edit bootstrap/container/heap bootstrap/go/build/constraint bootstrap/internal/buildcfg bootstrap/internal/types/errors bootstrap/cmd/compile/internal/abt bootstrap/compress/flate bootstrap/debug/dwarf bootstrap/internal/profile bootstrap/math/big bootstrap/cmd/internal/objabi bootstrap/cmd/internal/goobj bootstrap/cmd/internal/dwarf bootstrap/cmd/internal/archive bootstrap/compress/zlib bootstrap/cmd/internal/obj bootstrap/cmd/link/internal/dwtest bootstrap/internal/xcoff bootstrap/debug/macho bootstrap/debug/pe bootstrap/debug/elf bootstrap/cmd/compile/internal/pgo/internal/graph bootstrap/cmd/internal/codesign bootstrap/go/constant bootstrap/cmd/cgo bootstrap/internal/pkgbits bootstrap/cmd/compile/internal/syntax bootstrap/cmd/internal/obj/riscv bootstrap/cmd/internal/obj/mips bootstrap/cmd/internal/obj/loong64 bootstrap/cmd/internal/obj/arm bootstrap/cmd/internal/obj/ppc64 bootstrap/cmd/internal/obj/arm64 bootstrap/cmd/internal/obj/s390x bootstrap/cmd/internal/obj/wasm bootstrap/cmd/internal/obj/x86 bootstrap/cmd/asm/internal/flags bootstrap/cmd/asm/internal/lex bootstrap/cmd/compile/internal/base bootstrap/cmd/compile/internal/logopt bootstrap/cmd/link/internal/sym bootstrap/cmd/link/internal/loader bootstrap/cmd/compile/internal/bitvec bootstrap/cmd/compile/internal/types bootstrap/cmd/compile/internal/types2 bootstrap/cmd/link/internal/loadmacho bootstrap/cmd/link/internal/loadelf bootstrap/cmd/link/internal/loadpe bootstrap/cmd/link/internal/loadxcoff bootstrap/cmd/compile/internal/typebits bootstrap/cmd/compile/internal/ir bootstrap/cmd/link/internal/ld bootstrap/cmd/compile/internal/objw bootstrap/cmd/compile/internal/abi bootstrap/cmd/compile/internal/deadcode bootstrap/cmd/compile/internal/typecheck bootstrap/cmd/compile/internal/compare bootstrap/cmd/compile/internal/coverage bootstrap/cmd/compile/internal/pgo bootstrap/cmd/compile/internal/staticdata bootstrap/cmd/compile/internal/escape bootstrap/cmd/compile/internal/loopvar bootstrap/cmd/compile/internal/importer bootstrap/cmd/compile/internal/reflectdata bootstrap/cmd/compile/internal/inline bootstrap/cmd/compile/internal/devirtualize bootstrap/cmd/compile/internal/staticinit bootstrap/cmd/link/internal/amd64 bootstrap/cmd/link/internal/arm64 bootstrap/cmd/link/internal/mips bootstrap/cmd/link/internal/arm bootstrap/cmd/link/internal/mips64 bootstrap/cmd/link/internal/loong64 bootstrap/cmd/link/internal/ppc64 bootstrap/cmd/link/internal/riscv64 bootstrap/cmd/link/internal/s390x bootstrap/cmd/link/internal/wasm bootstrap/cmd/link/internal/x86 bootstrap/cmd/link bootstrap/cmd/asm/internal/arch bootstrap/cmd/compile/internal/ssa bootstrap/cmd/asm/internal/asm bootstrap/cmd/asm bootstrap/cmd/compile/internal/liveness bootstrap/cmd/compile/internal/ssagen bootstrap/cmd/compile/internal/arm64 bootstrap/cmd/compile/internal/mips bootstrap/cmd/compile/internal/loong64 bootstrap/cmd/compile/internal/mips64 bootstrap/cmd/compile/internal/arm bootstrap/cmd/compile/internal/amd64 bootstrap/cmd/compile/internal/dwarfgen bootstrap/cmd/compile/internal/walk bootstrap/cmd/compile/internal/ppc64 bootstrap/cmd/compile/internal/riscv64 bootstrap/cmd/compile/internal/s390x bootstrap/cmd/compile/internal/wasm bootstrap/cmd/compile/internal/x86 bootstrap/cmd/compile/internal/noder bootstrap/cmd/compile/internal/pkginit bootstrap/cmd/compile/internal/gc bootstrap/cmd/compile Building Go bootstrap cmd/go (go_bootstrap) using Go toolchain1. runtime internal/goarch internal/bytealg internal/abi internal/godebugs internal/coverage/rtcov internal/cpu runtime/internal/syscall runtime/internal/math internal/goos runtime/internal/sys runtime/internal/atomic internal/goexperiment runtime: pointer 0xdeaddeaddeaddead runtime: found in object at *(0xffff5a7e9b98+0x4200) object=0xffff5a7e9b98 s=nil fatal error: found bad pointer in Go heap (incorrect use of unsafe or cgo?) runtime stack: runtime.dopanic__m :0 runtime.throw :0 runtime.badPointer :0 runtime.findObject :0 runtime.scanstackblock :0 doscanstack1 :0 runtime.doscanstack :0 runtime.markroot..func1 :0 runtime.systemstack :0 runtime.markroot.constprop.0.isra.0 :0 runtime.gcDrain :0 runtime.gcBgMarkWorker..func2 :0 runtime.systemstack..func1 :0 runtime_mstart :0 start_thread :0 thread_start :0 :0 goroutine 140 [GC worker (idle)]: runtime.mcall :0 runtime.systemstack :0 runtime.gcBgMarkWorker :0 runtime.kickoff :0 __startcontext :0 goroutine 1 [semacquire]: runtime.mcall :0 runtime.gopark :0 runtime.goparkunlock :0 runtime.semacquire1 :0 sync.runtime__Semacquire :0 sync.WaitGroup.Wait :0 bootstrap/cmd/compile/internal/gc.compileFunctions /builddir/build/BUILD/go/src/cmd/compile/internal/gc/compile.go:196 bootstrap_1cmd_1compile_1internal_1gc.Main /builddir/build/BUILD/go/src/cmd/compile/internal/gc/main.go:344 main.main /builddir/build/BUILD/go/src/cmd/compile/main.go:57 runtime.main :0 runtime.kickoff :0 __startcontext :0 goroutine 2 [force gc (idle)]: runtime.mcall :0 runtime.gopark :0 runtime.goparkunlock :0 runtime.forcegchelper :0 runtime.kickoff :0 __startcontext :0 goroutine 3 [finalizer wait]: runtime.mcall :0 runtime.gopark :0 runtime.goparkunlock :0 runtime.runfinq :0 runtime.kickoff :0 __startcontext :0 goroutine 4 [GC sweep wait]: runtime.mcall :0 runtime.gopark :0 runtime.goparkunlock :0 runtime.bgsweep :0 :0 runtime.kickoff :0 __startcontext :0 goroutine 5 [GC scavenge wait]: runtime.mcall :0 runtime.gopark :0 runtime.goparkunlock :0 runtime.bgscavenge :0 internal_1poll.runtime__pollSetDeadline :0 runtime.kickoff :0 __startcontext :0 goroutine 212 [GC worker (idle)]: runtime.mcall :0 runtime.gopark :0 runtime.gcBgMarkWorker :0 runtime.kickoff :0 __startcontext :0 goroutine 166 [GC worker (idle)]: runtime.mcall :0 runtime.gopark :0 runtime.gcBgMarkWorker :0 runtime.kickoff :0 __startcontext :0 goroutine 167 [GC worker (idle)]: runtime.mcall :0 runtime.gopark :0 runtime.gcBgMarkWorker :0 runtime.kickoff :0 __startcontext :0 goroutine 213 [GC worker (idle)]: runtime.mcall :0 runtime.gopark :0 runtime.gcBgMarkWorker :0 runtime.kickoff :0 __startcontext :0 goroutine 137 [GC worker (idle)]: runtime.mcall :0 runtime.gopark :0 runtime.gcBgMarkWorker :0 runtime.kickoff :0 __startcontext :0 goroutine 214 [select]: runtime.mcall :0 runtime.gopark :0 runtime.selectgo :0 bootstrap/cmd/compile/internal/gc.compileFunctions..func3 /builddir/build/BUILD/go/src/cmd/compile/internal/gc/compile.go:154 runtime.kickoff :0 __startcontext :0 created by bootstrap/cmd/compile/internal/gc.compileFunctions /builddir/build/BUILD/go/src/cmd/compile/internal/gc/compile.go:147 +0x1a0 goroutine 2827 [runnable]: runtime.mcall :0 runtime.Gosched :0 runtime.mallocgc :0 runtime.makeslice :0 bootstrap_1cmd_1compile_1internal_1ssa.regAllocState.init /builddir/build/BUILD/go/src/cmd/compile/internal/ssa/regalloc.go:703 bootstrap/cmd/compile/internal/ssa.regalloc /builddir/build/BUILD/go/src/cmd/compile/internal/ssa/regalloc.go:147 bootstrap_1cmd_1compile_1internal_1ssa.Compile /builddir/build/BUILD/go/src/cmd/compile/internal/ssa/compile.go:97 bootstrap/cmd/compile/internal/ssagen.buildssa /builddir/build/BUILD/go/src/cmd/compile/internal/ssagen/ssa.go:568 bootstrap_1cmd_1compile_1internal_1ssagen.Compile /builddir/build/BUILD/go/src/cmd/compile/internal/ssagen/pgen.go:187 bootstrap/cmd/compile/internal/gc.compileFunctions..func7 /builddir/build/BUILD/go/src/cmd/compile/internal/gc/compile.go:184 bootstrap/cmd/compile/internal/gc.compileFunctions..func4 /builddir/build/BUILD/go/src/cmd/compile/internal/gc/compile.go:166 runtime.kickoff :0 __startcontext :0 created by bootstrap/cmd/compile/internal/gc.compileFunctions..func3 /builddir/build/BUILD/go/src/cmd/compile/internal/gc/compile.go:165 +0x1b0 goroutine 2799 [runnable]: runtime.mcall :0 runtime.checkPreempt :0 runtime.mallocgc :0 runtime.newobject :0 bootstrap_1cmd_1compile_1internal_1ssa.regAllocState.regalloc /builddir/build/BUILD/go/src/cmd/compile/internal/ssa/regalloc.go:1716 bootstrap/cmd/compile/internal/ssa.regalloc /builddir/build/BUILD/go/src/cmd/compile/internal/ssa/regalloc.go:148 bootstrap_1cmd_1compile_1internal_1ssa.Compile /builddir/build/BUILD/go/src/cmd/compile/internal/ssa/compile.go:97 bootstrap/cmd/compile/internal/ssagen.buildssa /builddir/build/BUILD/go/src/cmd/compile/internal/ssagen/ssa.go:568 bootstrap_1cmd_1compile_1internal_1ssagen.Compile /builddir/build/BUILD/go/src/cmd/compile/internal/ssagen/pgen.go:187 bootstrap/cmd/compile/internal/gc.compileFunctions..func7 /builddir/build/BUILD/go/src/cmd/compile/internal/gc/compile.go:184 bootstrap/cmd/compile/internal/gc.compileFunctions..func4 /builddir/build/BUILD/go/src/cmd/compile/internal/gc/compile.go:166 runtime.kickoff :0 __startcontext :0 created by bootstrap/cmd/compile/internal/gc.compileFunctions..func3 /builddir/build/BUILD/go/src/cmd/compile/internal/gc/compile.go:165 +0x1b0 goroutine 138 [GC worker (idle)]: runtime.mcall :0 runtime.gopark :0 runtime.gcBgMarkWorker :0 runtime.kickoff :0 __startcontext :0 goroutine 139 [GC worker (idle)]: runtime.mcall :0 runtime.gopark :0 runtime.gcBgMarkWorker :0 runtime.kickoff :0 __startcontext :0 goroutine 2902 [runnable]: runtime.mcall :0 runtime.checkPreempt :0 runtime.mallocgc :0 runtime.makeslice :0 bootstrap_1cmd_1compile_1internal_1ssa.regAllocState.regalloc /builddir/build/BUILD/go/src/cmd/compile/internal/ssa/regalloc.go:1854 bootstrap/cmd/compile/internal/ssa.regalloc /builddir/build/BUILD/go/src/cmd/compile/internal/ssa/regalloc.go:148 bootstrap_1cmd_1compile_1internal_1ssa.Compile /builddir/build/BUILD/go/src/cmd/compile/internal/ssa/compile.go:97 bootstrap/cmd/compile/internal/ssagen.buildssa /builddir/build/BUILD/go/src/cmd/compile/internal/ssagen/ssa.go:568 bootstrap_1cmd_1compile_1internal_1ssagen.Compile /builddir/build/BUILD/go/src/cmd/compile/internal/ssagen/pgen.go:187 bootstrap/cmd/compile/internal/gc.compileFunctions..func7 /builddir/build/BUILD/go/src/cmd/compile/internal/gc/compile.go:184 bootstrap/cmd/compile/internal/gc.compileFunctions..func4 /builddir/build/BUILD/go/src/cmd/compile/internal/gc/compile.go:166 runtime.kickoff :0 __startcontext :0 created by bootstrap/cmd/compile/internal/gc.compileFunctions..func3 /builddir/build/BUILD/go/src/cmd/compile/internal/gc/compile.go:165 +0x1b0 goroutine 2886 [GC assist marking (scan)]: runtime.mcall :0 runtime.systemstack :0 runtime.mallocgc :0 runtime.newobject :0 runtime.makemap__small :0 bootstrap/cmd/compile/internal/ssa.expandCalls /builddir/build/BUILD/go/src/cmd/compile/internal/ssa/expand_calls.go:1203 bootstrap_1cmd_1compile_1internal_1ssa.Compile /builddir/build/BUILD/go/src/cmd/compile/internal/ssa/compile.go:97 bootstrap/cmd/compile/internal/ssagen.buildssa /builddir/build/BUILD/go/src/cmd/compile/internal/ssagen/ssa.go:568 bootstrap_1cmd_1compile_1internal_1ssagen.Compile /builddir/build/BUILD/go/src/cmd/compile/internal/ssagen/pgen.go:187 bootstrap/cmd/compile/internal/gc.compileFunctions..func7 /builddir/build/BUILD/go/src/cmd/compile/internal/gc/compile.go:184 bootstrap/cmd/compile/internal/gc.compileFunctions..func4 /builddir/build/BUILD/go/src/cmd/compile/internal/gc/compile.go:166 runtime.kickoff :0 __startcontext :0 created by bootstrap/cmd/compile/internal/gc.compileFunctions..func3 /builddir/build/BUILD/go/src/cmd/compile/internal/gc/compile.go:165 +0x1b0 goroutine 2876 [runnable]: runtime.mcall :0 runtime.checkPreempt :0 runtime.mallocgc :0 runtime.makeslice :0 bootstrap_1cmd_1compile_1internal_1ssa.layoutOrder /builddir/build/BUILD/go/src/cmd/compile/internal/ssa/layout.go:22 bootstrap/cmd/compile/internal/ssa.layout /builddir/build/BUILD/go/src/cmd/compile/internal/ssa/layout.go:11 bootstrap_1cmd_1compile_1internal_1ssa.Compile /builddir/build/BUILD/go/src/cmd/compile/internal/ssa/compile.go:97 bootstrap/cmd/compile/internal/ssagen.buildssa /builddir/build/BUILD/go/src/cmd/compile/internal/ssagen/ssa.go:568 bootstrap_1cmd_1compile_1internal_1ssagen.Compile /builddir/build/BUILD/go/src/cmd/compile/internal/ssagen/pgen.go:187 bootstrap/cmd/compile/internal/gc.compileFunctions..func7 /builddir/build/BUILD/go/src/cmd/compile/internal/gc/compile.go:184 bootstrap/cmd/compile/internal/gc.compileFunctions..func4 /builddir/build/BUILD/go/src/cmd/compile/internal/gc/compile.go:166 runtime.kickoff :0 __startcontext :0 created by bootstrap/cmd/compile/internal/gc.compileFunctions..func3 /builddir/build/BUILD/go/src/cmd/compile/internal/gc/compile.go:165 +0x1b0 goroutine 2858 [runnable]: runtime.mcall :0 runtime.checkPreempt :0 runtime.mallocgc :0 runtime.growslice :0 bootstrap_1cmd_1internal_1obj.LSym.Grow /builddir/build/BUILD/go/src/cmd/internal/obj/data.go:49 bootstrap_1cmd_1internal_1obj.LSym.prepwrite /builddir/build/BUILD/go/src/cmd/internal/obj/data.go:80 bootstrap_1cmd_1internal_1obj.LSym.WriteInt /builddir/build/BUILD/go/src/cmd/internal/obj/data.go:100 bootstrap_1cmd_1compile_1internal_1ssa.FuncDebug.PutLocationList /builddir/build/BUILD/go/src/cmd/compile/internal/ssa/debug.go:1524 bootstrap/cmd/compile/internal/dwarfgen.createComplexVar..func1 /builddir/build/BUILD/go/src/cmd/compile/internal/dwarfgen/dwarf.go:520 bootstrap/cmd/internal/dwarf.putvar /builddir/build/BUILD/go/src/cmd/internal/dwarf/dwarf.go:1703 bootstrap/cmd/internal/dwarf.putscope /builddir/build/BUILD/go/src/cmd/internal/dwarf/dwarf.go:1532 bootstrap/cmd/internal/dwarf.putPrunedScopes /builddir/build/BUILD/go/src/cmd/internal/dwarf/dwarf.go:1222 bootstrap_1cmd_1internal_1dwarf.PutDefaultFunc /builddir/build/BUILD/go/src/cmd/internal/dwarf/dwarf.go:1464 bootstrap_1cmd_1internal_1obj.Link.populateDWARF /builddir/build/BUILD/go/src/cmd/internal/obj/dwarf.go:386 bootstrap_1cmd_1internal_1obj.Flushplist /builddir/build/BUILD/go/src/cmd/internal/obj/plist.go:159 bootstrap_1cmd_1compile_1internal_1objw.Progs.Flush /builddir/build/BUILD/go/src/cmd/compile/internal/objw/prog.go:124 bootstrap_1cmd_1compile_1internal_1ssagen.Compile /builddir/build/BUILD/go/src/cmd/compile/internal/ssagen/pgen.go:212 bootstrap/cmd/compile/internal/gc.compileFunctions..func7 /builddir/build/BUILD/go/src/cmd/compile/internal/gc/compile.go:184 bootstrap/cmd/compile/internal/gc.compileFunctions..func4 /builddir/build/BUILD/go/src/cmd/compile/internal/gc/compile.go:166 runtime.kickoff :0 __startcontext :0 created by bootstrap/cmd/compile/internal/gc.compileFunctions..func3 /builddir/build/BUILD/go/src/cmd/compile/internal/gc/compile.go:165 +0x1b0 goroutine 2921 [runnable]: runtime.mcall :0 runtime.checkPreempt :0 runtime.mallocgc :0 runtime.growslice :0 bootstrap_1cmd_1compile_1internal_1ssagen.state.addNamedValue /builddir/build/BUILD/go/src/cmd/compile/internal/ssagen/ssa.go:6692 bootstrap_1cmd_1compile_1internal_1ssagen.state.assignWhichMayOverlap /builddir/build/BUILD/go/src/cmd/compile/internal/ssagen/ssa.go:3796 bootstrap_1cmd_1compile_1internal_1ssagen.state.stmt /builddir/build/BUILD/go/src/cmd/compile/internal/ssagen/ssa.go:1706 bootstrap_1cmd_1compile_1internal_1ssagen.state.stmtList /builddir/build/BUILD/go/src/cmd/compile/internal/ssagen/ssa.go:1417 bootstrap_1cmd_1compile_1internal_1ssagen.state.stmt /builddir/build/BUILD/go/src/cmd/compile/internal/ssagen/ssa.go:1437 bootstrap_1cmd_1compile_1internal_1ssagen.state.stmtList /builddir/build/BUILD/go/src/cmd/compile/internal/ssagen/ssa.go:1417 bootstrap/cmd/compile/internal/ssagen.buildssa /builddir/build/BUILD/go/src/cmd/compile/internal/ssagen/ssa.go:548 bootstrap_1cmd_1compile_1internal_1ssagen.Compile /builddir/build/BUILD/go/src/cmd/compile/internal/ssagen/pgen.go:187 bootstrap/cmd/compile/internal/gc.compileFunctions..func7 /builddir/build/BUILD/go/src/cmd/compile/internal/gc/compile.go:184 bootstrap/cmd/compile/internal/gc.compileFunctions..func4 /builddir/build/BUILD/go/src/cmd/compile/internal/gc/compile.go:166 runtime.kickoff :0 __startcontext :0 created by bootstrap/cmd/compile/internal/gc.compileFunctions..func3 /builddir/build/BUILD/go/src/cmd/compile/internal/gc/compile.go:165 +0x1b0 goroutine 2816 [runnable]: runtime.mcall :0 runtime.checkPreempt :0 runtime.mallocgc :0 runtime.growslice :0 bootstrap_1cmd_1compile_1internal_1ssa.factsTable.checkpoint /builddir/build/BUILD/go/src/cmd/compile/internal/ssa/prove.go:651 bootstrap/cmd/compile/internal/ssa.prove /builddir/build/BUILD/go/src/cmd/compile/internal/ssa/prove.go:802 bootstrap_1cmd_1compile_1internal_1ssa.Compile /builddir/build/BUILD/go/src/cmd/compile/internal/ssa/compile.go:97 bootstrap/cmd/compile/internal/ssagen.buildssa /builddir/build/BUILD/go/src/cmd/compile/internal/ssagen/ssa.go:568 bootstrap_1cmd_1compile_1internal_1ssagen.Compile /builddir/build/BUILD/go/src/cmd/compile/internal/ssagen/pgen.go:187 bootstrap/cmd/compile/internal/gc.compileFunctions..func7 /builddir/build/BUILD/go/src/cmd/compile/internal/gc/compile.go:184 bootstrap/cmd/compile/internal/gc.compileFunctions..func4 /builddir/build/BUILD/go/src/cmd/compile/internal/gc/compile.go:166 runtime.kickoff :0 __startcontext :0 created by bootstrap/cmd/compile/internal/gc.compileFunctions..func3 /builddir/build/BUILD/go/src/cmd/compile/internal/gc/compile.go:165 +0x1b0 go tool dist: FAILED: /builddir/build/BUILD/go/pkg/tool/linux_arm64/compile -std -pack -o /tmp/go-tool-dist-2741877102/runtime/_go_.a -p runtime -importcfg /tmp/go-tool-dist-2741877102/runtime/importcfg -+ -asmhdr /tmp/go-tool-dist-2741877102/runtime/go_asm.h -symabis /tmp/go-tool-dist-2741877102/runtime/symabis /builddir/build/BUILD/go/src/runtime/alg.go /builddir/build/BUILD/go/src/runtime/arena.go /builddir/build/BUILD/go/src/runtime/asan0.go /builddir/build/BUILD/go/src/runtime/atomic_pointer.go /builddir/build/BUILD/go/src/runtime/cgo.go /builddir/build/BUILD/go/src/runtime/cgo_mmap.go /builddir/build/BUILD/go/src/runtime/cgo_sigaction.go /builddir/build/BUILD/go/src/runtime/cgocall.go /builddir/build/BUILD/go/src/runtime/cgocallback.go /builddir/build/BUILD/go/src/runtime/cgocheck.go /builddir/build/BUILD/go/src/runtime/chan.go /builddir/build/BUILD/go/src/runtime/checkptr.go /builddir/build/BUILD/go/src/runtime/compiler.go /builddir/build/BUILD/go/src/runtime/complex.go /builddir/build/BUILD/go/src/runtime/covercounter.go /builddir/build/BUILD/go/src/runtime/covermeta.go /builddir/build/BUILD/go/src/runtime/cpuflags.go /builddir/build/BUILD/go/src/runtime/cpuflags_arm64.go /builddir/build/BUILD/go/src/runtime/cpuprof.go /builddir/build/BUILD/go/src/runtime/create_file_unix.go /builddir/build/BUILD/go/src/runtime/debug.go /builddir/build/BUILD/go/src/runtime/debugcall.go /builddir/build/BUILD/go/src/runtime/debuglog.go /builddir/build/BUILD/go/src/runtime/debuglog_off.go /builddir/build/BUILD/go/src/runtime/defs_linux_arm64.go /builddir/build/BUILD/go/src/runtime/env_posix.go /builddir/build/BUILD/go/src/runtime/error.go /builddir/build/BUILD/go/src/runtime/exithook.go /builddir/build/BUILD/go/src/runtime/extern.go /builddir/build/BUILD/go/src/runtime/fastlog2.go /builddir/build/BUILD/go/src/runtime/fastlog2table.go /builddir/build/BUILD/go/src/runtime/float.go /builddir/build/BUILD/go/src/runtime/hash64.go /builddir/build/BUILD/go/src/runtime/heapdump.go /builddir/build/BUILD/go/src/runtime/histogram.go /builddir/build/BUILD/go/src/runtime/iface.go /builddir/build/BUILD/go/src/runtime/lfstack.go /builddir/build/BUILD/go/src/runtime/lock_futex.go /builddir/build/BUILD/go/src/runtime/lockrank.go /builddir/build/BUILD/go/src/runtime/lockrank_off.go /builddir/build/BUILD/go/src/runtime/malloc.go /builddir/build/BUILD/go/src/runtime/map.go /builddir/build/BUILD/go/src/runtime/map_fast32.go /builddir/build/BUILD/go/src/runtime/map_fast64.go /builddir/build/BUILD/go/src/runtime/map_faststr.go /builddir/build/BUILD/go/src/runtime/mbarrier.go /builddir/build/BUILD/go/src/runtime/mbitmap.go /builddir/build/BUILD/go/src/runtime/mcache.go /builddir/build/BUILD/go/src/runtime/mcentral.go /builddir/build/BUILD/go/src/runtime/mcheckmark.go /builddir/build/BUILD/go/src/runtime/mem.go /builddir/build/BUILD/go/src/runtime/mem_linux.go /builddir/build/BUILD/go/src/runtime/metrics.go /builddir/build/BUILD/go/src/runtime/mfinal.go /builddir/build/BUILD/go/src/runtime/mfixalloc.go /builddir/build/BUILD/go/src/runtime/mgc.go /builddir/build/BUILD/go/src/runtime/mgclimit.go /builddir/build/BUILD/go/src/runtime/mgcmark.go /builddir/build/BUILD/go/src/runtime/mgcpacer.go /builddir/build/BUILD/go/src/runtime/mgcscavenge.go /builddir/build/BUILD/go/src/runtime/mgcstack.go /builddir/build/BUILD/go/src/runtime/mgcsweep.go /builddir/build/BUILD/go/src/runtime/mgcwork.go /builddir/build/BUILD/go/src/runtime/mheap.go /builddir/build/BUILD/go/src/runtime/minmax.go /builddir/build/BUILD/go/src/runtime/mpagealloc.go /builddir/build/BUILD/go/src/runtime/mpagealloc_64bit.go /builddir/build/BUILD/go/src/runtime/mpagecache.go /builddir/build/BUILD/go/src/runtime/mpallocbits.go /builddir/build/BUILD/go/src/runtime/mprof.go /builddir/build/BUILD/go/src/runtime/mranges.go /builddir/build/BUILD/go/src/runtime/msan0.go /builddir/build/BUILD/go/src/runtime/msize.go /builddir/build/BUILD/go/src/runtime/mspanset.go /builddir/build/BUILD/go/src/runtime/mstats.go /builddir/build/BUILD/go/src/runtime/mwbbuf.go /builddir/build/BUILD/go/src/runtime/nbpipe_pipe2.go /builddir/build/BUILD/go/src/runtime/netpoll.go /builddir/build/BUILD/go/src/runtime/netpoll_epoll.go /builddir/build/BUILD/go/src/runtime/nonwindows_stub.go /builddir/build/BUILD/go/src/runtime/os_linux.go /builddir/build/BUILD/go/src/runtime/os_linux_arm64.go /builddir/build/BUILD/go/src/runtime/os_linux_generic.go /builddir/build/BUILD/go/src/runtime/os_nonopenbsd.go /builddir/build/BUILD/go/src/runtime/os_unix.go /builddir/build/BUILD/go/src/runtime/pagetrace_off.go /builddir/build/BUILD/go/src/runtime/panic.go /builddir/build/BUILD/go/src/runtime/pinner.go /builddir/build/BUILD/go/src/runtime/plugin.go /builddir/build/BUILD/go/src/runtime/preempt.go /builddir/build/BUILD/go/src/runtime/preempt_nonwindows.go /builddir/build/BUILD/go/src/runtime/print.go /builddir/build/BUILD/go/src/runtime/proc.go /builddir/build/BUILD/go/src/runtime/profbuf.go /builddir/build/BUILD/go/src/runtime/proflabel.go /builddir/build/BUILD/go/src/runtime/race0.go /builddir/build/BUILD/go/src/runtime/rdebug.go /builddir/build/BUILD/go/src/runtime/retry.go /builddir/build/BUILD/go/src/runtime/runtime.go /builddir/build/BUILD/go/src/runtime/runtime1.go /builddir/build/BUILD/go/src/runtime/runtime2.go /builddir/build/BUILD/go/src/runtime/runtime_boring.go /builddir/build/BUILD/go/src/runtime/rwmutex.go /builddir/build/BUILD/go/src/runtime/security_linux.go /builddir/build/BUILD/go/src/runtime/security_unix.go /builddir/build/BUILD/go/src/runtime/select.go /builddir/build/BUILD/go/src/runtime/sema.go /builddir/build/BUILD/go/src/runtime/signal_arm64.go /builddir/build/BUILD/go/src/runtime/signal_linux_arm64.go /builddir/build/BUILD/go/src/runtime/signal_unix.go /builddir/build/BUILD/go/src/runtime/sigqueue.go /builddir/build/BUILD/go/src/runtime/sigqueue_note.go /builddir/build/BUILD/go/src/runtime/sigtab_linux_generic.go /builddir/build/BUILD/go/src/runtime/sizeclasses.go /builddir/build/BUILD/go/src/runtime/slice.go /builddir/build/BUILD/go/src/runtime/softfloat64.go /builddir/build/BUILD/go/src/runtime/stack.go /builddir/build/BUILD/go/src/runtime/stkframe.go /builddir/build/BUILD/go/src/runtime/string.go /builddir/build/BUILD/go/src/runtime/stubs.go /builddir/build/BUILD/go/src/runtime/stubs2.go /builddir/build/BUILD/go/src/runtime/stubs3.go /builddir/build/BUILD/go/src/runtime/stubs_arm64.go /builddir/build/BUILD/go/src/runtime/stubs_linux.go /builddir/build/BUILD/go/src/runtime/symtab.go /builddir/build/BUILD/go/src/runtime/symtabinl.go /builddir/build/BUILD/go/src/runtime/sys_arm64.go /builddir/build/BUILD/go/src/runtime/sys_nonppc64x.go /builddir/build/BUILD/go/src/runtime/tagptr.go /builddir/build/BUILD/go/src/runtime/tagptr_64bit.go /builddir/build/BUILD/go/src/runtime/test_stubs.go /builddir/build/BUILD/go/src/runtime/time.go /builddir/build/BUILD/go/src/runtime/time_nofake.go /builddir/build/BUILD/go/src/runtime/timestub.go /builddir/build/BUILD/go/src/runtime/timestub2.go /builddir/build/BUILD/go/src/runtime/tls_stub.go /builddir/build/BUILD/go/src/runtime/trace.go /builddir/build/BUILD/go/src/runtime/traceback.go /builddir/build/BUILD/go/src/runtime/type.go /builddir/build/BUILD/go/src/runtime/typekind.go /builddir/build/BUILD/go/src/runtime/unsafe.go /builddir/build/BUILD/go/src/runtime/utf8.go /builddir/build/BUILD/go/src/runtime/vdso_elf64.go /builddir/build/BUILD/go/src/runtime/vdso_linux.go /builddir/build/BUILD/go/src/runtime/vdso_linux_arm64.go /builddir/build/BUILD/go/src/runtime/write_err.go: exit status 2 error: Bad exit status from /var/tmp/rpm-tmp.dSTJCL (%build) Bad exit status from /var/tmp/rpm-tmp.dSTJCL (%build) RPM build errors: Child return code was: 1 EXCEPTION: [Error('Command failed: \n # bash --login -c /usr/bin/rpmbuild -bb --noclean --target aarch64 --nodeps /builddir/build/SPECS/golang.spec\n', 1)] Traceback (most recent call last): File "/usr/lib/python3.11/site-packages/mockbuild/trace_decorator.py", line 93, in trace result = func(*args, **kw) ^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.11/site-packages/mockbuild/util.py", line 597, 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 aarch64 --nodeps /builddir/build/SPECS/golang.spec