Update Xen and fix build issue
v3 cover Update Xen and fix build issue
This patch series updates Xen to 4.7.1 and fixes a build issue that previously existed.
NOTE: Xen 4.8.0 was released today, but that failed to compile so it will be more work. At the moment Xen doesn't build so fix that first.
V3:
- Add a link to an autobuilder issue
V2:
- Fix typo and add commit message to patch 2
Alistair Francis (2):
package/xen: Bump Xen to 4.7.1
package/xen: Disable strict unused-const-variable checking
...-Disable-strict-unused-const-variable-che.patch | 27 ++++++++++++++++++++++ package/xen/xen.hash | 2 +- package/xen/xen.mk | 2 +- 3 files changed, 29 insertions(+), 2 deletions(-) create mode 100644 package/xen/0003-tools-libxl-Disable-strict-unused-const-variable-che.patch
Signature · 1 line
2.7.4
PATCH v3 1/2 package/xen: Bump Xen to 4.7.1
--- package/xen/xen.hash | 2 +- package/xen/xen.mk | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-)
package/xen/xen.hash +1 -1
@@ -1,2 +1,2 @@ # Locally computed -sha256 be5876144d49729572ae06142e0bb93f1c1f2695578141eff2931995add24623 xen-4.7.0.tar.gz +sha256 e87f4b0575e78657ee23d31470a15ecf1ce8c3a92a771cda46bbcd4d0d671ffe xen-4.7.1.tar.gz
package/xen/xen.mk +1 -1
@@ -4,7 +4,7 @@ # ################################################################################ -XEN_VERSION = 4.7.0 +XEN_VERSION = 4.7.1 XEN_SITE = http://bits.xensource.com/oss-xen/release/$(XEN_VERSION) XEN_LICENSE = GPLv2 XEN_LICENSE_FILES = COPYING
Signature · 1 line
2.7.4
Thomas Petazzoni
AppliedPATCH v3 1/2 package/xen: Bump Xen to 4.7.1
Hello,
Quoted 5 lines · Alistair Francis
Signed-off-by Alistair Francis <[email protected]>--- package/xen/xen.hash | 2 +- package/xen/xen.mk | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-)
Applied to master, thanks.
Thomas
Signature · 3 lines
Thomas Petazzoni, CTO, Free Electrons Embedded Linux, Kernel and Android engineering http://free-electrons.com
PATCH v3 1/2 package/xen: Bump Xen to 4.7.1
Quoted 10 lines · Thomas Petazzoni
Hello,
Quoted 5 lines · Alistair Francis
Signed-off-by Alistair Francis <[email protected]>--- package/xen/xen.hash | 2 +- package/xen/xen.mk | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-)Applied to master, thanks.
Thanks,
Alistair
Quoted 6 lines
Thomas
--
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com
PATCH v3 2/2 package/xen: Disable strict unused-const-variable checking
In reply to Alistair FrancisThe strict unused-const-variable checking was causing autobuilder errors when trying to build Xen tools/libxl as the migrate_*[] arrays are not always accessed.
To avoid the error edit the Makefile to stop the warnings being treated as errors.
Fixes:
http://autobuild.buildroot.net/results/0e0/0e0d4aa4a05da5804821951289c0a4049b009c61/
--- ...-Disable-strict-unused-const-variable-che.patch | 27 ++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 package/xen/0003-tools-libxl-Disable-strict-unused-const-variable-che.patch
package/xen/0003-tools-libxl-Disable-strict-unused-const-variable-che.patch new file +27 -0
@@ -0,0 +1,27 @@ +From 2e04c2db466b2d7881b46505741798701b1aa271 Mon Sep 17 00:00:00 2001 +From: Alistair Francis <[email protected]> +Date: Wed, 7 Dec 2016 11:35:10 -0800 +Subject: [PATCH] tools/libxl: Disable strict unused-const-variable checking + +Signed-off-by: Alistair Francis <[email protected]> +--- + tools/libxl/Makefile | 3 ++- + 1 file changed, 2 insertions(+), 1 deletion(-) + +diff --git a/tools/libxl/Makefile b/tools/libxl/Makefile +index defeb40..9d320d1 100644 +--- a/tools/libxl/Makefile ++++ b/tools/libxl/Makefile +@@ -12,7 +12,8 @@ XLUMAJOR = 4.7 + XLUMINOR = 0 + + CFLAGS += -Werror -Wno-format-zero-length -Wmissing-declarations \ +- -Wno-declaration-after-statement -Wformat-nonliteral ++ -Wno-declaration-after-statement -Wformat-nonliteral \ ++ -Werror=unused-const-variable=0 + CFLAGS += -I. -fPIC + + ifeq ($(CONFIG_Linux),y) +-- +2.7.4 +
Signature · 1 line
2.7.4
PATCH v3 2/2 package/xen: Disable strict unused-const-variable checking
Hello,
Quoted 4 lines · Alistair Francis
+ CFLAGS += -Werror -Wno-format-zero-length -Wmissing-declarations \
+- -Wno-declaration-after-statement -Wformat-nonliteral
++ -Wno-declaration-after-statement -Wformat-nonliteral \
++ -Werror=unused-const-variable=0
Sorry for not catching this earlier, but what we want instead is to completely remove -Werror. It's pointless for releases, and is causing to cause other build failures.
Thanks,
Thomas
Signature · 3 lines
Thomas Petazzoni, CTO, Free Electrons Embedded Linux and Kernel engineering http://free-electrons.com
PATCH v3 2/2 package/xen: Disable strict unused-const-variable checking
Quoted 4 lines · Thomas Petazzoni
Hello,
On Thu, 8 Dec 2016 12:11:12 -0800, Alistair Francis wrote:
Quoted 8 lines
Quoted 4 lines
+ CFLAGS += -Werror -Wno-format-zero-length -Wmissing-declarations \
+- -Wno-declaration-after-statement -Wformat-nonliteral ++ -Wno-declaration-after-statement -Wformat-nonliteral \ ++ -Werror=unused-const-variable=0Sorry for not catching this earlier, but what we want instead is to completely remove -Werror. It's pointless for releases, and is causing to cause other build failures.
No worries, I have removed the -Werror. I left the other ones in there though.
Thanks,
Alistair
Quoted 8 lines
Thanks,
Thomas
--
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux and Kernel engineering
http://free-electrons.com