[PATCH rtems-source-builder 2/2] devel/qemu-xilinx: Fix build on GCC 13.2.0

Kinsey Moore kinsey.moore at oarcorp.com
Mon Feb 12 02:51:26 UTC 2024


GCC 13.2.0 adds new warnings/errors when mixing ints and enums. This
changes the pminsn helper type to correctly use enums.
---
 bare/config/devel/qemu-xilinx-v2020.2-1.cfg | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/bare/config/devel/qemu-xilinx-v2020.2-1.cfg b/bare/config/devel/qemu-xilinx-v2020.2-1.cfg
index ca70ebd..6352268 100644
--- a/bare/config/devel/qemu-xilinx-v2020.2-1.cfg
+++ b/bare/config/devel/qemu-xilinx-v2020.2-1.cfg
@@ -24,6 +24,13 @@
 %hash sha512 xlnx_cgem_zynqmp_versal.patch \
   tGjJn7o8/fQwdC0sgsYmPW6bqDzMkwhKRqBwuuy8sdEKivDj7uGISMj7p8Iwy9fkHiO3Dd3feno+iz5fHYGBkA==
 
+#
+# Patch to fix PPC64 build under GCC 13.2.0
+#
+%patch add qemu --rsb-file=xlnx_ppc64_enum.patch -p1 https://devel.rtems.org/raw-attachment/ticket/4988/0001-target-ppc-Resolve-int-enum-mismatch-on-ppc64.patch
+%hash sha512 xlnx_ppc64_enum.patch \
+  afYfClJ5IO9eV23dOAqxurzAnwS1YmiOEPCts/ftXS/ddXp9Rx2oQYuKeZriawKw7MVlqWNv9eTc5ERoFhRKOg==
+
 #
 # The Qemu build instructions. We use 5.x.x Release 1.
 #
-- 
2.39.2



More information about the devel mailing list