[yocto] A question of sstate and compilers

Burton, Ross ross.burton at intel.com
Mon Aug 1 07:04:25 PDT 2016


On 30 July 2016 at 09:41, Gary Thomas <gary at mlbassoc.com> wrote:

> I'm trying to isolate a problem that showed up in my builds
> in the last month.  Little has changed in the sources, but
> the one big change was I moved from GCC/4.9 to GCC/5.x  On
> the surface, this seemed to be a non-consequence, but I have
> one very subtle corner case that is now broken.  In an effort
> to isolate the issue (I no longer think it was the compiler
> change), I went back to GCC/4.9.  This caused my build (tree)
> which has existed for many months (the same build tree started
> in Feb 2016) to basically rebuild everything.
>
> There's the rub - shouldn't the sstate-cache hold all of those
> old bits and just be able to re-stage?  I'm a bit confused about
> that.  Even worse, I switched back to GCC/5.x, didn't touch
> anything else in my sources or build tree, and now it's off
> again, [re]building the majority of my packages.
>

It's possible that there was some other change that caused a rebuild.
 bitbake-whatchanged, bitbake -S printdiff, etc will help you chase this if
you want to.

Ross
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.yoctoproject.org/pipermail/yocto/attachments/20160801/5375fbe9/attachment.html>


More information about the yocto mailing list