From: Richard Purdie <rpurdie@linux.intel.com>
To: Tom Rini <tom_rini@mentor.com>
Cc: poky@yoctoproject.org
Subject: Re: a new problem with sstate
Date: Mon, 29 Nov 2010 05:03:17 -0800 [thread overview]
Message-ID: <1291035797.14277.1008.camel@rex> (raw)
In-Reply-To: <4CF2E3E7.60809@mentor.com>
On Sun, 2010-11-28 at 16:21 -0700, Tom Rini wrote:
> > Putting it a different way, my point was that there is a "setscene" per
> > task but the setscene dependencies represent those of the "parent" task,
> > but are searched backwards compared to the normal logic. So setscene
> > tasks don't have dependencies in their own right, its linked to the
> > parent task the represent.
>
> Right. So, to restate the problem, in pstaging we have the problem of
> the gcc/glibc dance not forcing themselves to be run forward in the
> correct order, but we can fix that with some manual deps. But in the
> sstate of the world the problem is that we might find the wrong thing to
> provide what we want and pick the wrong gcc or glibc sstate (and get a
> -initial rather than finial)?
Without the change Kevin was talking about, it would always install the
gcc and glibc sstate but usually backwards, i.e. it would install glibc,
then overwrite it with glibc-initial, similarly, gcc-cross would be
overwritten with gcc-cross-intermediate which in turn would be
overwritten by gcc-cross-initial.
These things cause us pain in other ways, e.g. trying to bitbake
gcc-cross-intermediate and smashing the toolchain to pieces. or bumping
PR on glibc and glibc-initial and watching things break.
I maintain a belief that any file in the sysroots should come from one
recipe only and that we should fix the toolchain bootstrap to use
multiple sysroots as intermediate steps. Hopefully once that is done,
this problem goes away along with all the other related problems.
Cheers,
Richard
next prev parent reply other threads:[~2010-11-29 13:03 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-11-17 13:21 a new problem with sstate Tian, Kevin
2010-11-17 14:28 ` Joshua Lock
2010-11-17 14:31 ` Tom Rini
2010-11-18 5:15 ` Tian, Kevin
2010-11-18 6:40 ` Tian, Kevin
2010-11-28 12:20 ` Richard Purdie
2010-11-28 22:12 ` Tom Rini
2010-11-28 23:06 ` Richard Purdie
2010-11-28 23:21 ` Tom Rini
2010-11-29 13:03 ` Richard Purdie [this message]
2010-11-18 5:14 ` Tian, Kevin
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=1291035797.14277.1008.camel@rex \
--to=rpurdie@linux.intel.com \
--cc=poky@yoctoproject.org \
--cc=tom_rini@mentor.com \
/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.