<?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>5283</bug_id>
          
          <creation_ts>2013-09-27 00:46:22 +0000</creation_ts>
          <short_desc>eu-objdump does not work on mips, arm and ppc</short_desc>
          <delta_ts>2013-10-08 01:32:46 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>7</classification_id>
          <classification>Build System, Metadata &amp; Runtime</classification>
          <product>OE-Core</product>
          <component>core</component>
          <version>1.5</version>
          <rep_platform>x86</rep_platform>
          <op_sys>Multiple</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>WONTFIX</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard>Release Note</status_whiteboard>
          <keywords></keywords>
          <priority>Medium</priority>
          <bug_severity>major</bug_severity>
          <target_milestone>1.5.1</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="LiRongQing">rongqing.li</reporter>
          <assigned_to name="Chen Qi">Qi.Chen</assigned_to>
          <cc>liezhi.yang</cc>
    
    <cc>meta.mr.watcher</cc>
    
    <cc>meta.watcher</cc>
    
    <cc>Qi.Chen</cc>
    
    <cc>rongqing.li</cc>
    
    <cc>sgw</cc>
    
    <cc>yi.zhao</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>37279</commentid>
    <comment_count>0</comment_count>
    <who name="LiRongQing">rongqing.li</who>
    <bug_when>2013-09-27 00:46:22 +0000</bug_when>
    <thetext>root@qemumips:/tmp# uname -a
Linux qemumips 3.10.11-yocto-standard #1 PREEMPT Thu Sep 26 19:56:05 CST 2013 mips GNU/Linux
root@qemumips:/tmp# 
root@qemumips:/tmp# file /bin/busybox.nosuid
/bin/busybox.nosuid: ELF 32-bit MSB  executable, MIPS, MIPS32 version 1 (SYSV), dynamically linked (uses shared libs), for GNU/Linux 2.6.16, BuildID[sha1]=633455006d4eb54e4e6cd6e10ab990e056bc11a5, stripped
root@qemumips:/tmp# 
root@qemumips:/tmp#  eu-objdump -d /bin/busybox.nosuid
/bin/busybox.nosuid: elf32-elf_mips

eu-objdump: cannot disassemble
root@qemumips:/tmp#</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>37323</commentid>
    <comment_count>1</comment_count>
    <who name="Chen Qi">Qi.Chen</who>
    <bug_when>2013-09-30 07:32:20 +0000</bug_when>
    <thetext>It seems that our elfutils only supports disassemble on x86 platforms.

To correctly disassemble elf binaries, some arch related header files are needed.

In our project, only i386 and x86_64 related header files are available.

SRC_URI += &quot;\
        file://i386_dis.h \
        file://x86_64_dis.h \
&quot;

No relevant files for other archs are available in OE.

I&apos;ve sent an email to upstream asking about whether elfutils supports disassemble on on-x86 platforms.

//Chen Qi</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>37324</commentid>
    <comment_count>2</comment_count>
    <who name="Chen Qi">Qi.Chen</who>
    <bug_when>2013-09-30 07:49:53 +0000</bug_when>
    <thetext>Looking at the contents under libcpu/, only x86 related contents are there.
So I think it&apos;s possible that elfutils only supports disassemble on x86 platforms. But I&apos;m still waiting for upstream reply.

//Chen Qi</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>37725</commentid>
    <comment_count>3</comment_count>
    <who name="Chen Qi">Qi.Chen</who>
    <bug_when>2013-10-08 01:32:46 +0000</bug_when>
    <thetext>Confirmed from upstream: eu-objdump doesn&apos;t support no-x86 platform disassemble.


See original email below:
&apos;&apos;&apos;
On Mon, 2013-09-30 at 15:24 +0800, ChenQi wrote:
&gt; x86_64_dis.h and i386_dis.h are available under /libcpu, but no relevant 
&gt; files for other archs.
&gt; So if I understand it right, eu-objdump only supports disassemble on x86 
&gt; platforms? Right?

That is currently correct yes. Additional disassemblers are always
welcome of course.

Cheers,

Mark
&apos;&apos;&apos;


So mark this bug as RESOLVED/WONTFIX.
//Chen Qi</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>