Skip to contentSkip to conversation

xen, xen-tools: Update 4.16 revision for gcc 13 compatibility

PATCH In review Christopher Clark 2 participants 5 messages May 27, 2023 – May 29, 2023 1 message not in the archive

lore
Share & tools
lore
#0 lore raw

PATCH 1/3 xen, xen-tools: Update 4.16 revision for gcc 13 compatibility

---
Compile tested for qemux86-64 and raspberrypi4-64; posted to fix the build with the new gcc.

 recipes-extended/xen/xen-tools_4.16.bb | 4 ++--
 recipes-extended/xen/xen_4.16.bb       | 4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)
recipes-extended/xen/xen-tools_4.16.bb +2 -2
index 2861788..34790f7 100644
@@ -1,5 +1,5 @@
-# xen 4.16.3 release sha
-SRCREV ?= "556c2e817c9cf23b675eb4eaa2dc091f7bb3039f"
+# stable-4.16 status on 2023-05-26
+SRCREV ?= "b0806d84d48d983d40a29534e663652887287a78"
 
 XEN_REL ?= "4.16"
 XEN_BRANCH ?= "stable-${XEN_REL}"
recipes-extended/xen/xen_4.16.bb +2 -2
index 14a4fa7..77d0951 100644
@@ -1,5 +1,5 @@
-# xen 4.16.3 release sha
-SRCREV ?= "556c2e817c9cf23b675eb4eaa2dc091f7bb3039f"
+# stable-4.16 status on 2023-05-26
+SRCREV ?= "b0806d84d48d983d40a29534e663652887287a78"
 
 XEN_REL ?= "4.16"
 XEN_BRANCH ?= "stable-${XEN_REL}"
Signature · 1 line
2.25.1
#1 lore raw

PATCH 2/3 xen, xen-tools: Update 4.17 revision for gcc 13 compatibility

---
Compile tested for qemux86-64 and raspberrypi4-64; posted to fix the build with the new gcc.

 recipes-extended/xen/xen-tools_4.17.bb | 4 ++--
 recipes-extended/xen/xen_4.17.bb       | 4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)
recipes-extended/xen/xen-tools_4.17.bb +2 -2
index 8d9effa..b58d759 100644
@@ -1,5 +1,5 @@
-# xen 4.17.0 release sha
-SRCREV ?= "e4a5fb9227889bec99ab212b839680f4d5b51e60"
+# stable-4.17 status on 5/26/2023
+SRCREV ?= "47eb94123035a2987dd1e328e9adec6db36e7fb3"
 
 XEN_REL ?= "4.17"
 XEN_BRANCH ?= "stable-${XEN_REL}"
recipes-extended/xen/xen_4.17.bb +2 -2
index fca9979..9da1b19 100644
@@ -1,5 +1,5 @@
-# xen 4.17.0 release sha
-SRCREV ?= "e4a5fb9227889bec99ab212b839680f4d5b51e60"
+# stable-4.17 status on 5/26/2023
+SRCREV ?= "47eb94123035a2987dd1e328e9adec6db36e7fb3"
 
 XEN_REL ?= "4.17"
 XEN_BRANCH ?= "stable-${XEN_REL}"
Signature · 1 line
2.25.1
#2 lore raw

PATCH 3/3 xen, xen-tools: Update git recipe revision for gcc 13 compatibility

In reply to Christopher Clark

Adds an update for the python/pygrub environment patch for the current Xen 4.18 development tree.

---
Compile tested for qemux86-64 and raspberrypi4-64; posted to fix the build with the new gcc.

 ...ython-pygrub-pass-DISTUTILS-xen-4.18.patch | 41 +++++++++++++++++++
 recipes-extended/xen/xen-tools_git.bb         |  7 ++--
 recipes-extended/xen/xen_git.bb               |  4 +-
 3 files changed, 46 insertions(+), 6 deletions(-)
 create mode 100644 recipes-extended/xen/files/0001-python-pygrub-pass-DISTUTILS-xen-4.18.patch
