Bug 6490

Summary: [ADT-INSTALLER] build yocto-1.7_M1.rc1: ADT ppc cross compilation error
Product: [Yocto Project Subprojects] ADT Reporter: Ke Zou <ke.zou>
Component: adtAssignee: Chong Lu <chong.lu>
Status: VERIFIED FIXED QA Contact: Andra Necula <andrax.g.necula>
Severity: normal    
Priority: Medium+ CC: alexandru.c.georgescu, chong.lu, poky.adt.watcher, poky.watcher, richard.purdie, yi.zhao
Version: 1.7   
Target Milestone: 1.7 M1   
Hardware: x86   
OS: Multiple   
Whiteboard:
OS type for building Yocto: --- Type of Regression: ---
Verified: Documentation change: No (bug/feature does not impact docs)
Attachments:
Description Flags
cross compile error log none

Description Ke Zou 2014-06-30 08:52:10 UTC
Created attachment 2023 [details]
cross compile error log

ADT installer path:
http://autobuilder.yoctoproject.org/pub/releases/yocto-1.7_M1.rc1/adt-installer-QA/

test case:
https://bugzilla.yoctoproject.org/tr_show_case.cgi?case_id=522

After install adt-installer, using cross-compiler to compile simple C or CPP file encounters error. 

Note:
1. this only happens to ppc ARCH
2. if download toolchain directly from built image directory, which is 
http://autobuilder.yoctoproject.org/pub/releases/yocto-1.7_M1.rc1/toolchain/
and install toolchain -- compile C/CPP file step by step ,there's no such error.

C compilation log has been enclosed.
Comment 2 Ke Zou 2014-07-11 03:09:52 UTC
verified in 1.7M1 rc2 build
Comment 3 Ke Zou 2014-07-18 08:10:01 UTC
This issue happens again in 20140715 build,
ADT installer location:

http://autobuilder.yoctoproject.org/pub/nightly/20140715-1/adt-installer-QA/

poky git: 1dcdd877c7946be4c0b1203deb14e2f842f9d0c2

The problem is exactly the same. Compilation error only happens on PPC arch,
and if use toolchain directly from http://autobuilder.yoctoproject.org/pub/nightly/20140715-1/toolchain/, there's 
no such issue.
Comment 4 Richard Purdie 2014-07-24 15:22:49 UTC
Should really be resolved with: http://git.yoctoproject.org/cgit.cgi/poky/commit/?id=94b2718d6d31c096a9689d271cb634f2dd265588
Comment 5 Andra Necula 2014-08-29 08:17:09 UTC
Verified on
poky 2d1660112e54653f7bb763939d0416472c49fe01
Ubuntu 14.04, x86_64
Cheers! Andra