That error was produced while building pixie 2.2.1-1ubuntu1 on the Ubuntu build machine iridium (https://launchpad.net/+builds/iridium). Here you can find the complete build log. http://launchpadlibrarian.net/11439976/buildlog_ubuntu-hardy-i386.pixie_2.2.1-1ubuntu1_FAILEDTOBUILD.txt.gz
We need a preprocessed testcase and information on how you invoked gcc. Also try a newer version than 4.2.0.
Oh and how much memory you have too?
That error was received on a Ubuntu build machine so I don't have information about memory. However, I tried to build the package on my computer and I received the same error. I have 2GB RAM and gcc-4.2.2-7ubuntu1 installed. To get this I simply run make from the sources directory.
We still need preprocessed souce (you get that from passing -save-temps) of the affected file.
I don't know if this is ok but I've got this. http://pastebin.ubuntu.com/3935/
Created attachment 16655 [details] execute.cpp preprocessed source Compiling Pixie (version 2.2.4, with gcc 4.2.3), in particular execute.cpp, requires 1.5 GB of available memory (better if real, otherwise it could take some hours). Is it normal a so big amount of required memory?
4.3 uses ~1GB of ram. tree SSA incremental : 11.10 (10%) usr 0.09 ( 4%) sys 11.70 (10%) wall 13667 kB ( 3%) ggc dominance frontiers : 10.27 ( 9%) usr 0.07 ( 3%) sys 10.24 ( 9%) wall 0 kB ( 0%) ggc loop analysis : 16.90 (15%) usr 0.03 ( 1%) sys 17.17 (15%) wall 988 kB ( 0%) ggc it's yet another case of a massive function with loops.
Should we keep this open?
4.6 requires 2GB at -O2, so yes. But, linking from 47344 to here instead. *** This bug has been marked as a duplicate of bug 47344 ***
Didn't meant to mark it as dup.
GCC 14 requires just 600MB ram at -O2 now and the testcase requires -fpermissive. GCC 12 required a tiny bit less. Turning to the "worst" case using -m32 -g -fPIC I get up to 780MB, ontop of -O3 vs -O2 it becomes 815MB. The very worst case has a flat profile besides tree FRE : 5.52 ( 20%) let's close this as fixed also given the bad state of the testcase, there's nothing specific for it anymore and memory usage is better than in GCC 4.3.