Involves devkitPPC. Possibly a memory leak, by what I've researched. The thing I'm working on compiled successfully with -O2 optimizations with gcc included with devkitPPC r13 (3.4.4, I think), but with current gcc (4.2.3?), compiler hangs on a certain file with any optimization flags (-O1, -O2, -O3), except -Os. The error is as follows:
Code: Select all
cc1plus.exe: out of memory allocating 368154112 bytes
make: *** [GBA.o] Error 1
make: *** [build_wii] Error 2
The amount being allocated fluctuates, depending on amount of free memory, but no amount of added memory (someone's tried with 8GB of RAM) fixes it. It always errors out this way, it just takes longer.
If this is supposed to act this way, I will look into debugging the certain file, but I figured, since it had worked before, it SHOULD still work.