Bug 2274 - [Hob2]ToochainSDK depends on image profile
Summary: [Hob2]ToochainSDK depends on image profile
Status: VERIFIED FIXED
Alias: None
Product: Hob
Classification: Build System, Metadata & Runtime
Component: hob (show other bugs)
Version: 1.2
Hardware: x86 Multiple
: High normal
Target Milestone: 1.2 M4
Assignee: Lianhao Lu
QA Contact:
URL:
Whiteboard: (1.2) Patch review
Depends on:
Blocks:
 
Reported: 2012-04-10 09:10 UTC by Hongna Xu
Modified: 2012-04-17 08:13 UTC (History)
7 users (show)

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


Attachments
Configure Fail Log (80.50 KB, application/octet-stream)
2012-04-10 09:10 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 09:10:16 UTC
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
Comment 1 Lianhao Lu 2012-04-13 06:38:29 UTC
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.
Comment 2 Lianhao Lu 2012-04-13 08:45:04 UTC
Patch submitted for review at
http://git.yoctoproject.org/cgit/cgit.cgi/poky-contrib/log/?h=llu/bug2274
Comment 4 Hongna Xu 2012-04-17 08:13:48 UTC
Fixed and verified with the lastest branch poky/msater commit c936fca6e163bc19bc08cbd0036b31ca6f6c3ed6. thank Lianhao and Shane for it.