From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from 93-97-173-237.zone5.bethere.co.uk ([93.97.173.237] helo=tim.rpsys.net) by linuxtogo.org with esmtp (Exim 4.72) (envelope-from ) id 1QPk6q-0002Df-LQ for openembedded-core@lists.openembedded.org; Fri, 27 May 2011 01:36:57 +0200 Received: from localhost (localhost [127.0.0.1]) by tim.rpsys.net (8.13.6/8.13.8) with ESMTP id p4QNXov2028694; Fri, 27 May 2011 00:33:50 +0100 Received: from tim.rpsys.net ([127.0.0.1]) by localhost (tim.rpsys.net [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 28568-03; Fri, 27 May 2011 00:33:47 +0100 (BST) Received: from [192.168.3.10] ([192.168.3.10]) (authenticated bits=0) by tim.rpsys.net (8.13.6/8.13.8) with ESMTP id p4QNXkr5028688 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Fri, 27 May 2011 00:33:46 +0100 From: Richard Purdie To: Patches and discussions about the oe-core layer In-Reply-To: <03152273cac84eef23738c5f26c45b082194284f.1306442263.git.nitin.a.kamble@intel.com> References: <03152273cac84eef23738c5f26c45b082194284f.1306442263.git.nitin.a.kamble@intel.com> Date: Fri, 27 May 2011 00:33:42 +0100 Message-ID: <1306452822.27470.220.camel@rex> Mime-Version: 1.0 X-Mailer: Evolution 2.32.2 X-Virus-Scanned: amavisd-new at rpsys.net Subject: Re: [bugfix 1/1] mesa-xlib: workaround gcc 4.6.0 ICE X-BeenThere: openembedded-core@lists.openembedded.org X-Mailman-Version: 2.1.11 Precedence: list Reply-To: Patches and discussions about the oe-core layer List-Id: Patches and discussions about the oe-core layer List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 26 May 2011 23:36:57 -0000 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit On Thu, 2011-05-26 at 13:41 -0700, nitin.a.kamble@intel.com wrote: > --- > meta/recipes-graphics/mesa/mesa-xlib_7.10.2.bb | 3 +++ > 1 files changed, 3 insertions(+), 0 deletions(-) > > diff --git a/meta/recipes-graphics/mesa/mesa-xlib_7.10.2.bb b/meta/recipes-graphics/mesa/mesa-xlib_7.10.2.bb > index b77df2c..051bd72 100644 > --- a/meta/recipes-graphics/mesa/mesa-xlib_7.10.2.bb > +++ b/meta/recipes-graphics/mesa/mesa-xlib_7.10.2.bb > @@ -17,3 +17,6 @@ PE = "1" > PR = "r0" > > EXTRA_OECONF += "--with-driver=xlib" > + > +# nullify -O2 > +CFLAGS_append += " -O" I talked about this on IRC but simply put, no way. The problem is: a) Arm specific b) determined now to be armv7 specific c) gcc version specific and the fix should reflect this. So ideally when we select gcc 4.6 in tcmode-default.inc we should add something there which adds a work around for mesa-xlib. I've suggested something like: TARGET_CC_ARCH_arm_pn-mesa-xlib := "${@'${TARGET_CC_ARCH}'.replace('armv7','armv5')}" which whilst ugly, should do what we need it to. Cheers, Richard