[Bug c++/107483] c++: fatal error: Killed signal terminated program cc1plus due to out of memory

seehearfeel at 126 dot com gcc-bugzilla@gcc.gnu.org
Tue Nov 1 02:18:28 GMT 2022


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107483

--- Comment #4 from Tiezhu Yang <seehearfeel at 126 dot com> ---
https://github.com/llvm/llvm-project/blob/main/lldb/unittests/Instruction/RISCV/TestRISCVEmulator.cpp

This issue is introduced in the following commit:

$ git log -p lldb/unittests/Instruction/RISCV/TestRISCVEmulator.cpp
commit 05ae747a5353811f93f5814f24d2335e6229d78a
Author: Emmmer <yjhdandan@163.com>
Date:   Thu Oct 20 23:05:37 2022 +0800

    [LLDB][RISCV] Add RV64C instruction support for EmulateInstructionRISCV


Here is a patch of lldb for optimization, but build also failed used with c++
13.

[LLDB] Optimize lldb build time and memory consumption.
https://reviews.llvm.org/D137041


More information about the Gcc-bugs mailing list