Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

clang seg fault building on Mac Catalina #71

Open
isb0459 opened this issue Aug 3, 2020 · 0 comments
Open

clang seg fault building on Mac Catalina #71

isb0459 opened this issue Aug 3, 2020 · 0 comments

Comments

@isb0459
Copy link

isb0459 commented Aug 3, 2020

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:


make[2]: *** [CMakeFiles/velocypack.dir/src/AttributeTranslator.cpp.o] Error 254
make[1]: *** [CMakeFiles/velocypack.dir/all] Error 2
make: *** [all] Error 2

Crash log attached.
clang_2020-08-03-095424_myhost.crash.txt

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant