[MacPorts] #54771: gcc7 -march=native fails on compile for corei7

MacPorts noreply at macports.org
Thu Sep 7 12:14:29 UTC 2017


#54771: gcc7 -march=native fails on compile for corei7
----------------------+-------------------
  Reporter:  bdmckay  |      Owner:
      Type:  defect   |     Status:  new
  Priority:  Normal   |  Milestone:
 Component:  ports    |    Version:  2.4.1
Resolution:           |   Keywords:
      Port:  gcc7     |
----------------------+-------------------

Comment (by bdmckay):

 Thanks.  Clang can indeed do the assembling, but gcc7 -Wa,-q seems to only
 look for it at /opt/local/bin/clang. Creating a symbolic link from
 /opt/local/bin/clang to the XCode-installed /usr/bin/clang or a macports-
 installed /opt/local/bin/clang-mp-5.0 makes -Wa,-q work.  This is ok for
 my personal use, but useless for package distribution since I can't expect
 my users to install an extra compiler or create a link that needs root
 privilege.  I note that the upstream bug report is quite old; might it be
 that there just isn't much interest in getting recent versions of gcc
 working properly on Macs?

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


More information about the macports-tickets mailing list