[PATCH] D48862: [OpenEmbedded] Fix lib paths for OpenEmbedded targets

Petr Hosek via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue Jul 31 00:20:21 PDT 2018


phosek added a comment.

This has been breaking our bots since it has landed (both Linux and macOS ones), here's a log: https://logs.chromium.org/v/?s=fuchsia%2Fbuildbucket%2Fcr-buildbucket.appspot.com%2F8939527016533487696%2F%2B%2Fsteps%2Fclang%2F0%2Fsteps%2Fcheck-clang%2F0%2Fstdout

In our Clang toolchain <https://github.com/llvm-mirror/clang/blob/master/cmake/caches/Fuchsia-stage2.cmake>, we set libc++ to be the default C++ library and compiler-rt to be the default runtime library. In your case you need to explicitly set `-stdlib=libstdc++` and `-rtlib=libgcc` if you're relying on those being used in your tests.


Repository:
  rL LLVM

https://reviews.llvm.org/D48862





More information about the cfe-commits mailing list