Bug 4813

Summary: cannot compile autotools project using i586 toolchain
Product: [Yocto Project Subprojects] Eclipse Plugin Reporter: Alexandru Georgescu <alexandru.c.georgescu>
Component: eclipse-pluginAssignee: Jessica <jessica.zhang>
Status: VERIFIED WORKSFORME QA Contact:
Severity: normal    
Priority: Low CC: ioanax.grigoropol, yp.ep.watcher, yp.watcher
Version: 1.5   
Target Milestone: 1.5 M3   
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
reconfigure error none

Description Alexandru Georgescu 2013-07-04 11:46:21 UTC
Created attachment 1303 [details]
reconfigure error

poky: eaa5df34af42b6a37f6506847d0f3ef6ba0d298a
cross toolchain: http://autobuilder.yoctoproject.org/pub/nightly/20130703-3/toolchain/x86_64/poky-eglibc-x86_64-i586-toolchain-gmae-1.4+snapshot-20130703.sh
eclipse-poky: e35dfd79e3970f88a8273125890a54f75f108b97
eclipse-plugin:http://autobuilder.yoctoproject.org/pub/nightly/20130703-3/eclipse-plugin/org.yocto.sdk-development-201307032048-archive.zip
HOST TESTED ON: Fedora 18 64bit and Ubuntu 13.04 64bit


STEPS TO REPRODUCE:
1. Perform a headless build and install the eclipse-plugin
2. Download the cross toolchain i586 and install it.
3. BUild a core-image-sato-sdk image and meta-ide-support using bitbake.
4. Create 2 profiles, one using the cross toolchain, other using the user-build-toolchain built in step 3.
5. Create an C autotools project and reconfigure/compile it using the cross toolchain
6. Create an C autotools project and reconfigure/compile it using the user built toolchain.

EXPECTED RESULTS
5-6. project can be reconfigured/compiled using cross toolchain and user-built toolchian

ACTUAL RESULTS
5-6. The followin errors appear when reconfigure; see attachment for more details:


Description	Resource	Path	Location	Type
in `/home/tester/work/ws-703-3/C_AUTOTOOLS_TC_01':	C_AUTOTOOLS_TC_01		-1	Configure Problem
make: *** No rule to make target `all'.			 	C/C++ Problem
C compiler cannot create executables	C_AUTOTOOLS_TC_01		-1	Configure Problem
Comment 1 Jessica 2013-07-08 21:10:53 UTC
So neighter download nor user built toolchain works?
Comment 2 Jessica 2013-07-10 17:18:58 UTC
I built the meta-toolchain and core-image-sato-sdk against latest master, set the toolchain and sysroot using the built out and the project is compiled fine for me.  So what's exactly is your toolchain and sysroot setup in your IDE?
Comment 3 Jessica 2013-08-09 22:00:05 UTC
I can't reproduce it, maybe a bad build
Comment 4 Alexandru Georgescu 2013-10-04 08:15:21 UTC
(In reply to comment #3)
> I can't reproduce it, maybe a bad build

Couldn't reproduce anymore. Will reopen if reappears.