From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([208.118.235.92]:52606) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TdLTY-00037S-JT for qemu-devel@nongnu.org; Tue, 27 Nov 2012 08:45:30 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TdLTV-0001YI-P0 for qemu-devel@nongnu.org; Tue, 27 Nov 2012 08:45:23 -0500 Received: from mx1.redhat.com ([209.132.183.28]:1582) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TdLTV-0001Wx-H9 for qemu-devel@nongnu.org; Tue, 27 Nov 2012 08:45:21 -0500 Message-ID: <50B4C3E3.4020403@redhat.com> Date: Tue, 27 Nov 2012 14:45:07 +0100 From: Gerd Hoffmann MIME-Version: 1.0 References: <1354005293-17741-1-git-send-email-pbonzini@redhat.com> In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [PATCH 1.3] build: compile translate.o at -O1 optimization List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Peter Maydell Cc: Paolo Bonzini , qemu-devel@nongnu.org On 11/27/12 14:24, Peter Maydell wrote: > On 27 November 2012 08:34, Paolo Bonzini wrote: >> Some versions of GCC require insane (>2GB) amounts of memory >> to compile translate.o. As a countermeasure, compile it >> with -O1. This should fix the buildbot failure for >> default_x86_64_fedora16. > > This is a well known bug in old gcc (ie fixed in 4.5, 4.6 and > trunk a year ago). Use a newer gcc, or a 64 bit build system > with a reasonable amount of RAM, or as a workaround apply some > suitable compiler flags by passing configure > '--extra-cflags=-fno-var-tracking'. This patch definitely > shouldn't be applied as we shouldn't be hampering the majority > for the benefit of old broken systems. It isn't that simple. It's Fedora 17 with gcc 4.7.2 which runs oom while compiling translate.c cheers, Gerd