<?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>209</bug_id>
          
          <creation_ts>2010-08-13 11:44:05 +0000</creation_ts>
          <short_desc>prelink-native failures to build, due to missing libiberty from binutils</short_desc>
          <delta_ts>2010-12-21 06:09:40 +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>0.9</version>
          <rep_platform>x86</rep_platform>
          <op_sys>Multiple</op_sys>
          <bug_status>RESOLVED</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>0.9 M3</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Mark Hatle">mark.hatle</reporter>
          <assigned_to name="Nitin Kamble">nitin.a.kamble</assigned_to>
          <cc>josh</cc>
    
    <cc>kevin.tian</cc>
    
    <cc>meta.mr.watcher</cc>
    
    <cc>meta.watcher</cc>
    
    <cc>scott.a.garman</cc>
    
    <cc>sgw</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>9299</commentid>
    <comment_count>0</comment_count>
    <who name="Mark Hatle">mark.hatle</who>
    <bug_when>2010-08-13 11:44:05 +0000</bug_when>
    <thetext>See logs at:

http://autobuilder.pokylinux.org:8010/builders/poky-incremental/builds/82/steps/shell_4/logs/stdio

specifically:


| x86_64-linux-libtool: link: gcc -Wall -Wno-pointer-sign -isystem/srv/home/builds2/poky-incremental/build/build/tmp/sysroots/x86_64-linux/usr/include -O2 -Wl,-rpath-link -Wl,/srv/home/builds2/poky-incremental/build/build/tmp/sysroots/x86_64-linux/usr/lib -Wl,-rpath -Wl,/srv/home/builds2/poky-incremental/build/build/tmp/sysroots/x86_64-linux/usr/lib -Wl,-O1 -o prelink cache.o conflict.o cxx.o doit.o exec.o execle_open.o get.o gather.o layout.o main.o prelink.o reloc.o space.o undo.o undoall.o verify.o md5.o sha.o checksum.o data.o dso.o dwarf2.o fptr.o hashtab.o mdebug.o stabs.o crc32.o wrap-file.o canonicalize.o reloc-info.o arch-i386.o arch-alpha.o arch-ppc.o arch-ppc64.o arch-sparc.o arch-sparc64.o arch-x86_64.o arch-mips.o arch-s390.o arch-s390x.o arch-arm.o arch-sh.o arch-ia64.o  -L/srv/home/builds2/poky-incremental/build/build/tmp/sysroots/x86_64-linux/usr/lib -liberty -lelf
| /usr/lib64/gcc/x86_64-suse-linux/4.4/../../../../x86_64-suse-linux/bin/ld: cannot find -liberty


On an x86_64 system, libiberty does not appears to be present in the sysroot/x86_64-linux/usr/lib directory as it should be.

Normally (on a 32-bit platform) libiberty is built as a side effect of the binutils-native package build, but for some reason it&apos;s not present in this situation.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>9303</commentid>
    <comment_count>1</comment_count>
    <who name="Nitin Kamble">nitin.a.kamble</who>
    <bug_when>2010-08-13 13:48:24 +0000</bug_when>
    <thetext>I tried this on my fedora 12 64bit system. And prelink_git is building fine.
- nitin</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>9305</commentid>
    <comment_count>2</comment_count>
    <who name="Nitin Kamble">nitin.a.kamble</who>
    <bug_when>2010-08-13 17:19:34 +0000</bug_when>
    <thetext>root caused issue as libiberty.a file being installed in wrong location. 
RP helped pinpoint the issue in the code. And the issue is fixed now. Sent a pull request to the poky@o-hand mailing list.

- Nitin</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>9321</commentid>
    <comment_count>3</comment_count>
    <who name="Nitin Kamble">nitin.a.kamble</who>
    <bug_when>2010-08-17 14:48:46 +0000</bug_when>
    <thetext>http://git.pokylinux.org/cgit.cgi/poky/commit/?id=bfaeda03beeaae3ba265632f0bcfa3354e55766a

this commit fixed the bug.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>