[OE-core] [PATCH] glibc: Fix ldd bug: not a dynamic executable error
richard.purdie at linuxfoundation.org
richard.purdie at linuxfoundation.org
Wed Aug 22 13:00:47 UTC 2018
On Wed, 2018-08-22 at 14:48 +0200, Ricardo Ribalda Delgado wrote:
> On Wed, Aug 22, 2018 at 2:45 PM <richard.purdie at linuxfoundation.org>
> wrote:
> >
> > On Tue, 2018-08-21 at 16:58 +0200, Ricardo Ribalda Delgado wrote:
> > > RTLDLIST table does not include /lib/ld-linux-x86-64.so.2,
> > > resulting
> > > on the following error:
> > >
> > > root at qt5122:~# ldd ./qtec_webcam
> > > not a dynamic executable
> > >
> > > Signed-off-by: Ricardo Ribalda Delgado <ricardo.ribalda at gmail.com
> > > >
> > > ---
> > > .../glibc/glibc/0031-ldd-rewrite.patch | 22
> > > +++++++++++++++++++
> > > meta/recipes-core/glibc/glibc_2.28.bb | 1 +
> > > 2 files changed, 23 insertions(+)
> > > create mode 100644 meta/recipes-core/glibc/glibc/0031-ldd-
> > > rewrite.patch
> >
> > I'm a bit confused as with MACHINE=qemux86-64, building core-image-
> > sato
> > with ldd added to IMAGE_INSTALL, ldd works correctly even though it
> > has
> > /lib/ld-linux-x86-64.so.2 (which is listed in RTLDLIST).
> >
> > We have an automated QA test checking this too:
> >
> > http://git.yoctoproject.org/cgit.cgi/poky/tree/meta/lib/oeqa/runtim
> > e/cases/ldd.py
> >
> > Which version of the project are you using? How would we reproduce
> > the
> > issue?
>
> I am using yocto-sumo
I'm not aware of any fixes since sumo in this area...
> Maybe your tests are run agains an image that has the package lsb
> installed. Which creates symbolic links to the standard locations
There is no /lib64 in the image and I'm not using or installing lsb...
There is significant rewriting done as part of:
http://git.yoctoproject.org/cgit.cgi/poky/tree/meta/recipes-core/glibc/glibc-ld.inc
What value of RTLDLIST is your build showing?
Cheers,
Richard
More information about the Openembedded-core
mailing list