From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([208.118.235.92]:53388) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TdGdH-0006vU-Eg for qemu-devel@nongnu.org; Tue, 27 Nov 2012 03:35:08 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TdGdC-0006aO-Og for qemu-devel@nongnu.org; Tue, 27 Nov 2012 03:35:07 -0500 Received: from mail-wi0-f181.google.com ([209.85.212.181]:39405) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TdGdC-0006XY-Fr for qemu-devel@nongnu.org; Tue, 27 Nov 2012 03:35:02 -0500 Received: by mail-wi0-f181.google.com with SMTP id hm2so3166944wib.10 for ; Tue, 27 Nov 2012 00:35:01 -0800 (PST) Sender: Paolo Bonzini From: Paolo Bonzini Date: Tue, 27 Nov 2012 09:34:53 +0100 Message-Id: <1354005293-17741-1-git-send-email-pbonzini@redhat.com> Subject: [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: qemu-devel@nongnu.org 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. Signed-off-by: Paolo Bonzini --- Makefile.target | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Makefile.target b/Makefile.target index 8b658c0..3981931 100644 --- a/Makefile.target +++ b/Makefile.target @@ -143,6 +143,8 @@ GENERATED_HEADERS += hmp-commands.h qmp-commands-old.h endif # CONFIG_SOFTMMU +%/translate.o: CFLAGS := $(patsubst -O2,-O1,$(CFLAGS)) + nested-vars += obj-y # This resolves all nested paths, so it must come last -- 1.8.0