Bug 1076 - can't build meta-toolchain with failure on qemu
Summary: can't build meta-toolchain with failure on qemu
Status: RESOLVED FIXED
Alias: None
Product: OE-Core
Classification: Build System, Metadata & Runtime
Component: devtools / tool chain (show other bugs)
Version: 1.0
Hardware: x86 Multiple
: High major
Target Milestone: 1.1 M1
Assignee: Nitin Kamble
QA Contact:
URL:
Whiteboard:
Depends on:
Blocks:
 
Reported: 2011-05-17 11:10 UTC by Jessica
Modified: 2011-05-23 09:20 UTC (History)
3 users (show)

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


Attachments
build failure log (65.24 KB, application/octet-stream)
2011-05-18 15:16 UTC, Jessica
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jessica 2011-05-17 11:10:18 UTC
Try to build meta-toolchain against latest master and got the following error:

ERROR: Logfile of failure stored in: /home/jzhang/poky-master/build/tmp/work/i686-nativesdk-pokysdk-linux/qemu-nativesdk-0.14.0-r1/temp/log.do_compile.3014
Log data follows:
| NOTE: make -j 8
|   LINK  mips-linux-user/qemu-mips
| syscall.o:(.debug_loc+0xb9d2b): undefined reference to `�x3'
| collect2: ld returned 1 exit status
| make[1]: *** [qemu-mips] Error 1
| make: *** [subdir-mips-linux-user] Error 2
| ERROR: oe_runmake failed
| ERROR: Function 'do_compile' failed (see /home/jzhang/poky-master/build/tmp/work/i686-nativesdk-pokysdk-linux/qemu-nativesdk-0.14.0-r1/temp/log.do_compile.3014 for further information)
| ERROR: Function 'do_compile' failed (see /home/jzhang/poky-master/build/tmp/work/i686-nativesdk-pokysdk-linux/qemu-nativesdk-0.14.0-r1/temp/log.do_compile.3014 for further information)
NOTE: package qemu-nativesdk-0.14.0-r1: task do_compile: Failed
Comment 1 Nitin Kamble 2011-05-17 15:24:58 UTC
I tried reproducing the issue:
MACHINE=qemumips bitbake qemu-nativesdk

and it built fine without any issues. I used gcc 4.5.1 for this.
Jessica can you try one more time from scratch?
Comment 2 Jessica 2011-05-17 16:15:31 UTC
Nitin,

My setting is MACHINE=qemux86 bitbake meta-toolchain
Comment 3 Nitin Kamble 2011-05-17 16:56:27 UTC
I just tried this:
 MACHINE=qemux86 bitbake qemu-nativesdk
and didn't get any error.
Now trying this

 MACHINE=qemux86 bitbake meta-toolchain
Comment 4 Jessica 2011-05-18 15:16:04 UTC
Created attachment 162 [details]
build failure log
Comment 5 Jessica 2011-05-18 15:16:50 UTC
just tried with a freshly cloned master tree
Comment 6 Nitin Kamble 2011-05-19 14:00:21 UTC
I am upgrading eglibc to 2.13, and that is taking care of this issue. need to do more testing for eglibc to get it into master branch.
Comment 7 Nitin Kamble 2011-05-23 09:20:25 UTC
With upgrade to eglibc 2.13 this bug is fixed now.

commit 301e248311c215357e51464fb0b7e1155311fc7a
Author: Nitin A Kamble <nitin.a.kamble@intel.com>
Date:   Thu May 19 15:50:41 2011 -0700

    tcmode-default: switch to eglibc 2.13 from 2.12
    
    Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com>