[MacPorts] #62426: libc++: using a newer libc++ to build software on older macos systems
MacPorts
noreply at macports.org
Sun Sep 25 21:00:48 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 RJVB):
I've been trying to get things to crash, without luck. At some point while
checking out the benchmarks, I discovered that the reference builds which
are supposed to be linked against the host/old libc++ (or libstdc++ on
Linux) were actually linked to both /usr/lib/libc++.dylib and
/opt/local/lib/libc++.dylib (because MacPorts sets `LIBRARY_PATH`).
They ran (using the newer version AFAICT).
----
About those benchmarks: irrelevant here but they suggest that libcxx 9
lost any advantage it may have had over libstdc++ in terms of performance.
The "algorithms" benchmark collection (of very common operations)
terminates twice faster with the latter, and one of the vector benchmarks
runs a whopping 10x faster.
--
Ticket URL: <https://trac.macports.org/ticket/62426#comment:63>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list