>>> host-go 1.13.12 Extracting gzip -d -c /home/naourr/work/instance-1/dl/go/go1.13.12.src.tar.gz | /home/naourr/work/instance-1/output-1/host/bin/tar --strip-components=1 -C /home/naourr/work/instance-1/output-1/build/host-go-1.13.12 -xf - >>> host-go 1.13.12 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.12 Configuring >>> host-go 1.13.12 Building cd /home/naourr/work/instance-1/output-1/build/host-go-1.13.12/src && GO111MODULE=off GOCACHE=/home/naourr/work/instance-1/output-1/host/usr/share/host-go-cache GOROOT_BOOTSTRAP=/home/naourr/work/instance-1/output-1/host/lib/go-1.4.3 GOROOT_FINAL=/home/naourr/work/instance-1/output-1/host/lib/go GOROOT="/home/naourr/work/instance-1/output-1/build/host-go-1.13.12" GOBIN="/home/naourr/work/instance-1/output-1/build/host-go-1.13.12/bin" GOOS=linux CC=/usr/bin/gcc CXX=/usr/bin/g++ CGO_ENABLED=1 CC_FOR_TARGET="/home/naourr/work/instance-1/output-1/host/bin/mips64el-linux-gcc" CXX_FOR_TARGET="/home/naourr/work/instance-1/output-1/host/bin/mips64el-linux-g++" GOARCH=mips64le GO_ASSUME_CROSSCOMPILING=1 ./make.bash Building Go cmd/dist using /home/naourr/work/instance-1/output-1/host/lib/go-1.4.3. Building Go toolchain1 using /home/naourr/work/instance-1/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 /home/naourr/work/instance-1/output-1/build/host-go-1.13.12/pkg/tool/linux_amd64/link: running /home/naourr/work/instance-1/output-1/host/bin/mips64el-linux-gcc failed: exit status 1 collect2: fatal error: ld terminated with signal 11 [Segmentation fault], core dumped compilation terminated. /tmp/go-link-014782559/go.o: in function `internal/cpu.processOptions': /home/naourr/work/instance-1/output-1/host/lib/go/src/internal/cpu/cpu.go:167:(.text+0x18): relocation R_MIPS_26 against `a local symbol' cannot be used when making a shared object; recompile with -fPIC /home/naourr/work/instance-1/output-1/host/lib/go/src/internal/cpu/cpu.go:171:(.text+0x58): relocation R_MIPS_26 against `a local symbol' cannot be used when making a shared object; recompile with -fPIC /home/naourr/work/instance-1/output-1/host/lib/go/src/internal/cpu/cpu.go:180:(.text+0xc0): relocation R_MIPS_26 against `a local symbol' cannot be used when making a shared object; recompile with -fPIC # cmd/pprof /home/naourr/work/instance-1/output-1/build/host-go-1.13.12/pkg/tool/linux_amd64/link: running /home/naourr/work/instance-1/output-1/host/bin/mips64el-linux-gcc failed: exit status 1 collect2: fatal error: ld terminated with signal 11 [Segmentation fault], core dumped compilation terminated. /tmp/go-link-145989975/go.o: in function `internal/cpu.processOptions': /home/naourr/work/instance-1/output-1/host/lib/go/src/internal/cpu/cpu.go:167:(.text+0x18): relocation R_MIPS_26 against `a local symbol' cannot be used when making a shared object; recompile with -fPIC /home/naourr/work/instance-1/output-1/host/lib/go/src/internal/cpu/cpu.go:171:(.text+0x58): relocation R_MIPS_26 against `a local symbol' cannot be used when making a shared object; recompile with -fPIC /home/naourr/work/instance-1/output-1/host/lib/go/src/internal/cpu/cpu.go:180:(.text+0xc0): relocation R_MIPS_26 against `a local symbol' cannot be used when making a shared object; recompile with -fPIC # cmd/go /home/naourr/work/instance-1/output-1/build/host-go-1.13.12/pkg/tool/linux_amd64/link: running /home/naourr/work/instance-1/output-1/host/bin/mips64el-linux-gcc failed: exit status 1 collect2: fatal error: ld terminated with signal 11 [Segmentation fault], core dumped compilation terminated. /tmp/go-link-056488761/go.o: in function `internal/cpu.processOptions': /home/naourr/work/instance-1/output-1/host/lib/go/src/internal/cpu/cpu.go:167:(.text+0x18): relocation R_MIPS_26 against `a local symbol' cannot be used when making a shared object; recompile with -fPIC /home/naourr/work/instance-1/output-1/host/lib/go/src/internal/cpu/cpu.go:171:(.text+0x58): relocation R_MIPS_26 against `a local symbol' cannot be used when making a shared object; recompile with -fPIC /home/naourr/work/instance-1/output-1/host/lib/go/src/internal/cpu/cpu.go:180:(.text+0xc0): relocation R_MIPS_26 against `a local symbol' cannot be used when making a shared object; recompile with -fPIC go tool dist: FAILED: /home/naourr/work/instance-1/output-1/build/host-go-1.13.12/pkg/tool/linux_amd64/go_bootstrap install -gcflags=all= -ldflags=all= std cmd: exit status 2 make: *** [package/pkg-generic.mk:269: /home/naourr/work/instance-1/output-1/build/host-go-1.13.12/.stamp_built] Error 2 make: Leaving directory '/home/naourr/work/instance-1/buildroot'