Re: [Qemu-devel] [PATCH v2 1.3] build: compile translate.o with -fno-gcse option

2012-11-28 Thread Andreas Färber
Am 27.11.2012 17:21, schrieb Paolo Bonzini: > Some versions of GCC require insane (>2GB) amounts of memory to compile > translate.o. As a countermeasure, disable the culprit optimization pass. > This should fix the buildbot failure for default_x86_64_fedora16. > Anyway is a good thing to do becaus

Re: [Qemu-devel] [PATCH v2 1.3] build: compile translate.o with -fno-gcse option

2012-11-27 Thread Paolo Bonzini
Il 27/11/2012 19:17, Stefan Weil ha scritto: > A real problem could arise from compilers which don't support -fno-gcse. It was introduced in GCC 3.0. > As this option is not checked for compatibility in configure, such > compilers would no longer work with unmodified QEMU sources. clang > obviou

Re: [Qemu-devel] [PATCH v2 1.3] build: compile translate.o with -fno-gcse option

2012-11-27 Thread Wenchao Xia
于 2012-11-28 10:01, 陳韋任 (Wei-Ren Chen) 写道: On Tue, Nov 27, 2012 at 05:21:03PM +0100, Paolo Bonzini wrote: Some versions of GCC require insane (>2GB) amounts of memory to compile translate.o. As a countermeasure, disable the culprit optimization pass. This should fix the buildbot failure for def

Re: [Qemu-devel] [PATCH v2 1.3] build: compile translate.o with -fno-gcse option

2012-11-27 Thread Wei-Ren Chen
On Tue, Nov 27, 2012 at 05:21:03PM +0100, Paolo Bonzini wrote: > Some versions of GCC require insane (>2GB) amounts of memory to compile > translate.o. As a countermeasure, disable the culprit optimization pass. > This should fix the buildbot failure for default_x86_64_fedora16. > Anyway is a good

Re: [Qemu-devel] [PATCH v2 1.3] build: compile translate.o with -fno-gcse option

2012-11-27 Thread Stefan Weil
Am 27.11.2012 17:30, schrieb Paolo Bonzini: Il 27/11/2012 17:24, Alexander Graf ha scritto: +# Workaround for http://gcc.gnu.org/PR55489. Happens with -fPIE/-fPIC +# and large functions that use global variables. The bug is in all +# releases of GCC, but it became particularly acute in 4.7.x.

Re: [Qemu-devel] [PATCH v2 1.3] build: compile translate.o with -fno-gcse option

2012-11-27 Thread Paolo Bonzini
Il 27/11/2012 17:24, Alexander Graf ha scritto: >> >> +# Workaround for http://gcc.gnu.org/PR55489. Happens with -fPIE/-fPIC >> +# and large functions that use global variables. The bug is in all >> +# releases of GCC, but it became particularly acute in 4.7.x. We >> +# should be able to delete

Re: [Qemu-devel] [PATCH v2 1.3] build: compile translate.o with -fno-gcse option

2012-11-27 Thread Alexander Graf
On 11/27/2012 05:21 PM, Paolo Bonzini wrote: Some versions of GCC require insane (>2GB) amounts of memory to compile translate.o. As a countermeasure, disable the culprit optimization pass. This should fix the buildbot failure for default_x86_64_fedora16. Anyway is a good thing to do because peo

[Qemu-devel] [PATCH v2 1.3] build: compile translate.o with -fno-gcse option

2012-11-27 Thread Paolo Bonzini
Some versions of GCC require insane (>2GB) amounts of memory to compile translate.o. As a countermeasure, disable the culprit optimization pass. This should fix the buildbot failure for default_x86_64_fedora16. Anyway is a good thing to do because people will try to compile 1.3 with less than 2GB