System hang when compiling QEMU on ARM host

Bug #798258 reported by specx2
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
QEMU
Invalid
Undecided
Unassigned

Bug Description

Configuration:
Ubuntu 10.10
Linux 2.6.32.9
GCC 4.4.5
Host is based on ARM7 Processor (Qualcomm Snapdragon QSD8250)

------------------------
./configure
make

After the lines
...
i386-softmmu/translate.o

The system is completely freezes

I guess that GCC uses all the memory?
In what may be the reason for freezing?
Thank you!

Revision history for this message
Peter Maydell (pmaydell) wrote :

This is a gcc bug (fixed in newer versions of gcc), which causes it to use much more memory than it should do when compiling certain files. You can work around it by configuring with
 ./configure --extra-cflags=-fno-var-tracking
(this will result in worse debugging information, but if you want to debug qemu then you should probably not be building with optimisation anyway).

Changed in qemu:
status: New → Invalid
Revision history for this message
specx2 (specx2) wrote :

Using the
 ./configure --extra-cflags=-fno-var-tracking
gave the following result:
...
CC i386-softmmu/translate.o

cc1: out of memory allocating 14633640 bytes after a total of 60088320 bytes
make[1]: *** [translate.o] Error 1
make: *** [subdir-i386-softmmu] Error 2

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.