Hi Hans,

On Thursday 07 November 2013 10:56:17 Hans Beckérus wrote:
> On Wed, Nov 6, 2013 at 12:32 PM, Hans Beckérus <hans.becke...@gmail.com>
> wrote:
> > Hi, I am getting the below error when populating the sdk for our Yocto
> > 1.5 based image.
> > 
> > WARNING: QA Issue: gcc-cross-canadian-arm: found library in wrong
> > location:
> > /opt/poky/1.5/sysroots/x86_64-pokysdk-linux/usr/libexec/arm-poky-linux-gn
> > ueabi/gcc/arm-poky-linux-gnueabi/4.8.1/liblto_plugin.so.0.0.0
> > gcc-cross-canadian-arm: found library in wrong location:
> > /opt/poky/1.5/sysroots/x86_64-pokysdk-linux/usr/libexec/arm-poky-linux-gnu
> > eabi/gcc/arm-poky-linux-gnueabi/4.8.1/liblto_plugin.so.0
> > gcc-cross-canadian-arm: found library in wrong location:
> > /opt/poky/1.5/sysroots/x86_64-pokysdk-linux/usr/libexec/arm-poky-linux-gnu
> > eabi/gcc/arm-poky-linux-gnueabi/4.8.1/liblto_plugin.so
> > 
> > Never got this on Yocto 1.4. I am not even planning of installing
> > anything in /opt so this really came out of nowhere. There is nothing
> > installed in /opt at the moment.
> > Did it actually expect to find something in /opt? And in that case,
> > how can it? It can not know where the toolchain will be installed!?
> > Somebody that can shed some light on this one? Can we safely ignore it?
> 
> Ok, I started to look some more into this but unfortunately my
> knowledge about how bitbake is picking up recipes etc. is way too
> limited to explain why this is happening. I searched for
> gcc-cross-canadian in our layers and it can be found here:
> 
> meta/recipes-devtools/gcc/gcc-cross-canadian.inc
> meta/recipes-devtools/gcc/gcc-cross-canadian_4.7.bb
> meta/recipes-devtools/gcc/gcc-cross-canadian_4.8.bb
> meta-openembedded/toolchain-layer/recipes-devtools/gcc/gcc-cross-canadian_4.
> 6.bb
> 
> So, my question now is: why does it pickup gcc 4.6 from
> meta-openembedded when there are better alternatives in oe-core?

What makes you think it is picking up the one in toolchain-layer? I don't see 
references to 4.6 in the QA error. If you haven't added meta-
openembedded/toolchain-layer to your bblayers.conf specifically it won't be 
being seen by bitbake at all.

It's more than likely that this QA error is bogus. The "found library in wrong 
location" QA check was broken originally; I "fixed" it but I think it has 
always been a little over-zealous since then.

Cheers,
Paul

-- 

Paul Eggleton
Intel Open Source Technology Centre
_______________________________________________
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto

Reply via email to