>>> host-go 1.19.5 Extracting gzip -d -c /tmp/instance-4/dl/go/go1.19.5.src.tar.gz | tar --strip-components=1 -C /tmp/instance-4/output-1/build/host-go-1.19.5 -xf - >>> host-go 1.19.5 Patching Applying 0001-build.go-explicit-option-for-crosscompilation.patch using patch: patching file src/cmd/dist/build.go Applying 0003-runtime-support-riscv64-SV57-mode.patch using patch: patching file src/runtime/lfstack_64bit.go >>> host-go 1.19.5 Configuring >>> host-go 1.19.5 Building cd /tmp/instance-4/output-1/build/host-go-1.19.5/src && GO111MODULE=off GOCACHE=/tmp/instance-4/output-1/host/share/host-go-cache GOROOT_BOOTSTRAP=/tmp/instance-4/output-1/host/lib/go-1.4-bootstrap-20171003 GOROOT_FINAL=/tmp/instance-4/output-1/host/lib/go GOROOT="/tmp/instance-4/output-1/build/host-go-1.19.5" GOBIN="/tmp/instance-4/output-1/build/host-go-1.19.5/bin" GOOS=linux CC=/usr/bin/gcc CXX=/usr/bin/g++ CGO_ENABLED=1 CC_FOR_TARGET="/tmp/instance-4/output-1/host/bin/mips64-buildroot-linux-gnu-gcc" CXX_FOR_TARGET="/tmp/instance-4/output-1/host/bin/mips64-buildroot-linux-gnu-g++" GOOS="linux" GOARCH=mips64 GO_ASSUME_CROSSCOMPILING=1 ./make.bash Building Go cmd/dist using /tmp/instance-4/output-1/host/lib/go-1.4-bootstrap-20171003. (go1.4-bootstrap-20170531 linux/amd64) Building Go toolchain1 using /tmp/instance-4/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 In file included from /tmp/instance-4/output-1/host/mips64-buildroot-linux-gnu/sysroot/usr/include/features.h:514, from /tmp/instance-4/output-1/host/mips64-buildroot-linux-gnu/sysroot/usr/include/bits/libc-header-start.h:33, from /tmp/instance-4/output-1/host/mips64-buildroot-linux-gnu/sysroot/usr/include/stdlib.h:26, from _cgo_export.c:3: /tmp/instance-4/output-1/host/mips64-buildroot-linux-gnu/sysroot/usr/include/gnu/stubs.h:35:11: fatal error: gnu/stubs-n64_hard.h: No such file or directory 35 | # include | ^~~~~~~~~~~~~~~~~~~~~~ compilation terminated. go tool dist: FAILED: /tmp/instance-4/output-1/build/host-go-1.19.5/pkg/tool/linux_amd64/go_bootstrap install std cmd: exit status 2 make: *** [package/pkg-generic.mk:293: /tmp/instance-4/output-1/build/host-go-1.19.5/.stamp_built] Error 2 make: Leaving directory '/tmp/instance-4/buildroot'