>>> host-go 1.18.5 Extracting gzip -d -c /nvmedata/autobuild/instance-20/dl/go/go1.18.5.src.tar.gz | tar --strip-components=1 -C /nvmedata/autobuild/instance-20/output-1/build/host-go-1.18.5 -xf - >>> host-go 1.18.5 Patching Applying 0001-build.go-explicit-option-for-crosscompilation.patch using patch: patching file src/cmd/dist/build.go Hunk #1 succeeded at 273 (offset -13 lines). Applying 0002-cmd-dist-use-gohostarch-for-ssa-rewrite-check.patch using patch: patching file src/cmd/dist/buildtool.go Applying 0003-runtime-support-riscv64-SV57-mode.patch using patch: patching file src/runtime/lfstack_64bit.go >>> host-go 1.18.5 Configuring >>> host-go 1.18.5 Building cd /nvmedata/autobuild/instance-20/output-1/build/host-go-1.18.5/src && GO111MODULE=off GOCACHE=/nvmedata/autobuild/instance-20/output-1/host/share/host-go-cache GOROOT_BOOTSTRAP=/nvmedata/autobuild/instance-20/output-1/host/lib/go-1.4-bootstrap-20171003 GOROOT_FINAL=/nvmedata/autobuild/instance-20/output-1/host/lib/go GOROOT="/nvmedata/autobuild/instance-20/output-1/build/host-go-1.18.5" GOBIN="/nvmedata/autobuild/instance-20/output-1/build/host-go-1.18.5/bin" GOOS=linux CC=/usr/bin/gcc CXX=/usr/bin/g++ CGO_ENABLED=1 CC_FOR_TARGET="/nvmedata/autobuild/instance-20/output-1/host/bin/mips64-buildroot-linux-musl-gcc" CXX_FOR_TARGET="/nvmedata/autobuild/instance-20/output-1/host/bin/mips64-buildroot-linux-musl-g++" GOOS="linux" GOARCH=mips64 GO_ASSUME_CROSSCOMPILING=1 ./make.bash Building Go cmd/dist using /nvmedata/autobuild/instance-20/output-1/host/lib/go-1.4-bootstrap-20171003. (go1.4-bootstrap-20170531 linux/amd64) Building Go toolchain1 using /nvmedata/autobuild/instance-20/output-1/host/lib/go-1.4-bootstrap-20171003. 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. Building packages and commands for host, linux/amd64. Building packages and commands for target, linux/mips64. # runtime/cgo gcc_linux_mips64x.c: In function 'x_cgo_init': gcc_linux_mips64x.c:72:15: error: cast from pointer to integer of different size [-Werror=pointer-to-int-cast] 72 | g->stacklo = (uintptr)&attr - size + 4096; | ^ cc1: all warnings being treated as errors go tool dist: FAILED: /nvmedata/autobuild/instance-20/output-1/build/host-go-1.18.5/pkg/tool/linux_amd64/go_bootstrap install -gcflags=all= -ldflags=all= std cmd: exit status 2 make: *** [package/pkg-generic.mk:293: /nvmedata/autobuild/instance-20/output-1/build/host-go-1.18.5/.stamp_built] Error 2 make: Leaving directory '/nvmedata/autobuild/instance-20/buildroot'