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