Bug 218 - qemu-native does not generate qemu-i386 binary
Summary: qemu-native does not generate qemu-i386 binary
Status: RESOLVED FIXED
Alias: None
Product: OE-Core
Classification: Build System, Metadata & Runtime
Component: core (show other bugs)
Version: 0.9
Hardware: x86 Multiple
: High normal
Target Milestone: 0.9 M3
Assignee: Edwin Zhai
QA Contact:
URL:
Whiteboard:
Depends on:
Blocks:
 
Reported: 2010-08-18 15:19 UTC by Nitin Kamble
Modified: 2010-12-21 06:09 UTC (History)
6 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 Nitin Kamble 2010-08-18 15:19:26 UTC
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 & eglibc to run different architecture binaries using qemu user level execution binaries.
Comment 1 Nitin Kamble 2010-08-25 09:06:52 UTC
Now I understand the requirement better now. qemu-native is emitting the needed qemu-arm & qemu-mips binaries. And it is not emitting qemu-i386 & 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
Comment 2 Nitin Kamble 2010-08-25 09:34:06 UTC
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: 
"PSEUDO_RELOADED=YES", 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'd be interesting to know what the interaction is with pseudo.  In our environment we don't run qemu with pseudo, but we do run the user-mode NFS server.

--Mark
Comment 3 Nitin Kamble 2010-08-25 09:39:06 UTC
please ignore the commet # 2 here, it belongs to a different qemu bug.
Comment 4 Joshua Lock - Disabled 2010-08-26 00:39:09 UTC
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.
Comment 5 Nitin Kamble 2010-08-27 11:23:02 UTC
There are couple of other bugs blocked by this issue. so can the priority on this bug be raised ?

Thanks,
Nitin
Comment 6 Edwin Zhai 2010-09-02 17:46:05 UTC
Fixed by 431c97533b913c671a2501a678397025849c222a

Nitin,
Pls. help to verify it.
Thanks,
Comment 7 Edwin Zhai 2010-09-29 23:03:58 UTC
Nitin,
Can you verify it?
Thanks,
edwin