summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--recipes-extended/xen/files/0001-tests-vpci-drop-explicit-g-use.patch33
-rw-r--r--recipes-extended/xen/xen-tools_4.21.bb1
2 files changed, 34 insertions, 0 deletions
diff --git a/recipes-extended/xen/files/0001-tests-vpci-drop-explicit-g-use.patch b/recipes-extended/xen/files/0001-tests-vpci-drop-explicit-g-use.patch
new file mode 100644
index 00000000..43fb7dd6
--- /dev/null
+++ b/recipes-extended/xen/files/0001-tests-vpci-drop-explicit-g-use.patch
@@ -0,0 +1,33 @@
1From 9530cdb2de5bc3da182b4273fa706f8354721e7c Mon Sep 17 00:00:00 2001
2From: Bruce Ashfield <bruce.ashfield@gmail.com>
3Date: Fri, 21 Nov 2025 15:05:25 -0500
4Subject: [PATCH] tests/vpci: drop explicit -g use
5
6The explicit use of -g is embedded debug information and paths
7into the output files, which breaks QA. Investigating how to
8mitigate this via prefix maps is a future TODO item. For now,
9we just stop using -g
10
11Upstream-Status: Inappropriate [oe specific]
12
13Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
14---
15 tools/tests/vpci/Makefile | 2 +-
16 1 file changed, 1 insertion(+), 1 deletion(-)
17
18diff --git a/tools/tests/vpci/Makefile b/tools/tests/vpci/Makefile
19index 97359ff67f..39c582cded 100644
20--- a/tools/tests/vpci/Makefile
21+++ b/tools/tests/vpci/Makefile
22@@ -15,7 +15,7 @@ else
23 endif
24
25 $(TARGET): vpci.c vpci.h list.h main.c emul.h
26- $(CC) $(CFLAGS_xeninclude) -g -o $@ vpci.c main.c
27+ $(CC) $(CFLAGS_xeninclude) -o $@ vpci.c main.c
28
29 .PHONY: clean
30 clean:
31--
322.39.2
33
diff --git a/recipes-extended/xen/xen-tools_4.21.bb b/recipes-extended/xen/xen-tools_4.21.bb
index 7f134280..1fe7704b 100644
--- a/recipes-extended/xen/xen-tools_4.21.bb
+++ b/recipes-extended/xen/xen-tools_4.21.bb
@@ -8,6 +8,7 @@ SRC_URI = " \
8 file://0001-python-pygrub-pass-DISTUTILS-xen-4.19.patch \ 8 file://0001-python-pygrub-pass-DISTUTILS-xen-4.19.patch \
9 file://0001-libxl_nocpuid-fix-build-error.patch \ 9 file://0001-libxl_nocpuid-fix-build-error.patch \
10 file://0001-tools-libxl-Fix-build-with-NOCPUID-and-json-c.patch \ 10 file://0001-tools-libxl-Fix-build-with-NOCPUID-and-json-c.patch \
11 file://0001-tests-vpci-drop-explicit-g-use.patch \
11 " 12 "
12 13
13LIC_FILES_CHKSUM ?= "file://COPYING;md5=d1a1e216f80b6d8da95fec897d0dbec9" 14LIC_FILES_CHKSUM ?= "file://COPYING;md5=d1a1e216f80b6d8da95fec897d0dbec9"