[Top][All Lists]
[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:46:24 +0000 |
On 27 November 2012 13:45, Gerd Hoffmann <address@hidden> wrote:
> On 11/27/12 14:24, Peter Maydell wrote:
>> 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
In that case it is a new (or regressed) gcc bug and we should be
pursuing it with the upstream gcc folk. We still shouldn't be
putting random workarounds in our configure script.
-- PMM
Re: [Qemu-devel] [PATCH 1.3] build: compile translate.o at -O1 optimization, Avi Kivity, 2012/11/27