% cd workarea% mkdir build-debug% cd build-debug% cmake -DCMAKE_BUILD_TYPE=Debug -DLLVM_USE_LINKER=gold ../llvm...% make gollvm -j4...%
-- Targeting X86-- starting libgo configuration./home/yt/LLVMsvn/llvm-project/llvm/tools/gollvm/gofrontend/libgo/match.sh:138: no such file or directory: common.go format.go reader.go stat_actime1.go stat_actime2.go stat_unix.go strconv.go writer.go/home/yt/LLVMsvn/llvm-project/llvm/tools/gollvm/gofrontend/libgo/match.sh:138: no such file or directory: reader.go register.go struct.go writer.go
......-- Performing Test HAVE_STEADY_CLOCK -- success-- Configuring done-- Generating done-- Build files have been written to: /home/yt/LLVMsvn/llvm-project/debug
...
[ 0%] Built target LLVMDemangle[ 0%] Built target GoDumpSpecMacroParser
...
[ 50%] Building Go package 'runtime' (non-PIC)/home/yt/LLVMsvn/llvm-project/debug/tools/gollvm/libgo/sigtab.go:5:21: error: use of undefined type 'sigTabT'/home/yt/LLVMsvn/llvm-project/debug/tools/gollvm/libgo/sigtab.go:7:12: error: reference to undefined name '_SigNotify'/home/yt/LLVMsvn/llvm-project/debug/tools/gollvm/libgo/sigtab.go:7:25: error: reference to undefined name '_SigKill'/home/yt/LLVMsvn/llvm-project/debug/tools/gollvm/libgo/sigtab.go:8:12: error: reference to undefined name '_SigNotify'...
tools/gollvm/libgo/CMakeFiles/libgo_runtime.dir/build.make:64: recipe for target 'tools/gollvm/libgo/runtime.o' failedmake[3]: *** [tools/gollvm/libgo/runtime.o] Error 3CMakeFiles/Makefile2:16487: recipe for target 'tools/gollvm/libgo/CMakeFiles/libgo_runtime.dir/all' failedmake[2]: *** [tools/gollvm/libgo/CMakeFiles/libgo_runtime.dir/all] Error 2CMakeFiles/Makefile2:11625: recipe for target 'tools/gollvm/CMakeFiles/gollvm.dir/rule' failedmake[1]: *** [tools/gollvm/CMakeFiles/gollvm.dir/rule] Error 2Makefile:3475: recipe for target 'gollvm' failedmake: *** [gollvm] Error 2
--
You received this message because you are subscribed to the Google Groups "golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email to golang-nuts...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/golang-nuts/4529d46b-caf4-475f-bcda-273c1bca5016%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
% cmake -DCMAKE_INSTALL_PREFIX=/home/yt/LLVMsvn/install -DLLVM_TARGETS_TO_BUILD=X86 -DCMAKE_BUILD_TYPE=Debug -DLLVM_USE_LINKER=gold -G "Ninja" ../llvm
% ninja gollvm
ninja: error: '/home/yt/LLVMsvn/llvm-project/llvm/tools/gollvm/gotools/buildid.go', needed by 'tools/gollvm/gotools/buildid', missing and no known rule to make it
/home/yt/LLVMsvn/llvm-project/llvm/tools/gollvm/gofrontend/libgo/match.sh:138: no such file or directory: action.go build.go buildid.go exec.go gc.go gccgo.go init.go security.go testgo.go
To unsubscribe from this group and stop receiving emails from it, send an email to golan...@googlegroups.com.
To unsubscribe from this group and stop receiving emails from it, send an email to golang-nuts...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/golang-nuts/ed517fe7-e180-4d0b-b134-f8ee76427ebf%40googlegroups.com.
To unsubscribe from this group and stop receiving emails from it, send an email to golang-nuts...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/golang-nuts/92cbfe57-f1fb-467d-b935-394a842f597e%40googlegroups.com.
To unsubscribe from this group and stop receiving emails from it, send an email to golang-nuts...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/golang-nuts/df20fae4-d96d-4c50-a531-01d95ebf83d2%40googlegroups.com.
[2066/3237] Building CXX object tools/gollvm/bridge/CMakeFiles/LLVMCppGoFrontEnd.dir/__/gofrontend/go/go.cc.oFAILED: tools/gollvm/bridge/CMakeFiles/LLVMCppGoFrontEnd.dir/__/gofrontend/go/go.cc.o /usr/bin/c++ -DGTEST_HAS_RTTI=0 -D_DEBUG -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -Itools/gollvm/bridge -I/home/yt/LLVMsvn/llvm/tools/gollvm/bridge -I/usr/include/libxml2 -Iinclude -I/home/yt/LLVMsvn/llvm/include -Itools/gollvm/external/install/include -I/home/yt/LLVMsvn/llvm/tools/gollvm/gofrontend/go -fPIC -fvisibility-inlines-hidden -Werror=date-time -std=c++11 -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wimplicit-fallthrough -Wno-maybe-uninitialized -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wno-comment -fdiagnostics-color -g -fno-exceptions -fno-rtti -MD -MT tools/gollvm/bridge/CMakeFiles/LLVMCppGoFrontEnd.dir/__/gofrontend/go/go.cc.o -MF tools/gollvm/bridge/CMakeFiles/LLVMCppGoFrontEnd.dir/__/gofrontend/go/go.cc.o.d -o tools/gollvm/bridge/CMakeFiles/LLVMCppGoFrontEnd.dir/__/gofrontend/go/go.cc.o -c /home/yt/LLVMsvn/llvm/tools/gollvm/gofrontend/go/go.cc/home/yt/LLVMsvn/llvm/tools/gollvm/gofrontend/go/go.cc: In function ‘void go_create_gogo(const go_create_gogo_args*)’:/home/yt/LLVMsvn/llvm/tools/gollvm/gofrontend/go/go.cc:47:13: error: ‘const struct go_create_gogo_args’ has no member named ‘debug_optimization’ if (args->debug_optimization) ^~~~~~~~~~~~~~~~~~/home/yt/LLVMsvn/llvm/tools/gollvm/gofrontend/go/go.cc:48:42: error: ‘const struct go_create_gogo_args’ has no member named ‘debug_optimization’ ::gogo->set_debug_optimization(args->debug_optimization); ^~~~~~~~~~~~~~~~~~[2069/3237] Building CXX object tools/gollvm/bridge/CMakeFiles/LLVMCppGoFrontEnd.dir/__/gofrontend/go/gogo.cc.oninja: build stopped: subcommand failed.
To unsubscribe from this group and stop receiving emails from it, send an email to golang-nuts...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/golang-nuts/369e31c6-2a6e-45b0-a7dc-400ec4b32ea2%40googlegroups.com.