[cfe-users] Recipe for cross compiling from x86 to AArch64?

Itaru Kitayama via cfe-users cfe-users at lists.llvm.org
Mon Nov 4 00:28:47 PST 2019


Hi,
Following instructions written at:

https://llvm.org/docs/HowToCrossCompileLLVM.html

ends up with:
[ 57%] Building arm_neon.h...
/bin/sh: ../../../../bin/clang-tblgen: cannot execute binary file
make[2]: *** [tools/clang/lib/Headers/arm_neon.h] Error 126
make[1]: ***
[tools/clang/lib/Headers/CMakeFiles/clang-resource-headers.dir/all] Error 2
make: *** [all] Error 2

I believe there's no easy way for us to build clang-tblgen, so I am stuck
right here.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-users/attachments/20191104/b3824ceb/attachment.html>


More information about the cfe-users mailing list