[PATCH] ISL, MPC, MPFR: fix configuration issues on ARM64/Darwin host

Joel Sherrill joel at rtems.org
Tue May 17 18:33:49 UTC 2022


Looked good to me and I pushed it.

Thanks for suffering through all that.  Managing patches to upstream
projects is a balancing act. We don't want to hold patches forever and we
want to switch to new versions of upstream packages that don't need them as
soon as we can.

--joel

On Tue, May 17, 2022 at 12:39 PM Karel Gardas <karel at functional.vision>
wrote:

> Updates #4657.
>
> Sponsored-By:   Precidata
> ---
>  rtems/config/tools/rtems-gcc-12-newlib-head.cfg | 14 ++++++++++++++
>  1 file changed, 14 insertions(+)
>
> diff --git a/rtems/config/tools/rtems-gcc-12-newlib-head.cfg
> b/rtems/config/tools/rtems-gcc-12-newlib-head.cfg
> index 4ea99a0..ce168ea 100644
> --- a/rtems/config/tools/rtems-gcc-12-newlib-head.cfg
> +++ b/rtems/config/tools/rtems-gcc-12-newlib-head.cfg
> @@ -13,6 +13,20 @@
>  %patch add newlib -p1
> https://devel.rtems.org/raw-attachment/ticket/4510/0001-aarch64-Add-ILP32-ABI-support-in-assembly-v2.patch
>  %hash sha512 0001-aarch64-Add-ILP32-ABI-support-in-assembly-v2.patch
> 7ca237eabfd5b382713186e1fc290dfc999a353315795ecb8dd0d22fcd1ab7f5bf31f4329954adab91ad04c100dcac0e86d406fdbce8f82cf9dc23842c88caf6
>
> +# Following patches are related to compilation on Apple M1/Darwin host
> platform.
> +# They are here to workaround issues with ISL, MPFR and MPC libraries.
> +# Upstream projects were already informed so hopefully when RSB moves
> +# to more modern libraries versions they may be removed from here.
> +# The patches are solely for libisl 0.24, libmpfr 4.1.0 and libmpc 1.2.1
> +# See #4657 for more information.
> +%patch add isl -p1
> https://devel.rtems.org/raw-attachment/ticket/4657/fix-mac-arm64-isl-config.patch
> +%hash sha512 fix-mac-arm64-isl-config.patch
> c07fdb605a6520d194358504731e63b540211ef680383f1ca4ec65b4ac43ae27687534fd7d8196a4dbe83a0ecf2c42a4254c71e609ee484a7614573bc499a2e8
> +%patch add mpfr -p1
> https://devel.rtems.org/raw-attachment/ticket/4657/fix-mac-arm64-mpfr-config.patch
> +%hash sha512 fix-mac-arm64-mpfr-config.patch
> dc5069df870bd02b7e78ed22c6ad9e9a2bb9ca372ce1a6b7e8fa5b7635dcef35c29f251fe5195c9c2a43513116c12cab1b0e96171cf34bd7fb7d0334c2c740fb
> +%patch add mpc -p1
> https://devel.rtems.org/raw-attachment/ticket/4657/fix-mac-arm64-mpc-config.patch
> +%hash sha512 fix-mac-arm64-mpc-config.patch
> 2849b11e360ea98e0b4d708c67723ad2d6c7bac6d1e469673f408b0111cf0278429e8bc38fd2b7538dc2d5bb0cc430c646a0fa7f0b6b105a0482a5455fadc8b9
> +# Comment above related to #4657 and patches ends here
> +
>  %define newlib_version 64b2081
>  %define newlib_external 1
>  %define newlib_expand_name
> sourceware-mirror-newlib-cygwin-%{newlib_version}
> --
> 2.25.1
>
> _______________________________________________
> devel mailing list
> devel at rtems.org
> http://lists.rtems.org/mailman/listinfo/devel
>


More information about the devel mailing list