[MacPorts] #65993: double-conversion fails to build as +universal: g++-4.2: -E, -S, -save-temps and -M options are not allowed with multiple -arch flags

MacPorts noreply at macports.org
Sat Oct 15 14:16:02 UTC 2022


#65993: double-conversion fails to build as +universal: g++-4.2: -E, -S, -save-
temps and -M options are not allowed with multiple -arch flags
--------------------------------+-------------------------------------
  Reporter:  barracuda156       |      Owner:  (none)
      Type:  defect             |     Status:  new
  Priority:  Normal             |  Milestone:
 Component:  ports              |    Version:  2.7.2
Resolution:                     |   Keywords:  powerpc, leopard, ppc64
      Port:  double-conversion  |
--------------------------------+-------------------------------------

Comment (by barracuda156):

 Replying to [comment:1 kencu]:
 > you have two choices:
 >
 > 1. strip out the unsupported flags
 > 1. use the muniversal PG
 >
 > MacPorts prefers the first, but it’s often much easier to do the second.

 By the way, do we have an idea of how to solve a problem of universal
 builds with new GCCs? It is a pain now. Whenever I touch Leopard, multiple
 ports break down on universal builds, and building for ppc32 is not
 inspiring – the only advantage of 10.5 is ppc64.

 From what I understood, adding muniversal is not an option (and
 admittedly, it looks like a silly mechanical work). Can it be implemented
 in the base – so that whenever +universal is invoked on a system with non-
 Apple GCC, muniversal is pulled over? If someone ever happens to fix GCC
 eventually, such implementation will be easier to revert too, rather than
 removing muniversal from every port.

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


More information about the macports-tickets mailing list