[OE-core] [PATCH 2/2] sstate: remove binutils-crosssdk from safe dependent list

Ming Liu ming.liu at windriver.com
Wed Jan 8 06:05:57 UTC 2014


On 01/07/2014 09:58 PM, Richard Purdie wrote:
> On Tue, 2014-01-07 at 16:13 +0800, Ming Liu wrote:
>> binutils-crosssdk is being depended by other packages like
>> gcc-crosssdk-initial, so it's not safe to be skipped when checking the
>> setscene dependencies in setscene_depvalid().
> Can you explain this change a bit more please?
>
> Personally, I think the code is right as it is, if the sstate object
> exists, it was already compiled and we don't ever need bintuils* so its
> a 'safe' dep and can be skipped?
Actually I am not very clear about why the binutils-crosssdk should be a 
build time dependency, because based on my test, it's seems to being 
required by gcc-crosssdk-initial at runtime, the steps:
bitbake nativesdk-eglibc-initial -c cleansstate
bitbake gcc-crosssdk-initial binutils-crosssdk -c clean
bitbake gcc-crosssdk-initial
bitbake nativesdk-eglibc-initial

the above will fail due to lacking binutils-crosssdk stuff in sysroot.

//Ming Liu
>
> Cheers,
>
> Richard
>
>
>




More information about the Openembedded-core mailing list