[MacPorts] #68346: mpich-default embeds -commons into the mpicc-mpich-mp driver script, causing builds with Xcode 15's linker to fail

MacPorts noreply at macports.org
Sun Oct 15 00:53:31 UTC 2023


#68346: mpich-default embeds -commons into the mpicc-mpich-mp driver script,
causing builds with Xcode 15's linker to fail
-----------------------------------+--------------------------
  Reporter:  murrayE               |      Owner:  (none)
      Type:  defect                |     Status:  new
  Priority:  Normal                |  Milestone:
 Component:  ports                 |    Version:  2.8.1
Resolution:                        |   Keywords:  sonoma arm64
      Port:  mpich-default scotch  |
-----------------------------------+--------------------------

Comment (by kencu):

 This is what I did.

 After the build of scotch failed:

 {{{
 sudo port clean scotch
 bbedit /opt/local/bin/mpicc-mpich-mp
 }}}

 find the line mentioned, and delete this little bit:
 {{{-Wl,-commons,use_dylibs}}}

 save  /opt/local/bin/mpicc-mpich-mp

 then
 {{{
 sudo port -v install scotch
 }}}

 and come back in 5 five minutes, and it's installed.

 Now somebody will properly fix mpich-default soon enough, but it won't be
 me... and this gets you in business while you're waiting.

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


More information about the macports-tickets mailing list