>>> host-go 1.18.3 Extracting gzip -d -c /home/giuliobenetti/autobuild/run/instance-3/dl/go/go1.18.3.src.tar.gz | tar --strip-components=1 -C /home/giuliobenetti/autobuild/run/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 >>> host-go 1.18.3 Building cd /home/giuliobenetti/autobuild/run/instance-3/output-1/build/host-go-1.18.3/src && GO111MODULE=off GOCACHE=/home/giuliobenetti/autobuild/run/instance-3/output-1/host/share/host-go-cache GOROOT_BOOTSTRAP=/home/giuliobenetti/autobuild/run/instance-3/output-1/host/lib/go-1.4-bootstrap-20171003 GOROOT_FINAL=/home/giuliobenetti/autobuild/run/instance-3/output-1/host/lib/go GOROOT="/home/giuliobenetti/autobuild/run/instance-3/output-1/build/host-go-1.18.3" GOBIN="/home/giuliobenetti/autobuild/run/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/giuliobenetti/autobuild/run/instance-3/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc" CXX_FOR_TARGET="/home/giuliobenetti/autobuild/run/instance-3/output-1/host/bin/riscv64-buildroot-linux-uclibc-g++" GOOS="linux" GOARCH=riscv64 GO_ASSUME_CROSSCOMPILING=1 ./make.bash Building Go cmd/dist using /home/giuliobenetti/autobuild/run/instance-3/output-1/host/lib/go-1.4-bootstrap-20171003. (go1.4-bootstrap-20170531 linux/amd64) Building Go toolchain1 using /home/giuliobenetti/autobuild/run/instance-3/output-1/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/riscv64. # runtime/cgo /home/giuliobenetti/autobuild/run/instance-3/output-1/host/lib/gcc/riscv64-buildroot-linux-uclibc/11.3.0/../../../../riscv64-buildroot-linux-uclibc/bin/ld: /home/giuliobenetti/autobuild/run/instance-3/output-1/host/lib/gcc/riscv64-buildroot-linux-uclibc/11.3.0/libgcc.a(unwind-dw2-fde-dip.o): in function `__deregister_frame_info_bases': /home/giuliobenetti/autobuild/run/instance-3/output-1/build/host-gcc-final-11.3.0/build/riscv64-buildroot-linux-uclibc/libgcc/../../../libgcc/unwind-dw2-fde.c:224: undefined reference to `dl_iterate_phdr' collect2: error: ld returned 1 exit status go tool dist: FAILED: /home/giuliobenetti/autobuild/run/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 make: *** [package/pkg-generic.mk:293: /home/giuliobenetti/autobuild/run/instance-3/output-1/build/host-go-1.18.3/.stamp_built] Error 2 make: Leaving directory '/home/giuliobenetti/autobuild/run/instance-3/buildroot'