Bug 239 - Toolchain bootstrapping process overwrites files in the sysroot
Summary: Toolchain bootstrapping process overwrites files in the sysroot
Status: RESOLVED FIXED
Alias: None
Product: Meta-yocto
Classification: Build System, Metadata & Runtime
Component: meta-yocto (show other bugs)
Version: 1.0
Hardware: x86 Multiple
: Medium enhancement
Target Milestone: 1.0 M3
Assignee: Dexuan Cui
QA Contact:
URL:
Whiteboard:
Depends on:
Blocks: 507
  Show dependency tree
 
Reported: 2010-08-27 04:20 UTC by Richard Purdie
Modified: 2011-01-30 23:22 UTC (History)
7 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Richard Purdie 2010-08-27 04:20:27 UTC
In the process of bootstrapping the toolchain, the gcc-cross* recipes and glibc recipes install basic files, then overwrite them with revised versions later.

Ideally they should store the intermediate files in some secondary sysroot rather than polluting the main sysroot and confusing the sstate code.
Comment 1 Richard Purdie 2010-09-16 07:40:37 UTC
Also note that the emenlow machine makes this work by forcing those "script" binaries to be generated by directly making them first. This may be an acceptable soltuion if included in the module bbclass file for all modules.
Comment 2 Richard Purdie 2010-09-16 07:41:18 UTC
Sorry, comment applied to the wrong bug :(
Comment 3 Dexuan Cui 2011-01-30 23:22:41 UTC
Since the enhancement to toolchain bootstrap process has been in poky master now, let me mark the bug as RESOLVED.

The related commits are:
7109712a25762a530e7385bc796c3b9ff0836303
46395d4856d11fc135872f8904ce92aa26eec984
34729e4f828f2c9efc415838098d4e5dedd456ee
23cb814b2761cbe42f1f76e66abb61d8d4584c54
c0e1272d1526484f1921f3dd14ca042798d530d9