Hi all, I’m currently working on building the latest Couchbase master branch, but I seem to be having some issues with the Go dependency. I am on a system for which only gccgo (built from latest source) is available, not golang. According to the header in tlm/cmake/Modules/FindCouchbaseGo.cmake, building with gccgo should be possible, and the initial dependency check accepts it to fulfill the Go requirement. However, late in the compilation, I receive the following error:
This appears to occur during invocation of a macro in FindCouchbaseGo.cmake called GoYacc, which according to its comments cannot be run with gccgo, only golang. Assuming that the file’s main header is correct, and that compilation with gccgo is still possible, is there some flag that needs to be added in order to avoid the golang-only components?
Thanks for the suggestion. Unfortunately, as I mentioned, golang isn’t an option on the target system; it doesn’t currently support the appropriate instruction set, whereas gcc does. As a note to follow on that, I have confirmed that the issue in question also crops up on a comparable x86-64 system, so it doesn’t appear to be related to the architecture.