From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([208.118.235.92]:58590) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UGmGC-00083P-7A for qemu-devel@nongnu.org; Sat, 16 Mar 2013 04:14:38 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UGmG8-0006qj-Ja for qemu-devel@nongnu.org; Sat, 16 Mar 2013 04:14:36 -0400 Received: from mail-ee0-f49.google.com ([74.125.83.49]:61134) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UGmG8-0006pB-DT for qemu-devel@nongnu.org; Sat, 16 Mar 2013 04:14:32 -0400 Received: by mail-ee0-f49.google.com with SMTP id d41so1868237eek.36 for ; Sat, 16 Mar 2013 01:14:31 -0700 (PDT) Sender: Paolo Bonzini Message-ID: <514429E5.2010003@redhat.com> Date: Sat, 16 Mar 2013 09:14:29 +0100 From: Paolo Bonzini MIME-Version: 1.0 References: <20130315192120.GF26815@fries.net> In-Reply-To: <20130315192120.GF26815@fries.net> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] large memory requirements for translate.c a barrier List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: todd@fries.net Cc: qemu-devel@nongnu.org Il 15/03/2013 20:21, Todd T. Fries ha scritto: > PID USERNAME PRI NICE SIZE RES STATE WAIT TIME CPU COMMAND > 28818 todd 64 0 1142M 53M onproc/0 - 2:01 17.24% cc1 > > For systems with lower limits on user process memory, this prevents things > from building. > > For systems with less physical ram, this presents lots of swapping just to > build the source files. > > Is there any hints or hope of breaking translate.c up into a smaller file? It's a GCC bug. We have worked around it in recent versions of QEMU; what version are you trying to compile? You can compile that file with "-O2 -fno-gcse". Paolo