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

Sam Price thesamprice at gmail.com
Wed Feb 14 15:14:38 UTC 2024


I was wondering if you had any notes on your process of working with
qemu in the rtems builder.
I imagine you have your own xilinx qemu forked to work on, and then
take the patches and integrate them into the rsb builder?

Thanks,
Sam

On Sun, Feb 11, 2024 at 9:51 PM Kinsey Moore <kinsey.moore at oarcorp.com> wrote:
>
> 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
>
> _______________________________________________
> devel mailing list
> devel at rtems.org
> http://lists.rtems.org/mailman/listinfo/devel



-- 
Sincerely,

Sam Price


More information about the devel mailing list