All of lore.kernel.org
 help / color / mirror / Atom feed
From: Ulf Samuelsson <yocto@emagii.com>
To: Khem Raj <raj.khem@gmail.com>
Cc: Yocto Mailing List <yocto@yoctoproject.org>
Subject: Re: image-mklibs.bbclass fails
Date: Wed, 30 May 2018 00:07:55 +0200	[thread overview]
Message-ID: <472F667C-A752-4ECA-AC12-58B15BEA23DE@emagii.com> (raw)
In-Reply-To: <CAMKF1speJzyZaTP0rqL_gJcOf-BSCmXieR+ySy9Nu-uN-d4nGQ@mail.gmail.com>

I am currently upgrading a morty based rootfs to rocko, and today I found that the morty based poky layer had a patch which they sent upstream over one year ago.
Author Peter Liu
This is similar to what You suggested, and the fix works also in rocko.

We will decide tomorrow how to proceed.
Best Regards,
Ulf

> 29 maj 2018 kl. 21:43 skrev Khem Raj <raj.khem@gmail.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.



      reply	other threads:[~2018-06-12 18:02 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
2018-05-29 22:07     ` Ulf Samuelsson [this message]

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=472F667C-A752-4ECA-AC12-58B15BEA23DE@emagii.com \
    --to=yocto@emagii.com \
    --cc=raj.khem@gmail.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.