[MacPorts] #57911: libcxx @5.0.1_4: does not install without following the LibcxxOnOlderSystems instructions on 10.5 Leopard Intel

MacPorts noreply at macports.org
Sun Mar 7 04:10:14 UTC 2021


#57911: libcxx @5.0.1_4: does not install without following the
LibcxxOnOlderSystems instructions on 10.5 Leopard Intel
-------------------------+----------------------
  Reporter:  ryandesign  |      Owner:  jeremyhu
      Type:  defect      |     Status:  reopened
  Priority:  Normal      |  Milestone:
 Component:  ports       |    Version:
Resolution:              |   Keywords:  leopard
      Port:  libcxx      |
-------------------------+----------------------

Comment (by kencu):

 Leopard Intel does reasonably well building against libstdc++ from gcc-7,
 and that is the current MacPorts-sanctioned method of installing software
 on it (same as Leopard PPC). If you are running into an issue doing
 installs with c++11 software against libstdc++ from gcc7 (ie macports-
 libstdc++) then we are meant to fix that, so you can open a ticket about
 the specific build error, and I'll (we'll) try to sort it out with you.

 However, FYI, I have found that libc++ builds quite nicely on Leopard
 Intel, and if you change the Leopard Intel setup to match SnowLeopard, ie
 set your libc++ to libc++ in macports.conf and set your universal archs to
 "i386 x86_64" just like SnowLeopard has, you will probably find life much
 easier for you.

 A lot of software has been tweaked to build and run on SnowLeopard libc++,
 and these tweaks often carry over very nicely to Leopard Intel.

 To be honest, I have had good (possibly great) success with libc++ on
 Tiger Intel as well -- see https://github.com/kencu/TigerPorts for some
 inspiration. I have up to clang-7.0 working there, and it largely works
 well. There are some hiccups there still I have found, now and then. But I
 guess that is not really ready to recommend broadly.

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


More information about the macports-tickets mailing list