riscv-gnu-toolchain
riscv-gnu-toolchain copied to clipboard
[Windows] 2025.02 Toolchain cc1.exe: out of memory allocating
Issue: "cc1.exe: out of memory allocating 2147487743 bytes" (32-bit Toolchain Limitation)
When compiling a large number of files, the toolchain fails with the error:
cc1.exe: out of memory allocating 2147487743 bytes
The compilation process is running on a 32-bit toolchain, which inherently restricts memory allocation to ~2GB or less per process (due to address space limitations).