[OpenWrt-Devel] Compile error compiling golang for Raspberri Pi3 image.

Perry Couprie perry at couprie.net
Fri May 22 15:31:59 EDT 2020


Hi Jeff,

I am using the latest openwrt trunk. I compiled it on the latest Ubuntu 
20.04 x86_64.

Today i did a checkout of the latest openwrt trunk en recompiled it again.

When compiling openwrt for Raspberri PI3 i only selected package golang.

With as result the same compile error:

Perry

go-gcc-helper: running aarch64-openwrt-linux-musl-gcc -I 
../src/os/signal/internal/pty -fPIC -pthread -fmessage-length=0 
-fdebug-prefix-map=/home/pclc/build-3.2/build/brcm2709/trunk/luci/RaspberryPi3/openwrt-src/tmp/go-build494581984/b192=/tmp/go-build 
-gno-record-gcc-switches 
-I/home/pclc/build-3.2/build/brcm2709/trunk/luci/RaspberryPi3/openwrt-src/staging_dir/target-aarch64_cortex-a53_musl/usr/include 
-I/home/pclc/build-3.2/build/brcm2709/trunk/luci/RaspberryPi3/openwrt-src/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/usr/include 
-I/home/pclc/build-3.2/build/brcm2709/trunk/luci/RaspberryPi3/openwrt-src/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/include/fortify 
-I/home/pclc/build-3.2/build/brcm2709/trunk/luci/RaspberryPi3/openwrt-src/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/include 
-I $WORK/b192/ -Os -pipe -mcpu=cortex-a53 -g3 -fno-caller-saves -fno-plt 
-fhonour-copts -Wno-error=unused-but-set-variable 
-Wno-error=unused-result 
-ffile-prefix-map=/home/pclc/build-3.2/build/brcm2709/trunk/luci/RaspberryPi3/openwrt-src/build_dir/target-aarch64_cortex-a53_musl/go-1.14.3=go-1.14.3 
-Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 
-Wl,-z,now -Wl,-z,relro -o $WORK/b192/_x002.o -c pty.cgo2.c
# os/signal/internal/pty
go-gcc-helper: running aarch64-openwrt-linux-musl-gcc -I 
../src/os/signal/internal/pty -fPIC -pthread -fmessage-length=0 
-fdebug-prefix-map=/home/pclc/build-3.2/build/brcm2709/trunk/luci/RaspberryPi3/openwrt-src/tmp/go-build494581984/b192=/tmp/go-build 
-gno-record-gcc-switches 
-I/home/pclc/build-3.2/build/brcm2709/trunk/luci/RaspberryPi3/openwrt-src/staging_dir/target-aarch64_cortex-a53_musl/usr/include 
-I/home/pclc/build-3.2/build/brcm2709/trunk/luci/RaspberryPi3/openwrt-src/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/usr/include 
-I/home/pclc/build-3.2/build/brcm2709/trunk/luci/RaspberryPi3/openwrt-src/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/include/fortify 
-I/home/pclc/build-3.2/build/brcm2709/trunk/luci/RaspberryPi3/openwrt-src/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/include 
-I $WORK/b192/ -Os -pipe -mcpu=cortex-a53 -g3 -fno-caller-saves -fno-plt 
-fhonour-copts -Wno-error=unused-but-set-variable 
-Wno-error=unused-result 
-ffile-prefix-map=/home/pclc/build-3.2/build/brcm2709/trunk/luci/RaspberryPi3/openwrt-src/build_dir/target-aarch64_cortex-a53_musl/go-1.14.3=go-1.14.3 
-Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 
-Wl,-z,now -Wl,-z,relro -o $WORK/b192/_cgo_main.o -c _cgo_main.c
# cmd/go
loadelf: 
/home/pclc/build-3.2/build/brcm2709/trunk/luci/RaspberryPi3/openwrt-src/build_dir/target-aarch64_cortex-a53_musl/go-1.14.3/pkg/linux_arm64/net.a(_x001.o): 
wm4.0.87d8ca21e8f70af1bffbb306e334e542<239>: sym#29: ignoring symbol in 
section 1 (type 0)
loadelf: 
/home/pclc/build-3.2/build/brcm2709/trunk/luci/RaspberryPi3/openwrt-src/build_dir/target-aarch64_cortex-a53_musl/go-1.14.3/pkg/linux_arm64/net.a(_x002.o): 
wm4.0.87d8ca21e8f70af1bffbb306e334e542<240>: sym#40: ignoring symbol in 
section 1 (type 0)
loadelf: 
/home/pclc/build-3.2/build/brcm2709/trunk/luci/RaspberryPi3/openwrt-src/build_dir/target-aarch64_cortex-a53_musl/go-1.14.3/pkg/linux_arm64/net.a(_x003.o): 
wm4.0.87d8ca21e8f70af1bffbb306e334e542<241>: sym#52: ignoring symbol in 
section 1 (type 0)
loadelf: 
/home/pclc/build-3.2/build/brcm2709/trunk/luci/RaspberryPi3/openwrt-src/build_dir/target-aarch64_cortex-a53_musl/go-1.14.3/pkg/linux_arm64/net.a(_x004.o): 
wm4.0.87d8ca21e8f70af1bffbb306e334e542<242>: sym#47: ignoring symbol in 
section 1 (type 0)
loadelf: 
/home/pclc/build-3.2/build/brcm2709/trunk/luci/RaspberryPi3/openwrt-src/build_dir/target-aarch64_cortex-a53_musl/go-1.14.3/pkg/linux_arm64/net.a(_x005.o): 
wm4.0.87d8ca21e8f70af1bffbb306e334e542<243>: sym#58: ignoring symbol in 
section 1 (type 0)
loadelf: 
/home/pclc/build-3.2/build/brcm2709/trunk/luci/RaspberryPi3/openwrt-src/build_dir/target-aarch64_cortex-a53_musl/go-1.14.3/pkg/linux_arm64/runtime/cgo.a(_x001.o): 
wm4.0.87d8ca21e8f70af1bffbb306e334e542<244>: sym#29: ignoring symbol in 
section 1 (type 0)
loadelf: 
/home/pclc/build-3.2/build/brcm2709/trunk/luci/RaspberryPi3/openwrt-src/build_dir/target-aarch64_cortex-a53_musl/go-1.14.3/pkg/linux_arm64/runtime/cgo.a(_x002.o): 
wm4.0.87d8ca21e8f70af1bffbb306e334e542<245>: sym#27: ignoring symbol in 
section 1 (type 0)
loadelf: 
/home/pclc/build-3.2/build/brcm2709/trunk/luci/RaspberryPi3/openwrt-src/build_dir/target-aarch64_cortex-a53_musl/go-1.14.3/pkg/linux_arm64/runtime/cgo.a(_x003.o): 
wm4.0.87d8ca21e8f70af1bffbb306e334e542<246>: sym#40: ignoring symbol in 
section 1 (type 0)
loadelf: 
/home/pclc/build-3.2/build/brcm2709/trunk/luci/RaspberryPi3/openwrt-src/build_dir/target-aarch64_cortex-a53_musl/go-1.14.3/pkg/linux_arm64/runtime/cgo.a(_x004.o): 
wm4.0.87d8ca21e8f70af1bffbb306e334e542<247>: sym#44: ignoring symbol in 
section 1 (type 0)
loadelf: 
/home/pclc/build-3.2/build/brcm2709/trunk/luci/RaspberryPi3/openwrt-src/build_dir/target-aarch64_cortex-a53_musl/go-1.14.3/pkg/linux_arm64/runtime/cgo.a(_x005.o): 
wm4.0.87d8ca21e8f70af1bffbb306e334e542<248>: sym#60: ignoring symbol in 
section 1 (type 0)
loadelf: 
/home/pclc/build-3.2/build/brcm2709/trunk/luci/RaspberryPi3/openwrt-src/build_dir/target-aarch64_cortex-a53_musl/go-1.14.3/pkg/linux_arm64/runtime/cgo.a(_x006.o): 
wm4.0.87d8ca21e8f70af1bffbb306e334e542<249>: sym#64: ignoring symbol in 
section 1 (type 0)
loadelf: 
/home/pclc/build-3.2/build/brcm2709/trunk/luci/RaspberryPi3/openwrt-src/build_dir/target-aarch64_cortex-a53_musl/go-1.14.3/pkg/linux_arm64/runtime/cgo.a(_x007.o): 
wm4.0.87d8ca21e8f70af1bffbb306e334e542<250>: sym#44: ignoring symbol in 
section 1 (type 0)
loadelf: 
/home/pclc/build-3.2/build/brcm2709/trunk/luci/RaspberryPi3/openwrt-src/build_dir/target-aarch64_cortex-a53_musl/go-1.14.3/pkg/linux_arm64/runtime/cgo.a(_x008.o): 
wm4.0.87d8ca21e8f70af1bffbb306e334e542<251>: sym#40: ignoring symbol in 
section 1 (type 0)
loadelf: 
/home/pclc/build-3.2/build/brcm2709/trunk/luci/RaspberryPi3/openwrt-src/build_dir/target-aarch64_cortex-a53_musl/go-1.14.3/pkg/linux_arm64/runtime/cgo.a(_x009.o): 
wm4.0.87d8ca21e8f70af1bffbb306e334e542<252>: sym#53: ignoring symbol in 
section 1 (type 0)
loadelf: 
/home/pclc/build-3.2/build/brcm2709/trunk/luci/RaspberryPi3/openwrt-src/build_dir/target-aarch64_cortex-a53_musl/go-1.14.3/pkg/linux_arm64/runtime/cgo.a(_x010.o): 
wm4.0.87d8ca21e8f70af1bffbb306e334e542<253>: sym#40: ignoring symbol in 
section 1 (type 0)
loadelf: 
/home/pclc/build-3.2/build/brcm2709/trunk/luci/RaspberryPi3/openwrt-src/build_dir/target-aarch64_cortex-a53_musl/go-1.14.3/pkg/linux_arm64/runtime/cgo.a(_x011.o): 
wm4.0.87d8ca21e8f70af1bffbb306e334e542<254>: sym#43: ignoring symbol in 
section 1 (type 0)
_cgo_init: relocation target x_cgo_init not defined
_cgo_mmap: relocation target x_cgo_mmap not defined
_cgo_munmap: relocation target x_cgo_munmap not defined
_cgo_notify_runtime_init_done: relocation target 
x_cgo_notify_runtime_init_done not defined
_cgo_sigaction: relocation target x_cgo_sigaction not defined
/home/pclc/build-3.2/build/brcm2709/trunk/luci/RaspberryPi3/openwrt-src/build_dir/target-aarch64_cortex-a53_musl/go-1.14.3/pkg/tool/linux_amd64/link: 
too many errors
# cmd/trace
loadelf: 
/home/pclc/build-3.2/build/brcm2709/trunk/luci/RaspberryPi3/openwrt-src/build_dir/target-aarch64_cortex-a53_musl/go-1.14.3/pkg/linux_arm64/net.a(_x001.o): 
wm4.0.87d8ca21e8f70af1bffbb306e334e542<170>: sym#29: ignoring symbol in 
section 1 (type 0)
loadelf: 
/home/pclc/build-3.2/build/brcm2709/trunk/luci/RaspberryPi3/openwrt-src/build_dir/target-aarch64_cortex-a53_musl/go-1.14.3/pkg/linux_arm64/net.a(_x002.o): 
wm4.0.87d8ca21e8f70af1bffbb306e334e542<171>: sym#40: ignoring symbol in 
section 1 (type 0)
loadelf: 
/home/pclc/build-3.2/build/brcm2709/trunk/luci/RaspberryPi3/openwrt-src/build_dir/target-aarch64_cortex-a53_musl/go-1.14.3/pkg/linux_arm64/net.a(_x003.o): 
wm4.0.87d8ca21e8f70af1bffbb306e334e542<172>: sym#52: ignoring symbol in 
section 1 (type 0)
loadelf: 
/home/pclc/build-3.2/build/brcm2709/trunk/luci/RaspberryPi3/openwrt-src/build_dir/target-aarch64_cortex-a53_musl/go-1.14.3/pkg/linux_arm64/net.a(_x004.o): 
wm4.0.87d8ca21e8f70af1bffbb306e334e542<173>: sym#47: ignoring symbol in 
section 1 (type 0)
loadelf: 
/home/pclc/build-3.2/build/brcm2709/trunk/luci/RaspberryPi3/openwrt-src/build_dir/target-aarch64_cortex-a53_musl/go-1.14.3/pkg/linux_arm64/net.a(_x005.o): 
wm4.0.87d8ca21e8f70af1bffbb306e334e542<174>: sym#58: ignoring symbol in 
section 1 (type 0)
loadelf: 
/home/pclc/build-3.2/build/brcm2709/trunk/luci/RaspberryPi3/openwrt-src/build_dir/target-aarch64_cortex-a53_musl/go-1.14.3/pkg/linux_arm64/runtime/cgo.a(_x001.o): 
wm4.0.87d8ca21e8f70af1bffbb306e334e542<175>: sym#29: ignoring symbol in 
section 1 (type 0)
loadelf: 
/home/pclc/build-3.2/build/brcm2709/trunk/luci/RaspberryPi3/openwrt-src/build_dir/target-aarch64_cortex-a53_musl/go-1.14.3/pkg/linux_arm64/runtime/cgo.a(_x002.o): 
wm4.0.87d8ca21e8f70af1bffbb306e334e542<176>: sym#27: ignoring symbol in 
section 1 (type 0)
loadelf: 
/home/pclc/build-3.2/build/brcm2709/trunk/luci/RaspberryPi3/openwrt-src/build_dir/target-aarch64_cortex-a53_musl/go-1.14.3/pkg/linux_arm64/runtime/cgo.a(_x003.o): 
wm4.0.87d8ca21e8f70af1bffbb306e334e542<177>: sym#40: ignoring symbol in 
section 1 (type 0)
loadelf: 
/home/pclc/build-3.2/build/brcm2709/trunk/luci/RaspberryPi3/openwrt-src/build_dir/target-aarch64_cortex-a53_musl/go-1.14.3/pkg/linux_arm64/runtime/cgo.a(_x004.o): 
wm4.0.87d8ca21e8f70af1bffbb306e334e542<178>: sym#44: ignoring symbol in 
section 1 (type 0)
loadelf: 
/home/pclc/build-3.2/build/brcm2709/trunk/luci/RaspberryPi3/openwrt-src/build_dir/target-aarch64_cortex-a53_musl/go-1.14.3/pkg/linux_arm64/runtime/cgo.a(_x005.o): 
wm4.0.87d8ca21e8f70af1bffbb306e334e542<179>: sym#60: ignoring symbol in 
section 1 (type 0)
loadelf: 
/home/pclc/build-3.2/build/brcm2709/trunk/luci/RaspberryPi3/openwrt-src/build_dir/target-aarch64_cortex-a53_musl/go-1.14.3/pkg/linux_arm64/runtime/cgo.a(_x006.o): 
wm4.0.87d8ca21e8f70af1bffbb306e334e542<180>: sym#64: ignoring symbol in 
section 1 (type 0)
loadelf: 
/home/pclc/build-3.2/build/brcm2709/trunk/luci/RaspberryPi3/openwrt-src/build_dir/target-aarch64_cortex-a53_musl/go-1.14.3/pkg/linux_arm64/runtime/cgo.a(_x007.o): 
wm4.0.87d8ca21e8f70af1bffbb306e334e542<181>: sym#44: ignoring symbol in 
section 1 (type 0)
loadelf: 
/home/pclc/build-3.2/build/brcm2709/trunk/luci/RaspberryPi3/openwrt-src/build_dir/target-aarch64_cortex-a53_musl/go-1.14.3/pkg/linux_arm64/runtime/cgo.a(_x008.o): 
wm4.0.87d8ca21e8f70af1bffbb306e334e542<182>: sym#40: ignoring symbol in 
section 1 (type 0)
loadelf: 
/home/pclc/build-3.2/build/brcm2709/trunk/luci/RaspberryPi3/openwrt-src/build_dir/target-aarch64_cortex-a53_musl/go-1.14.3/pkg/linux_arm64/runtime/cgo.a(_x009.o): 
wm4.0.87d8ca21e8f70af1bffbb306e334e542<183>: sym#53: ignoring symbol in 
section 1 (type 0)
loadelf: 
/home/pclc/build-3.2/build/brcm2709/trunk/luci/RaspberryPi3/openwrt-src/build_dir/target-aarch64_cortex-a53_musl/go-1.14.3/pkg/linux_arm64/runtime/cgo.a(_x010.o): 
wm4.0.87d8ca21e8f70af1bffbb306e334e542<184>: sym#40: ignoring symbol in 
section 1 (type 0)
loadelf: 
/home/pclc/build-3.2/build/brcm2709/trunk/luci/RaspberryPi3/openwrt-src/build_dir/target-aarch64_cortex-a53_musl/go-1.14.3/pkg/linux_arm64/runtime/cgo.a(_x011.o): 
wm4.0.87d8ca21e8f70af1bffbb306e334e542<185>: sym#43: ignoring symbol in 
section 1 (type 0)
_cgo_init: relocation target x_cgo_init not defined
_cgo_mmap: relocation target x_cgo_mmap not defined
_cgo_munmap: relocation target x_cgo_munmap not defined
_cgo_notify_runtime_init_done: relocation target 
x_cgo_notify_runtime_init_done not defined
_cgo_sigaction: relocation target x_cgo_sigaction not defined
/home/pclc/build-3.2/build/brcm2709/trunk/luci/RaspberryPi3/openwrt-src/build_dir/target-aarch64_cortex-a53_musl/go-1.14.3/pkg/tool/linux_amd64/link: 
too many errors
# cmd/pprof
loadelf: 
/home/pclc/build-3.2/build/brcm2709/trunk/luci/RaspberryPi3/openwrt-src/build_dir/target-aarch64_cortex-a53_musl/go-1.14.3/pkg/linux_arm64/net.a(_x001.o): 
wm4.0.87d8ca21e8f70af1bffbb306e334e542<200>: sym#29: ignoring symbol in 
section 1 (type 0)
loadelf: 
/home/pclc/build-3.2/build/brcm2709/trunk/luci/RaspberryPi3/openwrt-src/build_dir/target-aarch64_cortex-a53_musl/go-1.14.3/pkg/linux_arm64/net.a(_x002.o): 
wm4.0.87d8ca21e8f70af1bffbb306e334e542<201>: sym#40: ignoring symbol in 
section 1 (type 0)
loadelf: 
/home/pclc/build-3.2/build/brcm2709/trunk/luci/RaspberryPi3/openwrt-src/build_dir/target-aarch64_cortex-a53_musl/go-1.14.3/pkg/linux_arm64/net.a(_x003.o): 
wm4.0.87d8ca21e8f70af1bffbb306e334e542<202>: sym#52: ignoring symbol in 
section 1 (type 0)
loadelf: 
/home/pclc/build-3.2/build/brcm2709/trunk/luci/RaspberryPi3/openwrt-src/build_dir/target-aarch64_cortex-a53_musl/go-1.14.3/pkg/linux_arm64/net.a(_x004.o): 
wm4.0.87d8ca21e8f70af1bffbb306e334e542<203>: sym#47: ignoring symbol in 
section 1 (type 0)
loadelf: 
/home/pclc/build-3.2/build/brcm2709/trunk/luci/RaspberryPi3/openwrt-src/build_dir/target-aarch64_cortex-a53_musl/go-1.14.3/pkg/linux_arm64/net.a(_x005.o): 
wm4.0.87d8ca21e8f70af1bffbb306e334e542<204>: sym#58: ignoring symbol in 
section 1 (type 0)
loadelf: 
/home/pclc/build-3.2/build/brcm2709/trunk/luci/RaspberryPi3/openwrt-src/build_dir/target-aarch64_cortex-a53_musl/go-1.14.3/pkg/linux_arm64/runtime/cgo.a(_x001.o): 
wm4.0.87d8ca21e8f70af1bffbb306e334e542<205>: sym#29: ignoring symbol in 
section 1 (type 0)
loadelf: 
/home/pclc/build-3.2/build/brcm2709/trunk/luci/RaspberryPi3/openwrt-src/build_dir/target-aarch64_cortex-a53_musl/go-1.14.3/pkg/linux_arm64/runtime/cgo.a(_x002.o): 
wm4.0.87d8ca21e8f70af1bffbb306e334e542<206>: sym#27: ignoring symbol in 
section 1 (type 0)
loadelf: 
/home/pclc/build-3.2/build/brcm2709/trunk/luci/RaspberryPi3/openwrt-src/build_dir/target-aarch64_cortex-a53_musl/go-1.14.3/pkg/linux_arm64/runtime/cgo.a(_x003.o): 
wm4.0.87d8ca21e8f70af1bffbb306e334e542<207>: sym#40: ignoring symbol in 
section 1 (type 0)
loadelf: 
/home/pclc/build-3.2/build/brcm2709/trunk/luci/RaspberryPi3/openwrt-src/build_dir/target-aarch64_cortex-a53_musl/go-1.14.3/pkg/linux_arm64/runtime/cgo.a(_x004.o): 
wm4.0.87d8ca21e8f70af1bffbb306e334e542<208>: sym#44: ignoring symbol in 
section 1 (type 0)
loadelf: 
/home/pclc/build-3.2/build/brcm2709/trunk/luci/RaspberryPi3/openwrt-src/build_dir/target-aarch64_cortex-a53_musl/go-1.14.3/pkg/linux_arm64/runtime/cgo.a(_x005.o): 
wm4.0.87d8ca21e8f70af1bffbb306e334e542<209>: sym#60: ignoring symbol in 
section 1 (type 0)
loadelf: 
/home/pclc/build-3.2/build/brcm2709/trunk/luci/RaspberryPi3/openwrt-src/build_dir/target-aarch64_cortex-a53_musl/go-1.14.3/pkg/linux_arm64/runtime/cgo.a(_x006.o): 
wm4.0.87d8ca21e8f70af1bffbb306e334e542<210>: sym#64: ignoring symbol in 
section 1 (type 0)
loadelf: 
/home/pclc/build-3.2/build/brcm2709/trunk/luci/RaspberryPi3/openwrt-src/build_dir/target-aarch64_cortex-a53_musl/go-1.14.3/pkg/linux_arm64/runtime/cgo.a(_x007.o): 
wm4.0.87d8ca21e8f70af1bffbb306e334e542<211>: sym#44: ignoring symbol in 
section 1 (type 0)
loadelf: 
/home/pclc/build-3.2/build/brcm2709/trunk/luci/RaspberryPi3/openwrt-src/build_dir/target-aarch64_cortex-a53_musl/go-1.14.3/pkg/linux_arm64/runtime/cgo.a(_x008.o): 
wm4.0.87d8ca21e8f70af1bffbb306e334e542<212>: sym#40: ignoring symbol in 
section 1 (type 0)
loadelf: 
/home/pclc/build-3.2/build/brcm2709/trunk/luci/RaspberryPi3/openwrt-src/build_dir/target-aarch64_cortex-a53_musl/go-1.14.3/pkg/linux_arm64/runtime/cgo.a(_x009.o): 
wm4.0.87d8ca21e8f70af1bffbb306e334e542<213>: sym#53: ignoring symbol in 
section 1 (type 0)
loadelf: 
/home/pclc/build-3.2/build/brcm2709/trunk/luci/RaspberryPi3/openwrt-src/build_dir/target-aarch64_cortex-a53_musl/go-1.14.3/pkg/linux_arm64/runtime/cgo.a(_x010.o): 
wm4.0.87d8ca21e8f70af1bffbb306e334e542<214>: sym#40: ignoring symbol in 
section 1 (type 0)
loadelf: 
/home/pclc/build-3.2/build/brcm2709/trunk/luci/RaspberryPi3/openwrt-src/build_dir/target-aarch64_cortex-a53_musl/go-1.14.3/pkg/linux_arm64/runtime/cgo.a(_x011.o): 
wm4.0.87d8ca21e8f70af1bffbb306e334e542<215>: sym#43: ignoring symbol in 
section 1 (type 0)
_cgo_init: relocation target x_cgo_init not defined
_cgo_mmap: relocation target x_cgo_mmap not defined
_cgo_munmap: relocation target x_cgo_munmap not defined
_cgo_notify_runtime_init_done: relocation target 
x_cgo_notify_runtime_init_done not defined
_cgo_sigaction: relocation target x_cgo_sigaction not defined
/home/pclc/build-3.2/build/brcm2709/trunk/luci/RaspberryPi3/openwrt-src/build_dir/target-aarch64_cortex-a53_musl/go-1.14.3/pkg/tool/linux_amd64/link: 
too many errors
make[4]: *** [Makefile:389: 
/home/pclc/build-3.2/build/brcm2709/trunk/luci/RaspberryPi3/openwrt-src/build_dir/target-aarch64_cortex-a53_musl/go-1.14.3/.built] 
Error 2
make[4]: Leaving directory 
'/home/pclc/build-3.2/build/brcm2709/trunk/luci/RaspberryPi3/openwrt-src/feeds/packages/lang/golang/golang'
time: package/feeds/packages/golang/compile#842.27#58.27#273.58
make[3]: *** [package/Makefile:113: 
package/feeds/packages/golang/compile] Error 2
make[3]: Leaving directory 
'/home/pclc/build-3.2/build/brcm2709/trunk/luci/RaspberryPi3/openwrt-src'
make[2]: *** [package/Makefile:107: 
/home/pclc/build-3.2/build/brcm2709/trunk/luci/RaspberryPi3/openwrt-src/staging_dir/target-aarch64_cortex-a53_musl/stamp/.package_compile] 
Error 2
make[2]: Leaving directory 
'/home/pclc/build-3.2/build/brcm2709/trunk/luci/RaspberryPi3/openwrt-src'
make[1]: *** 
[/home/pclc/build-3.2/build/brcm2709/trunk/luci/RaspberryPi3/openwrt-src/include/toplevel.mk:224: 
world] Error 2
make[1]: Leaving directory 
'/home/pclc/build-3.2/build/brcm2709/trunk/luci/RaspberryPi3/openwrt-src'
make: *** [Makefile:29: compile] Error 2


On 22-05-2020 10:50, Jeffery To wrote:
> (resending as I forgot to CC the list, sigh)
>
> Hi Perry,
>
> On Fri, May 22, 2020 at 6:18 AM Perry Couprie <perry at couprie.net 
> <mailto:perry at couprie.net>> wrote:
>
>     I am trying to compile openwrt for Raspberri PI3.
>
>     On of the selected packages to compile in the firmware is GOLANG.
>
>     When compiling golang i get the following compile error.
>
>     What can i do to get it to compile ?
>
>
> Can you describe your build system (OS, version, etc.)? Also, I am 
> assuming you are building using OpenWrt master? Can you do a clean 
> checkout of master and try the build again?
>
> Jeff
>
>
> _______________________________________________
> openwrt-devel mailing list
> openwrt-devel at lists.openwrt.org
> https://lists.openwrt.org/mailman/listinfo/openwrt-devel
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.infradead.org/pipermail/openwrt-devel/attachments/20200522/472c31a0/attachment.htm>
-------------- next part --------------
_______________________________________________
openwrt-devel mailing list
openwrt-devel at lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel


More information about the openwrt-devel mailing list