Hi Rafael, Looking at this a bit more closely I think the problem here is that within the SDK this RRECOMMENDS doesn't actually come into effect. In the SDK, gcc is in the host part, but you want the libssp library for the target which is in the target part of the SDK; RRECOMMENDS can't cross between those. On the target device it's simpler - both packages are in the same "namespace".
The only way I can see to fix this is to add libssp and libssp-dev to packagegroup-core-standalone-sdk-target so that it's explicitly brought into the SDK. I'll send a patch to do that. Cheers, Paul On Thu, 15 Dec 2016 14:26:52 Rafael Gago Castano wrote: > Sorry for the late reply, I had higher priority tasks meanwhile. > > > Grepping libssp on the sdks ".target.manifest" file doesn't yield any > result. libssp.so.0.0.0 is present on the toolchain. > > When running bitbake gcc -e is see that this is the last match of > RRECOMMENDS_gcc: > > RRECOMMENDS_gcc=" libssp libssp-dev " > > ________________________________ > From: Paul Eggleton <paul.eggle...@linux.intel.com> > Sent: Monday, December 12, 2016 5:14 AM > To: Rafael Gago Castano > Cc: yocto@yoctoproject.org > Subject: Re: [yocto] libssp_nonshared.a not present in native SDK. > > On Fri, 09 Dec 2016 09:24:41 Rafael Gago Castano wrote: > > Hello again. > > > > > > I tried to fix this in my layers by adding a > > "recipes-devtools/gcc_5.3.bbappend" file to containing the additions that > > you did to poky on... > > > > > > http://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/?id=1c0fc7fcf7772ef8 > > 77 4f623126050972f526fe83 > > > > > > ...as I think that adding these dependencies to gcc is the right thing. > > > > > > Running "bitbake gcc -e" shows the next: > > > > > > # $RRECOMMENDS_gcc > > # rename from RRECOMMENDS_${PN} data.py:169 [expandKeys] > > # " libssp libssp-dev " > > RRECOMMENDS_gcc=" libssp libssp-dev " > > > > So the recipe is at least processed. > > > > The problem is that "libssp_nonshared.a" is still not present on the SDK. > > It may happen that this is still happening in poky. > > Hmm, I just tried building an SDK (bitbake -c populate_sdk > core-image-minimal) with master and it definitely includes > libssp_nonshared.a. Does the target manifest for your SDK indicate > libssp-dev is included? > > Cheers, > Paul > > -- > > Paul Eggleton > Intel Open Source Technology Centre -- Paul Eggleton Intel Open Source Technology Centre -- _______________________________________________ yocto mailing list yocto@yoctoproject.org https://lists.yoctoproject.org/listinfo/yocto