[MacPorts] #59706: libgcc7 @7.5.0 does not bild on PPC Mac OS X 10.5.8, Leopard, because of internal compiler error

MacPorts noreply at macports.org
Thu Nov 28 05:14:36 UTC 2019


#59706: libgcc7 @7.5.0 does not bild on PPC Mac OS X 10.5.8, Leopard, because of
internal compiler error
------------------------+---------------------
  Reporter:  ballapete  |      Owner:  (none)
      Type:  defect     |     Status:  new
  Priority:  Normal     |  Milestone:
 Component:  ports      |    Version:  2.6.2
Resolution:             |   Keywords:  leopard
      Port:  libgcc7    |
------------------------+---------------------

Comment (by kencu):

 Here's something that looks promising. MacPorts adds some default optflags
 to a build that in some cases can mess gcc up. Removing those seems to
 help -- the build of gcc7 has gotten past the point in `libgomp` where it
 previously failed, and although it will take a few hours, looks like it
 might be on the way.

 You can try for yourself by adding this bit near the bottom of the `gcc7`
 portfile, to clear the optflags:
 {{{
 configure.cc_archflags
 + configure.optflags
 configure.cxx-append ${configure.cxx_archflags}
 }}}

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


More information about the macports-tickets mailing list