[oe] several recipes give a link error: libc.so, needed by libgcc_s.so, not found

Roman I Khimov roman at khimov.ru
Tue Sep 21 18:53:27 UTC 2010


В сообщении от Вторник 21 сентября 2010 21:47:26 автор Johan Hovold написал:
> On Mon, Aug 23, 2010 at 10:58:07PM +0200, Frans Meulenbroeks wrote:
> > libc.so contains:
> > frans at linux-suse:~/oe/tmp_angstrom/sysroots> cat
> > ./armv7a-angstrom-linux-gnueabi/usr/lib/libc.so
> > /* GNU ld script
> >    Use the shared library, but some functions are only in
> >    the static library, so try that secondarily.  */
> > OUTPUT_FORMAT(elf32-littlearm)
> > GROUP ( /lib/libc.so.6 /usr/lib/libc_nonshared.a  AS_NEEDED (
> > /lib/ld-linux.so.3 ) )
> >
> > No idea if these should be paths in sysroots (I'm not a dynamic linking
> > expert).
> 
> Any progress on this issue?
> 
> Meanwhile, adding "-L${STAGING_DIR_TARGET}${base_libdir}" (and perhaps
> also a rpath-link directive) to TARGET_LDFLAGS in conf/bitbake.conf
> could serve as a work-around.

I have
http://sourceware.org/bugzilla/show_bug.cgi?id=10340
applied locally to binutils, and it works.

-- 
 http://roman.khimov.ru
mailto: roman at khimov.ru
gpg --keyserver hkp://subkeys.pgp.net --recv-keys 0xE5E055C3
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part.
URL: <http://lists.openembedded.org/pipermail/openembedded-devel/attachments/20100921/720275fe/attachment-0002.sig>


More information about the Openembedded-devel mailing list