| Summary: | Changing SDK_OS hits warnings unless you wipe tmp | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| Product: | [Build System, Metadata & Runtime] OE-Core | Reporter: | Christopher Larson <kergoth> | ||||||
| Component: | core | Assignee: | Juro Bystricky <juro.bystricky> | ||||||
| Status: | RESOLVED FIXED | QA Contact: | |||||||
| Severity: | normal | ||||||||
| Priority: | Medium+ | CC: | meta.mr.watcher, meta.watcher, sgw | ||||||
| Version: | unspecified | ||||||||
| Target Milestone: | 2.2 M4 | ||||||||
| Hardware: | x86 | ||||||||
| OS: | Multiple | ||||||||
| Whiteboard: | |||||||||
| OS type for building Yocto: | --- | Type of Regression: | --- | ||||||
| Verified: | Documentation change: | No (bug/feature does not impact docs) | |||||||
| Attachments: |
|
||||||||
|
Description
Christopher Larson
2016-03-16 23:34:02 UTC
Sounds about right. Can you send a patch? To implement/test the changes, I initially used jethro version. meta-mingw layer needs several modifications for krogoth/master, which would complicate the design at an early stage. I created two patches that allow me to execute: $ bitbake meta-toolchain while changing SDKMACHINE in local.conf. SDKMACHINE ?= "i686-mingw32" SDKMACHINE ?= "x86_64-mingw32" SDKMACHINE ?= "i686" SDKMACHINE ?= "x86_64" Without the patches, I would get several errors: ERROR: The recipe binutils-crosssdk-i686 is trying to install files into a shared area.... ... The build has stopped as continuing in this scenario WILL break things, if not now, possibly in the future (we've seen builds fail several months later). ... ERROR: Function failed: sstate_task_postfunc ... Then I would be forced to delete the "tmp" folder. The patches allow co-existance builds of various SDKMACHINES. The next step is to actually test the generated SDKs (so far only a visual check) and move on to krogoth/master. Created attachment 3339 [details]
patch for jethro/poky
Patch for several poky files (jethro)
Created attachment 3340 [details]
patch for jethro/meta-mingw
meta-mingw patch needed to avoid name-clash.
Patchset sent to the mailing list: http://lists.openembedded.org/pipermail/openembedded-core/2016-September/126945.html |