[MacPorts] #54065: nss @3.29.5_0 won't build on PPC Tiger, Mac OS X 10.4.11 because assembler fails due to useless GCC argument -arch ${build_arch}

MacPorts noreply at macports.org
Mon May 1 09:30:42 UTC 2017


#54065: nss @3.29.5_0 won't build on PPC Tiger, Mac OS X 10.4.11 because assembler
fails due to useless GCC argument -arch ${build_arch}
------------------------+---------------------
  Reporter:  ballapete  |      Owner:
      Type:  defect     |     Status:  new
  Priority:  Normal     |  Milestone:
 Component:  ports      |    Version:  2.4.1
Resolution:             |   Keywords:  powerpc
      Port:  nss        |
------------------------+---------------------

Comment (by ballapete):

 Replying to [comment:4 ryandesign]:
 > I don't understand why you suggest removing `-arch` flags.

 With earlier versions of this package the builds, with and without `-arch
 ppc`, I seem to remember, went farther without that flag. I blamed it on
 the bad PowerPC support of Clang. This is for `nss @3.29.5` not the case
 (any more). So it's useless and wrong to call for their removal.

 > We very deliberately want all ports that build architecture-specific
 software to use `-arch` flags to specify what that architecture should be.

 I don't see so much use in using this flag. The compilers used are native,
 they build for their native platform. They should know what they are
 doing. It looks superfluous. I'd actually would prefer (individual)
 optimisation for the hardware used on the Mac where the packages are
 built…

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


More information about the macports-tickets mailing list