Bug 1815 - prelink-rtld fails on fdisk.util-linux
Summary: prelink-rtld fails on fdisk.util-linux
Status: RESOLVED FIXED
Alias: None
Product: Cross-prelink
Classification: Yocto Project Subprojects
Component: cross-prelink (show other bugs)
Version: unspecified
Hardware: x86 Multiple
: Medium normal
Target Milestone: 1.2
Assignee: Mark Hatle
QA Contact:
URL:
Whiteboard:
Depends on:
Blocks:
 
Reported: 2011-12-08 13:47 UTC by Scott Garman
Modified: 2012-01-03 10:35 UTC (History)
3 users (show)

See Also:
OS type for building Yocto: ---
Type of Regression: ---
Verified:
Documentation change: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.