| Summary: | Errors appear in eclipse when debugging and using a relocated SDK | ||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| Product: | [Yocto Project Subprojects] ADT | Reporter: | Alexandru Georgescu <alexandru.c.georgescu> | ||||||||
| Component: | adt | Assignee: | Jessica <jessica.zhang> | ||||||||
| Status: | RESOLVED WORKSFORME | QA Contact: | |||||||||
| Severity: | major | ||||||||||
| Priority: | Medium+ | CC: | ioanax.grigoropol, jessica.zhang, laurentiu.palcu, poky.adt.watcher, poky.watcher | ||||||||
| Version: | 1.4 | ||||||||||
| Target Milestone: | 1.4 M2 | ||||||||||
| Hardware: | x86 | ||||||||||
| OS: | Multiple | ||||||||||
| Whiteboard: | |||||||||||
| OS type for building Yocto: | --- | Type of Regression: | --- | ||||||||
| Verified: | Documentation change: | --- | |||||||||
| Attachments: |
|
||||||||||
|
Description
Alexandru Georgescu
2012-12-07 13:06:49 UTC
It appears that the problem appears because Eclipse does not set the host_alias environment variable at all. For example, if the SDK is for i586, then host alias should be set to i586-poky-linux. I compiled the project just fine using the following steps (in command line): source ../sdk/environment-setup-i586-poky-linux export host_alias=i586-poky-linux ./autogen.sh make Jessica? Who do you think should handle this? You or Ioana? Laurentiu, Why we have to set the host_alias? is it something changed at certain stage? If it's required why we can't add the export in the environment setup script? But I'll look into eclipse side if it's missing. Created attachment 973 [details]
adt_installer.log
Hi Laurentiu, Were you able to install toolchain using the adt-installer provided below in the bug? I'm running issues with pseudo binary under host sysroot, please check the installer log. I've tested against the nightly build of http://downloads.yoctoproject.org/autobuilder-images/nightly/20121207-1/adt_installer-QA/ Since as I've stated I couldn't successfully install the toolchain and sysroot using the adt-installer build with original post. Everything works, my toolchain is installed under /home/jzhang/test-toolchain and sysroot is under the default of /home/jzhang/test-yocto/arm. Created attachment 976 [details]
eclipse debug view
Laurentiu, I've update the project templates README file, so basically if you do ./autogen.sh $CONFIGURE_FLAGS, then make, the project will build correctly from commandline. In this way, we don't need to add the HOST_ALIAS in environment setup file |