Bug 2765 - mkelfimage fails to build first time
Summary: mkelfimage fails to build first time
Status: VERIFIED FIXED
Alias: None
Product: OE-Core
Classification: Build System, Metadata & Runtime
Component: core (show other bugs)
Version: 1.3
Hardware: All x86_64
: Medium normal
Target Milestone: 1.3 M3
Assignee: Khem Raj
QA Contact:
URL:
Whiteboard:
Depends on:
Blocks:
 
Reported: 2012-07-14 07:17 UTC by Khem Raj
Modified: 2012-08-31 12:54 UTC (History)
3 users (show)

See Also:
OS type for building Yocto: ---
Type of Regression: ---
Verified:
Documentation change: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.