clang-uml: Bus error MacOS
Hi there 👋
After fresh build on MacOS apple silicon, and running clang-uml for the first time, I’m getting a bus error
I tried to (git) checkout previous releases 0.4.1 and 0.4.0 but it still occurs.
The build command that worked for me is:
LLVM_VERSION=16 make release CMAKE_EXE_LINKER_FLAGS="-L/opt/homebrew/opt/llvm/lib -L/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/lib" LLVM_DIR=/opt/homebrew/opt/llvm/lib/cmake/llvm/ CMAKE_CXX_FLAGS="-I/opt/homebrew/Cellar/yaml-cpp/0.8.0/include"
Will appreciate your advice for spotting the issue. Thanks!
About this issue
- Original URL
- State: closed
- Created 3 years ago
- Comments: 15 (8 by maintainers)
Commits related to this issue
- Fixed building clanguml internal diagrams on macos (#210) — committed to bkryza/clang-uml by bkryza 3 years ago
- Merge pull request #212 from bkryza/fix-make-clangumldiagrams-on-macos Fixed building clanguml internal diagrams on macos (#210) — committed to bkryza/clang-uml by bkryza 3 years ago
The stack trace for this segfault on macos (doesn’t occur on Linux):
@yairfine Thanks for the logs. I’ve managed to reproduce it also on my old 2015 Intel MBP - I’ll try to fix it…