Bug 1815

Summary: prelink-rtld fails on fdisk.util-linux
Product: [Yocto Project Subprojects] Cross-prelink Reporter: Scott Garman <scott.a.garman>
Component: cross-prelinkAssignee: Mark Hatle <mark.hatle>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: Medium CC: sgw, yp.cp.watcher, yp.watcher
Version: unspecified   
Target Milestone: 1.2   
Hardware: x86   
OS: Multiple   
Whiteboard:
OS type for building Yocto: --- Type of Regression: ---
Verified: Documentation change: ---

Description Scott Garman 2011-12-08 13:47:45 UTC
I'm getting the following with prelink-rtld when running it against util-linux's fdisk binary:

./prelink-rtld --root /srv/home/sgarman/poky/build/tmp/sysroots/qemux86 /srv/home/sgarman/poky/build/tmp/work/i586-poky-linux/util-linux-2.19.1-r12/packages-split/util-linux-fdisk/sbin/fdisk.util-linux 
prelink-rtld: dl-version.c:219: rtld_check_map_versions: Assertion `needed != ((void *)0)' failed.
Aborted

util-linux was built for qemux86. 

When I run the host's ldd against the binary, it appears to work properly:

ldd /srv/home/sgarman/poky/build/tmp/work/i586-poky-linux/util-linux-2.19.1-r12/packages-split/util-linux-fdisk/sbin/fdisk.util-linux
	linux-gate.so.1 =>  (0xffffe000)
	libblkid.so.1 => not found
	libc.so.6 => /lib/libc.so.6 (0xf7609000)
	/lib/ld-linux.so.2 (0xf778e000)

So my understanding is that this is likely a bug in prelink-rtld.
Comment 2 Mark Hatle 2012-01-03 10:35:51 UTC
This issue has been resolved in the cross-prelink upstream.