All of lore.kernel.org
 help / color / mirror / Atom feed
* Another staging question
@ 2010-11-09 13:21 Gary Thomas
  2010-11-09 15:32 ` Mark Hatle
  0 siblings, 1 reply; 3+ messages in thread
From: Gary Thomas @ 2010-11-09 13:21 UTC (permalink / raw)
  To: Poky

I've found another peculiarity with the new staging scheme(*).
I have two target platforms, which for all intents and purposes
are identical - both are Motorola MPC83xx (e300 core).  The only
reason for two target machines is the kernel, plus platform specifics.

I built totally from scratch (no SSTATE_MIRRORS) for target machine A.
I then tested the staging by building in a new tree, again for machine A.
This worked great - the build used mostly the staged packages.  About
the only things that were rebuilt were the target specific packages.

When I tried it for machine B, again in a totally empty directory, using
the 'sstate-cache' directory of the first build as SSTATE_MIRRORS, all of
the toolchain was rebuilt (GCC  and friends), but there was no need, the
staged version should have been used.

Is this expected?
What could I do to fix it?

Thanks

(*) I'm very happy that the new staging is starting to work better.
As is, it's a great leap forward;  I'm just hopeful that the remaining
kinks can be worked out.  I'll be glad to help in this any way I can.

-- 
------------------------------------------------------------
Gary Thomas                 |  Consulting for the
MLB Associates              |    Embedded world
------------------------------------------------------------


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Another staging question
  2010-11-09 13:21 Another staging question Gary Thomas
@ 2010-11-09 15:32 ` Mark Hatle
  2010-11-23  5:33   ` Tian, Kevin
  0 siblings, 1 reply; 3+ messages in thread
From: Mark Hatle @ 2010-11-09 15:32 UTC (permalink / raw)
  To: poky

On 11/9/10 7:21 AM, Gary Thomas wrote:
> I've found another peculiarity with the new staging scheme(*).
> I have two target platforms, which for all intents and purposes
> are identical - both are Motorola MPC83xx (e300 core).  The only
> reason for two target machines is the kernel, plus platform specifics.
>
> I built totally from scratch (no SSTATE_MIRRORS) for target machine A.
> I then tested the staging by building in a new tree, again for machine A.
> This worked great - the build used mostly the staged packages.  About
> the only things that were rebuilt were the target specific packages.
>
> When I tried it for machine B, again in a totally empty directory, using
> the 'sstate-cache' directory of the first build as SSTATE_MIRRORS, all of
> the toolchain was rebuilt (GCC  and friends), but there was no need, the
> staged version should have been used.
>
> Is this expected?
> What could I do to fix it?

This tells me that the checksumming code found something that it believed 
changed the system behavior.  Likely a machine type or CFLAG or similar.

RP -- is there a way to determine "what changed [and why]" without re-running 
the build?  We found this invaluable when debugging the WR build system's 
checksumming, configuration files and packaging recipes.

--Mark

> Thanks
>
> (*) I'm very happy that the new staging is starting to work better.
> As is, it's a great leap forward;  I'm just hopeful that the remaining
> kinks can be worked out.  I'll be glad to help in this any way I can.
>



^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Another staging question
  2010-11-09 15:32 ` Mark Hatle
@ 2010-11-23  5:33   ` Tian, Kevin
  0 siblings, 0 replies; 3+ messages in thread
From: Tian, Kevin @ 2010-11-23  5:33 UTC (permalink / raw)
  To: Mark Hatle, poky@yoctoproject.org

>From: Mark Hatle
>Sent: Tuesday, November 09, 2010 11:33 PM
>
>On 11/9/10 7:21 AM, Gary Thomas wrote:
>> I've found another peculiarity with the new staging scheme(*).
>> I have two target platforms, which for all intents and purposes
>> are identical - both are Motorola MPC83xx (e300 core).  The only
>> reason for two target machines is the kernel, plus platform specifics.
>>
>> I built totally from scratch (no SSTATE_MIRRORS) for target machine A.
>> I then tested the staging by building in a new tree, again for machine A.
>> This worked great - the build used mostly the staged packages.  About
>> the only things that were rebuilt were the target specific packages.
>>
>> When I tried it for machine B, again in a totally empty directory, using
>> the 'sstate-cache' directory of the first build as SSTATE_MIRRORS, all of
>> the toolchain was rebuilt (GCC  and friends), but there was no need, the
>> staged version should have been used.
>>
>> Is this expected?
>> What could I do to fix it?
>
>This tells me that the checksumming code found something that it believed
>changed the system behavior.  Likely a machine type or CFLAG or similar.
>
>RP -- is there a way to determine "what changed [and why]" without re-running
>the build?  We found this invaluable when debugging the WR build system's
>checksumming, configuration files and packaging recipes.
>

Just saw this from bottom of my mailbox. "bitbake name -S" will record checksum
for the name and also all the tasks it depends on under tmp/stamps. And then you
can use "bitbake-diffsig" to check the detail. 

Thanks
Kevin


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2010-11-23  5:33 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-11-09 13:21 Another staging question Gary Thomas
2010-11-09 15:32 ` Mark Hatle
2010-11-23  5:33   ` Tian, Kevin

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.