>>> host-go 1.18.3 Extracting mkdir -p /home/buildroot/autobuild/instance-3/output-1/per-package/host-go/host mkdir -p /home/buildroot/autobuild/instance-3/output-1/per-package/host-go/target gzip -d -c /home/buildroot/autobuild/instance-3/dl/go/go1.18.3.src.tar.gz | tar --strip-components=1 -C /home/buildroot/autobuild/instance-3/output-1/build/host-go-1.18.3 -xf - >>> host-go 1.18.3 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 >>> host-go 1.18.3 Configuring mkdir -p /home/buildroot/autobuild/instance-3/output-1/per-package/host-go/host rsync -a --link-dest=/home/buildroot/autobuild/instance-3/output-1/per-package/host-fakedate/host/ /home/buildroot/autobuild/instance-3/output-1/per-package/host-fakedate/host/ /home/buildroot/autobuild/instance-3/output-1/per-package/host-go/host rsync -a --link-dest=/home/buildroot/autobuild/instance-3/output-1/per-package/host-go-bootstrap/host/ /home/buildroot/autobuild/instance-3/output-1/per-package/host-go-bootstrap/host/ /home/buildroot/autobuild/instance-3/output-1/per-package/host-go/host rsync -a --link-dest=/home/buildroot/autobuild/instance-3/output-1/per-package/host-skeleton/host/ /home/buildroot/autobuild/instance-3/output-1/per-package/host-skeleton/host/ /home/buildroot/autobuild/instance-3/output-1/per-package/host-go/host mkdir -p /home/buildroot/autobuild/instance-3/output-1/per-package/host-go/target rsync -a --link-dest=/home/buildroot/autobuild/instance-3/output-1/per-package/host-fakedate/target/ /home/buildroot/autobuild/instance-3/output-1/per-package/host-fakedate/target/ /home/buildroot/autobuild/instance-3/output-1/per-package/host-go/target rsync -a --link-dest=/home/buildroot/autobuild/instance-3/output-1/per-package/host-go-bootstrap/target/ /home/buildroot/autobuild/instance-3/output-1/per-package/host-go-bootstrap/target/ /home/buildroot/autobuild/instance-3/output-1/per-package/host-go/target rsync -a --link-dest=/home/buildroot/autobuild/instance-3/output-1/per-package/host-skeleton/target/ /home/buildroot/autobuild/instance-3/output-1/per-package/host-skeleton/target/ /home/buildroot/autobuild/instance-3/output-1/per-package/host-go/target >>> host-go 1.18.3 Building cd /home/buildroot/autobuild/instance-3/output-1/build/host-go-1.18.3/src && GO111MODULE=off GOCACHE=/home/buildroot/autobuild/instance-3/output-1/per-package/host-go/host/usr/share/host-go-cache GOROOT_BOOTSTRAP=/home/buildroot/autobuild/instance-3/output-1/per-package/host-go/host/lib/go-1.4-bootstrap-20171003 GOROOT_FINAL=/home/buildroot/autobuild/instance-3/output-1/per-package/host-go/host/lib/go GOROOT="/home/buildroot/autobuild/instance-3/output-1/build/host-go-1.18.3" GOBIN="/home/buildroot/autobuild/instance-3/output-1/build/host-go-1.18.3/bin" GOOS=linux CC=/usr/bin/gcc CXX=/usr/bin/g++ CGO_ENABLED=1 CC_FOR_TARGET="/home/buildroot/autobuild/instance-3/output-1/per-package/host-go/host/bin/mips64el-buildroot-linux-musl-gcc" CXX_FOR_TARGET="/home/buildroot/autobuild/instance-3/output-1/per-package/host-go/host/bin/mips64el-buildroot-linux-musl-g++" GOOS="linux" GOARCH=mips64le GO_ASSUME_CROSSCOMPILING=1 ./make.bash Building Go cmd/dist using /home/buildroot/autobuild/instance-3/output-1/per-package/host-go/host/lib/go-1.4-bootstrap-20171003. (go1.4-bootstrap-20170531 linux/amd64) Building Go toolchain1 using /home/buildroot/autobuild/instance-3/output-1/per-package/host-go/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/mips64le. # runtime/cgo In file included from cgo-builtin-export-prolog:2, from _cgo_export.c:4: /home/buildroot/autobuild/instance-3/output-1/per-package/host-go/host/lib/gcc/mips64el-buildroot-linux-musl/9.4.0/include/stddef.h:209:23: error: conflicting types for 'size_t' 209 | typedef __SIZE_TYPE__ size_t; | ^~~~~~ In file included from /home/buildroot/autobuild/instance-3/output-1/per-package/host-go/host/mips64el-buildroot-linux-musl/sysroot/usr/include/stdlib.h:21, from _cgo_export.c:3: /home/buildroot/autobuild/instance-3/output-1/per-package/host-go/host/mips64el-buildroot-linux-musl/sysroot/usr/include/bits/alltypes.h:43:24: note: previous declaration of 'size_t' was here 43 | typedef unsigned _Addr size_t; | ^~~~~~ go tool dist: FAILED: /home/buildroot/autobuild/instance-3/output-1/build/host-go-1.18.3/pkg/tool/linux_amd64/go_bootstrap install -gcflags=all= -ldflags=all= std cmd: exit status 2 package/pkg-generic.mk:290: recipe for target '/home/buildroot/autobuild/instance-3/output-1/build/host-go-1.18.3/.stamp_built' failed make: *** [/home/buildroot/autobuild/instance-3/output-1/build/host-go-1.18.3/.stamp_built] Error 2 make: Leaving directory '/home/buildroot/autobuild/instance-3/buildroot'