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

* [Buildroot] [PATCH 1/1] package/xen: fix build with gcc7
  2017-08-19  6:46 [Buildroot] [PATCH 1/1] package/xen: fix build with gcc7 Bernd Kuhls
@ 2017-08-19 14:08 ` Thomas Petazzoni
  0 siblings, 0 replies; 2+ messages in thread
From: Thomas Petazzoni @ 2017-08-19 14:08 UTC (permalink / raw)
  To: buildroot

Hello,

On Sat, 19 Aug 2017 08:46:45 +0200, Bernd Kuhls wrote:
> 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

I've applied to master, after reformatting the patch with Git, and
adding a better patch description. See
https://git.buildroot.org/buildroot/commit/?id=fb1ad31e61e4e38ef06d49390516a0a3a062324d.

I would really appreciate if you could use Git to format the patches,
when the upstream developers of the package also use Git as their
version control system.

Thanks a lot!

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

^ permalink raw reply	[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