[PATCH] D66800: Some notes in `LLVM_ENABLE_LIBCXX`

Louis Dionne via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Aug 27 09:12:50 PDT 2019


ldionne added a comment.

In D66800#1647210 <https://reviews.llvm.org/D66800#1647210>, @oraluben wrote:

> In D66800#1647121 <https://reviews.llvm.org/D66800#1647121>, @ldionne wrote:
>
> > If your system only has libc++ available but the compiler shipped with it doesn't work out of the box (i.e. without passing `-stdlib=libc++`), isn't your compiler broken? In other words, it seems to me that your system compiler should always work out of the box without having to pass `-stdlib=XXX` -- do we agree? If so, I think the bug should be reported to whoever vends the compiler on the platform where you encountered this issue.
>
>
> If I don't misunderstand, clang is supposed to use libc++ on Linux if there's not a libstdc++ installed?


Whatever the answer to that is (and I would guess it's "yes" but that's up to whoever produces the toolchain for Linux), that probably depends where libc++ is installed. Is your libc++ installed at "standard" locations on your Linux system?


Repository:
  rL LLVM

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

https://reviews.llvm.org/D66800





More information about the llvm-commits mailing list