Bug 2270 - Cross configure fail using sysroot forder of poky tree and meta-toolchain
Summary: Cross configure fail using sysroot forder of poky tree and meta-toolchain
Status: VERIFIED FIXED
Alias: None
Product: ADT
Classification: Yocto Project Subprojects
Component: adt (show other bugs)
Version: 1.2
Hardware: x86 Multiple
: Medium normal
Target Milestone: 1.2 M4
Assignee: Jessica
QA Contact:
URL:
Whiteboard: (1.2)
Depends on:
Blocks:
 
Reported: 2012-04-10 05:53 UTC by Hongna Xu
Modified: 2012-04-18 01:31 UTC (History)
4 users (show)

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


Attachments
Configure Fail/Pass Log (34.92 KB, application/gzip)
2012-04-10 05:53 UTC, Hongna Xu
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Hongna Xu 2012-04-10 05:53:29 UTC
Created attachment 452 [details]
Configure Fail/Pass Log

meta-toolchain and poky tree's sysroot folder can't identify which arch sysroot we want to use, this is my testing steps:
1.Launch eclipse and install Yocto plug-in, install meta-toolchain in /opt or build toochain with a poky project.
2.In eclipse, set Toochaine Root Location as /opt/poky/1.2/ or yocto build folder, set sysroot as /opt/poky/1.2/sysroot/ or Yocto build sysroot, mine is in /home/xuhongna/workspace/1.2M4/poky/build/tmp/sysroots, set any Target Architectre, here i set i568-poky-linux, in Window->Preferences->Yocot Project ADT.
3.New a C/C++ project based on Yocto ADT Project templates.
4.Let the project selected, click eclipse menu Project->Change Yocot Project Settings to confirm our setting is like Preferences's set.
5.Then Project->Reconfigure Project.
6.Configure fail.
7.If we choose /opt/poky/1.2/sysroots/i586-poky-linux or ${POKY_BUILD_TREE}/tmp/sysroots/qemuOOXX as sysroot location, it can build pass.
Comment 1 Hongna Xu 2012-04-10 06:00:45 UTC
Sorry for this, it is new feature which is not in our branch 1.2_M4 rc2.
Next test circle i will test it again.
Comment 2 Jessica 2012-04-11 17:00:31 UTC
Hongna, this should be fixed by this commit: 	77cd6aba6541914b398c60f4ea85423b70b5d1f0.  Please verify against the upcoming RC3 and if there's still issue, use the bug to track. thx
Comment 3 Hongna Xu 2012-04-18 01:31:30 UTC
It works with meta-toolchain's sysroot, so verify it against poky/1.2_M4 tagged rc3, git info fae1c7a5fdcea199338b5f91efaafd7c72aec5dd.