سؤال

لقد كنت أحاول إنشاء hhvm من حزمة AUR باستخدام makepkg -s.يتم تنفيذ البناء على نواة واحدة أساسية جدًا من جهاز VM مع 1 جيجابايت من ذاكرة الوصول العشوائي (أذكر هذا لأنني قرأت أنه يمكن حله باستخدام المزيد من النوى).أتلقى الأخطاء التالية عندما يكتمل البناء بنسبة 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؟

هل كانت مفيدة؟

المحلول

لقد نفدت الذاكرة.يحتاج مجلس التعاون الخليجي إلى قدر كبير من ذاكرة الوصول العشوائي (RAM) لتجميع HHVM نظرًا لأنه يستخدم الكثير من القوالب والبرمجة التعريفية.

قم إما بزيادة ذاكرة الوصول العشوائي (RAM) على جهاز VM الخاص بك أو استخدم الحزمة المترجمة مسبقًا.

مرخصة بموجب: CC-BY-SA مع الإسناد
لا تنتمي إلى StackOverflow
scroll top