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

Joel Sherrill joel at rtems.org
Wed Aug 9 20:05:37 UTC 2023


Vijay.. go ahead and push this if you don't mind.

I was just wondering if we could make a blanket statement that all
motorola_powerpc variants need this flag.

On Wed, Aug 9, 2023 at 12:01 PM Vijay Kumar Banerjee <vijay at rtems.org>
wrote:

> On Wed, Aug 9, 2023 at 11:41 AM Joel Sherrill <joel at rtems.org> wrote:
> >
> > Reading the EPICS discussion, I wonder if this should be added for all
> motorola_powerpc BSP variants.
> >
> MVME2700 and the qemu variants already add it separately
>
> https://git.rtems.org/rtems/tree/spec/build/bsps/powerpc/motorola_powerpc/abi.yml#n24
>
> > Gedare/Chris/anyone with another board in the family? What do you think?
>
> 2700 works for me, and it already has the flag added.
>
> >
> > --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
> >
> > _______________________________________________
> > 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/5e0c7cd0/attachment.htm>


More information about the devel mailing list