Clang Error on compiling on OS X

Attempting to build on rev 942b98e:


Install file: "release/datafiles/LICENSE-bfont.ttf.txt" as "/Users/paolo/blender-build-git/install/darwin/LICENSE-bfont.ttf.txt"0  clang-3.5                0x0000000102f103c8 llvm::sys::PrintStackTrace(__sFILE*) + 40
1  clang-3.5                0x0000000102f108a4 SignalHandler(int) + 452
2  libsystem_platform.dylib 0x00007fff957355aa _sigtramp + 26
3  libsystem_platform.dylib 0x00007fa32ff90c01 _sigtramp + 2592454257
4  clang-3.5                0x00000001029c9730 llvm::LazyValueInfo::getConstant(llvm::Value*, llvm::BasicBlock*) + 416
5  clang-3.5                0x0000000102e022bd (anonymous namespace)::CorrelatedValuePropagation::runOnFunction(llvm::Function&) + 1565
6  clang-3.5                0x0000000102c6a4df llvm::FPPassManager::runOnFunction(llvm::Function&) + 303
7  clang-3.5                0x0000000102c9495c (anonymous namespace)::CGPassManager::runOnModule(llvm::Module&) + 1052
8  clang-3.5                0x0000000102c6ab66 llvm::legacy::PassManagerImpl::run(llvm::Module&) + 950
9  clang-3.5                0x00000001032e14ca clang::EmitBackendOutput(clang::DiagnosticsEngine&, clang::CodeGenOptions const&, clang::TargetOptions const&, clang::LangOptions const&, llvm::StringRef, llvm::Module*, clang::BackendAction, llvm::raw_ostream*) + 6010
10 clang-3.5                0x000000010342364b clang::BackendConsumer::HandleTranslationUnit(clang::ASTContext&) + 523
11 clang-3.5                0x0000000103717fd4 clang::ParseAST(clang::Sema&, bool, bool) + 452
12 clang-3.5                0x0000000103422120 clang::CodeGenAction::ExecuteAction() + 80
13 clang-3.5                0x00000001030e862e clang::FrontendAction::Execute() + 62
14 clang-3.5                0x00000001030bd163 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) + 851
15 clang-3.5                0x000000010311d871 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) + 4417
16 clang-3.5                0x00000001023bcbc1 cc1_main(char const**, char const**, char const*, void*) + 913
17 clang-3.5                0x00000001023b99c2 main + 1138
18 libdyld.dylib            0x00007fff897bb5fd start + 1
Stack dump:
0.    Program arguments: /Users/paolo/blender-build-git/lib/darwin-9.x.universal/clang-omp-3.5/bin/clang-3.5 -cc1 -fopenmp -triple x86_64-apple-macosx10.6.0 -emit-obj -disable-free -disable-llvm-verifier -main-file-name kernel.cpp -mrelocation-model pic -pic-level 2 -mdisable-fp-elim -menable-no-infs -menable-no-nans -menable-unsafe-fp-math -ffp-contract=fast -ffast-math -masm-verbose -munwind-tables -target-cpu core2 -target-feature +sse -target-feature +sse2 -target-feature +sse3 -target-feature +ssse3 -dwarf-column-info -coverage-file /Users/paolo/blender-build-git/build/darwin/intern/cycles/kernel/kernel.o -resource-dir /Users/paolo/blender-build-git/lib/darwin-9.x.universal/clang-omp-3.5/bin/../lib/clang/3.5.0 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.10.sdk -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.10.sdk -D WITH_MOD_FLUID -D WITH_MOD_OCEANSIM -D __LITTLE_ENDIAN__ -D WITH_AUDASPACE -D WITH_AVI -D WITH_OPENNL -D HAVE_STDBOOL_H -D NDEBUG -D WITH_GL_PROFILE_COMPAT -D GLEW_STATIC -D WITH_SMOKE -D WITH_FRAMESERVER -D WITH_PYTHON -D WITH_SDL -D WITH_OPENIMAGEIO -D WITH_OPENEXR -D WITH_TIFF -D WITH_OPENJPEG -D WITH_DDS -D WITH_CINEON -D WITH_HDR -D WITH_FFMPEG -D WITH_QUICKTIME -D WITH_BULLET -D WITH_MOD_FLUID -D WITH_OCEANSIM -D WITH_LZO -D WITH_LZMA -D WITH_GAMEENGINE -D WITH_LIBMV -D FFTW3=1 -D WITH_FREESTYLE -D WITH_GAMEENGINE -D WITH_SMOKE -D WITH_DDS -D WITH_PYTHON -D WITH_PYTHON -D WITH_GAMEENGINE -D WITH_FREESTYLE -D WITH_BULLET -D WITH_FREESTYLE -D WITH_OPENJPEG -D WITH_OPENEXR -D WITH_TIFF -D WITH_OPENIMAGEIO -D WITH_FREESTYLE -D WITH_OPENEXR -D WITH_OPENJPEG -D WITH_TIFF -D WITH_CINEON -D WITH_OPENIMAGEIO -D WITH_COMPOSITOR -D WITH_PYTHON -D WITH_GAMEENGINE -D WITH_FREESTYLE -D WITH_PYTHON -D WITH_PYTHON -D WITH_GAMEENGINE -D WITH_PYTHON -D WITH_PYTHON -D WITH_COMPOSITOR -D WITH_FREESTYLE -D WITH_PYTHON -D WITH_COLLADA -D WITH_BUILDINFO -D WITH_COMPOSITOR -D WITH_PYTHON_SECURITY -D WITH_SMOKE -D WITH_BULLET -D WITH_OPENIMAGEIO -D WITH_OPENEXR -D WITH_TIFF -D WITH_OPENJPEG -D WITH_DDS -D WITH_CINEON -D WITH_HDR -D WITH_FRAMESERVER -D WITH_FFMPEG -D WITH_QUICKTIME -D WITH_GAMEENGINE -D WITH_FFTW3 -D WITH_SDL -D WITH_OPENAL -D WITH_PYTHON -D WITH_COLLADA -D WITH_CYCLES -D WITH_FREESTYLE -D NDEBUG -D WITH_SMOKE -D WITH_BULLET -D WITH_OPENIMAGEIO -D WITH_OPENEXR -D WITH_TIFF -D WITH_OPENJPEG -D WITH_DDS -D WITH_CINEON -D WITH_HDR -D WITH_FRAMESERVER -D WITH_FFMPEG -D WITH_QUICKTIME -D WITH_GAMEENGINE -D WITH_PYTHON -D WITH_COLLADA -D WITH_OCEANSIM -D WITH_CYCLES -D WITH_SDL -D WITH_OPENAL -D WITH_FREESTYLE -D BUILD_DATE -D WITH_BULLET -D WITH_FFMPEG -D WITH_QUICKTIME -D WITH_SNDFILE -D WITH_COMPOSITOR -D WITH_CYCLES -D WITH_CYCLES_OSL -D WITH_FREESTYLE -D WITH_GAMEENGINE -D WITH_CINEON -D WITH_DDS -D WITH_FRAMESERVER -D WITH_HDR -D WITH_OPENEXR -D WITH_OPENJPEG -D WITH_TIFF -D WITH_OPENAL -D WITH_SDL -D WITH_LIBMV -D WITH_MOD_BOOLEAN -D WITH_MOD_FLUID -D WITH_OCEANSIM -D WITH_MOD_REMESH -D WITH_SMOKE -D WITH_COLLADA -D WITH_OCIO -D WITH_OPENIMAGEIO -D WITH_PLAYER -D WITH_FFMPEG -D WITH_PYTHON -D WITH_SDL -D WITH_PYTHON -D WITH_FFMPEG -D WITH_BULLET -D WITH_PYTHON -D WITH_PYTHON -D WITH_PYTHON -D WITH_FFMPEG -D WITH_PYTHON -D WITH_PYTHON -D WITH_FFMPEG -D WITH_PYTHON -D WITH_BULLET -D WITH_QUICKTIME -D WITH_OCIO -D CYCLES_TR1_UNORDERED_MAP -D CCL_NAMESPACE_BEGIN=namespace ccl { -D CCL_NAMESPACE_END=} -D WITH_OPENCL -D WITH_MULTI -D WITH_CUDA -D WITH_OSL -D OSL_STATIC_LIBRARY -D WITH_CYCLES_LOGGING -D GOOGLE_GLOG_DLL_DECL= -D CYCLES_GFLAGS_NAMESPACE=gflags -D WITH_KERNEL_AVX2 -D WITH_KERNEL_SSE41 -D WITH_KERNEL_AVX -D WITH_KERNEL_SSE3 -D WITH_KERNEL_SSE2 -I /Users/paolo/blender-build-git/lib/darwin-9.x.universal/openmp/include -I /Users/paolo/blender-build-git/lib/darwin-9.x.universal/osl/include -I extern/libmv/third_party/glog/src -I extern/libmv/third_party/gflags -I /Users/paolo/blender-build-git/build/darwin/intern/cycles -I intern/cycles -I /Users/paolo/blender-build-git/build/darwin/intern/cycles/bvh -I intern/cycles/bvh -I /Users/paolo/blender-build-git/build/darwin/intern/cycles/render -I intern/cycles/render -I /Users/paolo/blender-build-git/build/darwin/intern/cycles/device -I intern/cycles/device -I /Users/paolo/blender-build-git/build/darwin/intern/cycles/kernel -I intern/cycles/kernel -I /Users/paolo/blender-build-git/build/darwin/intern/cycles/kernel/osl -I intern/cycles/kernel/osl -I /Users/paolo/blender-build-git/build/darwin/intern/cycles/kernel/svm -I intern/cycles/kernel/svm -I /Users/paolo/blender-build-git/build/darwin/intern/cycles/util -I intern/cycles/util -I /Users/paolo/blender-build-git/build/darwin/intern/cycles/subd -I intern/cycles/subd -I intern/guardedalloc -I source/blender/makesrna -I source/blender/makesdna -I source/blender/blenlib -I source/blender/blenloader -I /Users/paolo/blender-build-git/build/darwin/source/blender/makesrna/intern -I source/blender/makesrna/intern -I extern/glew/include -I intern/glew-mx -I intern/atomic -I intern/mikktspace -I extern/glew/include -I extern/clew/include -I extern/cuew/include -I intern/mikktspace -I /Users/paolo/blender-build-git/lib/darwin-9.x.universal/openimageio/include -I /Users/paolo/blender-build-git/lib/darwin-9.x.universal/boost/include -I /Users/paolo/blender-build-git/lib/darwin-9.x.universal/openexr/include -I /Users/paolo/blender-build-git/lib/darwin-9.x.universal/openexr/include/OpenEXR -I /Users/paolo/blender-build-git/lib/darwin-9.x.universal/python/include/python3.4m -O2 -Wno-invalid-offsetof -Wno-sign-compare -Wall -fdeprecated-macro -fdebug-compilation-dir /Users/paolo/blender-build-git/blender -ftemplate-depth 1024 -ferror-limit 19 -fmessage-length 162 -stack-protector 1 -mstackrealign -fblocks -fno-signed-char -fobjc-runtime=macosx-10.6.0 -fencode-extended-block-signature -fcxx-exceptions -fexceptions -fdiagnostics-show-option -fcolor-diagnostics -vectorize-loops -vectorize-slp -o /Users/paolo/blender-build-git/build/darwin/intern/cycles/kernel/kernel.o -x c++ intern/cycles/kernel/kernel.cpp 
1.    <eof> parser at end of file
2.    Per-module optimization passes
3.    Running pass 'CallGraph Pass Manager' on module 'intern/cycles/kernel/kernel.cpp'.
4.    Running pass 'Value Propagation' on function '@_ZN3cclL23kernel_branched_path_aoEPNS_13KernelGlobalsEPNS_10ShaderDataEPNS_12PathRadianceEPNS_9PathStateEPjNS_6float3E'
2 warnings generated.
Linking library ==> 'libcycles_kernel_osl.a'
clang-3.5: error: unable to execute command: Segmentation fault: 11
clang-3.5: error: clang frontend command failed due to signal (use -v to see invocation)
clang version 3.5.0 
Target: x86_64-apple-darwin13.4.0
Thread model: posix
clang-3.5: note: diagnostic msg: PLEASE submit a bug report to http://llvm.org/bugs/ and include the crash backtrace, preprocessed source, and associated run script.
clang-3.5: note: diagnostic msg: 
********************


PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT:
Preprocessed source(s) and associated run script(s) are located at:
clang-3.5: note: diagnostic msg: /var/folders/pn/flbtzz5s4fbg1xx9qsgmh7d80000gn/T/kernel-5550f6.cpp
clang-3.5: note: diagnostic msg: /var/folders/pn/flbtzz5s4fbg1xx9qsgmh7d80000gn/T/kernel-5550f6.sh
clang-3.5: note: diagnostic msg: 


********************
scons: *** [/Users/paolo/blender-build-git/build/darwin/intern/cycles/kernel/kernel.o] Error 254
3 warnings generated.
1 warning generated.
1 warning generated.
1 warning generated.
scons: building terminated because of errors.

Solved on revision 7c2905b.

thanks,
paolo