Hello, Gollvm is not support for MacOS at the moment-- the runtime (shared with gccgo) doesn't target MacOS. Cheers, Than
On Fri, Jun 19, 2020 at 2:19 PM Guido Chari <cha...@gmail.com> wrote: > Hi, > > I am having problems to compile gollvm. > I am following the instructions in https://go.googlesource.com/gollvm/, > and I am running a macos mojave. > I can not complete the cmake. Below the beggining of the error log. > Any pointers? > > ``` > Checking whether the ASM compiler is GNU using "--version" did not match > "(GNU assembler)|(GCC)|(Free Software Foundation)": > Apple LLVM version 10.0.1 (clang-1001.0.46.4) > Target: x86_64-apple-darwin18.7.0 > Thread model: posix > InstalledDir: /Library/Developer/CommandLineTools/usr/bin > Checking whether the ASM compiler is Clang using "--version" did not match > "(clang version)": > Apple LLVM version 10.0.1 (clang-1001.0.46.4) > Target: x86_64-apple-darwin18.7.0 > Thread model: posix > InstalledDir: /Library/Developer/CommandLineTools/usr/bin > Determining if the include file link.h exists failed with the following > output: > Change Dir: /Users/guidochari/Documents/Projects/Testing/Symbolic > Execution/workarea/build-debug/CMakeFiles/CMakeTmp > > Run Build Command(s):/usr/local/bin/ninja cmTC_e14c9 && [1/2] Building C > object CMakeFiles/cmTC_e14c9.dir/CheckIncludeFile.c.o > FAILED: CMakeFiles/cmTC_e14c9.dir/CheckIncludeFile.c.o > /Library/Developer/CommandLineTools/usr/bin/cc -isysroot > /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk -o > CMakeFiles/cmTC_e14c9.dir/CheckIncludeFile.c.o -c CheckIncludeFile.c > CheckIncludeFile.c:1:10: fatal error: 'link.h' file not found > #include <link.h> > ^~~~~~~~ > 1 error generated. > ninja: build stopped: subcommand failed. > > > > Determining if the include file valgrind/valgrind.h exists failed with the > following output: > Change Dir: /Users/guidochari/Documents/Projects/Testing/Symbolic > Execution/workarea/build-debug/CMakeFiles/CMakeTmp > > Run Build Command(s):/usr/local/bin/ninja cmTC_6dcf0 && [1/2] Building C > object CMakeFiles/cmTC_6dcf0.dir/CheckIncludeFile.c.o > FAILED: CMakeFiles/cmTC_6dcf0.dir/CheckIncludeFile.c.o > /Library/Developer/CommandLineTools/usr/bin/cc -isysroot > /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk -o > CMakeFiles/cmTC_6dcf0.dir/CheckIncludeFile.c.o -c CheckIncludeFile.c > CheckIncludeFile.c:1:10: fatal error: 'valgrind/valgrind.h' file not found > #include <valgrind/valgrind.h> > ^~~~~~~~~~~~~~~~~~~~~ > 1 error generated. > ninja: build stopped: subcommand failed. > ``` > > Cheers, > Guido. > > -- > 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+unsubscr...@googlegroups.com. > To view this discussion on the web visit > https://groups.google.com/d/msgid/golang-nuts/bd6687ed-c864-44e6-81ef-37dbd16934d2o%40googlegroups.com > <https://groups.google.com/d/msgid/golang-nuts/bd6687ed-c864-44e6-81ef-37dbd16934d2o%40googlegroups.com?utm_medium=email&utm_source=footer> > . > -- 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+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/golang-nuts/CA%2BUr55EVWYKN6Xy8C_JK_PhqReeSoYKbXAsAT7bv4NJxb6v%2B6Q%40mail.gmail.com.