sunho added a comment.

@uabelho The thing is we have to statically link libstdc++ in JIT stack, but 
this is not possible at the moment in many platforms. It's actually possible 
with a new generation linker called JITLink, but it has limited platform 
support. For now, I just sumbitted a patch disabling clang-repl build when 
LLVM_STATIC_LINK_CXX_STDLIB is turned on. This should resolve the build failure 
on your side. If you want to use clang-repl on your environment, it's actually 
possible to statically link libstdc++ on JIT side as JITLink is available on 
x86 linux. Please let me if you want me to dig into it.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D129242

_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to