<?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>1493</bug_id>
          
          <creation_ts>2011-09-17 20:46:48 +0000</creation_ts>
          <short_desc>gcc-cross-canadian set to 4.6 when GCCVERSION is 4.5.1</short_desc>
          <delta_ts>2011-09-26 22:05:25 +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>unspecified</version>
          <rep_platform>x86</rep_platform>
          <op_sys>Multiple</op_sys>
          <bug_status>VERIFIED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>High</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>1.1</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Jiajun Xu">jiajun.xu</reporter>
          <assigned_to name="Richard Purdie">richard.purdie</assigned_to>
          <cc>dexuan.cui</cc>
    
    <cc>ke.yu</cc>
    
    <cc>poky.bs.watcher</cc>
    
    <cc>poky.watcher</cc>
    
    <cc>sgw</cc>
    
    <cc>wenhuax.fan</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>16276</commentid>
    <comment_count>0</comment_count>
    <who name="Jiajun Xu">jiajun.xu</who>
    <bug_when>2011-09-17 20:46:48 +0000</bug_when>
    <thetext>tree/branch: poky/1.1_M4
commit: 6462c158fc482e495c1171ffc7747e2ad650a292

When I test latest 1.1_M4 branch, if I set GCCVERSION to 4.5.1 in tcmode-default, gcc-cross-candian is still set to 4.6.

#######
jxu49@vt-nhm4:~/osel/poky-rc2/build$ grep GCCVERSION ../meta/conf/distro/include/tcmode-default.inc
GCCVERSION ?= &quot;4.5.1&quot;
SDKGCCVERSION ?= &quot;4.5.1&quot;
#######

#######
jxu49@vt-nhm4:~/osel/poky-rc2/build$ bitbake -s | grep &quot;gcc-cross-canadian&quot;
gcc-cross-canadian-i586                 :4.6.1+svnr175454-r10
#######</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>16279</commentid>
    <comment_count>1</comment_count>
    <who name="Richard Purdie">richard.purdie</who>
    <bug_when>2011-09-18 20:36:32 +0000</bug_when>
    <thetext>Interestingly despite this if you &quot;bitbake gcc-cross-canadian-i586&quot;, it will build the correct 4.5.1 version.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>16280</commentid>
    <comment_count>2</comment_count>
      <attachid>239</attachid>
    <who name="Richard Purdie">richard.purdie</who>
    <bug_when>2011-09-18 20:48:48 +0000</bug_when>
    <thetext>Created attachment 239
Change the solves the problem and illustrates where the problem is

Patch is attached which illustrates how/why this issue is occurring...</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>16281</commentid>
    <comment_count>3</comment_count>
    <who name="Richard Purdie">richard.purdie</who>
    <bug_when>2011-09-18 21:57:55 +0000</bug_when>
    <thetext>Fixed in master http://git.yoctoproject.org/cgit.cgi/poky/commit/?id=7a0cbe6b0e5185aebabedc515b427994bc2a15dc</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>16504</commentid>
    <comment_count>4</comment_count>
    <who name="Jiajun Xu">jiajun.xu</who>
    <bug_when>2011-09-26 22:05:25 +0000</bug_when>
    <thetext>Verify the bug as fixed in edison.</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>239</attachid>
            <date>2011-09-18 20:48:48 +0000</date>
            <delta_ts>2011-09-18 20:48:48 +0000</delta_ts>
            <desc>Change the solves the problem and illustrates where the problem is</desc>
            <filename>providers.patch</filename>
            <type>text/plain</type>
            <size>566</size>
            <attacher name="Richard Purdie">richard.purdie</attacher>
            
              <data encoding="base64">LS0tIGEvYml0YmFrZS9saWIvYmIvcHJvdmlkZXJzLnB5CisrKyBiL2JpdGJha2UvbGliL2JiL3By
b3ZpZGVycy5weQpAQCAtODQsOSArODQsMTAgQEAgZGVmIGZpbmRQcmVmZXJyZWRQcm92aWRlcihw
biwgY2ZnRGF0YSwgZGF0YUNhY2hlLCBwa2dfcG4gPSBOb25lLCBpdGVtID0gTm9uZSk6CiAgICAg
cHJlZmVycmVkX3ZlciA9IE5vbmUKIAogICAgIGxvY2FsZGF0YSA9IGRhdGEuY3JlYXRlQ29weShj
ZmdEYXRhKQorICAgIGJiLmRhdGEuZXhwYW5kS2V5cyhsb2NhbGRhdGEpCiAgICAgYmIuZGF0YS5z
ZXRWYXIoJ09WRVJSSURFUycsICIlczpwbi0lczolcyIgJSAoZGF0YS5nZXRWYXIoJ09WRVJSSURF
UycsIGxvY2FsZGF0YSksIHBuLCBwbiksIGxvY2FsZGF0YSkKICAgICBiYi5kYXRhLnVwZGF0ZV9k
YXRhKGxvY2FsZGF0YSkKIAogICAgIHByZWZlcnJlZF92ID0gYmIuZGF0YS5nZXRWYXIoJ1BSRUZF
UlJFRF9WRVJTSU9OJywgbG9jYWxkYXRhLCBUcnVlKQogICAgIGlmIHByZWZlcnJlZF92OgogICAg
ICAgICBtID0gcmUubWF0Y2goJyhcZCs6KSooLiopKF8uKikqJywgcHJlZmVycmVkX3YpCgo=
</data>

          </attachment>
      

    </bug>

</bugzilla>