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

Vijay Kumar Banerjee vijay at rtems.org
Fri Aug 11 03:17:34 UTC 2023


On Wed, Aug 9, 2023 at 8:04 PM Chris Johns <chrisj at rtems.org> wrote:
>
> On 10/8/2023 2:41 am, Joel Sherrill wrote:
> > 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?
>
> Michael asked if the setting is present when building libc, libm etc in the
> EPICS core devs meeting today and I could not answer the question?

I just built the tools for powerpc and it looks like libc, libm are
not built with the -mstrict-align flag.

> Is it
> exported in the .pc or Makefile.inc flags?
>
This flag is exported in ${RTEMS_BSP}.cfg file in RTEMS, which gets
included by EPICS though CONFIG.Common.RTEMS:
https://github.com/epics-base/epics-base/blob/7.0/configure/os/CONFIG.Common.RTEMS#L38

The `RTEMS_CUSTOM` variable is defined in Makefile.inc, and it points
to the ${RTEMS_BSP}.cfg file






> Chris
> _______________________________________________
> devel mailing list
> devel at rtems.org
> http://lists.rtems.org/mailman/listinfo/devel


More information about the devel mailing list