[PATCH RSB v2 2/2] rtems-gcc-head-newlib-head.cfg: Add newlib patch

Ryan Long ryan.long at oarcorp.com
Tue Sep 7 18:33:18 UTC 2021


Kinsey got the fix merged upstream from newlib, so now we just have to wait till newlib pulls those changes.

-----Original Message-----
From: Gedare Bloom <gedare at rtems.org> 
Sent: Tuesday, September 7, 2021 1:09 PM
To: Ryan Long <ryan.long at oarcorp.com>
Cc: devel at rtems.org
Subject: Re: [PATCH RSB v2 2/2] rtems-gcc-head-newlib-head.cfg: Add newlib patch

Has this issue been raised with newlib? I didn't see anything on their ml. The temporary workaround is fine with me.

On Fri, Sep 3, 2021 at 11:17 AM Ryan Long <ryan.long at oarcorp.com> wrote:
>
> Adds patch to add the -DPREFER_SIZE_OVER_SPEED flag to AArch64 tools 
> builds with newlib. This forces the generation of AArch64 assembly 
> from C sources instead of using the hand-optimized code in newlib 
> since it does not support ILP32. This can be removed when it is fixed upstream.
>
> Updates #4510
> ---
>  rtems/config/tools/rtems-gcc-head-newlib-head.cfg | 3 +++
>  1 file changed, 3 insertions(+)
>
> diff --git a/rtems/config/tools/rtems-gcc-head-newlib-head.cfg 
> b/rtems/config/tools/rtems-gcc-head-newlib-head.cfg
> index 4939ca5..c17895b 100644
> --- a/rtems/config/tools/rtems-gcc-head-newlib-head.cfg
> +++ b/rtems/config/tools/rtems-gcc-head-newlib-head.cfg
> @@ -12,6 +12,9 @@
>  %define newlib_expand_name 
> sourceware-mirror-newlib-cygwin-%{newlib_version}
>  %source set newlib --rsb-file=newlib-%{newlib_version}.tar.gz 
> https://codeload.github.com/RTEMS/sourceware-mirror-newlib-cygwin/tar.
> gz/%{newlib_version}  %hash sha512 newlib-%{newlib_version}.tar.gz 
> 9ded46b3077508ef05bbb4bf424777a0baa5aab9c7c0c902fb5529bb73b5b5034c3528
> 2e2dbf270cbcd44d84940a20ee270e329db4e4b501046978c18f78a11c
> +%
> +%patch add newlib -p1 
> +https://devel.rtems.org/raw-attachment/ticket/4510/0001-configure.hos
> +t-Add-DPREFER_SIZE_OVER_SPEED.patch
> +%hash sha512 0001-configure.host-Add-DPREFER_SIZE_OVER_SPEED.patch 
> +rRg7bJoWjR11FQXmSHPxF8EfsFmBnTQcXXFWGZhbKFwyTvJ8EXfGMACI33u+OuvX+gNAN
> +MOJLyv27FcyTJseKg==
>
>  %define with_threads 1
>  %define with_plugin 0
> --
> 1.8.3.1
>
> _______________________________________________
> devel mailing list
> devel at rtems.org
> http://lists.rtems.org/mailman/listinfo/devel


More information about the devel mailing list