[llvmlinux] Compile LLVM/Clang for ARM android

Anton Smirnov dev at antonsmirnov.name
Wed Oct 16 07:58:50 UTC 2013


I've tried to compile the subject but no luck.

My wrap-up for attempts:
"* On mac linker does not support 'with-version' argument (i've asked for
it and did not get any solution except DIY)
* on linux 64 bit (VM) it's including "-L/lib64" to linker and it fails to
* compiled with armeabihf toolchain can't be  linked as ndk does not
support linking with hard-float.
* compiled with armeabi toolchain can't be loaded as it fails to find
* compilation with standalone toolchain from android ndk fails because of
futimes() and futimens() function not found.

Last time i've found
https://android.googlesource.com/platform/external/llvm/ repo (also
externa/clang and external/compiler-rt)
but they can't be compiled using standalone toolchain from ndk because of
source code errors ("master" branch because of cast error, "jb-release"
because of no getsid() function definition). This repo seems to be internal
source code which can be not ready to be used for not android OS developer,
so no wonder."

Can somebody help me or is there step-by-step guide for this?

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.linuxfoundation.org/pipermail/llvmlinux/attachments/20131016/fe4c0a3b/attachment.html>

More information about the LLVMLinux mailing list