On 02/02/2011 01:54 PM, Peter Maydell wrote:
Trying to build qemu on a beagle board:
CC sparc64-linux-user/translate.o
cc1: out of memory allocating 26975704 bytes after a total of 70742016 bytes
# ls -lh target-sparc/translate.c
-rw-r--r-- 1 root root 191K Jan 31 12:05 target-sparc/translate.c
ie gcc wants (at least) 100M of RAM trying to compile a 190K sourcefile.
(and probably more overall since the board has 500MB RAM total and
it hit the out-of-memory condition).
This seems a bit excessive to me, but do we consider it enough of
a bug to be worth looking into?
(I believe this source file has caused compile failures on the buildds
too, which have rather more RAM/swap than my beagle.)
Right, looks similar to the error from
http://launchpadlibrarian.net/62973330/buildlog_ubuntu-natty-armel.qemu-kvm_0.13.0%2Bnoroms-0ubuntu12_FAILEDTOBUILD.txt.gz
...
CC sparc64-softmmu/translate.o
virtual memory exhausted: Cannot allocate memory
...
and those build machines have 512M RAM and many Gb of swap from what I know.
Jani
_______________________________________________
linaro-toolchain mailing list
linaro-toolchain@lists.linaro.org
http://lists.linaro.org/mailman/listinfo/linaro-toolchain