[cfe-dev] How to compile Clang for ARM Linux on x86_64 Linux?
Renato Golin
renato.golin at linaro.org
Mon Sep 30 00:15:05 PDT 2013
On 30 September 2013 07:29, Anton Smirnov <dev at antonsmirnov.name> wrote:
> If you’re using Clang as the cross-compiler, there is a problem in the
> LLVM ARM back-end that is producing absolute relocations on
> position-independent code (R_ARM_THM_MOVW_ABS_NC), so for now, you should
> disable PIC:
>
> -DLLVM_ENABLE_PIC=False
>
> Does it relate to my problem?
>
I don't remember the particular manifestation, but it might be what's
causing your problem. Give it a try.
Also, tblgen binaries won't go into the installation directory, because
it's not meant to be distributed publicly, so you'll have to use the build
directory one, not the install.
cheers,
--renato
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20130930/dcd0995a/attachment.html>
More information about the cfe-dev
mailing list