when I try to compile llgo according to http://llvm.org/svn/llvm-project/llgo/trunk/README.TXT , I get the error message
[ 94%] Built target clang-func-mapping
[ 94%] Built target scan-build
[ 94%] Built target scan-view
make[2]: *** No rule to make target 'bin/llvm-go', needed by 'bin/cc-wrapper'. Stop.
make[1]: *** [CMakeFiles/Makefile2:61473: tools/llgo/CMakeFiles/cc-wrapper.dir/all] Error 2
make: *** [Makefile:152: all] Error 2
has anyone experienced similar problems?
Best
Best
--
You received this message because you are subscribed to the Google Groups "llgo-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to llgo-dev+u...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
in the end I ran the make command within the llvm-go folder of llvm-build/tools, which brought the compilation a bit further. But I am stuck at another step now. Here's the complete output, when I try to compile:
where exactly do I need to add the -fPIC flag?
I'm running Archlinux with
# go version
go version go1.9.2 linux/amd64
best,
Tobias
Hi Andrew,
in the end I ran the make command within the llvm-go folder of llvm-build/tools, which brought the compilation a bit further. But I am stuck at another step now. Here's the complete output, when I try to compile:
https://pastebin.com/UVwvg6uA
where exactly do I need to add the -fPIC flag?
I'm running Archlinux with
# go version
go version go1.9.2 linux/amd64
best,
Tobias
On Mon, 13 Nov 2017 at 21:29 <t.j.a....@gmail.com> wrote:Hi Andrew,
in the end I ran the make command within the llvm-go folder of llvm-build/tools, which brought the compilation a bit further. But I am stuck at another step now. Here's the complete output, when I try to compile:
https://pastebin.com/UVwvg6uA
where exactly do I need to add the -fPIC flag?I don't know what's stopping -fPIC from being added, or where exactly you need to add it in, but the issue appears to be specific to building in 32-bit mode. You'll need to do a 64-bit build. Sorry I can't be of more help.
I started a fresh compilation to get rid of all potential artifacts. Now it stops with a different error message
https://pastebin.com/cXaTEgr4
Any ideas?