[MacPorts] #64532: graphite2 fails to build for ppc on 10.6.8 (Rosetta): unrecognized command line option '-mfpmath=sse'

MacPorts noreply at macports.org
Sat Jan 29 08:31:57 UTC 2022


#64532: graphite2 fails to build for ppc on 10.6.8 (Rosetta): unrecognized command
line option '-mfpmath=sse'
---------------------------+-------------------------------------------
  Reporter:  barracuda156  |      Owner:  (none)
      Type:  defect        |     Status:  new
  Priority:  Normal        |  Milestone:
 Component:  ports         |    Version:  2.7.1
Resolution:                |   Keywords:  powerpc, snowleopard, rosetta
      Port:  graphite2     |
---------------------------+-------------------------------------------

Comment (by barracuda156):

 Replying to [comment:12 kencu]:
 > I have built hundreds and hundreds, maybe thousands, of ports universal
 for M1 and Intel, including using cmake. I was on a terror at the
 beginning and just went wild fixing them to build universal.
 > Most of those just used multiple arch flags and so it was fairly
 trivial. But some of them used muniversal I think, and somehow they
 worked. Just have to go back and look at details of how.
 > It was not with a toolchain file. Probably (I vaguely recall) we just
 patched and reinplaced the desired processor into the CMakeLists.txt.

 This sounds inspiring! Thanks.

 I will return to building universal in a while. Probably not so much to
 x86_64+ppc, since that may not have realistic use cases, but at least to
 ppc+ppc64.
 (For now, I wanna first fix linker problem which causes some ports to fail
 on 10.6.8 and gcc10 to fail on 10.6 PPC.)

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


More information about the macports-tickets mailing list