[llvm-dev] [RFC] Strategies for Bootstrapping Compiler-RT builtins

Rowan, Jim via llvm-dev llvm-dev at lists.llvm.org
Mon Nov 2 09:47:47 PST 2015


On Nov 2, 2015, at 11:10 AM, Chris Bieneman via llvm-dev <llvm-dev at lists.llvm.org> wrote:

> 
> Today building this toolchain with CMake is impossible because you cannot configure the cross-compiled builtins. The failure is a result of CMake’s try_compile function always testing a full compile then link operation. When bootstrapping a cross-compiler this will always fail because linking even the simplest applications fails when you don’t have libclang_rt prebuilt.
> 

…

Are there side-effects from try_compile that we need?  Can we disable it?


Jim Rowan
jmr at codeaurora.org
Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum, hosted by the Linux Foundation





More information about the llvm-dev mailing list