Bug 239

Summary: Toolchain bootstrapping process overwrites files in the sysroot
Product: [Build System, Metadata & Runtime] Meta-yocto Reporter: Richard Purdie <richard.purdie>
Component: meta-yoctoAssignee: Dexuan Cui <dexuan.cui>
Status: RESOLVED FIXED QA Contact:
Severity: enhancement    
Priority: Medium CC: jessica.zhang, ke.yu, kevin.tian, poky.bs.watcher, poky.watcher, richard.purdie, sgw
Version: 1.0   
Target Milestone: 1.0 M3   
Hardware: x86   
OS: Multiple   
Whiteboard:
OS type for building Yocto: --- Type of Regression: ---
Verified: Documentation change: ---
Bug Depends on:    
Bug Blocks: 507    

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