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

Joel Sherrill joel at rtems.org
Mon Feb 19 15:26:57 UTC 2024


Module:    rtems-source-builder
Branch:    master
Commit:    0d817c4c1f7f60562b9fa31b39c64b1240035c80
Changeset: http://git.rtems.org/rtems-source-builder/commit/?id=0d817c4c1f7f60562b9fa31b39c64b1240035c80

Author:    Kinsey Moore <kinsey.moore at oarcorp.com>
Date:      Sun Feb 11 19:04:20 2024 -0600

devel/qemu-xilinx: Fix build on GCC 13.2.0

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.
 #



More information about the vc mailing list