[RTEMS Project] #3767: Should all PPC BSPs build with -mstrict-align?

RTEMS trac trac at rtems.org
Fri Jul 19 05:27:56 UTC 2019


#3767: Should all PPC BSPs build with -mstrict-align?
--------------------------------+---------------------
 Reporter:  Michael Davidsaver  |       Owner:  (none)
     Type:  defect              |      Status:  new
 Priority:  normal              |   Milestone:  5.1
Component:  arch/powerpc        |     Version:  5
 Severity:  normal              |  Resolution:
 Keywords:                      |  Blocked By:
 Blocking:                      |
--------------------------------+---------------------

Comment (by Sebastian Huber):

 The GCC -mcpu option changes the default values of other options such as
 -mstrict-align. You can have a look at the GCC sources:
 gcc/config/rs6000/rs6000-cpus.def

 If you have problems with an alignment exception on a -mcpu=7400 based
 BSP, then simply add the -mstrict-align to this BSP. Other BSPs should
 remain as is.

--
Ticket URL: <http://devel.rtems.org/ticket/3767#comment:4>
RTEMS Project <http://www.rtems.org/>
RTEMS Project


More information about the bugs mailing list