Bug 2765

Summary: mkelfimage fails to build first time
Product: [Build System, Metadata & Runtime] OE-Core Reporter: Khem Raj <raj.khem>
Component: coreAssignee: Khem Raj <raj.khem>
Status: VERIFIED FIXED QA Contact:
Severity: normal    
Priority: Medium CC: corneliux.stoicescu, meta.mr.watcher, meta.watcher
Version: 1.3   
Target Milestone: 1.3 M3   
Hardware: All   
OS: x86_64   
Whiteboard:
OS type for building Yocto: --- Type of Regression: ---
Verified: Documentation change: ---

Description Khem Raj 2012-07-14 07:17:53 UTC
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 < objdir/linux-i386/convert.bin > 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
Comment 2 Khem Raj 2012-08-02 02:37:18 UTC
fixed with

OE-Core rev: 0d828f19f7ef2d852bbe6da4510efea76a39b982
Comment 3 Stoicescu Cornel 2012-08-31 12:54:45 UTC
Verified in commit bb0aab79e488a99cb1b43f72f0e8ddbe39d97519. Built core-image-sato-sdk, deleted tmp directory, rebuilt image, worked as intended.