[PATCH 1/2] xen-tools: Fix build with GCC 12


Khem Raj
 

Signed-off-by: Khem Raj <raj.khem@...>
Cc: Bruce Ashfield <bruce.ashfield@...>
---
recipes-extended/xen/xen-tools_4.16.bb | 1 +
1 file changed, 1 insertion(+)

diff --git a/recipes-extended/xen/xen-tools_4.16.bb b/recipes-extended/xen/xen-tools_4.16.bb
index ae1ae8a..be27cf7 100644
--- a/recipes-extended/xen/xen-tools_4.16.bb
+++ b/recipes-extended/xen/xen-tools_4.16.bb
@@ -7,6 +7,7 @@ XEN_BRANCH ?= "stable-${XEN_REL}"
SRC_URI = " \
git://xenbits.xen.org/xen.git;branch=${XEN_BRANCH} \
file://0001-python-pygrub-pass-DISTUTILS-xen-4.15.patch \
+ file://xen-fix-gcc12-build-issues.patch \
"

LIC_FILES_CHKSUM ?= "file://COPYING;md5=419739e325a50f3d7b4501338e44a4e5"
--
2.36.1


Bruce Ashfield
 

It built fine here.

merged

Bruce

On Mon, May 9, 2022 at 1:01 PM Khem Raj <raj.khem@...> wrote:

Signed-off-by: Khem Raj <raj.khem@...>
Cc: Bruce Ashfield <bruce.ashfield@...>
---
recipes-extended/xen/xen-tools_4.16.bb | 1 +
1 file changed, 1 insertion(+)

diff --git a/recipes-extended/xen/xen-tools_4.16.bb b/recipes-extended/xen/xen-tools_4.16.bb
index ae1ae8a..be27cf7 100644
--- a/recipes-extended/xen/xen-tools_4.16.bb
+++ b/recipes-extended/xen/xen-tools_4.16.bb
@@ -7,6 +7,7 @@ XEN_BRANCH ?= "stable-${XEN_REL}"
SRC_URI = " \
git://xenbits.xen.org/xen.git;branch=${XEN_BRANCH} \
file://0001-python-pygrub-pass-DISTUTILS-xen-4.15.patch \
+ file://xen-fix-gcc12-build-issues.patch \
"

LIC_FILES_CHKSUM ?= "file://COPYING;md5=419739e325a50f3d7b4501338e44a4e5"
--
2.36.1
--
- Thou shalt not follow the NULL pointer, for chaos and madness await
thee at its end
- "Use the force Harry" - Gandalf, Star Trek II