recipes-extended/xen/files/0001-python-pygrub-pass-DISTUTILS-xen-4.18.patch new file +41 -0
new file mode 100644
index 0000000..3c7a97d
@@ -0,0 +1,41 @@
+diff --git a/tools/pygrub/Makefile b/tools/pygrub/Makefile
+index 4963bc89c6..c1c05eb421 100644
+--- a/tools/pygrub/Makefile
++++ b/tools/pygrub/Makefile
+@@ -13,14 +13,14 @@ setup.py = CC="$(CC)" CFLAGS="$(PY_CFLAGS)" LDSHARED="$(CC)" LDFLAGS="$(PY_LDFLA
+ all: build
+ .PHONY: build
+ build:
+-	$(setup.py) build
++	$(setup.py) build $(DISTUTILS_BUILD_ARGS)
+ 
+ .PHONY: install
+ install: all
+ 	$(INSTALL_DIR) $(DESTDIR)/$(bindir)
+ 	$(INSTALL_DIR) $(DESTDIR)/$(LIBEXEC_BIN)
+ 	$(setup.py) install --record $(INSTALL_LOG) $(PYTHON_PREFIX_ARG) \
+-		--root="$(DESTDIR)" --force
++		--root="$(DESTDIR)" --force  $(DISTUTILS_INSTALL_ARGS)
+ 	$(INSTALL_PYTHON_PROG) src/pygrub $(DESTDIR)/$(LIBEXEC_BIN)/pygrub
+ 	set -e; if [ $(bindir) != $(LIBEXEC_BIN) -a \
+ 	             "`readlink -f $(DESTDIR)/$(bindir)`" != \
+diff --git a/tools/python/Makefile b/tools/python/Makefile
+index 437431c48e..0a99c2067e 100644
+--- a/tools/python/Makefile
++++ b/tools/python/Makefile
+@@ -16,13 +16,13 @@ setup.py = CC="$(CC)" CFLAGS="$(PY_CFLAGS)" LDSHARED="$(CC)" LDFLAGS="$(PY_LDFLA
+ 
+ .PHONY: build
+ build:
+-	$(setup.py) build
++	$(setup.py) build $(DISTUTILS_BUILD_ARGS)
+ 
+ .PHONY: install
+ install:
+ 	$(INSTALL_DIR) $(DESTDIR)$(LIBEXEC_BIN)
+ 	$(setup.py) install --record $(INSTALL_LOG) $(PYTHON_PREFIX_ARG) \
+-		--root="$(DESTDIR)" --force
++		--root="$(DESTDIR)" --force $(DISTUTILS_INSTALL_ARGS)
+ 	$(INSTALL_PYTHON_PROG) scripts/convert-legacy-stream $(DESTDIR)$(LIBEXEC_BIN)
+ 	$(INSTALL_PYTHON_PROG) scripts/verify-stream-v2 $(DESTDIR)$(LIBEXEC_BIN)
+ 
recipes-extended/xen/xen-tools_git.bb +3 -4
index 7557081..a71157a 100644
@@ -1,13 +1,12 @@
-# master status on 2022-12-29
-SRCREV ?= "7eef80e06ed2282bbcec3619d860c6aacb0515d8"
+# master status on 2023-05-26
+SRCREV ?= "380c6c170393c48852d4f2b1ea97125a399cfc61"
 
 XEN_REL ?= "4.18"
 XEN_BRANCH ?= "master"
 
 SRC_URI = " \
     git://xenbits.xen.org/xen.git;branch=${XEN_BRANCH} \
-    file://0001-python-pygrub-pass-DISTUTILS-xen-4.15.patch \
-    file://0001-tools-xenstore-xenstored_control.c-correctly-print-t.patch \
+    file://0001-python-pygrub-pass-DISTUTILS-xen-4.18.patch \
     "
 
 LIC_FILES_CHKSUM ?= "file://COPYING;md5=d1a1e216f80b6d8da95fec897d0dbec9"
recipes-extended/xen/xen_git.bb +2 -2
index 9949006..7ed8977 100644
@@ -1,5 +1,5 @@
-# master status on 2022-12-29
-SRCREV ?= "e4a5fb9227889bec99ab212b839680f4d5b51e60"
+# master status on 2023-05-26
+SRCREV ?= "380c6c170393c48852d4f2b1ea97125a399cfc61"
 
 XEN_REL ?= "4.18"
 XEN_BRANCH ?= "master"
Signature · 1 line
2.25.1

A message that is not in the archive (sent off-list or not yet received): [email protected]

#4 lore raw

Re: [meta-virtualization][PATCH 2/3] xen, xen-tools: Update 4.17 revision for gcc 13 compatibility

Quoted 5 lines · Christopher Clark via lists.yoctoproject.org

---
Compile tested for qemux86-64 and raspberrypi4-64; posted to fix the build with the new gcc.

Hmm, might be something that will need looking at with this series as a first test with runqemu hasn't booted either the xen-image-minimal or xtf-image successfully for qemux86-64 target.

Christopher

Quoted 46 lines
 recipes-extended/xen/xen-tools_4.17.bb | 4 ++--
 recipes-extended/xen/xen_4.17.bb       | 4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)
