qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [PATCH 1.3] build: compile translate.o at -O1 optimizat


From: Peter Maydell
Subject: Re: [Qemu-devel] [PATCH 1.3] build: compile translate.o at -O1 optimization
Date: Tue, 27 Nov 2012 13:24:17 +0000

On 27 November 2012 08:34, Paolo Bonzini <address@hidden> 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.

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48190
https://bugs.launchpad.net/gcc-linaro/+bug/714921

-- PMM



reply via email to

[Prev in Thread] Current Thread [Next in Thread]