From: Khem Raj <raj.khem@gmail.com>
To: Ulf Samuelsson <yocto@emagii.com>
Cc: Yocto Mailing List <yocto@yoctoproject.org>
Subject: Re: image-mklibs.bbclass fails
Date: Tue, 29 May 2018 12:43:26 -0700 [thread overview]
Message-ID: <CAMKF1speJzyZaTP0rqL_gJcOf-BSCmXieR+ySy9Nu-uN-d4nGQ@mail.gmail.com> (raw)
In-Reply-To: <5D4F2D61-6DE5-480F-AE1F-E1DD377337D3@emagii.com>
On Mon, May 28, 2018 at 2:10 AM, Ulf Samuelsson <yocto@emagii.com> wrote:
> Checked out poky
> git checkout -b rocko origin/rocko
> export MACHINE=beaglebone
> . ./oe-init-build-env
>
> Added to local.conf:
> MKLIBS_OPTIMIZED_IMAGES_append = " core-image-minimal"
>
> Result:
>
> <XXX>/core-image-minimal/1.0-r0/temp/run.mklibs_optimize_image.13363: line
> 133: i586-poky-linux-readelf: command not found
> ...
> Exception: Cannot find
> lib/home/ulf/projects/poky-bb/poky/build/tmp/work/qemux86-poky-linux/core-image-minimal/1.0-r0/recipe-sysroot/lib/ld-linux.so.2
> WARNING:
> /home/ulf/projects/poky-bb/poky/build/tmp/work/qemux86-poky-linux/core-image-minimal/1.0-r0/temp/run.mklibs_optimize_image.13363:1
> exit 1 from 'mklibs -v --ldlib ${dynamic_loader} --libdir lib --sysroot
> /home/ulf/projects/poky-bb/poky/build/tmp/work/qemux86-poky-linux/core-image-minimal/1.0-r0/recipe-sysroot
> --gcc-options
> "--sysroot=/home/ulf/projects/poky-bb/poky/build/tmp/work/qemux86-poky-linux/core-image-minimal/1.0-r0/recipe-sysroot"
> --root
> /home/ulf/projects/poky-bb/poky/build/tmp/work/qemux86-poky-linux/core-image-minimal/1.0-r0/rootfs
> --target `echo i586-poky-linux- | sed 's/-$//' ` -d
> /home/ulf/projects/poky-bb/poky/build/tmp/work/qemux86-poky-linux/core-image-minimal/1.0-r0/mklibs/dest
> `cat
> /home/ulf/projects/poky-bb/poky/build/tmp/work/qemux86-poky-linux/core-image-minimal/1.0-r0/mklibs/executables.list`'
> ...
>
> Looks like image-mklibs.bbclass has not been tested since the move to a
> local sysroot happened.
It seems class should be adding a dependency on
virtual/${TARGET_PREFIX}binutils-cross
if that fixes the problem, please send the patch if not file a bug
since there might be more to it.
next prev parent reply other threads:[~2018-05-29 19:43 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <VI1PR0301MB2240D44AD76C24B2DBA960A3CE6E0@VI1PR0301MB2240.eurprd03.prod.outlook.com>
2018-05-28 9:10 ` image-mklibs.bbclass fails Ulf Samuelsson
2018-05-29 19:43 ` Khem Raj [this message]
2018-05-29 22:07 ` Ulf Samuelsson
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=CAMKF1speJzyZaTP0rqL_gJcOf-BSCmXieR+ySy9Nu-uN-d4nGQ@mail.gmail.com \
--to=raj.khem@gmail.com \
--cc=yocto@emagii.com \
--cc=yocto@yoctoproject.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.