[MacPorts] #68902: inconsistent use of c++ library for mpich with gcc10>

MacPorts noreply at macports.org
Fri Dec 15 03:34:19 UTC 2023


#68902: inconsistent use of c++ library for mpich with gcc10>
----------------------+--------------------
 Reporter:  numaryu   |      Owner:  (none)
     Type:  defect    |     Status:  new
 Priority:  Normal    |  Milestone:
Component:  base      |    Version:
 Keywords:  haspatch  |       Port:
----------------------+--------------------
 The correct stdlib option is not passed to mpi C++ (mpicxx) when the
 backend is gcc version greater than 10.
 This causes a compilation error for ports with +mpich +gcc1?, such as
 hdf5, netcdf, etc.
 The attached patches may resolve the issue, but are tested only on my
 environment (MacOS 12.7.1, gcc12, mpich).

 And, I'd also like to point out that the descriptions of stdlib for GCC is
 not correct in the following documents:
 https://trac.macports.org/wiki/UsingTheRightCompiler
 https://trac.macports.org/wiki/CompilerSelection

-- 
Ticket URL: <https://trac.macports.org/ticket/68902>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list