[PATCH] D45639: [Driver] Support default libc++ library location on Darwin
Alex Lorenz via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Mon Apr 26 10:27:39 PDT 2021
arphaman added a comment.
In D45639#2713196 <https://reviews.llvm.org/D45639#2713196>, @phosek wrote:
> FYI I had to revert this change again because it broke ubsan build. The problem is that ubsan for Darwin is built as universal shared library and it links against libc++abi, but we currently don't support building libc++ and libc++abi as universal binaries in the runtimes build. That's something we'll need to address first before we can reland this change. I expect that if we resolve that issue, it would also address the lldb use case although it sounds like that's no longer an issue.
@phosek we also hit this problem downstream, but decided that we should just stop building libcxx alongside clang in our CI jobs, and have separate jobs for it. The compiler-rt build should use libcxx headers and library from the SDK (Xcode 12.5 should have libcxx headers in the SDKs now). Do you think this would be a feasible solution for you as well?
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D45639/new/
https://reviews.llvm.org/D45639
More information about the cfe-commits
mailing list