[PATCH RSB] rtems-gcc-10-newlib-head.cfg: Add newlib patch

Joel Sherrill joel at rtems.org
Tue Sep 7 14:56:50 UTC 2021


On Tue, Sep 7, 2021 at 8:04 AM Ryan Long <ryan.long at oarcorp.com> wrote:
>
> Alright, I’ll have that in the next version.

I have a patch ready for this and already posted. Just ran out of disk space
testing it on all architectures on CentOS.

When that build finishes, unless someone complains, I will push it.

--joel


>
>
> From: Joel Sherrill <joel at rtems.org>
> Sent: Saturday, September 4, 2021 3:31 PM
> To: Chris Johns <chrisj at rtems.org>
> Cc: Ryan Long <ryan.long at oarcorp.com>; rtems-devel at rtems.org <devel at rtems.org>
> Subject: Re: [PATCH RSB] rtems-gcc-10-newlib-head.cfg: Add newlib patch
>
>
>
>
>
> On Fri, Sep 3, 2021, 9:05 PM Chris Johns <chrisj at rtems.org> wrote:
>
> Can we please join onto this an rtems-tools update so the recent fixes I pushed
> can be picked up?
>
>
>
> Ryan can you make that a second patch in this series?
>
>
>
> --joel
>
>
> Thanks
> Chris
>
> On 4/9/21 2:40 am, Joel Sherrill wrote:
> > You also should add the patch in the gcc-head-newlib-head
> > configuration as well for rtems7 tools.
> >
> > --joel
> >
> > On Fri, Sep 3, 2021 at 11:01 AM Joel Sherrill <joel at rtems.org> wrote:
> >>
> >> On Fri, Sep 3, 2021 at 9:27 AM Ryan Long <ryan.long at oarcorp.com> wrote:
> >>>
> >>> Adds patch to add the -DPREFER_SIZE_OVER_SPEED flag to aarch64 tool
> >>> builds with newlib.
> >>
> >> This doesn't explain why. This patch is needed to prevent the use of
> >> the assembly
> >> versions of some methods in newlib which are incorrect for ilp32. This
> >> can be removed
> >> when those methods are updated from ARM. Newlib is quite behind ARM for these
> >> methods and that will require work from an ARM Newlib person.
> >>
> >> Updates #4215,
> >>
> >> Improve the comment and ensure the ticket is clear that this is temporary for
> >> those reasons.
> >>
> >>> ---
> >>>  rtems/config/tools/rtems-gcc-10-newlib-head.cfg | 3 +++
> >>>  1 file changed, 3 insertions(+)
> >>>
> >>> diff --git a/rtems/config/tools/rtems-gcc-10-newlib-head.cfg b/rtems/config/tools/rtems-gcc-10-newlib-head.cfg
> >>> index 69c4fb5..3594d1c 100644
> >>> --- a/rtems/config/tools/rtems-gcc-10-newlib-head.cfg
> >>> +++ b/rtems/config/tools/rtems-gcc-10-newlib-head.cfg
> >>> @@ -13,6 +13,9 @@
> >>>  %patch add gcc -p1 https://devel.rtems.org/raw-attachment/ticket/4215/0001-nios2-Remove-custom-instruction-warnings.patch
> >>>  %hash sha512 0001-nios2-Remove-custom-instruction-warnings.patch afd8a5e6bdcc5b75d5fbbf558bdf56ccac400521a6eec9d88cc95f6be67c481f2dbf8faa0f6ddc1e4ac7c56a84938714d80e46e9cf80ec4b8fcd739986449881
> >>>
> >>> +%patch add newlib -p1 https://devel.rtems.org/raw-attachment/ticket/4510/0001-configure.host-Add-DPREFER_SIZE_OVER_SPEED.patch
> >>> +%hash sha512 0001-configure.host-Add-DPREFER_SIZE_OVER_SPEED.patch ad183b6c9a168d1d751505e64873f117c11fb059819d341c5d715619985b285c324ef27c1177c6300088df7bbe3aebd7fa034034c3892f2bf6ec57324c9b1e2a
> >>> +
> >>
> >> Looks like you forgot to use sha512-base64
> >>
> >>
> >>>  %define newlib_version 4f81149
> >>>  %define newlib_external 1
> >>>  %define newlib_expand_name sourceware-mirror-newlib-cygwin-%{newlib_version}
> >>> --
> >>> 1.8.3.1
> >>>
> >>> _______________________________________________
> >>> devel mailing list
> >>> devel at rtems.org
> >>> http://lists.rtems.org/mailman/listinfo/devel
> > _______________________________________________
> > devel mailing list
> > devel at rtems.org
> > http://lists.rtems.org/mailman/listinfo/devel
> >


More information about the devel mailing list