[MacPorts] #62109: gfortran incorrectly tries to compile with option -m64 on arch arm64

MacPorts noreply at macports.org
Wed Jan 20 21:08:50 UTC 2021


#62109: gfortran incorrectly tries to compile with option -m64 on arch arm64
-----------------------------+---------------------------
  Reporter:  platipodium     |      Owner:  (none)
      Type:  defect          |     Status:  new
  Priority:  Normal          |  Milestone:
 Component:  ports           |    Version:  2.6.4
Resolution:                  |   Keywords:  bigsur, arm64
      Port:  netcdf-fortran  |
-----------------------------+---------------------------

Comment (by kencu):

 Oh boy... it would almost be easier to fix up the gcc fortran driver to
 accept that flag, than it would be to change all of the many buildscripts
 to somehow know not to send the flag to gcc on arm.

 Let me ask upstream.

 {{{
 configure:6759: /opt/local/bin/gfortran-mp-devel -c -pipe -Os -m64 -x f95
 conftest.f90 >&5
 gfortran-mp-devel: error: unrecognized command-line option '-m64'
 }}}

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


More information about the macports-tickets mailing list