| Summary: | [Hob2]ToochainSDK depends on image profile | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [Build System, Metadata & Runtime] Hob | Reporter: | Hongna Xu <hongnax.xu> | ||||
| Component: | hob | Assignee: | Lianhao Lu <lianhao.lu> | ||||
| Status: | VERIFIED FIXED | QA Contact: | |||||
| Severity: | normal | ||||||
| Priority: | High | CC: | dongxiao.xu, jessica.zhang, jiajun.xu, poky.bs.watcher, poky.watcher, sgw, shane.wang | ||||
| Version: | 1.2 | ||||||
| Target Milestone: | 1.2 M4 | ||||||
| Hardware: | x86 | ||||||
| OS: | Multiple | ||||||
| Whiteboard: | (1.2) Patch review | ||||||
| OS type for building Yocto: | --- | Type of Regression: | --- | ||||
| Verified: | Documentation change: | --- | |||||
| Attachments: |
|
||||||
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 Fixed and verified with the lastest branch poky/msater commit c936fca6e163bc19bc08cbd0036b31ca6f6c3ed6. thank Lianhao and Shane for it. |
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