[PATCH] D59168: [runtimes] Move libunwind, libc++abi and libc++ to lib/$target/c++ and include/c++

Petr Hosek via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Apr 30 11:26:44 PDT 2019


phosek added a comment.

In D59168#1484467 <https://reviews.llvm.org/D59168#1484467>, @jdenny wrote:

> In D59168#1480801 <https://reviews.llvm.org/D59168#1480801>, @phosek wrote:
>
> > In D59168#1480428 <https://reviews.llvm.org/D59168#1480428>, @jdenny wrote:
> >
> > > It seems we have roughly the same situation for their ABIs.  That is, for .so files, someone noted that libc++ and libunwind have always used the same version, .1, and openmp doesn't use a version (except in Debian packages).  In other words, for each of these three, a change in ABI compatibility has never been indicated.  For openmp only, it's apparently assumed a change never will need to be indicated (except in Debian packages).
> >
> >
> > They already use `.2` for ABI v2 which is currently considered unstable but some project like Fuchsia already use. There's also an ongoing discussion to stabilize v2 <http://lists.llvm.org/pipermail/libcxx-dev/2019-March/000282.html>.
>
>
> Thanks, I wasn't aware.  I still see only .1 in my build, so apparently a different config is needed.


It's the `LIBCXX_ABI_VERSION` CMake option, see https://github.com/llvm/llvm-project/blob/master/libcxx/CMakeLists.txt#L121


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D59168/new/

https://reviews.llvm.org/D59168





More information about the llvm-commits mailing list