>>> host-go 1.22.7 Extracting gzip -d -c /home/buildroot/instance-0/dl/go/go1.22.7.src.tar.gz | tar --strip-components=1 -C /home/buildroot/instance-0/output-1/build/host-go-1.22.7 -xf - >>> host-go 1.22.7 Patching Applying 0001-build.go-explicit-option-for-crosscompilation.patch using patch: patching file src/cmd/dist/build.go Hunk #1 succeeded at 284 (offset -2 lines). Applying 0002-cmd-dist-set-buildvcs-false-when-building-go-bootstr.patch using patch: patching file src/cmd/dist/buildtool.go Hunk #1 succeeded at 223 (offset 2 lines). >>> host-go 1.22.7 Configuring >>> host-go 1.22.7 Building cd /home/buildroot/instance-0/output-1/build/host-go-1.22.7/src && GO111MODULE=off GOCACHE=/home/buildroot/instance-0/output-1/host/share/host-go-cache GOROOT_BOOTSTRAP=/home/buildroot/instance-0/output-1/host/lib/go-1.21.8 GOROOT_FINAL=/home/buildroot/instance-0/output-1/host/lib/go GOROOT="/home/buildroot/instance-0/output-1/build/host-go-1.22.7" GOBIN="/home/buildroot/instance-0/output-1/build/host-go-1.22.7/bin" GOOS=linux CC=/usr/bin/gcc CXX=/usr/bin/g++ CGO_ENABLED=1 CC_FOR_TARGET="/home/buildroot/instance-0/output-1/host/bin/mips64el-buildroot-linux-gnu-gcc" CXX_FOR_TARGET="/home/buildroot/instance-0/output-1/host/bin/mips64el-buildroot-linux-gnu-g++" GOOS="linux" GOARCH=mips64le GO_ASSUME_CROSSCOMPILING=1 ./make.bash Building Go cmd/dist using /home/buildroot/instance-0/output-1/host/lib/go-1.21.8. (go1.21.8 linux/amd64) Building Go toolchain1 using /home/buildroot/instance-0/output-1/host/lib/go-1.21.8. 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 commands for host, linux/amd64. Building packages and commands for target, linux/mips64le. # runtime/cgo In file included from /home/buildroot/instance-0/output-1/host/mips64el-buildroot-linux-gnu/sysroot/usr/include/features.h:527, from /home/buildroot/instance-0/output-1/host/mips64el-buildroot-linux-gnu/sysroot/usr/include/bits/libc-header-start.h:33, from /home/buildroot/instance-0/output-1/host/mips64el-buildroot-linux-gnu/sysroot/usr/include/stdlib.h:26, from _cgo_export.c:3: /home/buildroot/instance-0/output-1/host/mips64el-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: /home/buildroot/instance-0/output-1/build/host-go-1.22.7/pkg/tool/linux_amd64/go_bootstrap install std: exit status 1 make: *** [package/pkg-generic.mk:283: /home/buildroot/instance-0/output-1/build/host-go-1.22.7/.stamp_built] Error 2 make: Leaving directory '/home/buildroot/instance-0/buildroot'