<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugzilla.yoctoproject.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.6"
          urlbase="https://bugzilla.yoctoproject.org/"
          
          maintainer="it-coreprojects-helpdesk@linuxfoundation.org"
>

    <bug>
          <bug_id>239</bug_id>
          
          <creation_ts>2010-08-27 04:20:27 +0000</creation_ts>
          <short_desc>Toolchain bootstrapping process overwrites files in the sysroot</short_desc>
          <delta_ts>2011-01-30 23:22:41 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>7</classification_id>
          <classification>Build System, Metadata &amp; Runtime</classification>
          <product>Meta-yocto</product>
          <component>meta-yocto</component>
          <version>1.0</version>
          <rep_platform>x86</rep_platform>
          <op_sys>Multiple</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>Medium</priority>
          <bug_severity>enhancement</bug_severity>
          <target_milestone>1.0 M3</target_milestone>
          
          <blocked>507</blocked>
          <everconfirmed>1</everconfirmed>
          <reporter name="Richard Purdie">richard.purdie</reporter>
          <assigned_to name="Dexuan Cui">dexuan.cui</assigned_to>
          <cc>jessica.zhang</cc>
    
    <cc>ke.yu</cc>
    
    <cc>kevin.tian</cc>
    
    <cc>poky.bs.watcher</cc>
    
    <cc>poky.watcher</cc>
    
    <cc>richard.purdie</cc>
    
    <cc>sgw</cc>
          
          
          <cf_os>---</cf_os>
          <cf_regression_type>---</cf_regression_type>
          
          <cf_docchange>---</cf_docchange>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>9443</commentid>
    <comment_count>0</comment_count>
    <who name="Richard Purdie">richard.purdie</who>
    <bug_when>2010-08-27 04:20:27 +0000</bug_when>
    <thetext>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.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>9865</commentid>
    <comment_count>1</comment_count>
    <who name="Richard Purdie">richard.purdie</who>
    <bug_when>2010-09-16 07:40:37 +0000</bug_when>
    <thetext>Also note that the emenlow machine makes this work by forcing those &quot;script&quot; 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.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>9866</commentid>
    <comment_count>2</comment_count>
    <who name="Richard Purdie">richard.purdie</who>
    <bug_when>2010-09-16 07:41:18 +0000</bug_when>
    <thetext>Sorry, comment applied to the wrong bug :(</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>11603</commentid>
    <comment_count>3</comment_count>
    <who name="Dexuan Cui">dexuan.cui</who>
    <bug_when>2011-01-30 23:22:41 +0000</bug_when>
    <thetext>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</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>