xen: drop i686 support also from xen-tools/xen-python2
PATCH 1/1 xen: drop i686 support also from xen-tools/xen-python2
* this commit seems no longer true for current version of xen:
commit a0964e2044cb1ccdd4f64173658ce7602257ff48
Author: Christopher Clark <[email protected]>
Date: Tue Feb 25 16:16:00 2020 -0800
xen, xen-tools: separate COMPATIBLE_HOST for hypervisor and tools
The tools have broader platform compatibility than the hypervisor.
* xen-tools are failing to build for qemux86 as shown in:
http://errors.yoctoproject.org/Errors/Details/575367/
make[8]: Entering directory 'TOPDIR/tmp-glibc/work/core2-32-oe-linux/xen-tools/4.14+stableAUTOINC+ad844aa352-r0/git/tools/firmware/xen-dir/xen-root/xen' echo "*** Xen x86/32 target no longer supported!"
*** Xen x86/32 target no longer supported!
make[8]: Leaving directory 'TOPDIR/tmp-glibc/work/core2-32-oe-linux/xen-tools/4.14+stableAUTOINC+ad844aa352-r0/git/tools/firmware/xen-dir/xen-root/xen' ln -sf xen-root/xen/xen xen-shim
ln -sf xen-root/xen/xen-syms xen-shim-syms
...
install: cannot stat 'xen-dir/xen-shim': No such file or directory
make[4]: *** [Makefile:51: install] Error 1
revert the commit and also drop i686 from map_xen_arch
--- recipes-extended/xen/xen-arch.inc | 3 +-- recipes-extended/xen/xen-hypervisor.inc | 3 --- recipes-extended/xen/xen-python2.bb | 3 --- recipes-extended/xen/xen-tools.inc | 2 -- recipes-extended/xen/xen.inc | 2 ++ 5 files changed, 3 insertions(+), 10 deletions(-)
recipes-extended/xen/xen-arch.inc +1 -2
@@ -8,8 +8,7 @@ def map_xen_arch(a, d): import re valid_archs = d.getVar('valid_xen_archs').split() - if re.match("i.86", a): return "x86_32" - elif re.match("x86.64", a): return "x86_64" + if re.match("x86.64", a): return "x86_64" elif re.match("arm.*", a): return "arm32" elif re.match("aarch64.*", a): return "arm64" elif a in valid_archs: return a
recipes-extended/xen/xen-hypervisor.inc +0 -3
@@ -6,9 +6,6 @@ DESCRIPTION = "The Xen hypervisor" # this allows for varying the target architecture or toolchain used # to build the different components. eg. 32-bit tools and a 64-bit hypervisor. -# The Xen hypervisor has a narrower compatible platform range than the Xen tools -COMPATIBLE_HOST = '(x86_64.*).*-linux|aarch64.*-linux|arm-.*-linux-gnueabi' - inherit deploy python3native cml1 PACKAGES = " \
recipes-extended/xen/xen-python2.bb +0 -3
@@ -6,9 +6,6 @@ SECTION = "console/tools" SRCREV ?= "a5fcafbfbee55261853fba07149c1c795f2baf58" -# The same restriction as xen-tools.inc, because of the dependency on xen-tools-xentrace from xen-tools-xentrace-format -COMPATIBLE_HOST = 'i686-.*-linux|(x86_64.*).*-linux|aarch64.*-linux|arm-.*-linux-gnueabi' - XEN_REL ?= "4.12" XEN_BRANCH ?= "stable-4.12"
recipes-extended/xen/xen-tools.inc +0 -2
@@ -1,8 +1,6 @@ SUMMARY = "Xen hypervisor tools" DESCRIPTION = "Tools and utility software for the Xen hypervisor" -COMPATIBLE_HOST = 'i686-.*-linux|(x86_64.*).*-linux|aarch64.*-linux|arm-.*-linux-gnueabi' - inherit setuptools3 update-rc.d systemd deploy require xen-blktap.inc
recipes-extended/xen/xen.inc +2 -0
@@ -2,6 +2,8 @@ HOMEPAGE = "http://xen.org" LICENSE = "GPLv2" SECTION = "console/tools" +COMPATIBLE_HOST = '(x86_64.*).*-linux|aarch64.*-linux|arm-.*-linux-gnueabi' + inherit autotools-brokensep require xen-arch.inc
Signature · 1 line
2.30.2
Quoted 23 lines · Martin Jansa
* this commit seems no longer true for current version of xen:
commita0964e2044cb1ccdd4f64173658ce7602257ff48
Author: Christopher Clark <[email protected]>
Date: Tue Feb 25 16:16:00 2020 -0800xen, xen-tools: separate
COMPATIBLE_HOSTfor hypervisor and toolsThe tools have broader platform compatibility than the hypervisor.
* xen-tools are failing to build for qemux86 as shown in:
http://errors.yoctoproject.org/Errors/Details/575367/make[8]: Entering directory 'TOPDIR/tmp-glibc/work/core2-32-oe-linux/xen-tools/4.14+stableAUTOINC+ad844aa352-r0/git/tools/firmware/xen-dir/xen-root/xen' echo "*** Xen x86/32 target no longer supported!"
*** Xen x86/32 target no longer supported!
make[8]: Leaving directory 'TOPDIR/tmp-glibc/work/core2-32-oe-linux/xen-tools/4.14+stableAUTOINC+ad844aa352-r0/git/tools/firmware/xen-dir/xen-root/xen' ln -sf xen-root/xen/xen xen-shim
ln -sf xen-root/xen/xen-syms xen-shim-syms
...
install: cannot stat 'xen-dir/xen-shim': No such file or directory
make[4]: *** [Makefile:51: install] Error 1
Quoted 1 line
revert the commit and also drop i686 from
map_xen_arch
Thanks for reporting this, Martin. I need to look into this. I can see why this particular part of the tools build is not suitable for x86/32 but I don't think that it necessarily means that the entire suite of xen-tools should be removed with it for x86/32, and if not then this won't be the change that we will want to fix this build issue.
Christopher
Quoted 81 lines
Signed-off-by Martin Jansa <[email protected]>--- recipes-extended/xen/xen-arch.inc | 3 +-- recipes-extended/xen/xen-hypervisor.inc | 3 --- recipes-extended/xen/xen-python2.bb | 3 --- recipes-extended/xen/xen-tools.inc | 2 -- recipes-extended/xen/xen.inc | 2 ++ 5 files changed, 3 insertions(+), 10 deletions(-)recipes-extended/xen/xen-arch.inc +1
-2@@ -8,8 +8,7 @@ def map_xen_arch(a, d): import re valid_archs = d.getVar('valid_xen_archs').split() - if re.match("i.86", a): return "x86_32" - elif re.match("x86.64", a): return "x86_64" + if re.match("x86.64", a): return "x86_64" elif re.match("arm.*", a): return "arm32" elif re.match("aarch64.*", a): return "arm64" elif a in valid_archs: return arecipes-extended/xen/xen-hypervisor.inc +0
-3@@ -6,9 +6,6 @@ DESCRIPTION = "The Xen hypervisor" # this allows for varying the target architecture or toolchain used # to build the different components. eg. 32-bit tools and a 64-bit hypervisor. -# The Xen hypervisor has a narrower compatible platform range than the Xen tools -COMPATIBLE_HOST = '(x86_64.*).*-linux|aarch64.*-linux|arm-.*-linux-gnueabi' - inherit deploy python3native cml1 PACKAGES = " \recipes-extended/xen/xen-python2.bb +0
-3@@ -6,9 +6,6 @@ SECTION = "console/tools" SRCREV ?= "a5fcafbfbee55261853fba07149c1c795f2baf58" -# The same restriction as xen-tools.inc, because of the dependency on xen-tools-xentrace from xen-tools-xentrace-format -COMPATIBLE_HOST = 'i686-.*-linux|(x86_64.*).*-linux|aarch64.*-linux|arm-.*-linux-gnueabi' - XEN_REL ?= "4.12" XEN_BRANCH ?= "stable-4.12"recipes-extended/xen/xen-tools.inc +0
-2@@ -1,8 +1,6 @@ SUMMARY = "Xen hypervisor tools" DESCRIPTION = "Tools and utility software for the Xen hypervisor" -COMPATIBLE_HOST = 'i686-.*-linux|(x86_64.*).*-linux|aarch64.*-linux|arm-.*-linux-gnueabi' - inherit setuptools3 update-rc.d systemd deploy require xen-blktap.increcipes-extended/xen/xen.inc +2
-1@@ -2,6 +2,8 @@ HOMEPAGE = "http://xen.org" LICENSE = "GPLv2" SECTION = "console/tools" +COMPATIBLE_HOST = '(x86_64.*).*-linux|aarch64.*-linux|arm-.*-linux-gnueabi' + inherit autotools-brokensep require xen-arch.inc --2.30.2
Quoted 25 lines · Christopher Clark
Quoted 23 lines · Martin Jansa
* this commit seems no longer true for current version of xen:
commita0964e2044cb1ccdd4f64173658ce7602257ff48
Author: Christopher Clark <[email protected]>
Date: Tue Feb 25 16:16:00 2020 -0800xen, xen-tools: separate
COMPATIBLE_HOSTfor hypervisor and toolsThe tools have broader platform compatibility than the hypervisor.
* xen-tools are failing to build for qemux86 as shown in:
http://errors.yoctoproject.org/Errors/Details/575367/make[8]: Entering directory 'TOPDIR/tmp-glibc/work/core2-32-oe-linux/xen-tools/4.14+stableAUTOINC+ad844aa352-r0/git/tools/firmware/xen-dir/xen-root/xen' echo "*** Xen x86/32 target no longer supported!"
*** Xen x86/32 target no longer supported!
make[8]: Leaving directory 'TOPDIR/tmp-glibc/work/core2-32-oe-linux/xen-tools/4.14+stableAUTOINC+ad844aa352-r0/git/tools/firmware/xen-dir/xen-root/xen' ln -sf xen-root/xen/xen xen-shim
ln -sf xen-root/xen/xen-syms xen-shim-syms
...
install: cannot stat 'xen-dir/xen-shim': No such file or directory
make[4]: *** [Makefile:51: install] Error 1
Quoted 7 lines
Quoted 1 line
revert the commit and also drop i686 from
map_xen_archThanks for reporting this, Martin. I need to look into this. I can see why this particular part of the tools build is not suitable for x86/32 but I don't think that it necessarily means that the entire suite of xen-tools should be removed with it for x86/32, and if not then this won't be the change that we will want to fix this build issue.
To follow up on this: I've just posted an alternative patch that fixes the 32-bit x86 xen-tools build, so patch from this thread will not be required.
thanks
Christopher
Quoted 85 lines
Christopher
Quoted 81 lines
Signed-off-by Martin Jansa <[email protected]>--- recipes-extended/xen/xen-arch.inc | 3 +-- recipes-extended/xen/xen-hypervisor.inc | 3 --- recipes-extended/xen/xen-python2.bb | 3 --- recipes-extended/xen/xen-tools.inc | 2 -- recipes-extended/xen/xen.inc | 2 ++ 5 files changed, 3 insertions(+), 10 deletions(-)recipes-extended/xen/xen-arch.inc +1
-2@@ -8,8 +8,7 @@ def map_xen_arch(a, d): import re valid_archs = d.getVar('valid_xen_archs').split() - if re.match("i.86", a): return "x86_32" - elif re.match("x86.64", a): return "x86_64" + if re.match("x86.64", a): return "x86_64" elif re.match("arm.*", a): return "arm32" elif re.match("aarch64.*", a): return "arm64" elif a in valid_archs: return arecipes-extended/xen/xen-hypervisor.inc +0
-3@@ -6,9 +6,6 @@ DESCRIPTION = "The Xen hypervisor" # this allows for varying the target architecture or toolchain used # to build the different components. eg. 32-bit tools and a 64-bit hypervisor. -# The Xen hypervisor has a narrower compatible platform range than the Xen tools -COMPATIBLE_HOST = '(x86_64.*).*-linux|aarch64.*-linux|arm-.*-linux-gnueabi' - inherit deploy python3native cml1 PACKAGES = " \recipes-extended/xen/xen-python2.bb +0
-3@@ -6,9 +6,6 @@ SECTION = "console/tools" SRCREV ?= "a5fcafbfbee55261853fba07149c1c795f2baf58" -# The same restriction as xen-tools.inc, because of the dependency on xen-tools-xentrace from xen-tools-xentrace-format -COMPATIBLE_HOST = 'i686-.*-linux|(x86_64.*).*-linux|aarch64.*-linux|arm-.*-linux-gnueabi' - XEN_REL ?= "4.12" XEN_BRANCH ?= "stable-4.12"recipes-extended/xen/xen-tools.inc +0
-2@@ -1,8 +1,6 @@ SUMMARY = "Xen hypervisor tools" DESCRIPTION = "Tools and utility software for the Xen hypervisor" -COMPATIBLE_HOST = 'i686-.*-linux|(x86_64.*).*-linux|aarch64.*-linux|arm-.*-linux-gnueabi' - inherit setuptools3 update-rc.d systemd deploy require xen-blktap.increcipes-extended/xen/xen.inc +2
-1@@ -2,6 +2,8 @@ HOMEPAGE = "http://xen.org" LICENSE = "GPLv2" SECTION = "console/tools" +COMPATIBLE_HOST = '(x86_64.*).*-linux|aarch64.*-linux|arm-.*-linux-gnueabi' + inherit autotools-brokensep require xen-arch.inc --2.30.2
Thanks! This should work for me as well.
Quoted 145 lines · Christopher Clark
Quoted 2 lines · Christopher Clark
On Sun, Apr 4, 2021 at 2:26 AM Martin Jansa <[email protected]>
Quoted 6 lines · wrote:
Quoted 6 lines
* this commit seems no longer true for current version of xen:
commita0964e2044cb1ccdd4f64173658ce7602257ff48
Author: Christopher Clark <[email protected]>
Date: Tue Feb 25 16:16:00 2020 -0800Quoted 8 lines
Quoted 8 lines
xen, xen-tools: separate
COMPATIBLE_HOSTfor hypervisor and toolsThe tools have broader platform compatibility than the hypervisor.
* xen-tools are failing to build for qemux86 as shown in:
http://errors.yoctoproject.org/Errors/Details/575367/make[8]: Entering directory
'TOPDIR/tmp-glibc/work/core2-32-oe-linux/xen-tools/4.14+stableAUTOINC+ad844aa352-r0/git/tools/firmware/xen-dir/xen-root/xen'
Quoted 3 lines
Quoted 3 lines
echo "*** Xen x86/32 target no longer supported!" *** Xen x86/32 target no longer supported! make[8]: Leaving directory
'TOPDIR/tmp-glibc/work/core2-32-oe-linux/xen-tools/4.14+stableAUTOINC+ad844aa352-r0/git/tools/firmware/xen-dir/xen-root/xen'
Quoted 6 lines
Quoted 6 lines
ln -sf xen-root/xen/xen xen-shim
ln -sf xen-root/xen/xen-syms xen-shim-syms
...
install: cannot stat 'xen-dir/xen-shim': No such file or directory make[4]: *** [Makefile:51: install] Error 1Quoted 7 lines
Quoted 1 line
revert the commit and also drop i686 from
map_xen_archThanks for reporting this, Martin. I need to look into this. I can see why this particular part of the tools build is not suitable for x86/32 but I don't think that it necessarily means that the entire suite of xen-tools should be removed with it for x86/32, and if not then this won't be the change that we will want to fix this build issue.
To follow up on this: I've just posted an alternative patch that fixes the 32-bit x86 xen-tools build, so patch from this thread will not be required.
thanks
Christopher
Quoted 14 lines
Christopher
Quoted 10 lines
Signed-off-by Martin Jansa <[email protected]>--- recipes-extended/xen/xen-arch.inc | 3 +-- recipes-extended/xen/xen-hypervisor.inc | 3 --- recipes-extended/xen/xen-python2.bb | 3 --- recipes-extended/xen/xen-tools.inc | 2 -- recipes-extended/xen/xen.inc | 2 ++ 5 files changed, 3 insertions(+), 10 deletions(-)Quoted 1 line
Review
Quoted 1 line
(quoted diff) +0
-0b/recipes-extended/xen/xen-arch.inc
Quoted 7 lines
Quoted 7 lines
index fb0093e..9676045 100644
recipes-extended/xen/xen-arch.inc +0
-0@@ -8,8 +8,7 @@ def map_xen_arch(a, d): import re valid_archs = d.getVar('valid_xen_archs').split()Quoted 7 lines
Review
Quoted 7 lines
recipes-extended/xen/xen-arch.inc +1
-2- if re.match("i.86", a): return "x86_32" - elif re.match("x86.64", a): return "x86_64" + if re.match("x86.64", a): return "x86_64" elif re.match("arm.*", a): return "arm32" elif re.match("aarch64.*", a): return "arm64" elif a in valid_archs: return a(quoted diff) +0
-0b/recipes-extended/xen/xen-hypervisor.inc
Quoted 6 lines
recipes-extended/xen/xen-hypervisor.inc DESCRIPTION = "The Xen hypervisor" · line 7
Quoted 6 lines
index 916bd3c..d8e57e2 100644
recipes-extended/xen/xen-hypervisor.inc +0
-0@@ -6,9 +6,6 @@ DESCRIPTION = "The Xen hypervisor" # this allows for varying the target architecture or toolchain used # to build the different components. eg. 32-bit tools and a 64-bithypervisor.
Quoted 2 lines
recipes-extended/xen/xen-hypervisor.inc DESCRIPTION = "The Xen hypervisor" · line 8
Quoted 2 lines
recipes-extended/xen/xen-hypervisor.inc +0
-1-# The Xen hypervisor has a narrower compatible platform range thanthe Xen tools
Quoted 1 line
recipes-extended/xen/xen-hypervisor.inc DESCRIPTION = "The Xen hypervisor" · line 9
Quoted 1 line
recipes-extended/xen/xen-hypervisor.inc +0
-1-COMPATIBLE_HOST ='(x86_64.*).*-linux|aarch64.*-linux|arm-.*-linux-gnueabi'
Quoted 5 lines
Review
Quoted 5 lines
recipes-extended/xen/xen-hypervisor.inc +0
-1- inherit deploy python3native cml1 PACKAGES = " \(quoted diff) +0
-0b/recipes-extended/xen/xen-python2.bb
Quoted 8 lines
recipes-extended/xen/xen-python2.bb SECTION = "console/tools" · line 9
Quoted 8 lines
index ad3c1fd..08d8e92 100644
recipes-extended/xen/xen-python2.bb +0
-1@@ -6,9 +6,6 @@ SECTION = "console/tools" SRCREV ?= "a5fcafbfbee55261853fba07149c1c795f2baf58" -# The same restriction as xen-tools.inc, because of the dependency onxen-tools-xentrace from xen-tools-xentrace-format
Quoted 1 line
recipes-extended/xen/xen-python2.bb SECTION = "console/tools" · line 10
Quoted 1 line
recipes-extended/xen/xen-python2.bb +0
-1-COMPATIBLE_HOST ='i686-.*-linux|(x86_64.*).*-linux|aarch64.*-linux|arm-.*-linux-gnueabi'
Quoted 5 lines
Review
Quoted 5 lines
recipes-extended/xen/xen-python2.bb +0
-1- XEN_REL ?= "4.12" XEN_BRANCH ?= "stable-4.12"(quoted diff) +0
-0b/recipes-extended/xen/xen-tools.inc
Quoted 8 lines
recipes-extended/xen/xen-tools.inc line 4
Quoted 8 lines
index 722c503..35d0c58 100644
recipes-extended/xen/xen-tools.inc +0
-1@@ -1,8 +1,6 @@ SUMMARY = "Xen hypervisor tools" DESCRIPTION = "Tools and utility software for the Xen hypervisor" -COMPATIBLE_HOST ='i686-.*-linux|(x86_64.*).*-linux|aarch64.*-linux|arm-.*-linux-gnueabi'
Quoted 5 lines
Review
Quoted 5 lines
recipes-extended/xen/xen-tools.inc +0
-1- inherit setuptools3 update-rc.d systemd deploy require xen-blktap.inc(quoted diff) +0
-0b/recipes-extended/xen/xen.inc
Quoted 8 lines
recipes-extended/xen/xen.inc HOMEPAGE = "http://xen.org" · line 5
Quoted 8 lines
index 9e8fcad..8277939 100644
recipes-extended/xen/xen.inc +1
-0@@ -2,6 +2,8 @@ HOMEPAGE = "http://xen.org" LICENSE = "GPLv2" SECTION = "console/tools" +COMPATIBLE_HOST ='(x86_64.*).*-linux|aarch64.*-linux|arm-.*-linux-gnueabi'
Quoted 7 lines
Quoted 7 lines
recipes-extended/xen/xen.inc +1
-1+ inherit autotools-brokensep require xen-arch.inc --2.30.2