* Can we trust to sstate-cache?
@ 2012-10-18 13:36 Marcin Juszkiewicz
2012-10-18 17:08 ` McClintock Matthew-B29882
2012-10-18 17:43 ` Richard Purdie
0 siblings, 2 replies; 3+ messages in thread
From: Marcin Juszkiewicz @ 2012-10-18 13:36 UTC (permalink / raw)
To: openembedded-core
Today I bumped gcc-linaro from 4.7-r5 to 4.7-r6. First version was plain
2012.10 release while second one was tarball from bzr repository with
huge set of ICE related fixes for AArch64 architecture.
To do fast clean build I removed TMPDIR and started new build of
core-image-minimal target.
But then I noticed ugly thing:
0: eglibc-2.16-r18+svnr20393 do_populate_sysroot_setscene (pid 30106)
1: eglibc-2.16-r18+svnr20393 do_package_setscene (pid 30107)
3: eglibc-initial-2.16-r18+svnr20393 do_package_setscene (pid 28921)
Why eglibc was taken from sstate-cache instead of being rebuilt (like it
was with 'db')? This makes me sad as it shows that I cannot trust
sstate-cache so each new build will take hours instead of minutes.
Or maybe I am wrong?
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Can we trust to sstate-cache?
2012-10-18 13:36 Can we trust to sstate-cache? Marcin Juszkiewicz
@ 2012-10-18 17:08 ` McClintock Matthew-B29882
2012-10-18 17:43 ` Richard Purdie
1 sibling, 0 replies; 3+ messages in thread
From: McClintock Matthew-B29882 @ 2012-10-18 17:08 UTC (permalink / raw)
To: Marcin Juszkiewicz; +Cc: openembedded-core@lists.openembedded.org
On Thu, Oct 18, 2012 at 8:36 AM, Marcin Juszkiewicz
<marcin.juszkiewicz@linaro.org> wrote:
> Today I bumped gcc-linaro from 4.7-r5 to 4.7-r6. First version was plain
> 2012.10 release while second one was tarball from bzr repository with
> huge set of ICE related fixes for AArch64 architecture.
>
> To do fast clean build I removed TMPDIR and started new build of
> core-image-minimal target.
>
> But then I noticed ugly thing:
>
> 0: eglibc-2.16-r18+svnr20393 do_populate_sysroot_setscene (pid 30106)
> 1: eglibc-2.16-r18+svnr20393 do_package_setscene (pid 30107)
> 3: eglibc-initial-2.16-r18+svnr20393 do_package_setscene (pid 28921)
>
> Why eglibc was taken from sstate-cache instead of being rebuilt (like it
> was with 'db')? This makes me sad as it shows that I cannot trust
> sstate-cache so each new build will take hours instead of minutes.
>
> Or maybe I am wrong?
Did the signatures for eglibc change after making your gcc-linaro
change? You can run bitbake -S before and after and see which ones
have new stamps. Then you can start using bitbake-diffsigs to back
track (or presumably if nothing changed add a proper dependency)
-M
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Can we trust to sstate-cache?
2012-10-18 13:36 Can we trust to sstate-cache? Marcin Juszkiewicz
2012-10-18 17:08 ` McClintock Matthew-B29882
@ 2012-10-18 17:43 ` Richard Purdie
1 sibling, 0 replies; 3+ messages in thread
From: Richard Purdie @ 2012-10-18 17:43 UTC (permalink / raw)
To: Marcin Juszkiewicz; +Cc: openembedded-core
On Thu, 2012-10-18 at 15:36 +0200, Marcin Juszkiewicz wrote:
> Today I bumped gcc-linaro from 4.7-r5 to 4.7-r6. First version was plain
> 2012.10 release while second one was tarball from bzr repository with
> huge set of ICE related fixes for AArch64 architecture.
>
> To do fast clean build I removed TMPDIR and started new build of
> core-image-minimal target.
>
> But then I noticed ugly thing:
>
> 0: eglibc-2.16-r18+svnr20393 do_populate_sysroot_setscene (pid 30106)
> 1: eglibc-2.16-r18+svnr20393 do_package_setscene (pid 30107)
> 3: eglibc-initial-2.16-r18+svnr20393 do_package_setscene (pid 28921)
>
> Why eglibc was taken from sstate-cache instead of being rebuilt (like it
> was with 'db')? This makes me sad as it shows that I cannot trust
> sstate-cache so each new build will take hours instead of minutes.
>
> Or maybe I am wrong?
In order to try and stop people going entirely insane and to illustrate
the kind of controls that are possible, we have some default sstate
policy in:
http://git.yoctoproject.org/cgit.cgi/poky/tree/meta/lib/oe/sstatesig.py
which basically stops the sstate sigs at the native/cross to target
boundary.
So in your specific case, it wouldn't rebuild eglibc even though you
changed gcc and this was expected. You could customise sstatesig.py to
change that (remove the isCross() bits).
Cheers,
Richard
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2012-10-18 17:56 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-10-18 13:36 Can we trust to sstate-cache? Marcin Juszkiewicz
2012-10-18 17:08 ` McClintock Matthew-B29882
2012-10-18 17:43 ` Richard Purdie
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox