<?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>1169</bug_id>
          
          <creation_ts>2011-06-15 18:46:02 +0000</creation_ts>
          <short_desc>eglibc doesn&apos;t depend on gcc version correctly</short_desc>
          <delta_ts>2011-12-20 18:04:28 +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>OE-Core</product>
          <component>core</component>
          <version>0.9</version>
          <rep_platform>x86</rep_platform>
          <op_sys>Multiple</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>WONTFIX</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard>post 1.1</status_whiteboard>
          <keywords></keywords>
          <priority>Medium</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>1.2</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Robert Yang">liezhi.yang</reporter>
          <assigned_to name="Robert Yang">liezhi.yang</assigned_to>
          <cc>jessica.zhang</cc>
    
    <cc>liang.li2</cc>
    
    <cc>liangliang.wang</cc>
    
    <cc>meta.mr.watcher</cc>
    
    <cc>meta.watcher</cc>
    
    <cc>sgw</cc>
    
    <cc>yi.zhao</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>14299</commentid>
    <comment_count>0</comment_count>
    <who name="Robert Yang">liezhi.yang</who>
    <bug_when>2011-06-15 18:46:02 +0000</bug_when>
    <thetext>Steps to reproduce:

1) bitbake meta-toolchain with gcc 4.6.0
2) bitbake meta-toolchain with gcc 4.5.1 in another project.

If project 1 and 2 use the shared sstage-cache, then the build would fail:

| Processing task-core-standalone-sdk-target-dbg...
| error: Failed dependencies:
|       libgcc1 &gt;= 4.6.0 is needed by eglibc-utils-2.13-r1+svnr14157.armv5te
| error: LOOP:
| error: removing libgcc-s-dev-4.5.1-r0.armv5te &quot;Requires(hint): libc6-dev&quot; from tsort relations.
| error: removing libc6-dev-2.13-r1+svnr14157.armv5te &quot;Requires(hint): libgcc-s-dev&quot; from tsort relations.

Workarounds:

Remove sstate-elibc-* in sstate-cache</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>17760</commentid>
    <comment_count>1</comment_count>
    <who name="Jessica">jessica.zhang</who>
    <bug_when>2011-12-20 11:36:23 +0000</bug_when>
    <thetext>please provide some update on the bug since it&apos;s been a while from the last activity</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>17771</commentid>
    <comment_count>2</comment_count>
    <who name="Robert Yang">liezhi.yang</who>
    <bug_when>2011-12-20 18:04:28 +0000</bug_when>
    <thetext>Here was the information from Richard:

The sstate checksum of the sstate-eglibc-xxx_package.tgz package should
have changed when the gcc version changed, such that it would repackage
(based on updated data). I think the problem is that in the sstate code,
we&apos;ve assumed the toolchain is special and can change:

BB_HASHTASK_WHITELIST ?= &quot;(.*-cross$|.*-native$|.*-cross-initial$|.*-cross-intermediate$|^virtual:native:.*|^virtual:nativesdk:.*)&quot;

and this may be a sign we should reconsider this. Alternatively we could
hiighlight we simply don&apos;t support gcc version going backwards

I think that we can mark it as WONTFIX</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>