[MacPorts] #68691: mumps @5.6.2_0+gfortran+mpich+openblas: ld: unknown options: -commons

MacPorts noreply at macports.org
Sun Nov 19 22:27:53 UTC 2023


#68691: mumps @5.6.2_0+gfortran+mpich+openblas: ld: unknown options: -commons
----------------------+---------------------------------
  Reporter:  murrayE  |      Owner:  MarcusCalhoun-Lopez
      Type:  defect   |     Status:  assigned
  Priority:  Normal   |  Milestone:
 Component:  ports    |    Version:  2.8.1
Resolution:           |   Keywords:  arm64 sonoma
      Port:  mumps    |
----------------------+---------------------------------

Comment (by Dave-Allured):

 I checked source code and port files for Mumps 5.6.2.  **-commons** is not
 specified or needed anywhere by Mumps, because Mumps does not use fortran
 COMMON or EQUIVALENCE anywhere.  (Reference:  Xcode docs for "ld".)

 Meanwhile, it looks like **-commons** is being injected here from
 **/opt/local/bin/mpicc-mpich-mp**.  **-commons** is a known problem with
 the Sonoma/Xcode 15.0 linker.  So check **mpicc-mpich** for **-commons**
 problems.  It is possible that there is already an open ticket for this.
 That is all I have time for right now.

 Oh yeah, I agree that @catap's **-ld_classic** suggestion may be a viable
 temporary workaround.  That is also tricky because the previous linker
 will choke if it gets that flag unintentionally.

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


More information about the macports-tickets mailing list