[MacPorts] #59329: mpich-default: "error: Aborting because C++ compiler does not work"

MacPorts noreply at macports.org
Tue Oct 15 22:33:15 UTC 2019


#59329: mpich-default: "error: Aborting because C++ compiler does not work"
----------------------------+----------------------
  Reporter:  Schamschula    |      Owner:  dstrubbe
      Type:  defect         |     Status:  assigned
  Priority:  Normal         |  Milestone:
 Component:  ports          |    Version:
Resolution:                 |   Keywords:
      Port:  mpich openmpi  |
----------------------------+----------------------

Comment (by rubendibattista):

 {{{
 diff --git a/_resources/port1.0/group/compilers-1.0.tcl
 b/_resources/port1.0/group/compilers-1.0.tcl
 index 9fc68b4c8fa..d4b0435fab8 100644
 --- a/_resources/port1.0/group/compilers-1.0.tcl
 +++ b/_resources/port1.0/group/compilers-1.0.tcl
 @@ -116,7 +116,7 @@ foreach v ${gcc_versions} {
      set cdb(gcc$v,fc)       ${prefix}/bin/gfortran-mp-$compiler_version
      set cdb(gcc$v,f77)      ${prefix}/bin/gfortran-mp-$compiler_version
      set cdb(gcc$v,f90)      ${prefix}/bin/gfortran-mp-$compiler_version
 -    set cdb(gcc$v,cxx_stdlib) libstdc++
 +    set cdb(gcc$v,cxx_stdlib) libc++
  }

  set clang_versions {33 34 37 39 40 50 60 70 80 90}

 }}}

 This fix the configure problem. For what I can understand in the code of
 `compilers.tcl`, that `cxx_stdlib` option should not be set if compiling
 with `clang`. So I don't get why it actually happens.

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


More information about the macports-tickets mailing list