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

MacPorts noreply at macports.org
Mon Feb 5 20:39:50 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.9.1
Resolution:                      |   Keywords:  tiger, leopard, snowleopard
      Port:  php81, php82,       |
  php83                          |
---------------------------------+-----------------------------------------

Comment (by barracuda156):

 Replying to [comment:1 ryandesign]:
 > The first step would be to report it to the developers to see what they
 say the solution is.

 Here is the suggested fix: https://github.com/php/php-src/pull/13331
 However it assumes autotools build. So we either need to use autotools
 too, or otherwise patch existing configure scripts. What is the way to go?

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


More information about the macports-tickets mailing list