<?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>1233</bug_id>
          
          <creation_ts>2011-07-11 01:29:38 +0000</creation_ts>
          <short_desc>gcc can not work due to missing liblto_plugin.so with 20110708 build</short_desc>
          <delta_ts>2011-07-19 00:00:09 +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>unspecified</version>
          <rep_platform>All</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>major</bug_severity>
          <target_milestone>1.1 M2</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Yi Zhao">yi.zhao</reporter>
          <assigned_to name="Saul Wold">sgw</assigned_to>
          <cc>jiajun.xu</cc>
    
    <cc>liang.li2</cc>
    
    <cc>liangliang.wang</cc>
    
    <cc>meta.mr.watcher</cc>
    
    <cc>meta.watcher</cc>
    
    <cc>wenhuax.fan</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>14662</commentid>
    <comment_count>0</comment_count>
    <who name="Yi Zhao">yi.zhao</who>
    <bug_when>2011-07-11 01:29:38 +0000</bug_when>
    <thetext>Testing Env:    
Host: Ubuntu 10.10 x86_64
Kernel: 2.6.35-30-generic

Image location:
http://autobuilder.yoctoproject.org/nightly/20110708-1/
Tree/Branch: Poky/1.1_M2
Poky Commit: 9f4eaeef33da5595748253d59d95c7ca548e28fa

With 20110708 build, gcc can not work on all platforms.

For example, when using gcc to compile a test file:

#############
root@qemuarm:~/# gcc -o test test.c -lm
gcc: fatal error: -fuse-linker-plugin, but liblto_plugin.so not found
compilation terminated.
#############</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>14665</commentid>
    <comment_count>1</comment_count>
    <who name="Yi Zhao">yi.zhao</who>
    <bug_when>2011-07-11 02:07:25 +0000</bug_when>
    <thetext>I found a commit to fix this issue 2 months ago, but it does not work now.

commit 021e79298848a89beb34f5a387d830ae8454bf82
Author: Nitin A Kamble &lt;nitin.a.kamble@intel.com&gt;
Date:   Wed May 11 16:55:04 2011 -0700

    gcc: fix target gcc runtime issue
    
    The liblto_plugin.so file is not packages for the target recipe causing this
    gcc failure on the target.
    
    gcc: fatal error: -fuse-linker-plugin, but liblto_plugin.so not found
    
    (From OE-Core rev: a121494f9bdebb940e3f2f121040988be6dca592)
    
    Signed-off-by: Nitin A Kamble &lt;nitin.a.kamble@intel.com&gt;
    Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>14668</commentid>
    <comment_count>2</comment_count>
    <who name="Saul Wold">sgw</who>
    <bug_when>2011-07-11 15:33:07 +0000</bug_when>
    <thetext>Reviewing the packaging that Richard did recently.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>14694</commentid>
    <comment_count>3</comment_count>
    <who name="Saul Wold">sgw</who>
    <bug_when>2011-07-12 11:04:49 +0000</bug_when>
    <thetext>http://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/?id=2429773613cb95b6a0541b5cce6ce1338d5cfc2b</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>14770</commentid>
    <comment_count>4</comment_count>
    <who name="Yi Zhao">yi.zhao</who>
    <bug_when>2011-07-19 00:00:09 +0000</bug_when>
    <thetext>Verified it with 20110715 build


Image location:
http://autobuilder.pokylinux.org/nightly/20110715-1/
Tree/Branch: Poky/1.1_M2
Poky Commit: 93a2ca70482f09e93469481936302e7b6847156e</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>