- c++: internal compiler error: Killed (program cc1plus)
网上说是内存原因, 一般云主机都是1G
左右内存, 没开启swap
, 我make
时开启了多线程处理, 非常有可能是这个原因- 错误提示
1
2
3
4
5
6c++: internal compiler error: Killed (program cc1plus)
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://bugzilla.redhat.com/bugzilla> for instructions.
make[2]: *** [modules/CMakeFiles/ade.dir/__/3rdparty/ade/ade-0.1.1d/sources/ade/source/passes/communications.cpp.o] Error 4
make[2]: *** Waiting for unfinished jobs.... - 解决方法, 启用
swap
: linux 创建 swap 交换空间
- 错误提示