>>> host-go 1.13.8 Extracting gzip -d -c /data/buildroot/buildroot-test/instance-0/dl/go/go1.13.8.src.tar.gz | /data/buildroot/buildroot-test/instance-0/output/host/bin/tar --strip-components=1 -C /data/buildroot/buildroot-test/instance-0/output/build/host-go-1.13.8 -xf - >>> host-go 1.13.8 Patching Applying 0001-build.go-explicit-option-for-crosscompilation.patch using patch: patching file src/cmd/dist/build.go Hunk #1 succeeded at 266 (offset 14 lines). >>> host-go 1.13.8 Configuring >>> host-go 1.13.8 Building cd /data/buildroot/buildroot-test/instance-0/output/build/host-go-1.13.8/src && GO111MODULE=off GOCACHE=/data/buildroot/buildroot-test/instance-0/output/host/usr/share/host-go-cache GOROOT_BOOTSTRAP=/data/buildroot/buildroot-test/instance-0/output/host/lib/go-1.4.3 GOROOT_FINAL=/data/buildroot/buildroot-test/instance-0/output/host/lib/go GOROOT="/data/buildroot/buildroot-test/instance-0/output/build/host-go-1.13.8" GOBIN="/data/buildroot/buildroot-test/instance-0/output/build/host-go-1.13.8/bin" GOOS=linux CC=/usr/bin/gcc CXX=/usr/bin/g++ CGO_ENABLED=1 CC_FOR_TARGET="/data/buildroot/buildroot-test/instance-0/output/host/bin/mips-linux-gnu-gcc" CXX_FOR_TARGET="/data/buildroot/buildroot-test/instance-0/output/host/bin/mips-linux-gnu-g++" GOARCH=mips64le GO_ASSUME_CROSSCOMPILING=1 ./make.bash Building Go cmd/dist using /data/buildroot/buildroot-test/instance-0/output/host/lib/go-1.4.3. Building Go toolchain1 using /data/buildroot/buildroot-test/instance-0/output/host/lib/go-1.4.3. 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. # cmd/trace /data/buildroot/buildroot-test/instance-0/output/build/host-go-1.13.8/pkg/tool/linux_amd64/link: running /data/buildroot/buildroot-test/instance-0/output/host/bin/mips-linux-gnu-gcc failed: exit status 1 /data/buildroot/buildroot-test/instance-0/output/host/opt/ext-toolchain/bin/../lib/gcc/mips-linux-gnu/5.3.0/../../../../mips-linux-gnu/bin/ld: /tmp/go-link-075575489/go.o: relocation R_MIPS_26 against `a local symbol' can not be used when making a shared object; recompile with -fPIC /tmp/go-link-075575489/go.o: error adding symbols: Bad value collect2: error: ld returned 1 exit status # cmd/pprof /data/buildroot/buildroot-test/instance-0/output/build/host-go-1.13.8/pkg/tool/linux_amd64/link: running /data/buildroot/buildroot-test/instance-0/output/host/bin/mips-linux-gnu-gcc failed: exit status 1 /data/buildroot/buildroot-test/instance-0/output/host/opt/ext-toolchain/bin/../lib/gcc/mips-linux-gnu/5.3.0/../../../../mips-linux-gnu/bin/ld: /tmp/go-link-967099097/go.o: relocation R_MIPS_26 against `a local symbol' can not be used when making a shared object; recompile with -fPIC /tmp/go-link-967099097/go.o: error adding symbols: Bad value collect2: error: ld returned 1 exit status # cmd/go /data/buildroot/buildroot-test/instance-0/output/build/host-go-1.13.8/pkg/tool/linux_amd64/link: running /data/buildroot/buildroot-test/instance-0/output/host/bin/mips-linux-gnu-gcc failed: exit status 1 /data/buildroot/buildroot-test/instance-0/output/host/opt/ext-toolchain/bin/../lib/gcc/mips-linux-gnu/5.3.0/../../../../mips-linux-gnu/bin/ld: /tmp/go-link-293296575/go.o: relocation R_MIPS_26 against `a local symbol' can not be used when making a shared object; recompile with -fPIC /tmp/go-link-293296575/go.o: error adding symbols: Bad value collect2: error: ld returned 1 exit status go tool dist: FAILED: /data/buildroot/buildroot-test/instance-0/output/build/host-go-1.13.8/pkg/tool/linux_amd64/go_bootstrap install -gcflags=all= -ldflags=all= std cmd: exit status 2 make: *** [package/pkg-generic.mk:269: /data/buildroot/buildroot-test/instance-0/output/build/host-go-1.13.8/.stamp_built] Error 2 make: Leaving directory '/data/buildroot/buildroot-test/instance-0/buildroot'