recipes-extended/xen/xen-tools_4.17.bb +2 -2
index 8d9effa..b58d759 100644
@@ -1,5 +1,5 @@
-# xen 4.17.0 release sha
-SRCREV ?= "e4a5fb9227889bec99ab212b839680f4d5b51e60"
+# stable-4.17 status on 5/26/2023
+SRCREV ?= "47eb94123035a2987dd1e328e9adec6db36e7fb3"
 
 XEN_REL ?= "4.17"
 XEN_BRANCH ?= "stable-${XEN_REL}"
recipes-extended/xen/ renamed from recipes-extended/xen/xen_4.17.bb +0 -0

xen_4.17.bb
index fca9979..9da1b19 100644

recipes-extended/xen/xen_4.17.bb +2 -3
@@ -1,5 +1,5 @@
-# xen 4.17.0 release sha
-SRCREV ?= "e4a5fb9227889bec99ab212b839680f4d5b51e60"
+# stable-4.17 status on 5/26/2023
+SRCREV ?= "47eb94123035a2987dd1e328e9adec6db36e7fb3"
 
 XEN_REL ?= "4.17"
 XEN_BRANCH ?= "stable-${XEN_REL}"
--

2.25.1

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group. View/Reply Online (#8081):
https://lists.yoctoproject.org/g/meta-virtualization/message/8081
Mute This Topic: https://lists.yoctoproject.org/mt/99173447/3619037
Group Owner: [email protected]
Unsubscribe: https://lists.yoctoproject.org/g/meta-virtualization/unsub [ [email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

#5 lore raw

Re: [meta-virtualization][PATCH 2/3] xen, xen-tools: Update 4.17 revision for gcc 13 compatibility

In message: Re: [meta-virtualization][PATCH 2/3] xen, xen-tools: Update 4.17 revision for gcc 13 compatibility

Quoted 4 lines · on 27/05/2023 Christopher Clark wrote:

On Sat, May 27, 2023 at 1:48 PM Christopher Clark via lists.yoctoproject.org <[email protected]> wrote:

Quoted 8 lines

---
Compile tested for qemux86-64 and raspberrypi4-64; posted to fix the build with the new gcc.

Hmm, might be something that will need looking at with this series as a first test with runqemu hasn't booted either the xen-image-minimal or xtf-image successfully for qemux86-64 target.

I'm ok with doing this in stages. Better to have it building with gcc-13

I've merged this to master, runtime issues can be fixed later.

Bruce

Quoted 50 lines

Christopher

     recipes-extended/xen/xen-tools_4.17.bb | 4 ++--
     recipes-extended/xen/xen_4.17.bb       | 4 ++--
     2 files changed, 4 insertions(+), 4 deletions(-)
    diff --git a/recipes-extended/xen/xen-tools_4.17.bb b/recipes-extended/xen/
    xen-tools_4.17.bb
    index 8d9effa..b58d759 100644
    --- a/recipes-extended/xen/xen-tools_4.17.bb
    +++ b/recipes-extended/xen/xen-tools_4.17.bb
    @@ -1,5 +1,5 @@
    -# xen 4.17.0 release sha
    -SRCREV ?= "e4a5fb9227889bec99ab212b839680f4d5b51e60"
    +# stable-4.17 status on 5/26/2023
    +SRCREV ?= "47eb94123035a2987dd1e328e9adec6db36e7fb3"

     XEN_REL ?= "4.17"
     XEN_BRANCH ?= "stable-${XEN_REL}"
    diff --git a/recipes-extended/xen/xen_4.17.bb b/recipes-extended/xen/
    xen_4.17.bb
    index fca9979..9da1b19 100644
    --- a/recipes-extended/xen/xen_4.17.bb
    +++ b/recipes-extended/xen/xen_4.17.bb
    @@ -1,5 +1,5 @@
    -# xen 4.17.0 release sha
    -SRCREV ?= "e4a5fb9227889bec99ab212b839680f4d5b51e60"
    +# stable-4.17 status on 5/26/2023
    +SRCREV ?= "47eb94123035a2987dd1e328e9adec6db36e7fb3"

     XEN_REL ?= "4.17"
     XEN_BRANCH ?= "stable-${XEN_REL}"
    --
    2.25.1


    -=-=-=-=-=-=-=-=-=-=-=-
    Links: You receive all messages sent to this group.
    View/Reply Online (#8081): https://lists.yoctoproject.org/g/
    meta-virtualization/message/8081
    Mute This Topic: https://lists.yoctoproject.org/mt/99173447/3619037
    Group Owner: [email protected]
    Unsubscribe: https://lists.yoctoproject.org/g/meta-virtualization/unsub [
    [email protected]]
    -=-=-=-=-=-=-=-=-=-=-=-