@@ -1,11 +1,16 @@
comment "flannel needs a toolchain w/ threads"
depends on BR2_PACKAGE_HOST_GO_ARCH_SUPPORTS
depends on !BR2_TOOLCHAIN_HAS_THREADS
+ depends on !BR2_mips64 && !BR2_mips64el
config BR2_PACKAGE_FLANNEL
bool "flannel"
depends on BR2_PACKAGE_HOST_GO_ARCH_SUPPORTS
depends on BR2_TOOLCHAIN_HAS_THREADS
+ # flannel performs a CGO linking which is not currently
+ # supported on MIPS64 platforms. See:
+ # https://github.com/karalabe/xgo/issues/46
+ depends on !BR2_mips64 && !BR2_mips64el
help
Flannel is a virtual network that gives a subnet to each
host for use with container runtimes.
flannel performs a CGO linking which is not currently supported on MIPS64 platforms. The failure looks like this: /tmp/go-build396590679/runtime/cgo/_obj/gcc_util.o: In function `x_cgo_thread_start': ../../host/usr/lib/go/src/runtime/cgo/gcc_util.c:48: undefined reference to `_cgo_sys_thread_start' Relevant GitHub issue: https://github.com/karalabe/xgo/issues/46 This has been already fixed in go1.7beta2, so we can revert this commit after the next version bump of the go package. Fixes: http://autobuild.buildroot.net/results/c92a2e142ad66b765577a62fd69fffc0c301b88d/ Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com> --- package/flannel/Config.in | 5 +++++ 1 file changed, 5 insertions(+)