C++ HHVM生成中的内部编译器错误

C++ HHVM生成中的内部编译器错误,c++,compiler-construction,archlinux,hhvm,C++,Compiler Construction,Archlinux,Hhvm,我一直在尝试使用makepkg-s从AUR包构建hhvm。构建是在一个非常基本的VM单核上执行的,它有1GB的RAM(我提到这一点是因为我已经读到它可以通过使用更多的核来解决)。当他构建完成24%时,我收到以下错误 Scanning dependencies of target hphp_system [ 24%] Building CXX object hphp/system/CMakeFiles/hphp_system.dir/class_map.cpp.o c++: internal co

我一直在尝试使用
makepkg-s
从AUR包构建hhvm。构建是在一个非常基本的VM单核上执行的,它有1GB的RAM(我提到这一点是因为我已经读到它可以通过使用更多的核来解决)。当他构建完成24%时,我收到以下错误

Scanning dependencies of target hphp_system
[ 24%] Building CXX object hphp/system/CMakeFiles/hphp_system.dir/class_map.cpp.o
c++: internal compiler error: Killed (program cc1plus)
Please submit a full bug report,
with preprocessed source if appropriate.
See <https://bugs.archlinux.org/> for instructions.
hphp/system/CMakeFiles/hphp_system.dir/build.make:117: recipe for target 'hphp/system/CMakeFiles/hphp_system.dir/class_map.cpp.o' failed
make[2]: *** [hphp/system/CMakeFiles/hphp_system.dir/class_map.cpp.o] Error 4
CMakeFiles/Makefile2:1213: recipe for target 'hphp/system/CMakeFiles/hphp_system.dir/all' failed
make[1]: *** [hphp/system/CMakeFiles/hphp_system.dir/all] Error 2
Makefile:116: recipe for target 'all' failed
make: *** [all] Error 2
==> ERROR: A failure occurred in build().
    Aborting...
扫描目标HPU系统的依赖项
[24%]构建CXX对象hphp/system/cmakfiles/hphp\u system.dir/class\u map.cpp.o
c++:内部编译器错误:已终止(程序cc1plus)
请提交完整的bug报告,
如果合适,使用预处理源。
有关说明,请参阅。
hphp/system/CMakeFiles/hphp_system.dir/build.make:117:目标“hphp/system/CMakeFiles/hphp_system.dir/class_map.cpp.o”的配方失败
make[2]:***[hphp/system/CMakeFiles/hphp\u system.dir/class\u map.cpp.o]错误4
CMakeFiles/Makefile2:1213:目标“hphp/system/CMakeFiles/hphp_system.dir/all”的配方失败
make[1]:***[hphp/system/CMakeFiles/hphp_system.dir/all]错误2
Makefile:116:目标“全部”的配方失败
make:**[全部]错误2
=>错误:生成()中发生故障。
流产。。。

我可以通过使用其他编译器或直接编译而不是使用PKGBUILD来修复此问题吗?

内存不足。GCC需要大量的RAM来编译HHVM,因为它使用了大量的模板和元编程


增加虚拟机上的RAM或使用预编译包。

我认为这是使用gcc?哪个版本?是的,我出于好奇使用了4.8.2,自己编译有什么好处吗?我的意思是,对于最终用户,而不是开发人员,不。不会再快了。只有当你需要打开一些我在构建包时没有打开的标志时,你才想编译它。是否有用于Arch的预编译包?