Created attachment 3661 [details] CONFIGURATION LOG STATUS: FAILED BUILD: 2.3 M3: rc1-6e20b31d5d17133e0fca086e12a0ad06ab5c4cc8 ENVIRONMENT: Neon on Debian 4.3.5-1~bpo8+1 STEPS TO REPRODUCE: 1. Launch a QEMU of target enviroment.(Reference to case "ADT - Launch qemu by eclipse") 2. Select File -> New -> Project. ---Double click C/C++. ---Click C or C++ Project to create the project. ---Expand Yocto ADT Project. ---Select Hello World ANSI C++ Autotools Project. ---Put a name in the Project name. Do not use hyphens as part of the name. ---Click Next. ---Add information in the Author and Copyright notice fields. ---Click Finish. ---If the "open perspective" prompt appears, click "Yes" so that you open the C/C++ perspective. 3. In the Project Explorer window, right click the project -> Reconfigure project. 4. In the Project Explorer window, right click the project -> Build project. -------NOTE----- Used the following files from the autobuilder. wget http://autobuilder.yoctoproject.org/pub/releases/yocto-2.3_M3.rc1/toolchain/x86_64/poky-glibc-x86_64-core-image-sato-i586-toolchain-2.2+snapshot.sh wget http://autobuilder.yoctoproject.org/pub/releases/yocto-2.3_M3.rc1/machines/qemu/qemux86/bzImage-qemux86.bin wget http://autobuilder.yoctoproject.org/pub/releases/yocto-2.3_M3.rc1/machines/qemu/qemux86/core-image-sato-qemux86-20170314211112.rootfs.tar.gz --------------------------------------------------- EXPECTED OUTCOME: Under the Project files, a new folder appears called Binaries. This indicates that the compilation have been successful and the project binary have been created. Build succeed and the console outputs "Hello world", you can also check the output on target. RESULT: configure:3287: error: in `/home/libby/workspace/yocto379': configure:3289: error: C compiler cannot create executables See `config.log' for more details REPRODUCIBILITY: I have done this over 5 times each time erasing all my environment and installing again.
Moving to M3
wget http://autobuilder.yoctoproject.org/pub/releases/yocto-2.3_M3.rc1/machines/qemu/qemux86/core-image-sato-qemux86-20170314211112.rootfs.tar.gz is incorrect!!! When using the Eclipse plugin to build, you MUST download the sato-sdk image. The other images lack the necessary files for both building and debugging. The image is used by the plugin not just to run and debug, but it is also used for the sysroot components like crtbegin.o. If I do the same as described in the bug but with the sato-sdk image. It works fine.
following the same steps mentioned just lowering the image core-image-sato-sdk-qemux86-date-rootfs-tar-bz2) It works fine. wget autobuilder.yoctoproject.org/pub/releases/<yocto-version>/machines/qemu/qemux86/qemu (ex: core-image-sato-sdk-qemux86-date-rootfs-tar-bz2)