| Summary: | Wrong $PATH for devtool | ||
|---|---|---|---|
| Product: | [Build System, Metadata & Runtime] OE-Core | Reporter: | Yi Zhao <yi.zhao> |
| Component: | devtools / tool chain | Assignee: | Paul Eggleton <bluelightning> |
| Status: | VERIFIED FIXED | QA Contact: | Yi Zhao <yi.zhao> |
| Severity: | normal | ||
| Priority: | Medium+ | CC: | alexandru.c.georgescu, ke.zou, meta.mr.watcher, meta.watcher, richard.purdie, yi.zhao |
| Version: | 2.1 | ||
| Target Milestone: | 2.1 M3 | ||
| Hardware: | x86 | ||
| OS: | Multiple | ||
| Whiteboard: | |||
| OS type for building Yocto: | --- | Type of Regression: | --- |
| Verified: | Documentation change: | No (bug/feature does not impact docs) | |
I suspect we need a clean shell when switching between extensible SDK variants. We should however show a warning when a user tries to do this. Fixed merged to master: http://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/?id=695cc45804771676af4c0b519b2f0b657533ebdc Verified with 2.1 M3 RC1 git rev: master/8debfea81e69d038bd2d56314b272cb74f5582ed |
git rev: master/3d2c0f5902cacf9d8544bf263b51ef0dd1a7218c Steps: 1. Install ppc7400 sdk_ext in poky_sdk_ppc7400 directory and set the environment. Check the path for devtool and ${CC}: $ which devtool /buildarea/poky_sdk_ppc7400/sysroots/x86_64-pokysdk-linux//usr/bin/devtool $ which ${CC} /buildarea/poky_sdk_ppc7400/tmp/sysroots/x86_64-linux/usr/bin/powerpc-poky-linux/powerpc-poky-linux-gcc 2. In same session, install i586 sdk_ext in poky_sdk_i586 directory and set the environment. Check the path for devtool and ${CC} again: $ which devtool /buildarea/poky_sdk_ppc7400/sysroots/x86_64-pokysdk-linux//usr/bin/devtool $ which ${CC} /buildarea/poky_sdk_i586/tmp/sysroots/x86_64-linux/usr/bin/i586-poky-linux/i586-poky-linux-gcc The path for devtool still point to poky_sdk_ppc7400, not poky_sdk_i586.