From: Richard Purdie <richard.purdie@linuxfoundation.org>
To: McClintock Matthew-B29882 <B29882@freescale.com>
Cc: openembedded-core <openembedded-core@lists.openembedded.org>
Subject: Re: [PATCH] gcc-cross: Explicitly depend on linux-libc-headers
Date: Wed, 28 Nov 2012 06:46:29 +0000 [thread overview]
Message-ID: <1354085189.21863.122.camel@ted> (raw)
In-Reply-To: <70CC66F5C30A414DADDA6973E4CA391A7AE107@039-SN1MPN1-001.039d.mgd.msft.net>
On Tue, 2012-11-27 at 20:08 +0000, McClintock Matthew-B29882 wrote:
> On Thu, Nov 22, 2012 at 3:36 PM, Richard Purdie
> <richard.purdie@linuxfoundation.org> wrote:
> > gcc-cross cannot build without linux-libc-headers but doesn't explicitly depend on
> > it relying on the implied dependency through libc. With cases where pieces
> > can be installed through sstate, we now need this explicit dependency to
> > ensure builds with partial sstate work.
> >
> > Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
> > ---
> > diff --git a/meta/recipes-devtools/gcc/gcc-cross.inc b/meta/recipes-devtools/gcc/gcc-cross.inc
> > index 6d160d6..cde08ee 100644
> > --- a/meta/recipes-devtools/gcc/gcc-cross.inc
> > +++ b/meta/recipes-devtools/gcc/gcc-cross.inc
> > @@ -1,6 +1,6 @@
> > inherit cross
> >
> > -DEPENDS = "virtual/${TARGET_PREFIX}binutils virtual/${TARGET_PREFIX}libc-for-gcc ${NATIVEDEPS}"
> > +DEPENDS = "virtual/${TARGET_PREFIX}binutils virtual/${TARGET_PREFIX}libc-for-gcc linux-libc-headers ${NATIVEDEPS}"
>
> How would you suggest not forcing a rebuild of all components if the
> linux headers signature changes? During our normal development we
> change Linux headers for things that would in no way effect gcc or
> even libc. It's painful to watch a complete rebuild occur because of
> this.
>
> Just have a different recipe for headers for some components?
This is partly why our headers recipe is separate from the kernel and
other parts of the system but that doesn't sound like its enough for
you.
The signatures code can support things like adding the recipe name to
SIGGEN_EXCLUDERECIPES_ABISAFE to mark it as not being part of inter-task
dependencies so perhaps do that?
Cheers,
Richard
prev parent reply other threads:[~2012-11-28 7:01 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-11-22 21:36 [PATCH] gcc-cross: Explicitly depend on linux-libc-headers Richard Purdie
2012-11-22 21:50 ` Phil Blundell
2012-11-22 22:02 ` Richard Purdie
2012-11-23 10:16 ` Phil Blundell
2012-11-23 12:01 ` Richard Purdie
2012-11-23 12:16 ` Phil Blundell
2012-11-23 15:44 ` Richard Purdie
2012-11-23 16:08 ` Otavio Salvador
2012-11-27 20:08 ` McClintock Matthew-B29882
2012-11-28 6:46 ` Richard Purdie [this message]
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=1354085189.21863.122.camel@ted \
--to=richard.purdie@linuxfoundation.org \
--cc=B29882@freescale.com \
--cc=openembedded-core@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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox