Skip to content

qemu-x86_64 crash on LoongArch

Host environment

  • Operating system: openEuler
  • OS/kernel version: 6.9.0-rc7
  • Architecture: loongarch
  • QEMU flavor: qemu-x86_64
  • QEMU version: 9.0.50
  • QEMU command line:
     ./qemu-x86_64  hello

Emulated/Virtualized environment

  • Operating system: ubuntu 20.04.3
  • OS/kernel version: 5.15.0-83
  • Architecture: x86_64

Description of problem

Steps to reproduce

  1. build a static hello test on x86_64 machine.
  2. build qemu-x86_64 on LoongArch.
  3. run 'qemu-x86_64 hello 'on LoongArch.

Additional information

1 result

[root@localhost qemu]# ./build/qemu-x86_64 ~/hello
Bus error (core dumped)

2 Since commit 45bf0e7a

3 full log with -d in_asm,op,out_asm,strace see log.txt

log.txt

qemu-x86_64

hello

To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information