Hello,
Recently I have been running into two problems compiling ROOT v6 (and v5).
i) Trying to compile root-6.06-04 on OS X 10.11.4 yields the following errors:
include/Vc/sse/intrinsics.h:309:17: error: use of undeclared identifier '__builtin_ia32_psrldqi128’
c = _mm_srli_si128(_mm_setallone_si128(), 12);
^
include/Vc/sse/…/common/fix_clang_emmintrin.h:40:12: note: expanded from macro ‘_mm_srli_si128’
(__m128i)__builtin_ia32_psrldqi128((__m128i)(a), (count)*8); })
^
In file included from /usr/local/cern/root-6.06.04/math/vc/src/trigonometric.cpp:20:
In file included from include/Vc/Vc:22:
In file included from include/Vc/vector.h:33:
In file included from include/Vc/sse/vector.h:23:
include/Vc/sse/intrinsics.h:309:15: error: assigning to ‘__m128i’ (vector of 2 ‘long long’ values) from incompatible type
’void’
c = _mm_srli_si128(_mm_setallone_si128(), 12);
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
include/Vc/sse/intrinsics.h:312:32: error: use of undeclared identifier '__builtin_ia32_psrldqi128’
c = _mm_slli_si128(_mm_srli_si128(_mm_setallone_si128(), 12), 4);
^
include/Vc/sse/…/common/fix_clang_emmintrin.h:40:12: note: expanded from macro ‘_mm_srli_si128’
(__m128i)__builtin_ia32_psrldqi128((__m128i)(a), (count)*8); })
…
and
ii) Compilation stops when fortran is invoked on the compilation of minincern (zebra, hbook, …)
My compiler versions:
clang -v
Apple LLVM version 7.3.0 (clang-703.0.31)
Target: x86_64-apple-darwin15.4.0
Thread model: posix
InstalledDir: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin
I am not sure that you are using the CMake to build. In any case you should. The instructions are in root.cern.ch/installing-root-source . In case you turn all option ON with -Dall=ON need, you will need to disable vc explicitly for this version of Xcode.
Latest version of OS X does not come with openssl. What I do not understand is that it should have complained at moment of issuing the cmake command and not at this level of the build when trying to execute an example. It will be nice if you could send the output of cmake command on a clean build area.
Alternatively, you can enable the builtin openssl with the option -Dbuiltin_openssl=ON
Thanks. CMake finds openssl in your system in /Users/korsch/anaconda/lib/libssl.dylib. Could it be that this installation with anaconda is for the previous OS X version or is incompete? For example what does say:
ls -a /Users/korsch/anaconda/lib/libssl.dylib
otool -L /Users/korsch/anaconda/lib/libssl.dylib
Probably is links with libssl.1.0.0.dylib that is found found afterwords.