From: Denys Dmytriyenko <denis@denix.org>
To: openembedded-devel@lists.openembedded.org
Subject: Re: [RFC] Badness with -ibad, a replacement for zecke-no-host-includes.patch.
Date: Thu, 08 Jul 2010 13:21:12 -0400 [thread overview]
Message-ID: <20100708172112.GD12383@denix.org> (raw)
In-Reply-To: <4C356475.2060208@gmail.com>
On Thu, Jul 08, 2010 at 03:09:01PM +0930, Graham Gower wrote:
> This patch introduces a new command line parameter to gcc (at
> Zecke's suggestion), -ibad, which may be used to specify
> blacklisted include prefixes. E.g.
>
> grg@eye7:/tmp$ ~/oe2/tmp/cross/mipsel/bin/mipsel-angstrom-linux-gcc -c test.c -ibad /usr/include -I /usr/include
> CROSS COMPILE Badness: /usr/include in INCLUDEPATH: /usr/include
>
> This makes it much easier to add new blacklisted include paths,
> with a trivial edit to bitbake.conf. No additional paths have
> been added yet, but my motivation for this was to add
> /usr/X11R6/include and /usr/X11/include.
>
> Please note that the bitbake.conf change will break builds with
> versions of gcc that do not accept this -ibad parameter. I have
Does it mean any external toolchain will be broken or require changes to the
bitbake.conf?
--
Denys
> tested that the ibad patch applies to each of the gcc versions
> in this patch, but only done functional tests for gcc-4.3.3 and
> gcc-.4.1.
>
> The following gcc versions may need attention:
> 3.3.3
> 3.3.4
> svn
> csl-arm-2007q3
> csl-arm-2008q1
> csl-arm-2008q3
>
> 3.3.x will require a completely reworked ibad patch. The others
> should be compatible with one of the three ibad patches
> included below.
>
> -Graham
next prev parent reply other threads:[~2010-07-09 10:27 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-07-08 5:39 [RFC] Badness with -ibad, a replacement for zecke-no-host-includes.patch Graham Gower
2010-07-08 5:41 ` Graham Gower
2010-07-08 10:01 ` Koen Kooi
2010-07-08 10:56 ` Graham Gower
2010-07-08 12:12 ` Koen Kooi
2010-07-08 15:36 ` Holger Freyther
2010-07-09 9:41 ` Phil Blundell
2010-07-09 10:44 ` Richard Purdie
2010-07-10 7:04 ` Graham Gower
2010-07-08 17:21 ` Denys Dmytriyenko [this message]
2010-07-10 6:57 ` Graham Gower
2010-07-08 21:00 ` Khem Raj
2010-07-13 2:27 ` [PATCH] gcc: badness " Graham Gower
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20100708172112.GD12383@denix.org \
--to=denis@denix.org \
--cc=openembedded-devel@lists.openembedded.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.