Yes, sorry for non-constructivism.
What I've done:
followed this
README and gave ARM parameter as LLVM_TRGETS_TO_BUILD.
What I've got:
make[2]: *** No rule to make target 'bin/llvm-go', needed by 'bin/llgo'. Stop.
CMakeFiles/Makefile2:45946: recipe for target 'tools/llgo/CMakeFiles/llgo.dir/all' failed
make[1]: *** [tools/llgo/CMakeFiles/llgo.dir/all] Error 2
Makefile:149: recipe for target 'all' failed
make: *** [all] Error 2
than I've done this:
sudo make llvm-go
sudo make install
And the last error was gone, but I've got another one:
...
[ 88%] Built target scan-view
[ 88%] Building Go executable llgo
[ 88%] Built target llgo
Scanning dependencies of target libffi
[ 88%] Clobbering libffi build directory...
[ 88%] Creating directories for 'libffi'
[ 88%] No download step for 'libffi'
[ 88%] No update step for 'libffi'
[ 88%] No patch step for 'libffi'
[ 88%] No force-reconfigure step for 'libffi'
[ 88%] Performing configure step for 'libffi'
CMake Error at /home/ckyhc/llvm-build/tools/llgo/libffi-prefix/src/libffi-stamp/libffi-configure-Debug.cmake:16 (message):
Command failed: 77
'/home/ckyhc/llvm/tools/llgo/third_party/gofrontend/libffi/configure' '--disable-multilib' 'CC=/home/ckyhc/llvm-build/bin/clang '
See also
/home/ckyhc/llvm-build/tools/llgo/libffi-prefix/src/libffi-stamp/libffi-configure-*.log
tools/llgo/CMakeFiles/libffi.dir/build.make:109: recipe for target 'tools/llgo/libffi-prefix/src/libffi-stamp/libffi-configure' failed
make[2]: *** [tools/llgo/libffi-prefix/src/libffi-stamp/libffi-configure] Error 1
CMakeFiles/Makefile2:46547: recipe for target 'tools/llgo/CMakeFiles/libffi.dir/all' failed
make[1]: *** [tools/llgo/CMakeFiles/libffi.dir/all] Error 2
Makefile:149: recipe for target 'all' failed
make: *** [all] Error 2
libffi-configure-out.log contains:
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
checking target system type... x86_64-unknown-linux-gnu
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... no
checking for mawk... mawk
checking whether make sets $(MAKE)... yes
checking for makeinfo... ${SHELL} /home/ckyhc/llvm/tools/llgo/third_party/gofrontend/missing --run makeinfo
checking for modern makeinfo... no
checking generated-files-in-srcdir... no
checking for gcc... /home/ckyhc/llvm-build/bin/clang
checking for C compiler default output file name...
libffi-configure-err.log contains:
configure: error: in `/home/ckyhc/llvm-build/tools/llgo/libffi':
configure: error: C compiler cannot create executables
See `config.log' for more details.
That's all, I suppose, thanks in advance again!
Best,
Kseniia
четверг, 19 января 2017 г., 13:27:38 UTC+3 пользователь Kseniya Nikolaeva написал: