Created attachment 454 [details] Configure Fail Log With latest master, if we build toolchain with sato image in Hob, toolchain may work, but if build with minimal image, the toolchainSDK do cross compile failed, it reports: C compiler cannot create executable, cause by no C compiler works. branch: master Commit id: f89405e115d73426c8a6450b6e795b5885d6bdf3
This is because when hob set the variable TOOLCHAIN_TARGET_TASK which is used by populate_sdk.bbclass, several important packages are missing when the image profile is minimal. These packages(e.g. libgcc, libgcc-dev, libstdc++, libstdc++-dev, etc) are grouped in the package of task-core-standalone-sdk-target.
Patch submitted for review at http://git.yoctoproject.org/cgit/cgit.cgi/poky-contrib/log/?h=llu/bug2274
http://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/?id=fb918fb4db0867f97123de95f69d188f7d601168
Fixed and verified with the lastest branch poky/msater commit c936fca6e163bc19bc08cbd0036b31ca6f6c3ed6. thank Lianhao and Shane for it.