Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH 1/1] package/xen: fix build with gcc7
@ 2017-08-19  6:46 Bernd Kuhls
  2017-08-19 14:08 ` Thomas Petazzoni
  0 siblings, 1 reply; 2+ messages in thread
From: Bernd Kuhls @ 2017-08-19  6:46 UTC (permalink / raw)
  To: buildroot

Fixes
http://autobuild.buildroot.net/results/f95/f9553c1669bd05acee3ccea76e36c2474e534d8c/

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
---
 package/xen/0003-gcc7.patch | 20 ++++++++++++++++++++
 1 file changed, 20 insertions(+)
 create mode 100644 package/xen/0003-gcc7.patch

diff --git a/package/xen/0003-gcc7.patch b/package/xen/0003-gcc7.patch
new file mode 100644
index 000000000..5919ef023
--- /dev/null
+++ b/package/xen/0003-gcc7.patch
@@ -0,0 +1,20 @@
+Fix arm build with gcc7
+
+Downloaded from upstream patchworks:
+https://patchwork.kernel.org/patch/9754799/
+https://www.mail-archive.com/xen-devel at lists.xen.org/msg109313.html
+
+Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
+
+diff --git a/tools/libxc/xc_dom_arm.c b/tools/libxc/xc_dom_arm.c
+index e7d4bd0..e669fb0 100644
+--- a/tools/libxc/xc_dom_arm.c
++++ b/tools/libxc/xc_dom_arm.c
+@@ -223,6 +223,8 @@ static int set_mode(xc_interface *xch, domid_tdomid, char *guest_type)
+ 
+     domctl.domain = domid;
+     domctl.cmd    = XEN_DOMCTL_set_address_size;
++    domctl.u.address_size.size = 0;
++
+     for ( i = 0; i < ARRAY_SIZE(types); i++ )
+         if ( !strcmp(types[i].guest, guest_type) )
-- 
2.11.0

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

end of thread, other threads:[~2017-08-19 14:08 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-08-19  6:46 [Buildroot] [PATCH 1/1] package/xen: fix build with gcc7 Bernd Kuhls
2017-08-19 14:08 ` Thomas Petazzoni

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox