I am running the latest snapshot (Feb 21) and discovered that some changes I made to my hobby project this evening make clang++ crash.  It builds find on linux with clang 3.8 and a High Sierra machine running whatever version Apple ships with that.

The output message is this:

clang++  -Wall -fPIC -std=c++14 -c upgradedb.cpp
clang++: error: unable to execute command: Segmentation fault (core dumped)
clang++: error: clang frontend command failed due to signal (use -v to see invocation)
OpenBSD clang version 5.0.1 (tags/RELEASE_501/final) (based on LLVM 5.0.1)
Target: amd64-unknown-openbsd6.2
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.
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: /tmp/upgradedb-c3d6ce.cpp
clang++: note: diagnostic msg: /tmp/upgradedb-c3d6ce.sh
clang++: note: diagnostic msg:

********************
*** Error 254 in /home/sirjorj/projects/xhud/libxwing (Makefile:32 'upgradedb.o')


Is this an issue I should officially report with OpenBSD or is it an issue to take to LLVM?


Reply via email to