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

MacPorts noreply at macports.org
Mon Oct 14 22:40:22 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        |
--------------------------+----------------------

Comment (by dstrubbe):

 I'm not sure this is a problem of mpich per se. The key lines are:

 {{{
 configure:46366: checking whether the C++ compiler /usr/bin/clang++ can
 build an executable
 configure:46395: /usr/bin/clang++ -o conftest  -pipe -stdlib=libstdc++
 -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk -arch
 x86_64  -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk
 -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_science_mpich
 /mpich-default/work/mpich-3.3.1/src/mpl/include
 -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_science_mpich
 /mpich-default/work/mpich-3.3.1/src/mpl/include
 -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_science_mpich
 /mpich-default/work/mpich-3.3.1/src/openpa/src
 -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_science_mpich
 /mpich-default/work/mpich-3.3.1/src/openpa/src -D_REENTRANT
 -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_science_mpich
 /mpich-default/work/mpich-3.3.1/src/mpi/romio/include
 -Wl,-headerpad_max_install_names
 -Wl,-syslibroot,/Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk
 -arch x86_64 conftest.cpp  >&5
 clang: warning: libstdc++ is deprecated; move to libc++ [-Wdeprecated]
 warning: include path for stdlibc++ headers not found; pass
 '-stdlib=libc++' on the command line to use the libc++ standard library
 instead [-Wstdlibcxx-not-found]
 1 warning generated.
 ld: library not found for -lstdc++
 clang: error: linker command failed with exit code 1 (use -v to see
 invocation)
 configure:46395: $? = 1
 }}}

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


More information about the macports-tickets mailing list