>>> host-go 1.16.3 Extracting gzip -d -c /nvme/rc-buildroot-test/scripts/instance-0/dl/go/go1.16.3.src.tar.gz | tar --strip-components=1 -C /nvme/rc-buildroot-test/scripts/instance-0/output-1/build/host-go-1.16.3 -xf - >>> host-go 1.16.3 Patching Applying 0001-build.go-explicit-option-for-crosscompilation.patch using patch: patching file src/cmd/dist/build.go Hunk #1 succeeded at 265 (offset 13 lines). >>> host-go 1.16.3 Configuring >>> host-go 1.16.3 Building cd /nvme/rc-buildroot-test/scripts/instance-0/output-1/build/host-go-1.16.3/src && GO111MODULE=off GOCACHE=/nvme/rc-buildroot-test/scripts/instance-0/output-1/host/usr/share/host-go-cache GOROOT_BOOTSTRAP=/nvme/rc-buildroot-test/scripts/instance-0/output-1/host/lib/go-1.4.3 GOROOT_FINAL=/nvme/rc-buildroot-test/scripts/instance-0/output-1/host/lib/go GOROOT="/nvme/rc-buildroot-test/scripts/instance-0/output-1/build/host-go-1.16.3" GOBIN="/nvme/rc-buildroot-test/scripts/instance-0/output-1/build/host-go-1.16.3/bin" GOOS=linux CC=/usr/bin/gcc CXX=/usr/bin/g++ CGO_ENABLED=1 CC_FOR_TARGET="/nvme/rc-buildroot-test/scripts/instance-0/output-1/host/bin/mips-linux-gnu-gcc" CXX_FOR_TARGET="/nvme/rc-buildroot-test/scripts/instance-0/output-1/host/bin/mips-linux-gnu-g++" GOARCH=mips64le GO_ASSUME_CROSSCOMPILING=1 ./make.bash Building Go cmd/dist using /nvme/rc-buildroot-test/scripts/instance-0/output-1/host/lib/go-1.4.3. (go1.4.3 linux/amd64) Building Go toolchain1 using /nvme/rc-buildroot-test/scripts/instance-0/output-1/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 /nvme/rc-buildroot-test/scripts/instance-0/output-1/build/host-go-1.16.3/pkg/tool/linux_amd64/link: running /nvme/rc-buildroot-test/scripts/instance-0/output-1/host/bin/mips-linux-gnu-gcc failed: exit status 1 /nvme/rc-buildroot-test/scripts/instance-0/output-1/host/opt/ext-toolchain/bin/../lib/gcc/mips-linux-gnu/5.3.0/../../../../mips-linux-gnu/bin/ld: /tmp/go-link-444399233/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-444399233/go.o: error adding symbols: Bad value collect2: error: ld returned 1 exit status # cmd/pprof /nvme/rc-buildroot-test/scripts/instance-0/output-1/build/host-go-1.16.3/pkg/tool/linux_amd64/link: running /nvme/rc-buildroot-test/scripts/instance-0/output-1/host/bin/mips-linux-gnu-gcc failed: exit status 1 /nvme/rc-buildroot-test/scripts/instance-0/output-1/host/opt/ext-toolchain/bin/../lib/gcc/mips-linux-gnu/5.3.0/../../../../mips-linux-gnu/bin/ld: /tmp/go-link-676750362/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-676750362/go.o: error adding symbols: Bad value collect2: error: ld returned 1 exit status # cmd/go /nvme/rc-buildroot-test/scripts/instance-0/output-1/build/host-go-1.16.3/pkg/tool/linux_amd64/link: running /nvme/rc-buildroot-test/scripts/instance-0/output-1/host/bin/mips-linux-gnu-gcc failed: exit status 1 /nvme/rc-buildroot-test/scripts/instance-0/output-1/host/opt/ext-toolchain/bin/../lib/gcc/mips-linux-gnu/5.3.0/../../../../mips-linux-gnu/bin/ld: /tmp/go-link-141124901/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-141124901/go.o: error adding symbols: Bad value collect2: error: ld returned 1 exit status go tool dist: FAILED: /nvme/rc-buildroot-test/scripts/instance-0/output-1/build/host-go-1.16.3/pkg/tool/linux_amd64/go_bootstrap install -gcflags=all= -ldflags=all= std cmd: exit status 2 package/pkg-generic.mk:247: recipe for target '/nvme/rc-buildroot-test/scripts/instance-0/output-1/build/host-go-1.16.3/.stamp_built' failed make: *** [/nvme/rc-buildroot-test/scripts/instance-0/output-1/build/host-go-1.16.3/.stamp_built] Error 2 make: Leaving directory '/nvme/rc-buildroot-test/scripts/instance-0/buildroot'