All of lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH 1/3] go: define a hidden boolean to specify if CGO linking is supported
@ 2016-07-06  8:34 Vicente Olivert Riera
  2016-07-06  8:34 ` [Buildroot] [PATCH 2/3] flannel: depends on CGO linking being supported Vicente Olivert Riera
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Vicente Olivert Riera @ 2016-07-06  8:34 UTC (permalink / raw)
  To: buildroot

Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
---
 package/go/Config.in.host | 8 ++++++++
 1 file changed, 8 insertions(+)

diff --git a/package/go/Config.in.host b/package/go/Config.in.host
index e1b13c0..d6d35dc 100644
--- a/package/go/Config.in.host
+++ b/package/go/Config.in.host
@@ -5,3 +5,11 @@ config BR2_PACKAGE_HOST_GO_ARCH_SUPPORTS
 	depends on !BR2_ARM_CPU_ARMV4
 	# MIPS R6 support in Go has not yet been developed.
 	depends on !BR2_mips_64r6
+
+config BR2_PACKAGE_HOST_GO_CGO_LINKING_SUPPORTS
+	bool
+	default y
+	depends on BR2_PACKAGE_HOST_GO_ARCH_SUPPORTS
+	# Go doesn't support CGO linking on MIPS64x platforms
+	# See: https://github.com/karalabe/xgo/issues/46
+	depends on !BR2_mips64 && !BR2_mips64el
-- 
2.7.3

^ permalink raw reply related	[flat|nested] 4+ messages in thread

* [Buildroot] [PATCH 2/3] flannel: depends on CGO linking being supported
  2016-07-06  8:34 [Buildroot] [PATCH 1/3] go: define a hidden boolean to specify if CGO linking is supported Vicente Olivert Riera
@ 2016-07-06  8:34 ` Vicente Olivert Riera
  2016-07-06  8:34 ` [Buildroot] [PATCH 3/3] runc: " Vicente Olivert Riera
  2016-07-06 19:32 ` [Buildroot] [PATCH 1/3] go: define a hidden boolean to specify if CGO linking is supported Thomas Petazzoni
  2 siblings, 0 replies; 4+ messages in thread
From: Vicente Olivert Riera @ 2016-07-06  8:34 UTC (permalink / raw)
  To: buildroot

Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
---
 package/flannel/Config.in | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/package/flannel/Config.in b/package/flannel/Config.in
index cfdb909..134111b 100644
--- a/package/flannel/Config.in
+++ b/package/flannel/Config.in
@@ -1,10 +1,12 @@
 comment "flannel needs a toolchain w/ threads"
-	depends on BR2_PACKAGE_HOST_GO_ARCH_SUPPORTS
+	depends on BR2_PACKAGE_HOST_GO_ARCH_SUPPORTS && \
+		BR2_PACKAGE_HOST_GO_CGO_LINKING_SUPPORTS
 	depends on !BR2_TOOLCHAIN_HAS_THREADS
 
 config BR2_PACKAGE_FLANNEL
 	bool "flannel"
 	depends on BR2_PACKAGE_HOST_GO_ARCH_SUPPORTS
+	depends on BR2_PACKAGE_HOST_GO_CGO_LINKING_SUPPORTS
 	depends on BR2_TOOLCHAIN_HAS_THREADS
 	help
 	  Flannel is a virtual network that gives a subnet to each
-- 
2.7.3

^ permalink raw reply related	[flat|nested] 4+ messages in thread

* [Buildroot] [PATCH 3/3] runc: depends on CGO linking being supported
  2016-07-06  8:34 [Buildroot] [PATCH 1/3] go: define a hidden boolean to specify if CGO linking is supported Vicente Olivert Riera
  2016-07-06  8:34 ` [Buildroot] [PATCH 2/3] flannel: depends on CGO linking being supported Vicente Olivert Riera
@ 2016-07-06  8:34 ` Vicente Olivert Riera
  2016-07-06 19:32 ` [Buildroot] [PATCH 1/3] go: define a hidden boolean to specify if CGO linking is supported Thomas Petazzoni
  2 siblings, 0 replies; 4+ messages in thread
From: Vicente Olivert Riera @ 2016-07-06  8:34 UTC (permalink / raw)
  To: buildroot

Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
---
 package/runc/Config.in | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/package/runc/Config.in b/package/runc/Config.in
index 1802e59..fd5dee7 100644
--- a/package/runc/Config.in
+++ b/package/runc/Config.in
@@ -1,6 +1,7 @@
 config BR2_PACKAGE_RUNC
 	bool "runc"
 	depends on BR2_PACKAGE_HOST_GO_ARCH_SUPPORTS
+	depends on BR2_PACKAGE_HOST_GO_CGO_LINKING_SUPPORTS
 	depends on BR2_TOOLCHAIN_HAS_THREADS
 	help
 	  runC is a CLI tool for spawning and running containers
@@ -9,5 +10,6 @@ config BR2_PACKAGE_RUNC
 	  https://github.com/opencontainers/runc
 
 comment "runc needs a toolchain w/ threads"
-	depends on BR2_PACKAGE_HOST_GO_ARCH_SUPPORTS
+	depends on BR2_PACKAGE_HOST_GO_ARCH_SUPPORTS && \
+		BR2_PACKAGE_HOST_GO_CGO_LINKING_SUPPORTS
 	depends on !BR2_TOOLCHAIN_HAS_THREADS
-- 
2.7.3

^ permalink raw reply related	[flat|nested] 4+ messages in thread

* [Buildroot] [PATCH 1/3] go: define a hidden boolean to specify if CGO linking is supported
  2016-07-06  8:34 [Buildroot] [PATCH 1/3] go: define a hidden boolean to specify if CGO linking is supported Vicente Olivert Riera
  2016-07-06  8:34 ` [Buildroot] [PATCH 2/3] flannel: depends on CGO linking being supported Vicente Olivert Riera
  2016-07-06  8:34 ` [Buildroot] [PATCH 3/3] runc: " Vicente Olivert Riera
@ 2016-07-06 19:32 ` Thomas Petazzoni
  2 siblings, 0 replies; 4+ messages in thread
From: Thomas Petazzoni @ 2016-07-06 19:32 UTC (permalink / raw)
  To: buildroot

Hello,

On Wed, 6 Jul 2016 09:34:28 +0100, Vicente Olivert Riera wrote:
> Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
> ---
>  package/go/Config.in.host | 8 ++++++++
>  1 file changed, 8 insertions(+)

All patches applied. I've added autobuilder failure references to
patches 2/3 and 3/3, as discussed on IRC.

Thanks!

Thomas
-- 
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2016-07-06 19:32 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-07-06  8:34 [Buildroot] [PATCH 1/3] go: define a hidden boolean to specify if CGO linking is supported Vicente Olivert Riera
2016-07-06  8:34 ` [Buildroot] [PATCH 2/3] flannel: depends on CGO linking being supported Vicente Olivert Riera
2016-07-06  8:34 ` [Buildroot] [PATCH 3/3] runc: " Vicente Olivert Riera
2016-07-06 19:32 ` [Buildroot] [PATCH 1/3] go: define a hidden boolean to specify if CGO linking is supported Thomas Petazzoni

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.