Open A-CISS opened 7 months ago
c++: fatal error: Killed signal terminated program cc1plus
This usually indicates that the system does not have enough memory to compile the project. If you're compiling LLVM on WSL, try increasing WSL memory quota. If the problem continues, ask for a development server account via TA e-mail.
안녕하세요. install-llvm.sh를 실행하던 도중 다음과 같은 오류가 발생하며 설치가 중단되어 문의드립니다.
[130/1478] Building CXX object tools/clang/lib/ASTMatchers.../CMakeFiles/obj.clangDynamicASTMatchers.dir/Registry.cpp.o FAILED: tools/clang/lib/ASTMatchers/Dynamic/CMakeFiles/obj.clangDynamicASTMatchers.dir/Registry.cpp.o /usr/bin/c++ -DGTEST_HAS_RTTI=0 -D_DEBUG -D_GLIBCXX_ASSERTIONS -D_GNU_SOURCE -DSTDC_CONSTANT_MACROS -DSTDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/home/alexesther/swpp202401-main/practice-materials/scripts/linux/llvm-project/build-18.1.0-tmp/tools/clang/lib/ASTMatchers/Dynamic -I/home/alexesther/swpp202401-main/practice-materials/scripts/linux/llvm-project/clang/lib/ASTMatchers/Dynamic -I/home/alexesther/swpp202401-main/practice-materials/scripts/linux/llvm-project/clang/include -I/home/alexesther/swpp202401-main/practice-materials/scripts/linux/llvm-project/build-18.1.0-tmp/tools/clang/include -I/home/alexesther/swpp202401-main/practice-materials/scripts/linux/llvm-project/build-18.1.0-tmp/include -I/home/alexesther/swpp202401-main/practice-materials/scripts/linux/llvm-project/llvm/include -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wimplicit-fallthrough -Wno-uninitialized -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -O3 -DNDEBUG -fno-exceptions -funwind-tables -fno-rtti -UNDEBUG -std=c++17 -MD -MT tools/clang/lib/ASTMatchers/Dynamic/CMakeFiles/obj.clangDynamicASTMatchers.dir/Registry.cpp.o -MF tools/clang/lib/ASTMatchers/Dynamic/CMakeFiles/obj.clangDynamicASTMatchers.dir/Registry.cpp.o.d -o tools/clang/lib/ASTMatchers/Dynamic/CMakeFiles/obj.clangDynamicASTMatchers.dir/Registry.cpp.o -c /home/alexesther/swpp202401-main/practice-materials/scripts/linux/llvm-project/clang/lib/ASTMatchers/Dynamic/Registry.cpp c++: fatal error: Killed signal terminated program cc1plus compilation terminated. [141/1478] Building CXX object tools/clang/lib/Sema/CMakeFiles/obj.clangSema.dir/SemaCodeComplete.cpp.o ninja: build stopped: subcommand failed. [SCRIPT] Error while building libc++!
혹시 오류 원인이 무엇이고 해결 방법이 있을까요?