<?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>218</bug_id>
          
          <creation_ts>2010-08-18 15:19:26 +0000</creation_ts>
          <short_desc>qemu-native does not generate qemu-i386 binary</short_desc>
          <delta_ts>2010-12-21 06:09:42 +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>0.9</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>High</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>0.9 M3</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Nitin Kamble">nitin.a.kamble</reporter>
          <assigned_to name="Edwin Zhai">edwin.zhai</assigned_to>
          <cc>josh</cc>
    
    <cc>kevin.tian</cc>
    
    <cc>meta.mr.watcher</cc>
    
    <cc>meta.watcher</cc>
    
    <cc>nitin.a.kamble</cc>
    
    <cc>sgw</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>9331</commentid>
    <comment_count>0</comment_count>
    <who name="Nitin Kamble">nitin.a.kamble</who>
    <bug_when>2010-08-18 15:19:26 +0000</bug_when>
    <thetext>like distro qemu package, the qemu-native recipe should generate binaries to run user level apps using the qemu user level application running binaries such as qemu-i386.

This is needed for glibc &amp; eglibc to run different architecture binaries using qemu user level execution binaries.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>9379</commentid>
    <comment_count>1</comment_count>
    <who name="Nitin Kamble">nitin.a.kamble</who>
    <bug_when>2010-08-25 09:06:52 +0000</bug_when>
    <thetext>Now I understand the requirement better now. qemu-native is emitting the needed qemu-arm &amp; qemu-mips binaries. And it is not emitting qemu-i386 &amp; qemu-ppc binaries. So if these 2 missing binaries gets generated in working fashion, that would be sufficient for eglibc build for generation of locales.

Thanks,
Nitin</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>9383</commentid>
    <comment_count>2</comment_count>
    <who name="Nitin Kamble">nitin.a.kamble</who>
    <bug_when>2010-08-25 09:34:06 +0000</bug_when>
    <thetext>Adding coment which flew over the mailing list:

From RP:

Great, now I see the commit in question, this makes sense. It looks like pseudo and qemu interacting badly together.

Mark: This looks like its a pseudo related problem, is there a way we can drop the pseudo context to run a command?

It may also be worth experimenting with LD_LIBRARY_PATH to see if that can help things at all...

Cheers,

Richard



From Mark:
To disable pseudo, while already running, you need to set: 
&quot;PSEUDO_RELOADED=YES&quot;, and then exec something....

This will cause pseudo to disable itself from the LD_PRELOAD, and thus fall out of memory on the exec.

It&apos;d be interesting to know what the interaction is with pseudo.  In our environment we don&apos;t run qemu with pseudo, but we do run the user-mode NFS server.

--Mark</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>9384</commentid>
    <comment_count>3</comment_count>
    <who name="Nitin Kamble">nitin.a.kamble</who>
    <bug_when>2010-08-25 09:39:06 +0000</bug_when>
    <thetext>please ignore the commet # 2 here, it belongs to a different qemu bug.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>9416</commentid>
    <comment_count>4</comment_count>
    <who name="Joshua Lock - Disabled">josh</who>
    <bug_when>2010-08-26 00:39:09 +0000</bug_when>
    <thetext>Theoretically this is as simple as adding i386-linux-user to the target-list in EXTRA_OECONF, however in reality the recipe no longer compiles with this option enabled so we need someone to spend some time figuring out why.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>9449</commentid>
    <comment_count>5</comment_count>
    <who name="Nitin Kamble">nitin.a.kamble</who>
    <bug_when>2010-08-27 11:23:02 +0000</bug_when>
    <thetext>There are couple of other bugs blocked by this issue. so can the priority on this bug be raised ?

Thanks,
Nitin</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>9561</commentid>
    <comment_count>6</comment_count>
    <who name="Edwin Zhai">edwin.zhai</who>
    <bug_when>2010-09-02 17:46:05 +0000</bug_when>
    <thetext>Fixed by 431c97533b913c671a2501a678397025849c222a

Nitin,
Pls. help to verify it.
Thanks,</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>10068</commentid>
    <comment_count>7</comment_count>
    <who name="Edwin Zhai">edwin.zhai</who>
    <bug_when>2010-09-29 23:03:58 +0000</bug_when>
    <thetext>Nitin,
Can you verify it?
Thanks,
edwin</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>