llvm[3]: Building Intrinsics.gen.tmp from Intrinsics.td
Makefile:23: recipe for target '/c/julia/deps/build/llvm-3.7.1/build_Release/lib/IR/Release/Intrinsics.gen.tmp' failed
make[3]: *** [/c/julia/deps/build/llvm-3.7.1/build_Release/lib/IR/Release/Intrinsics.gen.tmp] Segmentation fault
/c/julia/deps/srccache/llvm-3.7.1/Makefile.rules:880: recipe for target 'all' failed
make[2]: *** [all] Error 1
Makefile:765: recipe for target 'build/llvm-3.7.1/build_Release/Release/lib/libLLVMCodeGen.a' failed
make[1]: *** [build/llvm-3.7.1/build_Release/Release/lib/libLLVMCodeGen.a] Error 2
Makefile:81: recipe for target 'julia-deps' failed
make: *** [julia-deps] Error 2
Installing: /home/michaelwl/julia/usr-staging/build/llvm-svn/build_Release+Asserts/home/michaelwl/julia/usr/lib/cmake/llvm/./HandleLLVMStdlib.cmake
cp: cannot stat ‘/home/michaelwl/julia/usr-staging/llvm-svn/build_Release+Asserts/home/michaelwl/julia/usr/*’: No such file or directory
Makefile:784: recipe for target '/home/michaelwl/julia/usr/lib/libLLVMCodeGen.a' failed
make[1]: *** [/home/michaelwl/julia/usr/lib/libLLVMCodeGen.a] Error 1
Makefile:81: recipe for target 'julia-deps' failed
make: *** [julia-deps] Error 2
michaelwl@ubuntu:~/julia$
3.7.1 has been working for me on cygwin, are all your packages fully updated?
There is a bug in gcc 5 that causes it to miscompile llvm. This was fixed AIUI on gcc trunk which will hopefully become gcc 6 soonish. I'm not sure whether we have a workaround in place. Using a windows clang to build llvm in msys2 may also work but I think only Keno has tested that and he didn't write down many of the exact setup steps anywhere yet.