<?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>8227</bug_id>
          
          <creation_ts>2015-09-01 03:08:47 +0000</creation_ts>
          <short_desc>prelink does not work on qemuarm</short_desc>
          <delta_ts>2016-02-18 16:04:14 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>6</classification_id>
          <classification>Yocto Project Subprojects</classification>
          <product>Cross-prelink</product>
          <component>cross-prelink</component>
          <version>1.9</version>
          <rep_platform>All</rep_platform>
          <op_sys>arm</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>Medium</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>2.0.1</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="LiRongQing">rongqing.li</reporter>
          <assigned_to name="Mark Hatle">mark.hatle</assigned_to>
          <cc>richard.purdie</cc>
    
    <cc>yp.cp.watcher</cc>
    
    <cc>yp.watcher</cc>
          
          
          <cf_os>---</cf_os>
          <cf_regression_type>---</cf_regression_type>
          
          <cf_docchange>No (bug/feature does not impact docs)</cf_docchange>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>53580</commentid>
    <comment_count>0</comment_count>
    <who name="LiRongQing">rongqing.li</who>
    <bug_when>2015-09-01 03:08:47 +0000</bug_when>
    <thetext>1. select machine as qemuarm
2. add the blow to local.conf
   USER_CLASSES ?= &quot;buildstats image-mklibs image-prelink&quot;
3. bitbake core-image-minimal

4. check the prelink is called, but elf files is not prelinked
4.1 no prelink section in elf file
#cd tmp/work/qemuarm-poky-linux-gnueabi/core-image-minimal/1.0-r0/rootfs/
#arm-poky-linux-gnueabi-objdump -x ./bin/busybox.nosuid |grep prel
#
4.2 
# the size of elffile is same between rootfs and packagelist
 ls -l ./armv5e-poky-linux-gnueabi/glibc/2.22-r0/package/sbin/ldconfig ./qemuarm-poky-linux-gnueabi/core-image-minimal/1.0-r0/rootfs/sbin/ldconfig
-rwxr-xr-x 2 rli2 users 606152  9月  1 09:51 ./armv5e-poky-linux-gnueabi/glibc/2.22-r0/package/sbin/ldconfig
-rwxr-xr-x 1 rli2 users 606152  9月  1 09:51 ./qemuarm-poky-linux-gnueabi/core-image-minimal/1.0-r0/rootfs/sbin/ldconfig</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>53581</commentid>
    <comment_count>1</comment_count>
    <who name="Mark Hatle">mark.hatle</who>
    <bug_when>2015-09-01 03:10:26 +0000</bug_when>
    <thetext>Currently investigating...</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>54025</commentid>
    <comment_count>2</comment_count>
    <who name="Mark Hatle">mark.hatle</who>
    <bug_when>2015-09-14 15:49:31 +0000</bug_when>
    <thetext>Fixed in cross-prelink.  Patch to oe-core sent.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>56442</commentid>
    <comment_count>3</comment_count>
    <who name="Mark Hatle">mark.hatle</who>
    <bug_when>2015-11-12 16:32:09 +0000</bug_when>
    <thetext>Moving back to 2.0.1.  Patch has been sent to OE, just waiting for it to be accepted onto the Jethro branch.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>59211</commentid>
    <comment_count>4</comment_count>
    <who name="Richard Purdie">richard.purdie</who>
    <bug_when>2016-02-18 16:04:14 +0000</bug_when>
    <thetext>http://git.yoctoproject.org/cgit.cgi/poky/commit/?h=jethro&amp;id=ed8269010c70bb4d3ee6ace94c83abe3dfbe23c7</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>