<?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>1318</bug_id>
          
          <creation_ts>2011-08-02 21:58:20 +0000</creation_ts>
          <short_desc>[Toolchain] wrong path to ld.so for x86_64 toolchain</short_desc>
          <delta_ts>2011-08-07 22:46:36 +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></status_whiteboard>
          <keywords></keywords>
          <priority>High</priority>
          <bug_severity>critical</bug_severity>
          <target_milestone>1.1</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="wenhua.fan">wenhuax.fan</reporter>
          <assigned_to name="Nitin Kamble">nitin.a.kamble</assigned_to>
          <cc>jiajun.xu</cc>
    
    <cc>lianhao.lu</cc>
    
    <cc>meta.mr.watcher</cc>
    
    <cc>meta.watcher</cc>
    
    <cc>poky.adt.watcher</cc>
    
    <cc>poky.watcher</cc>
    
    <cc>richard.purdie</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>15170</commentid>
    <comment_count>0</comment_count>
    <who name="wenhua.fan">wenhuax.fan</who>
    <bug_when>2011-08-02 21:58:20 +0000</bug_when>
    <thetext>Tree/Branch: Poky-contrib/master_under_test
Poky Commit id: 2f3994545e757efc575341f2b984a62a0a3441fd

Image location:

http://autobuilder02.yoctoproject.org/nightly/20110730-1/toolchain/

There is no such issue in Yocto1.1 20110723 build.

Error messages as below when use gcc/g++ to compile simple program:

Xxx$ ${CC} test.c –lm –Wall / Xxx$ ${CXX} test.cxx –lm –Wall /
Bash: /opt/poky/1.0+snapshot/sysrootfs/x86-64-pokysdk-linux/usr/bin/i586-poky-linux/i586-poky-linux-gcc/g++: No such file or directory

Error messages as below when compile tarball:

iptablesxxx$./configures ${CONFIGURES_FLAGS}
……
Checking for a BSD-compatible install… /usr/bin/install –c
Checking whether build environment is sane… yes
Checking for i586-poky-linux-strip… i586-poky-linux-strip
Checking for a thread-safe mkdir –p… /bin/mkdir –p
Checking for gawk… gawk
Checking whether make sets $(MAKE)…yes
Checking for i586-poky-linux-gcc… i586-poky-linux-gcc
Checking whether the C compiler works … no
Configure: error: in ‘/home/…/iptable-1.4.11’:
Configure: error: C compiler cannot create executables
See config.log for more details</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>15176</commentid>
    <comment_count>1</comment_count>
    <who name="Jiajun Xu">jiajun.xu</who>
    <bug_when>2011-08-02 23:40:58 +0000</bug_when>
    <thetext>The issue occurs on x86_64 toolchain, we use a x86_64-i586 toolchain here, in i586-poky-linux-gcc, the ld.so path is set to /opt/poky/1.0+snapshot/sysroots/x86_64-pokysdk-linux/lib64/ld-linux-x86-64.so.2, meanwhile the real path is /opt/poky/1.0+snapshot/sysroots/x86_64-pokysdk-linux/lib/ld-linux-x86-64.so.2 in toolchain.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>15185</commentid>
    <comment_count>2</comment_count>
    <who name="Lianhao Lu">lianhao.lu</who>
    <bug_when>2011-08-03 06:59:43 +0000</bug_when>
    <thetext>Is it possibly related to the patch?

http://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/?id=6c936b4b1a2fb1bdf1f3f91482af7e33e71b5c10</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>15296</commentid>
    <comment_count>3</comment_count>
    <who name="wenhua.fan">wenhuax.fan</who>
    <bug_when>2011-08-07 22:41:19 +0000</bug_when>
    <thetext>This issue not reappear in Yocto 1.1 M3 RC3 building.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>15297</commentid>
    <comment_count>4</comment_count>
    <who name="wenhua.fan">wenhuax.fan</who>
    <bug_when>2011-08-07 22:42:02 +0000</bug_when>
    <thetext>Image location:

http://autobuilder02.yoctoproject.org/nightly/20110804-1/toolchain/x86_64/</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>15298</commentid>
    <comment_count>5</comment_count>
    <who name="wenhua.fan">wenhuax.fan</who>
    <bug_when>2011-08-07 22:46:36 +0000</bug_when>
    <thetext>Tree/Branch: Poky/1.1_M3
Poky Commit id: 1580d1624647bc07ffd4997b6c8cfbccd8040fc5</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>