[MacPorts] #68346: scotch @7.0.4_0+mpich: ld: unknown options: -commons

MacPorts noreply at macports.org
Fri Oct 6 19:00:01 UTC 2023


#68346: scotch @7.0.4_0+mpich: ld: unknown options: -commons
----------------------+--------------------------
  Reporter:  murrayE  |      Owner:  (none)
      Type:  defect   |     Status:  new
  Priority:  Normal   |  Milestone:
 Component:  ports    |    Version:  2.8.1
Resolution:           |   Keywords:  sonoma arm64
      Port:  scotch   |
----------------------+--------------------------

Comment (by murrayE):

 Replying to [comment:8 eborisch]:
 > Try re-installing mpich-default (uninstall & reinstall mpich-default
 which will then re-configure & build) after Xcode 15 installation. (mpich-
 default doesn't use buildbot packages, although the buildbot is still on
 Xcode 14 so it won't help currently anyway.)
 >
 > The issue is ld from Xcode 15 rejecting `-Wl,-commons,use_dylibs`. The
 configure script for mpich correctly detects this when Xcode 15's ld is
 used, but if you configure/install mpich under Xcode 14, and then upgrade
 Xcode, the compiler scripts (mpicc, mpicxx, etc.) will still have the
 offending switch.
 >
 > See also: https://github.com/pmodels/mpich/issues/6684

 I DID install mpich and mpich-default using Xcode 15. (This was part of
 reinstalling all the ports I had after upgrading macOS to Sonoma and Xcode
 to version 15, and reinstalling MacPorts with the Sonoma version.

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


More information about the macports-tickets mailing list