gcc crash when compiling vim plugin with low mem
when compiling the vim plugin YouCompleteMe on a VM with low memory:
seems to be a bug, but the output says it's unlikely
python3 install.py --clangd-completer
Distributor ID: Ubuntu
Description: Ubuntu 18.04.4 LTS
Release: 18.04
Codename: bionic
Memory: 127MiB / 481MiB
Host: KVM/QEMU (Standard PC (i440FX + PIIX, 1996) pc-i440fx-4.1
CPU: Intel (Broadwell, no TSX, IBRS) (1) @ 2.394GHz
gcc (Ubuntu 7.4.0-1ubuntu1~
[ 97%] Building CXX object ycm/CMakeFiles/
c++: internal compiler error: Killed (program cc1plus)
Please submit a full bug report,
with preprocessed source if appropriate.
See <file:/
ycm/CMakeFiles/
make[3]: *** [ycm/CMakeFiles
CMakeFiles/
make[2]: *** [ycm/CMakeFiles
CMakeFiles/
make[1]: *** [ycm/CMakeFiles
Makefile:131: recipe for target 'ycm_core' failed
make: *** [ycm_core] Error 2
ERROR: the build failed.
NOTE: it is *highly* unlikely that this is a bug but rather
that this is a problem with the configuration of your system
or a missing dependency. Please carefully read CONTRIBUTING.md
and if you're sure that it is a bug, please raise an issue on the
issue tracker, including the entire output of this script
and the invocation line used to run it.
Question information
- Language:
- English Edit question
- Status:
- Answered
- For:
- Ubuntu Edit question
- Assignee:
- No assignee Edit question
- Last query:
- Last reply:
Can you help with this problem?
Provide an answer of your own, or ask gary for more information if necessary.