Skip to contentSkip to conversation

package/xen: disable go tools

PATCH New Fabrice Fontaine 2 participants 2 messages Nov 7, 2020 – Nov 9, 2020

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 package/xen: disable go tools

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

---
 package/xen/xen.mk | 1 +
 1 file changed, 1 insertion(+)
package/xen/xen.mk +1 -0
index 2427fb9115..3b888137b4 100644
@@ -18,6 +18,7 @@ XEN_ARCH = arm32
 endif
 
 XEN_CONF_OPTS = \
+	--disable-golang \
 	--disable-ocamltools \
 	--with-initddir=/etc/init.d
 
Signature · 1 line
2.28.0
#1 lore raw

PATCH 1/1 package/xen: disable go tools

Quoted 8 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

"Fabrice" == Fabrice Fontaine <[email protected]> writes:

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):

Quoted 7 lines

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

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

Committed, thanks.

Signature · 1 line
Bye, Peter Korsgaard