>>> host-go 1.21.4 Extracting mkdir -p /home/buildroot/autobuild/instance-2/output-1/per-package/host-go/host mkdir -p /home/buildroot/autobuild/instance-2/output-1/per-package/host-go/target gzip -d -c /home/buildroot/autobuild/instance-2/dl/go/go1.21.4.src.tar.gz | tar --strip-components=1 -C /home/buildroot/autobuild/instance-2/output-1/build/host-go-1.21.4 -xf - >>> host-go 1.21.4 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 >>> host-go 1.21.4 Configuring mkdir -p /home/buildroot/autobuild/instance-2/output-1/per-package/host-go/host rsync -a --hard-links --link-dest=/home/buildroot/autobuild/instance-2/output-1/per-package/host-fakedate/host/ /home/buildroot/autobuild/instance-2/output-1/per-package/host-fakedate/host/ /home/buildroot/autobuild/instance-2/output-1/per-package/host-go/host rsync -a --hard-links --link-dest=/home/buildroot/autobuild/instance-2/output-1/per-package/host-go-bootstrap-stage2/host/ /home/buildroot/autobuild/instance-2/output-1/per-package/host-go-bootstrap-stage2/host/ /home/buildroot/autobuild/instance-2/output-1/per-package/host-go/host rsync -a --hard-links --link-dest=/home/buildroot/autobuild/instance-2/output-1/per-package/host-skeleton/host/ /home/buildroot/autobuild/instance-2/output-1/per-package/host-skeleton/host/ /home/buildroot/autobuild/instance-2/output-1/per-package/host-go/host rsync -a --hard-links --link-dest=/home/buildroot/autobuild/instance-2/output-1/per-package/toolchain/host/ /home/buildroot/autobuild/instance-2/output-1/per-package/toolchain/host/ /home/buildroot/autobuild/instance-2/output-1/per-package/host-go/host mkdir -p /home/buildroot/autobuild/instance-2/output-1/per-package/host-go/target rsync -a --hard-links --link-dest=/home/buildroot/autobuild/instance-2/output-1/per-package/host-fakedate/target/ /home/buildroot/autobuild/instance-2/output-1/per-package/host-fakedate/target/ /home/buildroot/autobuild/instance-2/output-1/per-package/host-go/target rsync -a --hard-links --link-dest=/home/buildroot/autobuild/instance-2/output-1/per-package/host-go-bootstrap-stage2/target/ /home/buildroot/autobuild/instance-2/output-1/per-package/host-go-bootstrap-stage2/target/ /home/buildroot/autobuild/instance-2/output-1/per-package/host-go/target rsync -a --hard-links --link-dest=/home/buildroot/autobuild/instance-2/output-1/per-package/host-skeleton/target/ /home/buildroot/autobuild/instance-2/output-1/per-package/host-skeleton/target/ /home/buildroot/autobuild/instance-2/output-1/per-package/host-go/target rsync -a --hard-links --link-dest=/home/buildroot/autobuild/instance-2/output-1/per-package/toolchain/target/ /home/buildroot/autobuild/instance-2/output-1/per-package/toolchain/target/ /home/buildroot/autobuild/instance-2/output-1/per-package/host-go/target >>> host-go 1.21.4 Building cd /home/buildroot/autobuild/instance-2/output-1/build/host-go-1.21.4/src && GO111MODULE=off GOCACHE=/home/buildroot/autobuild/instance-2/output-1/per-package/host-go/host/share/host-go-cache GOROOT_BOOTSTRAP=/home/buildroot/autobuild/instance-2/output-1/per-package/host-go/host/lib/go-1.19.11 GOROOT_FINAL=/home/buildroot/autobuild/instance-2/output-1/per-package/host-go/host/lib/go GOROOT="/home/buildroot/autobuild/instance-2/output-1/build/host-go-1.21.4" GOBIN="/home/buildroot/autobuild/instance-2/output-1/build/host-go-1.21.4/bin" GOOS=linux CC=/usr/bin/gcc CXX=/usr/bin/g++ CGO_ENABLED=1 CC_FOR_TARGET="/home/buildroot/autobuild/instance-2/output-1/per-package/host-go/host/bin/mips64-buildroot-linux-uclibc-gcc" CXX_FOR_TARGET="/home/buildroot/autobuild/instance-2/output-1/per-package/host-go/host/bin/mips64-buildroot-linux-uclibc-g++" GOOS="linux" GOARCH=mips64 GO_ASSUME_CROSSCOMPILING=1 ./make.bash Building Go cmd/dist using /home/buildroot/autobuild/instance-2/output-1/per-package/host-go/host/lib/go-1.19.11. (go1.19.11 linux/amd64) Building Go toolchain1 using /home/buildroot/autobuild/instance-2/output-1/per-package/host-go/host/lib/go-1.19.11. 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/mips64. # runtime/cgo gcc_stack_unix.c: In function 'x_cgo_getstackbound': gcc_stack_unix.c:25:9: error: implicit declaration of function 'pthread_getattr_np'; did you mean 'pthread_attr_init'? [-Werror=implicit-function-declaration] 25 | pthread_getattr_np(pthread_self(), &attr); // GNU extension | ^~~~~~~~~~~~~~~~~~ | pthread_attr_init cc1: all warnings being treated as errors go tool dist: FAILED: /home/buildroot/autobuild/instance-2/output-1/build/host-go-1.21.4/pkg/tool/linux_amd64/go_bootstrap install std: exit status 1 make: *** [package/pkg-generic.mk:283: /home/buildroot/autobuild/instance-2/output-1/build/host-go-1.21.4/.stamp_built] Error 2 make: Leaving directory '/home/buildroot/autobuild/instance-2/buildroot'