diff options
| author | Christian Krinitsin <mail@krinitsin.com> | 2025-06-01 21:35:14 +0200 |
|---|---|---|
| committer | Christian Krinitsin <mail@krinitsin.com> | 2025-06-01 21:35:14 +0200 |
| commit | 3e4c5a6261770bced301b5e74233e7866166ea5b (patch) | |
| tree | 9379fddaba693ef8a045da06efee8529baa5f6f4 /gitlab/issues_text/target_missing/host_missing/accel_missing/1930 | |
| parent | e5634e2806195bee44407853c4bf8776f7abfa4f (diff) | |
| download | qemu-analysis-3e4c5a6261770bced301b5e74233e7866166ea5b.tar.gz qemu-analysis-3e4c5a6261770bced301b5e74233e7866166ea5b.zip | |
clean up repository
Diffstat (limited to 'gitlab/issues_text/target_missing/host_missing/accel_missing/1930')
| -rw-r--r-- | gitlab/issues_text/target_missing/host_missing/accel_missing/1930 | 46 |
1 files changed, 0 insertions, 46 deletions
diff --git a/gitlab/issues_text/target_missing/host_missing/accel_missing/1930 b/gitlab/issues_text/target_missing/host_missing/accel_missing/1930 deleted file mode 100644 index c0d76b306..000000000 --- a/gitlab/issues_text/target_missing/host_missing/accel_missing/1930 +++ /dev/null @@ -1,46 +0,0 @@ -qemu-aarch64 results in segmentation fault while running a test binary compiled for QNX -Description of problem: -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. - -``` - $ qemu-aarch64 -L /home/vsts/qnx710/target/qnx7/aarch64le ./hello-world - qemu: uncaught target signal 11 (Segmentation fault) - core dumped - Segmentation fault (core dumped) -``` - -We also tried Ubuntu Jammy which has qemu-aarch64 v6.2.0 but got the same error. -Can you tell us how we can emulate the binary using QEMU emulator that is built for QNX on x86_64 platform? Any help would be much appreciated. -Steps to reproduce: -1. Download QNX SDP from QNX software center https://www.qnx.com/download/group.html?programid=29178. -2. Write a simple hello world program. - -``` - #include <stdio.h> - - int main(void) { - return printf("Hello World!"); - } -``` - -3. Source QNX SDP to set some environment variables. - - `$ source ./qnx710/qnxsdp-env.sh` - -4. Compile using the QNX compiler. - - `$ qcc -Vgcc_ntoaarch64le -o hello-world hello-world.c` - -5. Running the binary as it is results to: - -``` - $ ./hello-world - aarch64-binfmt-P: Could not open '/usr/lib/ldqnx-64.so.2': No such file or directory -``` - -5. Running using QEMU emulator results to segmentation fault. - -``` - $ qemu-aarch64 -L /home/vsts/qnx710/target/qnx7/aarch64le ./hello-world - qemu: uncaught target signal 11 (Segmentation fault) - core dumped - Segmentation fault (core dumped) -``` |