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

MacPorts noreply at macports.org
Mon Sep 19 17:29:45 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):

 So -- what does this mean?

 Software linked against libc++ that asks for, say, a certain structure to
 be instantiated into memory will get that. The accessor functions will
 work, on various versions of libc++.

 However, it is NOT guaranteed that two different versions of libc++ will
 have the exact same structure in memory. They can be different, as
 upstream decides they might be.

 So my understanding is that is what leads to the crashes when sharing
 these objects between different versions of libc++ at the same time. BOOM.

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


More information about the macports-tickets mailing list