Created attachment 190785 [details] contains the error of llvm failing and the files affected I tried compiling vim from ports tree and its failing at llvm compilation. I have attached the error as text file. Below are the details of my system FreeBSD ver: 11.1-RELEASE-p4 Arch: amd64 Ports Tree: Up to date snippet: PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT: Preprocessed source(s) and associated run script(s) are located at: c++: note: diagnostic msg: /tmp/SelectionDAGBuilder-fc3cd6.cpp c++: note: diagnostic msg: /tmp/SelectionDAGBuilder-fc3cd6.sh c++: note: diagnostic msg: let me know if I am submitting in a wrong format. My first time reporting a bug
As you noted, the build failure is in llvm, not vim. I'm sending this over to the llvm50 maintainer.
(In reply to Adam Weinberger from comment #1) thank you
This is a crash in the base system compiler. The fact that devel/llvm50 triggered it is irrelevant. That said, I test this on 11.1-RELEASE both directly and in poudriere so I suspect weird CFLAGS or a hardware problem.
From your log, it looks like you were running out of memory: c++: error: unable to execute command: Killed c++: error: clang frontend command failed due to signal (use -v to see invocation) Please check dmesg and/or /var/log/messages for "swap_pager_getswapspace(n): failed" messages, if that is the case you need to add either more RAM or swap. If it still occurs after adding more memory, and in a repeatable fashion, try saving the /tmp/*.cpp and /tmp/*.sh files it drops, then compressing those and attach them to this PR.
(In reply to Dimitry Andric from comment #4) okay I will try that and see. right now I am trying to compile vim again.