public inbox for openembedded-core@lists.openembedded.org
 help / color / mirror / Atom feed
* [PATCH 0/1] fix segfaults when running qemu through pseudo
@ 2013-02-07 16:29 Laurentiu Palcu
  2013-02-07 16:29 ` [PATCH 1/1] qemu.bbclass: fix segfaults when running " Laurentiu Palcu
  0 siblings, 1 reply; 2+ messages in thread
From: Laurentiu Palcu @ 2013-02-07 16:29 UTC (permalink / raw)
  To: openembedded-core

The following changes since commit 9f5a6f89d9f4a6c7bed3b163e6eaa764d762f523:

  qemu.bbclass: Use the correct qemu binary in multilib cases (2013-02-07 15:25:07 +0000)

are available in the git repository at:

  git://git.yoctoproject.org/poky-contrib lpalcu/qemu_segfault_fix
  http://git.yoctoproject.org/cgit.cgi/poky-contrib/log/?h=lpalcu/qemu_segfault_fix

Laurentiu Palcu (1):
  qemu.bbclass: fix segfaults when running through pseudo

 meta/classes/qemu.bbclass |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

-- 
1.7.9.5




^ permalink raw reply	[flat|nested] 2+ messages in thread

* [PATCH 1/1] qemu.bbclass: fix segfaults when running through pseudo
  2013-02-07 16:29 [PATCH 0/1] fix segfaults when running qemu through pseudo Laurentiu Palcu
@ 2013-02-07 16:29 ` Laurentiu Palcu
  0 siblings, 0 replies; 2+ messages in thread
From: Laurentiu Palcu @ 2013-02-07 16:29 UTC (permalink / raw)
  To: openembedded-core

qemu user binaries sometimes segfault when running them through pseudo.
So, set PSEUDO_UNLOAD to 1 before running any qemu binary.

[YOCTO #3788]

Signed-off-by: Laurentiu Palcu <laurentiu.palcu@intel.com>
---
 meta/classes/qemu.bbclass |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta/classes/qemu.bbclass b/meta/classes/qemu.bbclass
index cd2e323..8b03926 100644
--- a/meta/classes/qemu.bbclass
+++ b/meta/classes/qemu.bbclass
@@ -34,5 +34,5 @@ def qemu_run_binary(data, rootfs_path, binary):
     library_path = rootfs_path + data.getVar("base_libdir", True) + ":" + \
                    rootfs_path + data.getVar("libdir", True)
 
-    return qemu_binary + " " + dynamic_loader + " --library-path " + library_path \
+    return "PSEUDO_UNLOAD=1 " + qemu_binary + " " + dynamic_loader + " --library-path " + library_path \
            + " " + rootfs_path + binary
-- 
1.7.9.5




^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2013-02-07 22:18 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-02-07 16:29 [PATCH 0/1] fix segfaults when running qemu through pseudo Laurentiu Palcu
2013-02-07 16:29 ` [PATCH 1/1] qemu.bbclass: fix segfaults when running " Laurentiu Palcu

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox