Received: from mail.reciva.com ([109.169.29.93] helo=crown.reciva.com) by linuxtogo.org with esmtp (Exim 4.69) (envelope-from ) id 1OXAAN-0003QV-80 for openembedded-devel@lists.openembedded.org; Fri, 09 Jul 2010 11:46:43 +0200 Received: from [62.7.80.98] (helo=lurch.internal.reciva.com) by crown.reciva.com with esmtpsa (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.69) (envelope-from ) id 1OXA5f-0000Hj-9H for openembedded-devel@lists.openembedded.org; Fri, 09 Jul 2010 10:41:51 +0100 Received: from mill.internal.reciva.com ([192.168.106.87] ident=pb) by lurch.internal.reciva.com with esmtp (Exim 4.63) (envelope-from ) id 1OXA5f-0005Ek-0V for openembedded-devel@lists.openembedded.org; Fri, 09 Jul 2010 10:41:51 +0100 From: Phil Blundell To: openembedded-devel@lists.openembedded.org In-Reply-To: <4C35F08F.1040705@freyther.de> References: <4C356475.2060208@gmail.com> <4C35F08F.1040705@freyther.de> Date: Fri, 09 Jul 2010 10:41:50 +0100 Message-ID: <1278668510.2345.1857.camel@mill.internal.reciva.com> Mime-Version: 1.0 X-Mailer: Evolution 2.30.1.2 X-Broken-Reverse-DNS: no host name found for IP address 62.7.80.98 X-SA-Exim-Connect-IP: 109.169.29.93 X-SA-Exim-Mail-From: philb@gnu.org X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on discovery X-Spam-Level: X-Spam-Status: No, score=-2.1 required=5.0 tests=AWL,BAYES_00,SPF_SOFTFAIL autolearn=no version=3.2.5 X-SA-Exim-Version: 4.2.1 (built Wed, 25 Jun 2008 17:20:07 +0000) X-SA-Exim-Scanned: Yes (on linuxtogo.org) Subject: Re: [RFC] Badness with -ibad, a replacement for zecke-no-host-includes.patch. X-BeenThere: openembedded-devel@lists.openembedded.org X-Mailman-Version: 2.1.11 Precedence: list Reply-To: openembedded-devel@lists.openembedded.org List-Id: Using the OpenEmbedded metadata to build Distributions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 09 Jul 2010 09:46:43 -0000 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit On Thu, 2010-07-08 at 23:36 +0800, Holger Freyther wrote: > E.g. a recipe not honoring our CPPFLAGS might silently pass this check > (while before it was hardcoded into the compiler). My proposal would be > to extend the sanity check and grep the compile log for gcc and -ibad > and fail if gcc exists but -ibad does not occur? That sounds a bit fragile too. How about just adding the -ibad flags to ${CC} rather than putting them in CPPFLAGS? Only the most determined package is likely to be able to build without using our value for CC. Failing that, I guess the original approach of patching the compiler is actually the better one, inelegant though it might seem. p.