fix segfaults when running qemu through pseudo
cover fix segfaults when running qemu through pseudo
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(-)
Signature · 1 line
1.7.9.5
PATCH 1/1 qemu.bbclass: fix segfaults when running through pseudo
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 <[email protected]>
--- meta/classes/qemu.bbclass | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
meta/classes/qemu.bbclass +1 -1
@@ -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
Signature · 1 line
1.7.9.5