From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from [140.186.70.92] (port=46940 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Q0iD1-0004C8-5A for qemu-devel@nongnu.org; Fri, 18 Mar 2011 18:31:52 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Q0iCz-0003xC-Vj for qemu-devel@nongnu.org; Fri, 18 Mar 2011 18:31:51 -0400 Received: from lo.gmane.org ([80.91.229.12]:53718) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Q0iCz-0003x5-P0 for qemu-devel@nongnu.org; Fri, 18 Mar 2011 18:31:49 -0400 Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1Q0iCy-0000Vv-Cu for qemu-devel@nongnu.org; Fri, 18 Mar 2011 23:31:48 +0100 Received: from adsl-69-234-186-111.dsl.irvnca.pacbell.net ([69.234.186.111]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 18 Mar 2011 23:31:48 +0100 Received: from w41ter by adsl-69-234-186-111.dsl.irvnca.pacbell.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 18 Mar 2011 23:31:48 +0100 From: walt Date: Fri, 18 Mar 2011 15:31:28 -0700 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: [Qemu-devel] git commit c832e3de chokes gcc-4.5.2 (out of memory error) List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Hi qemu team, The following commit has a strange side-effect on gcc-4.5.2: commit c832e3de64f1069313fc0672087791cc3dd5b4d8 Author: Richard Henderson Date: Mon Jan 10 19:23:47 2011 -0800 target-i386: Use deposit operation. Use this for assignment to the low byte or low word of a register. Acked-by: Aurelien Jarno Signed-off-by: Richard Henderson Signed-off-by: Edgar E. Iglesias The new code in 'target-i386/translate.c' compiles just fine with gcc-4.4.4, using less than 1GB of RAM, but gcc-4.5.2 uses the whole GB and then fills up 2GB of swap space in addition while the machine grinds slowly to a halt. I'm using the latest qemu.git, and when I revert that one commit, gcc-4.5.2 chugs along just fine with my puny 1GB of RAM. I filed a bug against gcc-4.5.2 a few hours ago, but I notice that another ten or fifteen bugs were filed *after* mine, so I don't have much hope that anyone will pay much attention :( I'm hoping someone here might know how to find the source of the problem so I can add some helpful details to my bug report. Thanks for any suggestions, and thanks for qemu :)