[Buildroot] [git commit branch/next] package/xen: disable go tools

Peter Korsgaard peter at korsgaard.com
Mon Nov 9 16:06:13 UTC 2020


commit: https://git.buildroot.net/buildroot/commit/?id=c04a56af130a6d4276dbbd319639a3cdbf509229
branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/next

go tools are enabled by default since version 4.14.0 and
https://github.com/xen-project/xen/commit/1e13ea98bbb8369d065af4666c45c26dab5240d5

Disable them to avoid the following build failure on arm or aarch64
(when host-go is built before xen):

aarch64-none-linux-gnu-gcc: error: unrecognized command line option '-m64'

Fixes:
 - http://autobuild.buildroot.org/results/08948e4c4a88fbf09cae524949e5b656882a6e9a
 - http://autobuild.buildroot.org/results/d966585c931ca4a4ae6a854a21e07eec4c277a02

Signed-off-by: Fabrice Fontaine <fontaine.fabrice at gmail.com>
Signed-off-by: Peter Korsgaard <peter at korsgaard.com>
---
 package/xen/xen.mk | 1 +
 1 file changed, 1 insertion(+)

diff --git a/package/xen/xen.mk b/package/xen/xen.mk
index a30e80e5e7..8f1fa7db76 100644
--- a/package/xen/xen.mk
+++ b/package/xen/xen.mk
@@ -18,6 +18,7 @@ XEN_ARCH = arm32
 endif
 
 XEN_CONF_OPTS = \
+	--disable-golang \
 	--disable-ocamltools \
 	--with-initddir=/etc/init.d
 


More information about the buildroot mailing list