qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Running cross-compiled binary using QEMU results in segmentation fau


From: Peter Maydell
Subject: Re: Running cross-compiled binary using QEMU results in segmentation fault error
Date: Mon, 16 Oct 2023 14:51:16 +0100

On Wed, 11 Oct 2023 at 14:34, Asad Javed <asad.javed@basemark.com> wrote:
> We have cross compiled a simple hello world program for QNX SDP 7.1.0
> on Ubuntu Focal x86_64. Running the binary using qemu-aarch64 results
> in segmentation fault error. The qemu-aarch64 version is 5.2.0.

This is expected. qemu-aarch64 is for running *Linux* userspace
binaries. Trying to run some other kind of binary will not work;
depending on the binary that might include the guest binary
crashing with a segfault, as here.

To run a QNX binary you would need to run the entire QNX OS
as a guest OS under system emulation of some machine type
that both QEMU and QNX support.

thanks
-- PMM



reply via email to

[Prev in Thread] Current Thread [Next in Thread]