<?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>1815</bug_id>
          
          <creation_ts>2011-12-08 13:47:45 +0000</creation_ts>
          <short_desc>prelink-rtld fails on fdisk.util-linux</short_desc>
          <delta_ts>2012-01-03 10:35:51 +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>unspecified</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>Medium</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>1.2</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Scott Garman">scott.a.garman</reporter>
          <assigned_to name="Mark Hatle">mark.hatle</assigned_to>
          <cc>sgw</cc>
    
    <cc>yp.cp.watcher</cc>
    
    <cc>yp.watcher</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>17528</commentid>
    <comment_count>0</comment_count>
    <who name="Scott Garman">scott.a.garman</who>
    <bug_when>2011-12-08 13:47:45 +0000</bug_when>
    <thetext>I&apos;m getting the following with prelink-rtld when running it against util-linux&apos;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)&apos; failed.
Aborted

util-linux was built for qemux86. 

When I run the host&apos;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 =&gt;  (0xffffe000)
	libblkid.so.1 =&gt; not found
	libc.so.6 =&gt; /lib/libc.so.6 (0xf7609000)
	/lib/ld-linux.so.2 (0xf778e000)

So my understanding is that this is likely a bug in prelink-rtld.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>17532</commentid>
    <comment_count>1</comment_count>
    <who name="Mark Hatle">mark.hatle</who>
    <bug_when>2011-12-08 15:03:20 +0000</bug_when>
    <thetext>Possible solution to the issue:

http://git.yoctoproject.org/cgit/cgit.cgi/poky-contrib/commit/?h=mhatle/prelink&amp;id=6e19c2a90ed6e200ed72d5ad26f28831a5acb89d</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>17933</commentid>
    <comment_count>2</comment_count>
    <who name="Mark Hatle">mark.hatle</who>
    <bug_when>2012-01-03 10:35:51 +0000</bug_when>
    <thetext>This issue has been resolved in the cross-prelink upstream.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>