Bug 6054

Summary: gummiboot: do_compile failed on qemux86-64
Product: [Build System, Metadata & Runtime] OE-Core Reporter: Robert Yang <liezhi.yang>
Component: coreAssignee: Robert Yang <liezhi.yang>
Status: RESOLVED FIXED QA Contact:
Severity: major    
Priority: Medium CC: meta.mr.watcher, meta.watcher, richard.purdie, sgw
Version: 1.6   
Target Milestone: 1.6 M5   
Hardware: x86   
OS: Multiple   
Whiteboard:
OS type for building Yocto: --- Type of Regression: ---
Verified: Documentation change: No (bug/feature does not impact docs)

Description Robert Yang 2014-03-27 07:18:08 UTC
|       -o src/efi/gummiboot.so -lefi -lgnuefi /home/build/lyang1/testre/bitbake_build/tmp/sysroots/qemux86-64/usr/lib64/x86_64-wrs-linux/4.8.2/libgcc.a; \
| nm -D -u src/efi/gummiboot.so | grep ' U ' && exit 1 || :
| "objcopy" -j .text -j .sdata -j .data -j .dynamic \
|   -j .dynsym -j .rel -j .rela -j .reloc -j .eh_frame \
|   --target=efi-app-x86_64 src/efi/gummiboot.so gummibootx64.efi
| objcopy: src/efi/gummiboot.so: Invalid bfd target
| make[1]: *** [gummibootx64.efi] Error 1
| make[1]: *** Waiting for unfinished jobs....
| make: *** [all] Error 2

This is because it uses the "objcopy" directly.