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

MacPorts noreply at macports.org
Wed Dec 27 21:02:55 UTC 2017


#55592: libunwind @5.0.1: unrecognized command line option '-stdlib=libstdc++' with
clang-3.4
---------------------------+----------------------
  Reporter:  sideeffect42  |      Owner:  jeremyhu
      Type:  defect        |     Status:  assigned
  Priority:  Normal        |  Milestone:
 Component:  ports         |    Version:  2.4.2
Resolution:                |   Keywords:
      Port:  libunwind     |
---------------------------+----------------------

Comment (by kencu):

 clang on PPC is set up to process the incoming code to LLVM-IR, pass that
 on to LLVM to make assembly language out of it, and then pass the assembly
 source to gcc's assembler to make it into code.

 Many errors ensue in the process on PPC, at least until clang-3.8, which
 works actually quite well on PPC (some work required, let me know if
 you're interested, some skills needed, not yet for the squeamish, not
 ready for prime-time, your mileage may vary, no promises,  etc, etc). See
 <https://github.com/kencu/LeopardPorts/tree/master/lang/llvm-3.8> if
 you're brave.

 FYI, almost nobody is working on this any more, although it's actually
 quite close to being usable (passes about 99% of the LLVM/Clang test
 suite, except for c++ exceptions, which are still broken).

 Also, check out the  `no-integrated-assembler` flag.

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


More information about the macports-tickets mailing list