llvm: Building Intrinsics.gen.tmp from Intrinsics.td 0 llvm-tblgen 0x00000001097ba959 _INTERNAL_81__Users_arnaudsj_Github_julia_icc_deps_srccache_llvm_3_8_1_lib_Support_Signals_cpp_e5b9c8f3::PrintStackTraceSignalHandler(void*) + 41 make: *** [/Users/arnaudsj/Github/julia-icc/deps/build/llvm-3.8.1/build_Release/lib/IR/Release/Intrinsics.gen.tmp] Segmentation fault: 11 make: *** [all] Error 1 make: *** [build/llvm-3.8.1/build_Release/Release/lib/libLLVMCodeGen.a] Error 2I am using the icc version below under OS 10.12 (Beta 6): icc version 17.0.0 Beta (gcc version 4.9.0 compatibility) Please let me know if you have any questions.
It looks like the problem is occurring during this step:
Building Intrinsics.gen.tmp from Intrinsics.td
I don't know what tool is doing this or what exactly is happening -- our compiler doesn't build files with an extension .td. You probably need to look at the make log and/or the makefile.
If you can show us the actual steps you used we could help further. Ideally this would be the complete set of steps to reproduce the problem.
I'm having the same problem with Julia 0.5 and ICC 17.0.0 on OS X 10.11.6. Here are the steps to reproduce it:
tar xzf julia-0.5.0-full.tar.gz
echo -e "USE_INTEL_MKL=1\nUSE_INTEL_MKL_FFT=1\nUSE_INTEL_LIBM=1\nUSEICC=1\nUSEIFC=1\n" > Make.user
# change line 364 of Make.inc to USE_LIBCPP := 0
I was able to continue the build with ICC 17 by building Support and TableGen components of LLVM with clang. Now curl doesn't like ICC:
checking if compiler halts on function prototype mismatch... no
configure: error: compiler does not halt on function prototype mismatch.
We have an in-house test of llvm 3.8.0 which is builds successfully with both gcc5 and gcc6. I don't know of a problem 3.7 and/or gcc 4.8
This is how we do the configure and build (not sure what disable-bindings is all about)
../llvm-3.8.0/configure --disable-bindings CC=gcc CXX=g++ /usr/bin/make CC=icc CXX=icpc