Skip to content

q800 machine is broken when compiling with --enable-cfi

Host environment

  • Operating system: Fedora 40
  • Architecture: x86
  • QEMU flavor: qemu-system-m68k
  • QEMU version: v9.2.0-rc0
  • QEMU command line:
    ./qemu-system-m68k -M q800

Emulated/Virtualized environment

  • Operating system: n/a
  • OS/kernel version: n/a
  • Architecture: m68k

Description of problem

When compiling QEMU that is configured like this:

 .../configure --target-list=m68k-softmmu --enable-cfi --cc=clang

the q800 machine crashes with an illegal exception on the host very early, somewhere during q800_machine_init()

Steps to reproduce

  1. .../configure --target-list=m68k-softmmu --enable-cfi --cc=clang
  2. make qemu-system-m68k
  3. ./qemu-system-m68k -M q800
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information