<?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>1386</bug_id>
          
          <creation_ts>2011-08-18 23:41:18 +0000</creation_ts>
          <short_desc>bitbake meta-toolchain with gcc 4.5.1 doesn&apos;t work</short_desc>
          <delta_ts>2011-09-14 02:17:06 +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>devtools / tool chain</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>Will send pull request by Aug. 21st.</status_whiteboard>
          <keywords></keywords>
          <priority>Medium</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>1.1</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Robert Yang">liezhi.yang</reporter>
          <assigned_to name="Robert Yang">liezhi.yang</assigned_to>
          <cc>liang.li2</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>15589</commentid>
    <comment_count>0</comment_count>
    <who name="Robert Yang">liezhi.yang</who>
    <bug_when>2011-08-18 23:41:18 +0000</bug_when>
    <thetext>1) Add the following lines to conf/local.conf:

SDKGCCVERSION=&quot;4.5.1&quot;
GCCVERSION=&quot;4.5.1&quot;

2) bitbake meta-toolchain

The we will notice the error that sed can&apos;t find the directory:

${TMPDIR}/work-shared/gcc-${PV}/gcc-${PV}-${PR}

we have changed the name from gcc-${PV} to gcc-${PV}-${PR}, but haven&apos;t updated
meta/recipes-devtools/gcc/gcc-common.inc</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>15692</commentid>
    <comment_count>1</comment_count>
    <who name="Robert Yang">liezhi.yang</who>
    <bug_when>2011-08-23 23:56:15 +0000</bug_when>
    <thetext>Merged into OE-Core</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>15841</commentid>
    <comment_count>2</comment_count>
    <who name="liang li">liang.li2</who>
    <bug_when>2011-08-29 00:22:08 +0000</bug_when>
    <thetext>verified using lastest git branch master.
git info :6c2b7beac3cd23ed44bd3e195c6360a0932876bf
git branch :poky/master.

verified steps:
1. add below lines to conf/local.conf: 
SDKGCCVERSION=&quot;4.5.1&quot;
GCCVERSION=&quot;4.5.1&quot;
2. bitbake gcc-cross-initial
3. bitbake gcc-crosssdk-initial

no error met using above two commands,and found gcc-4.5.1-r8 in the tmp/work-shared subdir of the build dir.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>