I cloned the current master last week and followed the first directions in Install.md. Clang SIGSEGV while compiling AssertThreshold.cpp. I noted that Apple had updated XCode, so I installed that update and tried again but no change.
Output from make command
$ (cd build && cmake .. && make)
-- The CXX compiler identification is AppleClang 11.0.3.11030032
-- The C compiler identification is AppleClang 11.0.3.11030032
-- Check for working CXX compiler: /Library/Developer/CommandLineTools/usr/bin/c++
-- Check for working CXX compiler: /Library/Developer/CommandLineTools/usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Check for working C compiler: /Library/Developer/CommandLineTools/usr/bin/cc
-- Check for working C compiler: /Library/Developer/CommandLineTools/usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Require C++11
-- Build mode: Release
-- Install base directory: /usr/local
-- Hardware support for SSE4.2 on this machine: true
-- Compiler type CLANG: /Library/Developer/CommandLineTools/usr/bin/c++
-- Building with SSE 4.2 optimizations enabled: ON
-- Building with hash type: xxhash
-- Building bench performance test suite: OFF
-- Building support programs and tools: ON
-- Building examples: ON
-- Building test suite: OFF
-- Building large tests: OFF
-- Building assembler test suite: OFF
-- Configuring done
-- Generating done
-- Build files have been written to: /Users/ianboardman/repos/velocypack/build
Scanning dependencies of target velocypack
[ 1%] Building CXX object CMakeFiles/velocypack.dir/src/velocypack-common.cpp.o
[ 3%] Building CXX object CMakeFiles/velocypack.dir/src/AttributeTranslator.cpp.o
clang: error: unable to execute command: Segmentation fault: 11
clang: error: clang frontend command failed due to signal (use -v to see invocation)
Apple clang version 11.0.3 (clang-1103.0.32.62)
Target: x86_64-apple-darwin19.6.0
Thread model: posix
InstalledDir: /Library/Developer/CommandLineTools/usr/bin
clang: note: diagnostic msg: PLEASE submit a bug report to http://developer.apple.com/bugreporter/ and include the crash backtrace, preprocessed source, and associated run script.
clang: note: diagnostic msg:
PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT:
Preprocessed source(s) and associated run script(s) are located at:
clang: note: diagnostic msg: /var/folders/gf/p1q6cbrn0k309t775vk01mkw0000gp/T/AttributeTranslator-188093.cpp
clang: note: diagnostic msg: /var/folders/gf/p1q6cbrn0k309t775vk01mkw0000gp/T/AttributeTranslator-188093.sh
clang: note: diagnostic msg: Crash backtrace is located in
clang: note: diagnostic msg: /Users/ianboardman/Library/Logs/DiagnosticReports/clang.crash
clang: note: diagnostic msg: (choose the .crash file that corresponds to your crash)
clang: note: diagnostic msg:
I cloned the current master last week and followed the first directions in Install.md. Clang SIGSEGV while compiling AssertThreshold.cpp. I noted that Apple had updated XCode, so I installed that update and tried again but no change.
Output from make command
Crash log attached. clang_2020-08-03-095424_myhost.crash.txt