From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from [140.186.70.92] (port=40730 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Pz5m8-0006VX-0s for qemu-devel@nongnu.org; Mon, 14 Mar 2011 07:17:26 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Pz5m6-00050X-0v for qemu-devel@nongnu.org; Mon, 14 Mar 2011 07:17:23 -0400 Received: from mx1.redhat.com ([209.132.183.28]:20385) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Pz5m5-00050L-Ok for qemu-devel@nongnu.org; Mon, 14 Mar 2011 07:17:21 -0400 Message-ID: <4D7DF935.8080802@redhat.com> Date: Mon, 14 Mar 2011 12:17:09 +0100 From: Paolo Bonzini MIME-Version: 1.0 References: <20110220165637.GK18619@volta.aurel32.net> <4D621DE8.60506@redhat.com> In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Subject: [Qemu-devel] Re: qemu-0.14.0 doesn't compile on ppc32 List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Peter Maydell Cc: nello martuscielli , qemu-devel@nongnu.org, Aurelien Jarno On 03/14/2011 11:23 AM, Peter Maydell wrote: > On 21 February 2011 08:10, Paolo Bonzini wrote: >> On 02/20/2011 06:32 PM, Peter Maydell wrote: >>> Some of qemu's code does seem to trigger rather excessive memory >>> use by gcc; for instance we've had problems with memory usage >>> building for ARM with gcc of target-sparc/translate.c wanting >>> gigabytes of RAM with some compiler flags: >>> https://bugs.launchpad.net/gcc-linaro/+bug/714921 >>> >>> I suspect it's all those large switch statements... >> >> It's on my todo list to report it to GCC, since this memory-hog behavior is >> a GCC regression. > > We've been working on this in Linaro, and the following two patches > have been posted upstream: > > http://gcc.gnu.org/ml/gcc-patches/2011-03/msg00193.html > http://gcc.gnu.org/ml/gcc-patches/2011-03/msg00255.html > > so you can probably cross that item off your todo list :-) Yes, I'm running with those two patches backported. :) Paolo