[MacPorts] #68346: scotch @7.0.4_0+mpich: ld: unknown options: -commons
MacPorts
noreply at macports.org
Fri Oct 6 18:11:21 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 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
--
Ticket URL: <https://trac.macports.org/ticket/68346#comment:8>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list