HHVM生成中出现内部编译器错误
Internal Compiler error from HHVM build
我一直在尝试使用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...
我可以通过使用不同的编译器或直接编译而不是使用PKGBUILD来解决这个问题吗?
内存不足。GCC需要大量的RAM来编译HHVM,因为它使用了大量的模板和元编程。
请增加虚拟机上的RAM,或者使用预编译包。
相关文章:
- C1001内部编译器错误是由于矢量初始化(如数组)引起的
- OpenMP 会导致内部编译器错误
- 内部编译器错误Visual Studio Community 2017与SFML API
- "如果 constexpr",在 lambda 内部,在包扩展内部 - 编译器错误?
- G :内部编译器错误:分割故障(程序CC1PLUS) - 我在哪里开始
- 解决具有嵌套模板化变量的 Visual Studio 内部编译器错误
- 内部编译器错误:树莓派上的分段错误
- 模板函数专用化的内部编译器错误
- C 内部编译器错误
- 内部编译器错误:在decode_addr_const中,在varasm.c:2632
- Unity内部编译器错误与自定义DLL
- 如何解释 CUDA 的内联 PTX 内部编译器错误
- 内部编译器错误消息意味着什么,我能做些什么
- 如果我只在发布配置中遇到内部编译器错误,我可以看看什么来解决这个问题
- gcc 4.7.3与构造函数一起使用make_shared时出现内部编译器错误
- 奇怪的"random"内部编译器错误在C++生成器 2010
- GCC 3.4 内部编译器错误与 std::map.find
- g++小程序中的内部编译器错误
- 致命错误 C1001:内部编译器错误(编译器文件"MSC1.cpp",第 1794 行)
- 内部编译器错误-开关表达式中的模板化转换操作符