[MacPorts] #62426: libc++: using a newer libc++ to build software on older macos systems

MacPorts noreply at macports.org
Wed Sep 21 16:46:44 UTC 2022


#62426: libc++: using a newer libc++ to build software on older macos systems
-------------------------------------+--------------------
  Reporter:  kencu                   |      Owner:  kencu
      Type:  enhancement             |     Status:  closed
  Priority:  Normal                  |  Milestone:
 Component:  ports                   |    Version:
Resolution:  fixed                   |   Keywords:
      Port:  libcxx macports-libcxx  |
-------------------------------------+--------------------

Comment (by kencu):

 yes, so there you go, both versions are loaded, and you’re mixing:
 {{{
 dyld: loaded: /opt/local/lib/libc++.1.dylib
 dyld: loaded: /usr/lib/libc++.1.dylib
 }}}

 I am not putting myself forward as the expert, most of what I know comes
 from Jeremy and Iain.

 When you mix, bad things can happen, but don’t always happen. The objects
 passed between software linked against different libc++ versions can be
 different, but are not always different — and even if they are different,
 you might not crash.

 You have to test carefully. But it can work, which is why I pushed
 macports-libcxx a while back.

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


More information about the macports-tickets mailing list