>>> host-go 1.19.3 Extracting gzip -d -c /home/buildroot/autobuild/instance-2/dl/go/go1.19.3.src.tar.gz | tar --strip-components=1 -C /home/buildroot/autobuild/instance-2/output-1/build/host-go-1.19.3 -xf - >>> host-go 1.19.3 Patching Applying 0001-build.go-explicit-option-for-crosscompilation.patch using patch: patching file src/cmd/dist/build.go Applying 0003-runtime-support-riscv64-SV57-mode.patch using patch: patching file src/runtime/lfstack_64bit.go >>> host-go 1.19.3 Configuring >>> host-go 1.19.3 Building cd /home/buildroot/autobuild/instance-2/output-1/build/host-go-1.19.3/src && GO111MODULE=off GOCACHE=/home/buildroot/autobuild/instance-2/output-1/host/share/host-go-cache GOROOT_BOOTSTRAP=/home/buildroot/autobuild/instance-2/output-1/host/lib/go-1.4-bootstrap-20171003 GOROOT_FINAL=/home/buildroot/autobuild/instance-2/output-1/host/lib/go GOROOT="/home/buildroot/autobuild/instance-2/output-1/build/host-go-1.19.3" GOBIN="/home/buildroot/autobuild/instance-2/output-1/build/host-go-1.19.3/bin" GOOS=linux CC=/usr/bin/gcc CXX=/usr/bin/g++ CGO_ENABLED=1 CC_FOR_TARGET="/home/buildroot/autobuild/instance-2/output-1/host/bin/aarch64-buildroot-linux-uclibc-gcc" CXX_FOR_TARGET="/home/buildroot/autobuild/instance-2/output-1/host/bin/aarch64-buildroot-linux-uclibc-g++" GOOS="linux" GOARCH=arm64 GO_ASSUME_CROSSCOMPILING=1 ./make.bash Building Go cmd/dist using /home/buildroot/autobuild/instance-2/output-1/host/lib/go-1.4-bootstrap-20171003. (go1.4-bootstrap-20170531 linux/amd64) Building Go toolchain1 using /home/buildroot/autobuild/instance-2/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/arm64. # plugin /home/buildroot/autobuild/instance-2/output-1/build/host-go-1.19.3/src/plugin/plugin_dlopen.go:11:10: fatal error: dlfcn.h: No such file or directory 11 | #include | ^~~~~~~~~ compilation terminated. # cmd/trace /home/buildroot/autobuild/instance-2/output-1/build/host-go-1.19.3/pkg/tool/linux_amd64/link: running /home/buildroot/autobuild/instance-2/output-1/host/bin/aarch64-buildroot-linux-uclibc-gcc failed: exit status 1 /home/buildroot/autobuild/instance-2/output-1/host/lib/gcc/aarch64-buildroot-linux-uclibc/12.2.0/../../../../aarch64-buildroot-linux-uclibc/bin/ld: /home/buildroot/autobuild/instance-2/output-1/host/lib/gcc/aarch64-buildroot-linux-uclibc/12.2.0/libgcc.a(unwind-dw2-fde-dip.o): in function `_Unwind_Find_FDE': /home/buildroot/autobuild/instance-2/output-1/build/host-gcc-final-12.2.0/build/aarch64-buildroot-linux-uclibc/libgcc/../../../libgcc/unwind-dw2-fde-dip.c:531: undefined reference to `dl_iterate_phdr' collect2: error: ld returned 1 exit status # cmd/pprof /home/buildroot/autobuild/instance-2/output-1/build/host-go-1.19.3/pkg/tool/linux_amd64/link: running /home/buildroot/autobuild/instance-2/output-1/host/bin/aarch64-buildroot-linux-uclibc-gcc failed: exit status 1 /home/buildroot/autobuild/instance-2/output-1/host/lib/gcc/aarch64-buildroot-linux-uclibc/12.2.0/../../../../aarch64-buildroot-linux-uclibc/bin/ld: /home/buildroot/autobuild/instance-2/output-1/host/lib/gcc/aarch64-buildroot-linux-uclibc/12.2.0/libgcc.a(unwind-dw2-fde-dip.o): in function `_Unwind_Find_FDE': /home/buildroot/autobuild/instance-2/output-1/build/host-gcc-final-12.2.0/build/aarch64-buildroot-linux-uclibc/libgcc/../../../libgcc/unwind-dw2-fde-dip.c:531: undefined reference to `dl_iterate_phdr' collect2: error: ld returned 1 exit status # cmd/go /home/buildroot/autobuild/instance-2/output-1/build/host-go-1.19.3/pkg/tool/linux_amd64/link: running /home/buildroot/autobuild/instance-2/output-1/host/bin/aarch64-buildroot-linux-uclibc-gcc failed: exit status 1 /home/buildroot/autobuild/instance-2/output-1/host/lib/gcc/aarch64-buildroot-linux-uclibc/12.2.0/../../../../aarch64-buildroot-linux-uclibc/bin/ld: /home/buildroot/autobuild/instance-2/output-1/host/lib/gcc/aarch64-buildroot-linux-uclibc/12.2.0/libgcc.a(unwind-dw2-fde-dip.o): in function `_Unwind_Find_FDE': /home/buildroot/autobuild/instance-2/output-1/build/host-gcc-final-12.2.0/build/aarch64-buildroot-linux-uclibc/libgcc/../../../libgcc/unwind-dw2-fde-dip.c:531: undefined reference to `dl_iterate_phdr' collect2: error: ld returned 1 exit status go tool dist: FAILED: /home/buildroot/autobuild/instance-2/output-1/build/host-go-1.19.3/pkg/tool/linux_amd64/go_bootstrap install std cmd: exit status 2 package/pkg-generic.mk:290: recipe for target '/home/buildroot/autobuild/instance-2/output-1/build/host-go-1.19.3/.stamp_built' failed make: *** [/home/buildroot/autobuild/instance-2/output-1/build/host-go-1.19.3/.stamp_built] Error 2 make: Leaving directory '/home/buildroot/autobuild/instance-2/buildroot'