Bug 8227

Summary: prelink does not work on qemuarm
Product: [Yocto Project Subprojects] Cross-prelink Reporter: LiRongQing <rongqing.li>
Component: cross-prelinkAssignee: Mark Hatle <mark.hatle>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: Medium CC: richard.purdie, yp.cp.watcher, yp.watcher
Version: 1.9   
Target Milestone: 2.0.1   
Hardware: All   
OS: arm   
Whiteboard:
OS type for building Yocto: --- Type of Regression: ---
Verified: Documentation change: No (bug/feature does not impact docs)

Description LiRongQing 2015-09-01 03:08:47 UTC
1. select machine as qemuarm
2. add the blow to local.conf
   USER_CLASSES ?= "buildstats image-mklibs image-prelink"
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
Comment 1 Mark Hatle 2015-09-01 03:10:26 UTC
Currently investigating...
Comment 2 Mark Hatle 2015-09-14 15:49:31 UTC
Fixed in cross-prelink.  Patch to oe-core sent.
Comment 3 Mark Hatle 2015-11-12 16:32:09 UTC
Moving back to 2.0.1.  Patch has been sent to OE, just waiting for it to be accepted onto the Jethro branch.