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

MacPorts noreply at macports.org
Fri Dec 15 05:59:22 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:
Resolution:           |   Keywords:  haspatch
      Port:           |
----------------------+----------------------

Old description:

> 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

New description:

 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: \\
 UsingTheRightCompiler \\
 CompilerSelection

--

Comment (by ryandesign):

 Anyone can edit the wiki...

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


More information about the macports-tickets mailing list