打印

c++:internalcompilererror:Killed(programcc1plus) 转

[复制链接]
612|0
手机看帖
扫描二维码
随时随地手机跟帖
跳转到指定楼层
楼主
gaochy1126|  楼主 | 2019-9-15 15:57 | 只看该作者 回帖奖励 |倒序浏览 |阅读模式
问题:
c++: internal compiler error: Killed (program cc1plus)
Please submit a full bug report,
with preprocessed source if appropriate.
See for instructions.

解决办法:
[root@VM_0_13_centos build]# dd if=/dev/zero of=/swapfile bs=64M count=16
16+0 records in
16+0 records out
1073741824 bytes (1.1 GB) copied, 8.78111 s, 122 MB/s
[root@VM_0_13_centos build]# mkswap /swapfile
Setting up swapspace version 1, size = 1048572 KiB
no label, UUID=562aa446-be9d-4d91-8afb-b711e22820a8
[root@VM_0_13_centos build]# swapon /swapfile
swapon: /swapfile: insecure permissions 0644, 0600 suggested.
[root@VM_0_13_centos build]#

编译完成之后:
sudo swapoff /swapfile
sudo rm /swapfile



使用特权

评论回复

相关帖子

发新帖 我要提问
您需要登录后才可以回帖 登录 | 注册

本版积分规则

个人签名:这个社会混好的两种人:一是有权有势,二是没脸没皮的。

1025

主题

11271

帖子

25

粉丝