[MacPorts] #69114: php81 fails to build with gcc-4.2: cc1: error: unrecognized command line option "-Wno-implicit-fallthrough"

MacPorts noreply at macports.org
Tue Jan 16 10:53:49 UTC 2024


#69114: php81 fails to build with gcc-4.2: cc1: error: unrecognized command line
option "-Wno-implicit-fallthrough"
-----------------------------------------+------------------------
 Reporter:  barracuda156                 |      Owner:  ryandesign
     Type:  defect                       |     Status:  assigned
 Priority:  Normal                       |  Milestone:
Component:  ports                        |    Version:  2.8.1
 Keywords:  tiger, leopard, snowleopard  |       Port:  php81
-----------------------------------------+------------------------
 {{{
 cc1: error: unrecognized command line option "-Wno-implicit-fallthrough"
 cc1: error: unrecognized command line option "-Wno-implicit-fallthrough"
 make: *** [ext/date/php_date.lo] Error 1
 make: *** Waiting for unfinished jobs....
 make: *** [ext/date/lib/parse_date.lo] Error 1
 cc1: error: unrecognized command line option "-Wno-implicit-fallthrough"
 cc1: error: unrecognized command line option "-Wno-implicit-fallthrough"
 make: *** [ext/date/lib/dow.lo] Error 1
 cc1: error: unrecognized command line option "-Wno-implicit-fallthrough"
 make: *** [ext/date/lib/parse_posix.lo] Error 1
 make: *** [ext/date/lib/parse_tz.lo] Error 1
 cc1: error: unrecognized command line option "-Wno-implicit-fallthrough"
 make: *** [ext/date/lib/astro.lo] Error 1
 }}}

 I guess either old gcc is to be blacklisted or flags patched out?

-- 
Ticket URL: <https://trac.macports.org/ticket/69114>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list