I had some problems making llgo, some of which I could solve by referring to other posts, thanks to your active members.
Currently, I'm having a problem in compiling llgo when I get the following errors:
# llvm.org/llgo/debug
/tmp/gopath317692277/src/llvm.org/llgo/debug/debug.go:253: unknown llvm.DIBasicType field 'AlignInBits' in struct literal
/tmp/gopath317692277/src/llvm.org/llgo/debug/debug.go:260: unknown llvm.DIBasicType field 'AlignInBits' in struct literal
/tmp/gopath317692277/src/llvm.org/llgo/debug/debug.go:286: cannot use uint64(d.sizes.Alignof(t) * 8) (type uint64) as type uint32 in field value
/tmp/gopath317692277/src/llvm.org/llgo/debug/debug.go:304: cannot use uint64(d.sizes.Alignof(t) * 8) (type uint64) as type uint32 in field value
/tmp/gopath317692277/src/llvm.org/llgo/debug/debug.go:312: cannot use uint64(d.sizes.Alignof(t) * 8) (type uint64) as type uint32 in field value
/tmp/gopath317692277/src/llvm.org/llgo/debug/debug.go:348: cannot use uint64(d.sizes.Alignof(t) * 8) (type uint64) as type uint32 in field value
tools/llgo/CMakeFiles/llgo.dir/build.make:220: recipe for target 'bin/llgo' failed
make[3]: *** [bin/llgo] Error 1
make[3]: Leaving directory '/home/user/llvm3/llvm/build'
CMakeFiles/Makefile2:39545: recipe for target 'tools/llgo/CMakeFiles/llgo.dir/all' failed
make[2]: *** [tools/llgo/CMakeFiles/llgo.dir/all] Error 2
make[2]: Leaving directory '/home/user/llvm3/llvm/build'
CMakeFiles/Makefile2:40496: recipe for target 'tools/llgo/CMakeFiles/llgoi.dir/rule' failed
make[1]: *** [tools/llgo/CMakeFiles/llgoi.dir/rule] Error 2
make[1]: Leaving directory '/home/user/llvm3/llvm/build'
Makefile:9544: recipe for target 'llgoi' failed
make: *** [llgoi] Error 2
Maybe it worth mentioning that I have cloned LLVM library via git mirrors.
Any clues?
Thanks