Received: from eggs.gnu.org ([208.118.235.92]:39247) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TdLYH-0005e6-9m for qemu-devel@nongnu.org; Tue, 27 Nov 2012 08:50:19 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TdLY8-00031v-KE for qemu-devel@nongnu.org; Tue, 27 Nov 2012 08:50:14 -0500 Received: from csmailer.cs.nctu.edu.tw ([140.113.235.130]:36036) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TdLY6-0002qh-Tr for qemu-devel@nongnu.org; Tue, 27 Nov 2012 08:50:08 -0500 Date: Tue, 27 Nov 2012 21:49:53 +0800 From: =?utf-8?B?6Zmz6Z+L5Lu7IChXZWktUmVuIENoZW4p?= Message-ID: <20121127134953.GA11770@cs.nctu.edu.tw> References: <1354005293-17741-1-git-send-email-pbonzini@redhat.com> <50B4C3E3.4020403@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <50B4C3E3.4020403@redhat.com> Content-Transfer-Encoding: quoted-printable 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: Gerd Hoffmann Cc: Peter Maydell , qemu-devel@nongnu.org, Paolo Bonzini On Tue, Nov 27, 2012 at 02:45:07PM +0100, Gerd Hoffmann wrote: > 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. > >=20 > > 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=3D-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. >=20 > It isn't that simple. It's Fedora 17 with gcc 4.7.2 which runs oom > while compiling translate.c Even apply Peter's suggestion? Do all gcc 4.7.2 on various platform have the same problem, or it only happen on Fedora 17. Regards, chenwj --=20 Wei-Ren Chen (=E9=99=B3=E9=9F=8B=E4=BB=BB) Computer Systems Lab, Institute of Information Science, Academia Sinica, Taiwan (R.O.C.) Tel:886-2-2788-3799 #1667 Homepage: http://people.cs.nctu.edu.tw/~chenwj