<div dir="auto"><div><br><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Sat, Jul 4, 2020, 10:20 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">On 4/7/20 5:43 pm, Sebastian Huber wrote:<br>
> On 04/07/2020 01:03, Chris Johns wrote:<br>
>> On 3/7/20 5:06 pm, Sebastian Huber wrote:<br>
>>> Hello,<br>
>>> someone from ARM changed the machine options used to build the RTEMS multilibs<br>
>>> some time ago (I think GCC 8):<br>
>> Was a reason given?<br>
> ARM thinks the new options are easier to use.<br>
<br>
Hmm.<br>
<br>
>>> arm-rtems6-gcc -print-multi-lib -march=armv4t<br>
>>> .;<br>
>>> thumb;@mthumb<br>
>>> armv5te+fp/hard;@march=armv5te+fp@mfloat-abi=hard<br>
>>> thumb/armv6-m;@mthumb@march=armv6-m<br>
>>> thumb/armv7-a;@mthumb@march=armv7-a<br>
>>> thumb/armv7-r;@mthumb@march=armv7-r<br>
>>> thumb/cortex-m3;@mthumb@mcpu=cortex-m3<br>
>>> thumb/cortex-m4+nofp;@mthumb@mcpu=cortex-m4+nofp<br>
>>> thumb/armv7-a+simd/hard;@mthumb@march=armv7-a+simd@mfloat-abi=hard<br>
>>> thumb/armv7-r+fp/hard;@mthumb@march=armv7-r+fp@mfloat-abi=hard<br>
>>> thumb/cortex-m4/hard;@mthumb@mcpu=cortex-m4@mfloat-abi=hard<br>
>>> thumb/cortex-m7/hard;@mthumb@mcpu=cortex-m7@mfloat-abi=hard<br>
>>> eb/thumb/armv7-r;@mbig-endian@mthumb@march=armv7-r<br>
>>> eb/thumb/armv7-r+fp/hard;@mbig-endian@mthumb@march=armv7-r+fp@mfloat-abi=hard<br>
>>><br>
>>> It seems that our current machine options still map to the right multilib:<br>
>>><br>
>>> arm-rtems6-gcc -print-multi-directory -march=armv7-a -mthumb -mfpu=neon<br>
>>> -mfloat-abi=hard -mtune=cortex-a9<br>
>>> thumb/armv7-a+simd/hard<br>
>>><br>
>>> arm-rtems6-gcc -print-multi-directory -mthumb -mcpu=cortex-m4 -mfpu=fpv4-sp-d16<br>
>>> -mfloat-abi=hard<br>
>>> thumb/cortex-m4/hard<br>
>>><br>
>>> arm-rtems6-gcc -print-multi-directory -march=armv7-r -mthumb -mbig-endian<br>
>>> eb/thumb/armv7-r<br>
>>><br>
>>> arm-rtems6-gcc -print-multi-directory -march=armv7-r -mthumb -mbig-endian<br>
>>> -mfpu=vfpv3-d16 -mfloat-abi=hard<br>
>>> eb/thumb/armv7-r+fp/hard<br>
>>><br>
>>> Should we change the options to match the ones given in the multilib definition<br>
>>> or should we keep the current options? If we change the options, then we can no<br>
>>> longer build with GCC 7.<br>
>> Would we need to build gcc 7 for RTEMS 6?<br>
> <br>
> No, but for a git bisect it would be nice to use the RTEMS 5 compiler for a<br>
> while for the master branch.<br>
<br>
Sure.<br>
<br>
> Since the new build system will be a hard break, maybe we should keep the<br>
> options as is in the old build system and start with the new options in the new<br>
> build system.<br>
<br>
This seems reasonable.<br></blockquote></div></div><div dir="auto"><br></div><div dir="auto">And how will we know which change broke something?</div><div dir="auto"><br></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>
Chris<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>
</blockquote></div></div></div>