From: Gary Thomas <gary@mlbassoc.com>
To: Richard Purdie <richard.purdie@linuxfoundation.org>
Cc: "paul.eggleton@linux.intel.com" <paul.eggleton@linux.intel.com>,
Chris Larson <clarson@kergoth.com>,
"poky@pokylinux.org" <poky@pokylinux.org>
Subject: Re: perl binary hard-code path hurts sstate
Date: Fri, 17 Dec 2010 08:08:36 -0700 [thread overview]
Message-ID: <4D0B7CF4.4070407@mlbassoc.com> (raw)
In-Reply-To: <1292594329.25087.40.camel@rex>
On 12/17/2010 06:58 AM, Richard Purdie wrote:
> On Fri, 2010-12-17 at 06:49 -0700, Chris Larson wrote:
>> These sorts of issues aren't new, or fun, sadly. We've run into many
>> like this using packaged staging. We had to use the variable to
>> disable packaged-staging for exactly this reason, so something similar
>> for sstate would indeed be useful for this.
>
> In cases like this I'd suggest adding the encoded path into the checksum
> via vardeps. This means the sstate package will be reused when the path
> matches but not otherwise.
>
> We can then work on removing the dependencies which I agree is the goal
> but we should get them identified first.
Sadly, this problem is not confined to perl. I just tried this experiment:
* Build Poky on MachineA to some directory $NEW
* Copy Poky ($POKYBASE) and $NEW/sstate-cache to MachineB, in this case
the path for $POKYBASE is the same on both machines but $NEW differs.
MachineA:$NEW does not exist on MachineB
* Try to build on Machine B, pointing SSTATE_MIRRORS to $NEW/sstate-cache
This build is in $NEW2
The process fails for me building the kernel:
| arm-poky-linux-gnueabi-ld: libgcc.a: No such file: No such file or directory
Looking carefully, I can see that the compiler is looking for libgcc.a in
the directory path $NEW that is only on MachineA.
So this is the same problem Paul had, just for the cross compiler
instead of perl.
n.b. Is there a bug # I should use to be tracking this?
--
------------------------------------------------------------
Gary Thomas | Consulting for the
MLB Associates | Embedded world
------------------------------------------------------------
next prev parent reply other threads:[~2010-12-17 15:08 UTC|newest]
Thread overview: 24+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-12-17 1:38 Shared state prebuild copy bug report (bug #602) Scott Garman
2010-12-17 2:06 ` Tian, Kevin
2010-12-17 2:15 ` Scott Garman
2010-12-17 2:19 ` Tian, Kevin
2010-12-17 2:30 ` Scott Garman
2010-12-17 2:35 ` Tian, Kevin
2010-12-17 4:47 ` Tian, Kevin
2010-12-17 5:29 ` perl binary hard-code path hurts sstate Tian, Kevin
2010-12-17 13:49 ` Chris Larson
2010-12-17 13:58 ` Richard Purdie
2010-12-17 15:08 ` Gary Thomas [this message]
2010-12-21 1:09 ` Tian, Kevin
2010-12-21 11:51 ` Tian, Kevin
2010-12-21 12:30 ` Gary Thomas
2010-12-21 15:14 ` Gary Thomas
2010-12-22 1:25 ` Tian, Kevin
2010-12-22 12:07 ` Tian, Kevin
2010-12-22 12:35 ` Gary Thomas
2010-12-22 13:38 ` Tian, Kevin
2010-12-22 13:42 ` Tian, Kevin
2010-12-23 4:52 ` Tian, Kevin
2010-12-21 11:43 ` Tian, Kevin
2010-12-17 5:43 ` Shared state prebuild copy bug report (bug #602) Scott Garman
2010-12-20 22:58 ` Richard Purdie
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=4D0B7CF4.4070407@mlbassoc.com \
--to=gary@mlbassoc.com \
--cc=clarson@kergoth.com \
--cc=paul.eggleton@linux.intel.com \
--cc=poky@pokylinux.org \
--cc=richard.purdie@linuxfoundation.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