问题:
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
|