[MacPorts] #55592: libunwind @5.0.1: unrecognized command line option '-stdlib=libstdc++' with clang-3.4

MacPorts noreply at macports.org
Wed Dec 27 09:52:34 UTC 2017


#55592: libunwind @5.0.1: unrecognized command line option '-stdlib=libstdc++' with
clang-3.4
--------------------------+-----------------------
 Reporter:  sideeffect42  |      Owner:
     Type:  defect        |     Status:  new
 Priority:  Normal        |  Milestone:
Component:  ports         |    Version:  2.4.2
 Keywords:                |       Port:  libunwind
--------------------------+-----------------------
 Compilation of libunwind 5.0.1 fails on Mac OS X 10.5.8 PowerPC when using
 Clang.

 Compiling with macports-gcc-7 works.

 {{{
 /opt/local/bin/clang++-mp-3.4 -D__STDC_CONSTANT_MACROS
 -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -D_LIBUNWIND_IS_NATIVE_ONLY
 -U__STRICT_ANSI__  -I../include -I/opt/local/include
 -DUSE_MACPORTS_LIBUNWIND -DNDEBUG -arch ppc -fvisibility-inlines-hidden
 -fvisibility-inlines-hidden -fno-rtti -fstrict-aliasing -fno-exceptions
 -fPIC -funwind-tables -Os -stdlib=libstdc++ -stdlib=libstdc++ -c -o
 Unwind_AppleExtras.o Unwind_AppleExtras.cpp
 /opt/local/bin/clang++-mp-3.4 -D__STDC_CONSTANT_MACROS
 -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -D_LIBUNWIND_IS_NATIVE_ONLY
 -U__STRICT_ANSI__  -I../include -I/opt/local/include
 -DUSE_MACPORTS_LIBUNWIND -DNDEBUG -arch ppc -fvisibility-inlines-hidden
 -fvisibility-inlines-hidden -fno-rtti -fstrict-aliasing -fno-exceptions
 -fPIC -funwind-tables -Os -stdlib=libstdc++ -stdlib=libstdc++ -c -o
 libunwind.o libunwind.cpp
 g++: error: unrecognized command line option '-stdlib=libstdc++'; did you
 mean '-static-libstdc++'?
 g++: error: unrecognized command line option '-stdlib=libstdc++'; did you
 mean '-static-libstdc++'?
 clang: error: assembler (via gcc) command failed with exit code 1 (use -v
 to see invocation)
 make: *** [Unwind_AppleExtras.o] Error 1
 make: *** Waiting for unfinished jobs....
 g++: error: unrecognized command line option '-stdlib=libstdc++'; did you
 mean '-static-libstdc++'?
 g++: error: unrecognized command line option '-stdlib=libstdc++'; did you
 mean '-static-libstdc++'?
 clang: error: assembler (via gcc) command failed with exit code 1 (use -v
 to see invocation)
 make: *** [libunwind.o] Error 1
 }}}

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


More information about the macports-tickets mailing list