[yocto] Basic build fails

Gary Thomas gary at mlbassoc.com
Sat Sep 13 04:48:50 PDT 2014


On 2014-09-12 22:15, Arun Kumar wrote:
> Thanks for the reply ross, but the build noise is too much form me to put it in here. I will post the last few lines of which i can make some sense, but the rest is somewhat incomprehensible.
>
> /-------------------------------------------------------------------------------
> | make[1]: *** [s-attrtab] Killed

This is very suspicious - looks like your build may have been killed by running
out of memory...

> | make[1]: *** Waiting for unfinished jobs....
> | make[1]: Leaving directory `/home/arun/Documents/Dev/yocto/tmp/work/x86_64-poky-linux/gcc-cross-i586/4.9.1-r0/gcc-4.9.1/build.x86_64-linux.i586-poky-linux/gcc'
> | make: *** [all-gcc] Error 2
> | ERROR: oe_runmake failed
> | WARNING: exit code 1 from a shell command.
> | ERROR: Function failed: do_compile (log file is located at /home/arun/Documents/Dev/yocto/build/../tmp/work/x86_64-poky-linux/gcc-cross-i586/4.9.1-r0/temp/log.do_compile.29857)
> ERROR: Task 595 (/home/arun/Documents/Dev/yocto/poky/meta/recipes-devtools/gcc/gcc-cross_4.9.bb, do_compile) failed with exit code '1'
> NOTE: Tasks Summary: Attempted 2729 tasks of which 2728 didn't need to be rerun and 1 failed.
> No currently running tasks (307 of 5634)
>
> Summary: 1 task failed:
>    /home/arun/Documents/Dev/yocto/poky/meta/recipes-devtools/gcc/gcc-cross_4.9.bb, do_compile
> Summary: There was 1 ERROR message shown, returning a non-zero exit code.
> /-------------------------------------------------------------------------------------------------------
>
> here is the pastebin link to the whole error http://pastebin.com/Y1JsA8dt
> hope this helps

How much memory (RAM+SWAP) does your host build machine have?

> On Saturday 13 September 2014 01:37 AM, Burton, Ross wrote:
>> On 12 September 2014 20:42, Arun Kumar <arunkr.linux at gmail.com> wrote:
>>> Hi all,
>>>
>>>      I am new to the yocto project and was following the steps given in the quick start guide. I made a slight change as given in the superuser section.
>>>
>>> I used the "fetchall" option to get all the packages first and then started the build, now when i use this command
>>>
>>> "bitbake -k core-image-sato" i get the following error
>>>
>>> /------------------------------------------------------------------------------------
>>> ERROR: Task 595 (/home/arun/Documents/Dev/yocto/poky/meta/recipes-devtools/gcc/gcc-cross_4.9.bb, do_compile) failed with exit code '1'
>>> NOTE: Tasks Summary: Attempted 2729 tasks of which 1784 didn't need to be rerun and 1 failed.
>>> No currently running tasks (2729 of 5634)
>>>
>>> Summary: 1 task failed:
>>>    /home/arun/Documents/Dev/yocto/poky/meta/recipes-devtools/gcc/gcc-cross_4.9.bb, do_compile
>>> Summary: There was 1 WARNING message shown.
>>> Summary: There was 1 ERROR message shown, returning a non-zero exit code.
>>> /------------------------------------------------------------------------------------
>>>
>>> any idea or hint where i might be going wrong?
>> You've trimmed the output at just the place where it was telling you
>> what went wrong.  Re-run bitbake gcc-cross, and paste the output of
>> that.
>>
>> Ross
>>
>

-- 
------------------------------------------------------------
Gary Thomas                 |  Consulting for the
MLB Associates              |    Embedded world
------------------------------------------------------------



More information about the yocto mailing list