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

Joel Sherrill joel at rtems.org
Wed Aug 9 16:41:06 UTC 2023


Reading the EPICS discussion, I wonder if this should be added for all
motorola_powerpc BSP variants.

Gedare/Chris/anyone with another board in the family? What do you think?

--joel

On Wed, Aug 9, 2023 at 11:14 AM Uchenna Ezeobi <uchenna.ezeobi3 at gmail.com>
wrote:

> 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
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rtems.org/pipermail/devel/attachments/20230809/7b1cb156/attachment.htm>


More information about the devel mailing list