[LLVMdev] Cross-compiling Compiler-RT builtins

Renato Golin renato.golin at linaro.org
Mon Mar 3 17:24:43 PST 2014


On 4 March 2014 04:00, Kev Kitchens <kitchens.sync at me.com> wrote:
> I've started linking against the existing cross-compiled libgcc to fill in
> the gaps. However, I'm trying to find out what I need to do to cross-compile
> Compiler-RT's builtins library for ARMv7 so I can use it to replace libgcc.
> Any help here would be appreciated.

Hi Kev,

Non-Darwin Compiler-RT support for ARMv7 is patchy. I've ran some
tests and found some bugs (that I have yet to investigate and report),
but I wouldn't replace it yet in production, and certainly not when
cross-compiling, as I don't know if it even works.

It could be just a matter of fixing the CMake/autoconf files, or it
could be some more work, but if you're just trying to use LLVM instead
of GCC, I'd go without RT for the moment.

cheers,
--renato



More information about the llvm-dev mailing list