All of lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH] flannel: disable for MIPS64
@ 2016-06-24 14:35 Vicente Olivert Riera
  0 siblings, 0 replies; only message in thread
From: Vicente Olivert Riera @ 2016-06-24 14:35 UTC (permalink / raw)
  To: buildroot

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(+)

diff --git a/package/flannel/Config.in b/package/flannel/Config.in
index cfdb909..3e871b5 100644
--- a/package/flannel/Config.in
+++ b/package/flannel/Config.in
@@ -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.
-- 
2.7.3

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2016-06-24 14:35 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-06-24 14:35 [Buildroot] [PATCH] flannel: disable for MIPS64 Vicente Olivert Riera

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.