[LLVMdev] Failed to building (svn/git/dev version) cross-compiling for powerpc
VinÃcius dos Santos Oliveira
vini.ipsmaker at gmail.com
Wed Jan 29 16:37:16 PST 2014
I'm interested in PowerPC development and I tried to build LLVM for
cross-compiling today and I got the following error:
> [ 94%] Building CXX object tools/llvm-config/CMakeFiles/llvm-config.dir/llvm-config.cpp.o
> /home/vinicius/Projetos/llvm/tools/llvm-config/llvm-config.cpp:45:35: fatal error: LibraryDependencies.inc: No such file or directory
> #include "LibraryDependencies.inc"
> ^
> compilation terminated.
> tools/llvm-config/CMakeFiles/llvm-config.dir/build.make:58: recipe for target 'tools/llvm-config/CMakeFiles/llvm-config.dir/llvm-config.cpp.o' failed
> make[2]: *** [tools/llvm-config/CMakeFiles/llvm-config.dir/llvm-config.cpp.o] Error 1
> CMakeFiles/Makefile2:7101: recipe for target 'tools/llvm-config/CMakeFiles/llvm-config.dir/all' failed
> make[1]: *** [tools/llvm-config/CMakeFiles/llvm-config.dir/all] Error 2
> Makefile:136: recipe for target 'all' failed
> make: *** [all] Error 2
I don't know how to fix and I'd appreciate any help.
The options I used to compile were:
> cmake ../.. -DCMAKE_CROSSCOMPILING=True
> -DLLVM_DEFAULT_TARGET_TRIPLE=ppc-linux-gnu -DLLVM_TARGET_ARCH=powerpc
The "version" I'm using is from the git mirror:
> commit 94b3a88395ff0ea6c253efe5dd2b9d400ffe7c9d
> Author: Jordan Rose <jordan_rose at apple.com>
> Date: Wed Jan 29 19:14:23 2014 +0000
>
> Remove C++11ism from r200407.
>
> Oops!
>
> git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@200412 91177308-0d34-0410-b5e6-96231b3b80d8
I already have a "normal" (non cross-compiling) and stable (3.4) llvm
installed on my system (ArchLinux, where everything is at the latest
release, there is no separation of *-dev packages and they avoid to
apply local patches on top of upstream code).
--
VinÃcius dos Santos Oliveira
https://about.me/vinipsmaker
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20140129/f0f1607e/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: This is a digitally signed message part
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20140129/f0f1607e/attachment.sig>
More information about the llvm-dev
mailing list