<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugzilla.yoctoproject.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.6"
          urlbase="https://bugzilla.yoctoproject.org/"
          
          maintainer="it-coreprojects-helpdesk@linuxfoundation.org"
>

    <bug>
          <bug_id>2765</bug_id>
          
          <creation_ts>2012-07-14 07:17:53 +0000</creation_ts>
          <short_desc>mkelfimage fails to build first time</short_desc>
          <delta_ts>2012-08-31 12:54:45 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>7</classification_id>
          <classification>Build System, Metadata &amp; Runtime</classification>
          <product>OE-Core</product>
          <component>core</component>
          <version>1.3</version>
          <rep_platform>All</rep_platform>
          <op_sys>x86_64</op_sys>
          <bug_status>VERIFIED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>Medium</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>1.3 M3</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Khem Raj">raj.khem</reporter>
          <assigned_to name="Khem Raj">raj.khem</assigned_to>
          <cc>corneliux.stoicescu</cc>
    
    <cc>meta.mr.watcher</cc>
    
    <cc>meta.watcher</cc>
          
          
          <cf_os>---</cf_os>
          <cf_regression_type>---</cf_regression_type>
          
          <cf_docchange>---</cf_docchange>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>23104</commentid>
    <comment_count>0</comment_count>
    <who name="Khem Raj">raj.khem</who>
    <bug_when>2012-07-14 07:17:53 +0000</bug_when>
    <thetext>I think this is case of parallel  compilation failure. I have -j8 and when I remove tmp and use sstate to build it then it fails

| mkdir -p objdir/linux-i386
| ld -static --warn-multiple-gp --warn-common -T linux-i386/convert.lds -o objdi r/linux-i386/convert objdir/linux-i386/head.o objdir/linux-i386/convert_params.o
| mkdir -p objdir/linux-i386
| objcopy -O binary objdir/linux-i386/convert objdir/linux-i386/convert.bin
| mkdir -p linux-i386
| objdir/bin/bin-to-hex &lt; objdir/linux-i386/convert.bin &gt; linux-i386/convert.bin .c
| /bin/sh: objdir/bin/bin-to-hex: No such file or directory
| make: *** [linux-i386/convert.bin.c] Error 127
| ERROR: oe_runmake failed


When I redo bitbake mkelfimage then it succeeds</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>23105</commentid>
    <comment_count>1</comment_count>
    <who name="Khem Raj">raj.khem</who>
    <bug_when>2012-07-14 21:20:19 +0000</bug_when>
    <thetext>here is a patch to fix it.

http://git.openembedded.org/openembedded-core-contrib/commit/?h=kraj/eglibc-2.16&amp;id=f40e151ff6fc57fad0f41d4b6cff16616a76ae80</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>23724</commentid>
    <comment_count>2</comment_count>
    <who name="Khem Raj">raj.khem</who>
    <bug_when>2012-08-02 02:37:18 +0000</bug_when>
    <thetext>fixed with

OE-Core rev: 0d828f19f7ef2d852bbe6da4510efea76a39b982</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>24702</commentid>
    <comment_count>3</comment_count>
    <who name="Stoicescu Cornel">corneliux.stoicescu</who>
    <bug_when>2012-08-31 12:54:45 +0000</bug_when>
    <thetext>Verified in commit bb0aab79e488a99cb1b43f72f0e8ddbe39d97519. Built core-image-sato-sdk, deleted tmp directory, rebuilt image, worked as intended.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>