<?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>2095</bug_id>
          
          <creation_ts>2012-03-14 07:24:38 +0000</creation_ts>
          <short_desc>gcc-cross: avoid creating invalid symlinks</short_desc>
          <delta_ts>2012-03-15 02:26:07 +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>1.2</version>
          <rep_platform>x86</rep_platform>
          <op_sys>Multiple</op_sys>
          <bug_status>CLOSED</bug_status>
          <resolution>INVALID</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>Undecided</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>1.2 M4</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Robert Yang">liezhi.yang</reporter>
          <assigned_to name="Robert Yang">liezhi.yang</assigned_to>
          <cc>meta.mr.watcher</cc>
    
    <cc>meta.watcher</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>19051</commentid>
    <comment_count>0</comment_count>
    <who name="Robert Yang">liezhi.yang</who>
    <bug_when>2012-03-14 07:24:38 +0000</bug_when>
    <thetext>There are several invalid symlinks in gcc-cross-initial, gcc-cross-intermediate and gcc-cross, these cause the error:(56 errors)

tmp/work/i586-poky-linux/gcc-cross-initial-4.6.3+svnr184847-r23/temp/log.do_populate_sysroot:
log.do_populate_sysroot:grep: /path/to/invalid/symlink: No such file or directory

Avoid creating invalid symlinks would fix this problem.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>19066</commentid>
    <comment_count>1</comment_count>
    <who name="Robert Yang">liezhi.yang</who>
    <bug_when>2012-03-14 14:31:08 +0000</bug_when>
    <thetext>Merged:

http://git.yoctoproject.org/cgit.cgi/poky/commit/?id=d6426b63a3bf3c8d8f40c5dd17389a530fac0f5c</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>19118</commentid>
    <comment_count>2</comment_count>
    <who name="Robert Yang">liezhi.yang</who>
    <bug_when>2012-03-15 02:26:07 +0000</bug_when>
    <thetext>We should keep these symlinks.

Comments from RP:

The problem is that the location we&apos;re symlinking to may not be installed yet. For example, gcc provides &quot;${TARGET_PREFIX}gcc&quot; but it won&apos;t be installed at the location we point at until after gcc&apos;s populate_sysroot function runs. The tests you&apos;re using are therefore not adding as many symlinks as we need.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>