g++: internal compiler error: Killed (program cc1plus)

来源:互联网 发布:比赛倒计时软件 编辑:程序博客网 时间:2024/05/17 09:14

背景

make 时遇到因系统内存不足所引发的编译崩溃

错误关键字

g++: internal compiler error: Killed (program cc1plus)Please submit a full bug report,

错误内容

这里写图片描述

g++: internal compiler error: Killed (program cc1plus)Please submit a full bug report,with preprocessed source if appropriate.See <file:///usr/share/doc/gcc-6/README.Bugs> for instructions.Makefile:5506: recipe for target 'libbitcoin_server_a-init.o' failedmake[2]: *** [libbitcoin_server_a-init.o] Error 4make[2]: Leaving directory '/home/cly/project/bitcoin/bitcoin-master/src'Makefile:9256: recipe for target 'all-recursive' failedmake[1]: *** [all-recursive] Error 1make[1]: Leaving directory '/home/cly/project/bitcoin/bitcoin-master/src'Makefile:740: recipe for target 'all-recursive' failedmake: *** [all-recursive] Error 1

解决办法

调节内存空间

打开虚拟机设置界面

修改到合适的值即可

修改内存空间大小

阅读全文
0 0
原创粉丝点击