<?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>1836</bug_id>
          
          <creation_ts>2011-12-14 11:12:25 +0000</creation_ts>
          <short_desc>In oe-core built SDK, gcc fails if extracted to another place than /usr/local</short_desc>
          <delta_ts>2012-02-10 12:41:41 +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>RESOLVED</bug_status>
          <resolution>NOTABUG</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>Medium</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>1.2</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Tasskjapp">tasskjapp</reporter>
          <assigned_to name="Nitin Kamble">nitin.a.kamble</assigned_to>
          <cc>jessica.zhang</cc>
    
    <cc>meta.mr.watcher</cc>
    
    <cc>meta.watcher</cc>
    
    <cc>tasskjapp</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>17644</commentid>
    <comment_count>0</comment_count>
    <who name="Tasskjapp">tasskjapp</who>
    <bug_when>2011-12-14 11:12:25 +0000</bug_when>
    <thetext>Output when it fails:

$ ./arm-angstrom-linux-gnueabi-gcc
bash: ./arm-angstrom-linux-gnueabi-gcc: No such file or directory

Readelf output:

$ readelf -d arm-angstrom-linux-gnueabi-gcc

Dynamic section at offset 0x34394 contains 21 entries:
 Tag        Type                         Name/Value
0x00000001 (NEEDED)                     Shared library: [libc.so.6]
0x0000000f (RPATH)                      Library rpath: [/usr/local/angstrom-eglibc-i686-armv7a/sysroots/i686-angstromsdk-linux/usr/lib/armv7a-angstrom-linux-gnueabi:/usr/local/angstrom-eglibc-i686-armv7a/sysroots/i686-angstromsdk-linux/lib]

Discussion about it on the oe-core ML: http://lists.linuxtogo.org/pipermail/openembedded-core/2011-December/013913.html</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>18277</commentid>
    <comment_count>1</comment_count>
    <who name="Nitin Kamble">nitin.a.kamble</who>
    <bug_when>2012-01-19 15:34:00 +0000</bug_when>
    <thetext>I am not sure what value is there to allow sdk installing at other places than /usr/local

I think the SDK is to be installed at a fixed /usr/local path.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>18288</commentid>
    <comment_count>2</comment_count>
    <who name="Tasskjapp">tasskjapp</who>
    <bug_when>2012-01-19 23:11:51 +0000</bug_when>
    <thetext>For us the value has been the opportunity to have the sdk in our version control system, making it easier to reproduce earlier builds and making sure sdk and rootfs are in sync.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>18297</commentid>
    <comment_count>3</comment_count>
    <who name="Nitin Kamble">nitin.a.kamble</who>
    <bug_when>2012-01-20 10:24:19 +0000</bug_when>
    <thetext>BTW you can also fix the issue by creating a permanent link from /usr/local to the version control system.

Nitin</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>18592</commentid>
    <comment_count>4</comment_count>
    <who name="Nitin Kamble">nitin.a.kamble</who>
    <bug_when>2012-02-10 12:33:17 +0000</bug_when>
    <thetext>Tasskjapp,
  Closing this bug, as it is not a bug. As I mentioned in the comment 3 you should be able to do what you want. If you still need this feature, then reopen this bug.

Thanks,
Nitin</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>18593</commentid>
    <comment_count>5</comment_count>
    <who name="Tasskjapp">tasskjapp</who>
    <bug_when>2012-02-10 12:41:41 +0000</bug_when>
    <thetext>The solution you proposed will work for me. Thanks.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>