문제

나는 makepkg -s를 사용하여 Aur 패키지에서 HHVM을 구축하려고 노력하고 있습니다.빌드는 1GB의 RAM이있는 예쁜 기본 VM 단일 코어에서 수행되고 있습니다 (더 많은 코어를 사용하여 읽을 수 있음을 읽을 수 있기 때문에 이것을 언급하십시오).그가 빌드 할 때 다음과 같은 오류가 발생합니다.

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는 많은 템플릿과 메타 프로그래밍을 사용하기 때문에 HHVM을 컴파일하기 위해 톤의 RAM이 필요합니다.

VM의 RAM을 늘리거나 미리 컴파일 된 패키지를 사용하십시오.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top