add -fno-strict-aliasing for more architectures in R3.16 src/ca/legacy Makefiles

Bug #1702254 reported by Dirk Zimoch
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
EPICS Base
Status tracked in 7.0
3.16
Fix Released
Undecided
Andrew Johnson
7.0
Fix Released
Undecided
Andrew Johnson

Bug Description

In addition to the existing
USR_CXXFLAGS_Linux = -fno-strict-aliasing
USR_CXXFLAGS_RTEMS = -fno-strict-aliasing

add this line to src/ca/legacy/gdd/Makefile:
USR_CXXFLAGS_vxWorks = -fno-strict-aliasing

Add all three lines to src/ca/legacy/pcas/build/Makefile.

The vxWorks 6 compilers between 6.2 and 6.7 all print warnings about broken strict aliasing rules and all understand that flag. The vxWorks 5 compiler does not understand the flag but 3.16 does not build with vxWorks 5 anyway.

Revision history for this message
Andrew Johnson (anj) wrote :

Committing the fix as described to base-3.16.

In EPICS 7 the gdd and pcas sources have been unbundled into a separate module.

@Ralph do you want to test your method for pulling bug-fixes from Base into the new module?

Revision history for this message
Ralph Lange (ralph-lange) wrote :

Yes, I would like to test that.
Not using a 5" screen, though...

Revision history for this message
Andrew Johnson (anj) wrote :

Oops, I shouldn't have targeted this to the 7.0 series since the bug is in pcas and that got unbundled...

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.