[yocto] Quick start example error

Simone Nascivera simone at witted.it
Wed Feb 27 16:03:47 PST 2019


Hi,

I'm new to this mailing list and I have never used Yocto before.

I'm trying to build my first image by following the quick start guide
<https://www.yoctoproject.org/docs/current/brief-yoctoprojectqs/brief-yoctoprojectqs.html>
but
I keep getting this error while running "bitbake core-image-sato":

ERROR: gcc-cross-initial-i586-8.2.0-r0 do_populate_sysroot: Fatal errors
occurred in subprocesses:
Command '['strip', '--remove-section=.comment', '--remove-section=.note',
'/media/simone/651173DD28B986DD/poky/build/tmp/work/x86_64-linux/gcc-cross-initial-i586/8.2.0-r0/sysroot-destdir/media/simone/651173DD28B986DD/poky/build/tmp/work/x86_64-linux/gcc-cross-initial-i586/8.2.0-r0/recipe-sysroot-native/usr/bin/i586-poky-linux.gcc-cross-initial-i586/i586-poky-linux-gcov-dump']'
returned non-zero exit status 1: Traceback (most recent call last):
  File "/media/simone/651173DD28B986DD/poky/meta/lib/oe/utils.py", line
272, in run
    ret = self._target(*self._args, **self._kwargs)
  File "/media/simone/651173DD28B986DD/poky/meta/lib/oe/package.py", line
44, in runstrip
    output = subprocess.check_output(stripcmd, stderr=subprocess.STDOUT)
  File "/usr/lib/python3.5/subprocess.py", line 626, in check_output
    **kwargs).stdout
  File "/usr/lib/python3.5/subprocess.py", line 708, in run
    output=stdout, stderr=stderr)
subprocess.CalledProcessError: Command '['strip',
'--remove-section=.comment', '--remove-section=.note',
'/media/simone/651173DD28B986DD/poky/build/tmp/work/x86_64-linux/gcc-cross-initial-i586/8.2.0-r0/sysroot-destdir/media/simone/651173DD28B986DD/poky/build/tmp/work/x86_64-linux/gcc-cross-initial-i586/8.2.0-r0/recipe-sysroot-native/usr/bin/i586-poky-linux.gcc-cross-initial-i586/i586-poky-linux-gcov-dump']'
returned non-zero exit status 1

>From what I can understand the system cannot strip some executables but
even if I add : "INHIBIT_PACKAGE_DEBUG_SPLIT = "1" " at the end of the
local.conf file nothing change.

Could you please help me to find out how to solve this error?

Thank you,

Simone
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.yoctoproject.org/pipermail/yocto/attachments/20190228/f8607fc3/attachment.html>


More information about the yocto mailing list