[llvm-dev] [RFC] Strategies for Bootstrapping Compiler-RT builtins
Chris Bieneman via llvm-dev
llvm-dev at lists.llvm.org
Mon Nov 2 10:51:46 PST 2015
> On Nov 2, 2015, at 10:48 AM, Anton Korobeynikov <anton at korobeynikov.info> wrote:
>
>> That is not entirely correct. Only some of the builtins have dependencies on libc, and none of them should have dependencies on libc++ or libc++abi. I believe we can construct a working partial builtin library without libc, to make bootstrapping work.
> It's not that the builtins depend on them, but cmake depends on them.
> Requiring the full compile & link cycle effectively requires the .a /
> .so . /.dylib files to be present.
The checks that cause this issue can be bypassed by setting CMAKE_C_COMPILER_WORKS=On and CMAKE_CXX_COMPILER_WORKS=On. That isn’t ideal, and I’m currently talking with members of the CMake development community to figure out a proper solution.
-Chris
>
> --
> With best regards, Anton Korobeynikov
> Faculty of Mathematics and Mechanics, Saint Petersburg State University
More information about the llvm-dev
mailing list