| Summary: | qemu binaries break after this commit : 940c2b470af70b40fc6506823cd9c43e9b621075 | ||
|---|---|---|---|
| Product: | [Build System, Metadata & Runtime] OE-Core | Reporter: | Nitin Kamble <nitin.a.kamble> |
| Component: | core | Assignee: | Mark Hatle <mark.hatle> |
| Status: | RESOLVED FIXED | QA Contact: | |
| Severity: | normal | ||
| Priority: | Medium | CC: | dexuan.cui, ke.yu, kevin.tian, meta.mr.watcher, meta.watcher, sgw |
| Version: | 0.9 | ||
| Target Milestone: | 0.9 M4 | ||
| Hardware: | x86 | ||
| OS: | Multiple | ||
| Whiteboard: | |||
| OS type for building Yocto: | --- | Type of Regression: | --- |
| Verified: | Documentation change: | --- | |
|
Description
Nitin Kamble
2010-08-25 09:22:24 UTC
After doing "git bisect" found that the issue started with this commit. $ git bisect good 940c2b470af70b40fc6506823cd9c43e9b621075 is the first bad commit commit 940c2b470af70b40fc6506823cd9c43e9b621075 Author: Richard Purdie <rpurdie@linux.intel.com> Date: Thu Aug 19 22:41:00 2010 +0100 Revert "base.bbclass: Temporarily disable fakeroot for install/package until other fixes get merged" This reverts commit 2225e1214285f0e9a3c0ee2962b3d678c5c05292 and reenables the functionality now its safe to do so. :040000 040000 a0a3c2d3b2c8c0d05826f63429809f21197517ea 9083f4f0073acc105d60385f0d01f4605358ed00 M meta Adding comment 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 *** Bug 292 has been marked as a duplicate of this bug. *** The following commit (which is already in poky's master) worked around the bug: commit ec8924ac78f9c65beb90e15872d57fd1044ad835 Author: Nitin A Kamble <nitin.a.kamble@intel.com> Date: Wed Sep 8 12:30:19 2010 -0700 libc-package.bbclass: fix qemu issue with pseudo This solution is what Mark Hatle recommended. To disable pseudo, while already running, you need to set: PSEUDO_RELOADED=YES, and then exec something... This causes pseudo to disable itself from LD_PRELOAD, and thus fall out of memory on the exec. This Fixes [BUGID #226] Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com> *** Bug 339 has been marked as a duplicate of this bug. *** qemu was updated to fix this |