[PATCH RTEMS] spec: Add -mstrict-align to mvme2100 default build

Uchenna Ezeobi uchenna.ezeobi3 at gmail.com
Wed Aug 9 16:14:36 UTC 2023


On Wed, Aug 9, 2023 at 9:22 AM Joel Sherrill <joel at rtems.org> wrote:
>
> I'm ok with this if there is a known case of an alignment exception that causes this.
>
 We were getting the error from the
https://github.com/epics-base/epics-base/issues/29 while trying to
build EPICS on RTEMS-MVME2100, doing this fixed the error.

> We didn't want to force it into every PowerPC BSP.
>
> Do you have a case that failed and was resolved by adding this?
>
> On Wed, Aug 9, 2023 at 7:36 AM Uchenna Ezeobi <uchenna.ezeobi3 at gmail.com> wrote:
>>
>> Update #3767
>> ---
>>  spec/build/bsps/powerpc/motorola_powerpc/abi.yml | 4 ++++
>>  1 file changed, 4 insertions(+)
>>
>> diff --git a/spec/build/bsps/powerpc/motorola_powerpc/abi.yml b/spec/build/bsps/powerpc/motorola_powerpc/abi.yml
>> index 6734e9babf..2438c30f1d 100644
>> --- a/spec/build/bsps/powerpc/motorola_powerpc/abi.yml
>> +++ b/spec/build/bsps/powerpc/motorola_powerpc/abi.yml
>> @@ -17,6 +17,10 @@ default:
>>    - -mcpu=powerpc
>>    - -mmultiple
>>    - -mstrict-align
>> +- enabled-by: [powerpc/mvme2100]
>> +  value:
>> +  - -mcpu=603e
>> +  - -mstrict-align
>>  - enabled-by: [powerpc/mvme2307, powerpc/mvme2700]
>>    value:
>>    - -mcpu=604
>> --
>> 2.39.3
>>
>> _______________________________________________
>> devel mailing list
>> devel at rtems.org
>> http://lists.rtems.org/mailman/listinfo/devel


More information about the devel mailing list