CMake Warning: Manually-specified variables were not used by the project: CMAKE_EXPORT_NO_PACKAGE_REGISTRY protobuf_BUILD_LIBPROTOC clang: error: unable to execute command: Terminated clang: error: clang frontend command failed due to signal (use -v to see invocation) clang version 4.0.1-6 (tags/RELEASE_401/final) Target: x86_64-pc-linux-gnu Thread model: posix InstalledDir: /usr/bin clang: note: diagnostic msg: PLEASE submit a bug report to http://llvm.org/bugs/ and include the crash backtrace, preprocessed source, and associated run script. Terminated make[2]: *** [source_subfolder/cmake/CMakeFiles/libprotobuf.dir/__/src/google/protobuf/extension_set_heavy.cc.o] Error 143 make[2]: *** Waiting for unfinished jobs.... clang: error: unable to execute command: Terminated clang: error: clang frontend command failed due to signal (use -v to see invocation) clang version 4.0.1-6 (tags/RELEASE_401/final) Target: x86_64-pc-linux-gnu Thread model: posix InstalledDir: /usr/bin clang: note: diagnostic msg: PLEASE submit a bug report to http://llvm.org/bugs/ and include the crash backtrace, preprocessed source, and associated run script. Terminated make[2]: *** [source_subfolder/cmake/CMakeFiles/libprotobuf.dir/__/src/google/protobuf/field_mask.pb.cc.o] Error 143 clang: error: unable to execute command: Terminated clang: error: clang frontend command failed due to signal (use -v to see invocation) clang version 4.0.1-6 (tags/RELEASE_401/final) Target: x86_64-pc-linux-gnu Thread model: posix InstalledDir: /usr/bin clang: note: diagnostic msg: PLEASE submit a bug report to http://llvm.org/bugs/ and include the crash backtrace, preprocessed source, and associated run script. Terminated make[2]: *** [source_subfolder/cmake/CMakeFiles/libprotobuf.dir/__/src/google/protobuf/descriptor.cc.o] Error 143 make[1]: *** [source_subfolder/cmake/CMakeFiles/libprotobuf.dir/all] Error 2 make: *** [all] Error 2 ERROR: Exiting with code: 5