[yocto] libgcc_s not present in Yocto image

Richard Purdie richard.purdie at linuxfoundation.org
Fri Feb 5 08:52:48 PST 2016


On Fri, 2016-02-05 at 15:50 +0000, Burton, Ross wrote:
> 
> On 5 February 2016 at 15:24, Nathan Sowatskey <nathan at nathan.to>
> wrote:
> > I suspect that my test program, which was supplied to me as a .deb
> > package, was compiled on Ubuntu, and so links to libgcc_s.so.1. I
> > can’t see any obvious way to get libgcc_s.so.1 on Yocto. I already
> > have:
> > 
> libgcc contains /lib/libgcc_s.so.1, so it should be installed in your
> image already:
> 
> How are you determining that it isn't in your image, and that your
> application doesn't work?

Note that the build system will only install libraries that are
actually used. It nothing needs libgcc_s, it won't get installed.

There is a lot less than you'd think which actually links against it so
it is quite possible its not in your image since nothing needed it.

Cheers,

Richard



More information about the yocto mailing list