[RTEMS Project] #3262: GCC-4 Build failure with GCC-4.3+

RTEMS trac trac at rtems.org
Fri Jan 5 16:51:03 UTC 2018


#3262: GCC-4 Build failure with GCC-4.3+
----------------------+--------------------------
 Reporter:  Gedare    |       Owner:  Chris Johns
     Type:  defect    |      Status:  assigned
 Priority:  normal    |   Milestone:  4.10.3
Component:  tool/rsb  |     Version:  4.10
 Severity:  normal    |  Resolution:
 Keywords:            |
----------------------+--------------------------

Comment (by Joel Sherrill):

 This is needed on the 4.10 branch to build tools with GCC >= 4.3 but the
 option does not exist on older GCC's. Given that 4.3 is quite old, any
 recent distribution should be OK. But if someone updated on an old
 distribution with a gcc < 4.3, this option should not be present.

 Is there a clean way to make this CFLAGS="-fgnu89-inline" default to on
 but let someone disable it if they are still on an old distribution? They
 would be using a host OS which is completely unsupported since even CentOS
 6 had a gcc new enough.

 Chris? What would be the cleanest way to achieve this? We need to be able
 to build 4.10 on recent environments.

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


More information about the bugs mailing list