Skip to content

Qemu 7.2.0 - Failed compilation under Windows with MSYS (MINGW64)

Host environment

  • Operating system: Windows 10 22H2 64bit
  • OS/kernel version:
  • Architecture: x64
  • QEMU flavor: (qemu-system-x86_64, qemu-aarch64, qemu-img, etc.)
  • QEMU version: 7.2.0
  • QEMU command line:

Description of problem

I follow the faq here

https://wiki.qemu.org/Hosts/W32#Debian_based_cross_builds

to compile qemu source under Windows with MSYS2 (MINGW64).

Steps to reproduce

Follow the FAQ guide and I get

xxxx@DESKTOP-NBACH6G MINGW64 ~/qemu
$ ./configure --enable-sdl --enable-gtk
Using './build' as the directory for build output
ln: failed to create symbolic link 'aarch64-softmmu/qemu-system-aarch64.exe': No such file or directory
ln: failed to create symbolic link 'alpha-softmmu/qemu-system-alpha.exe': No such file or directory
ln: failed to create symbolic link 'arm-softmmu/qemu-system-arm.exe': No such file or directory
ln: failed to create symbolic link 'avr-softmmu/qemu-system-avr.exe': No such file or directory
ln: failed to create symbolic link 'cris-softmmu/qemu-system-cris.exe': No such file or directory
ln: failed to create symbolic link 'hppa-softmmu/qemu-system-hppa.exe': No such file or directory
ln: failed to create symbolic link 'i386-softmmu/qemu-system-i386.exe': No such file or directory
ln: failed to create symbolic link 'loongarch64-softmmu/qemu-system-loongarch64.exe': No such file or directory
ln: failed to create symbolic link 'm68k-softmmu/qemu-system-m68k.exe': No such file or directory
ln: failed to create symbolic link 'microblaze-softmmu/qemu-system-microblaze.exe': No such file or directory
ln: failed to create symbolic link 'microblazeel-softmmu/qemu-system-microblazeel.exe': No such file or directory
ln: failed to create symbolic link 'mips-softmmu/qemu-system-mips.exe': No such file or directory
ln: failed to create symbolic link 'mips64-softmmu/qemu-system-mips64.exe': No such file or directory
ln: failed to create symbolic link 'mips64el-softmmu/qemu-system-mips64el.exe': No such file or directory
ln: failed to create symbolic link 'mipsel-softmmu/qemu-system-mipsel.exe': No such file or directory
ln: failed to create symbolic link 'nios2-softmmu/qemu-system-nios2.exe': No such file or directory
ln: failed to create symbolic link 'or1k-softmmu/qemu-system-or1k.exe': No such file or directory
ln: failed to create symbolic link 'ppc-softmmu/qemu-system-ppc.exe': No such file or directory
ln: failed to create symbolic link 'ppc64-softmmu/qemu-system-ppc64.exe': No such file or directory
ln: failed to create symbolic link 'riscv32-softmmu/qemu-system-riscv32.exe': No such file or directory
ln: failed to create symbolic link 'riscv64-softmmu/qemu-system-riscv64.exe': No such file or directory
ln: failed to create symbolic link 'rx-softmmu/qemu-system-rx.exe': No such file or directory
ln: failed to create symbolic link 's390x-softmmu/qemu-system-s390x.exe': No such file or directory
ln: failed to create symbolic link 'sh4-softmmu/qemu-system-sh4.exe': No such file or directory
ln: failed to create symbolic link 'sh4eb-softmmu/qemu-system-sh4eb.exe': No such file or directory
ln: failed to create symbolic link 'sparc-softmmu/qemu-system-sparc.exe': No such file or directory
ln: failed to create symbolic link 'sparc64-softmmu/qemu-system-sparc64.exe': No such file or directory
ln: failed to create symbolic link 'tricore-softmmu/qemu-system-tricore.exe': No such file or directory
ln: failed to create symbolic link 'x86_64-softmmu/qemu-system-x86_64.exe': No such file or directory
ln: failed to create symbolic link 'xtensa-softmmu/qemu-system-xtensa.exe': No such file or directory
ln: failed to create symbolic link 'xtensaeb-softmmu/qemu-system-xtensaeb.exe': No such file or directory
The Meson build system
Version: 0.64.1
Source dir: C:/msys64/home/Roberto/qemu
Build dir: C:/msys64/home/Roberto/qemu/build
Build type: native build
Project name: qemu
Project version: 7.2.50
C compiler for the host machine: cc -m64 -mcx16 (gcc 12.2.0 "cc (Rev6, Built by MSYS2 project) 12.2.0")
C linker for the host machine: cc -m64 -mcx16 ld.bfd 2.39
Host machine cpu family: x86_64
Host machine cpu: x86_64
Program scripts/symlink-install-tree.py found: YES (C:/msys64/mingw64/bin/python.exe C:/msys64/home/Roberto/qemu/scripts/symlink-install-tree.py)
Program sh found: YES (C:\msys64\usr\bin/sh.EXE)
Program python3 found: YES (C:/msys64/mingw64/bin/python.exe)
Program bzip2 found: YES (C:\msys64\mingw64\bin/bzip2.EXE)
Program iasl found: NO
Compiler for C supports link arguments -Wl,-z,relro: NO
Compiler for C supports link arguments -Wl,-z,now: NO
Compiler for C supports link arguments -Wl,--no-seh: YES
Compiler for C supports link arguments -Wl,--nxcompat: YES
C++ compiler for the host machine: c++ -m64 -mcx16 (gcc 12.2.0 "c++ (Rev6, Built by MSYS2 project) 12.2.0")
C++ linker for the host machine: c++ -m64 -mcx16 ld.bfd 2.39
Compiler for C++ supports link arguments -Wl,--warn-common: YES
Program cgcc found: NO
Library m found: YES
Run-time dependency threads found: YES
Library util found: NO
Program midl found: NO
Program widl found: YES
Library pathcch found: YES
Library ws2_32 found: YES
Library winmm found: YES
Windows resource compiler: GNU windres (GNU Binutils) 2.39
Has header "WinHvPlatform.h" : YES
Has header "WinHvEmulation.h" : YES
Run-time dependency appleframeworks found: NO (tried framework)
Found pkg-config: C:\msys64\mingw64\bin/pkg-config.EXE (1.8.0)
Run-time dependency gio-2.0 found: YES 2.74.3
Program C:/msys64/mingw64/bin/gdbus-codegen found: YES (C:/msys64/mingw64/bin/gdbus-codegen.exe)
Run-time dependency gio-unix-2.0 found: NO (tried pkgconfig)
Run-time dependency pixman-1 found: YES 0.42.2
Run-time dependency zlib found: YES 1.2.13
Has header "libaio.h" : NO
Run-time dependency liburing found: NO (tried pkgconfig)
Run-time dependency libnfs found: YES 5.0.2
Has header "attr/xattr.h" : NO
Run-time dependency appleframeworks found: NO (tried framework)
Run-time dependency appleframeworks found: NO (tried framework)
Run-time dependency libseccomp found: NO (tried pkgconfig)
Has header "cap-ng.h" : NO
Run-time dependency xkbcommon found: NO (tried pkgconfig)
Run-time dependency slirp found: YES 4.7.0
Has header "libvdeplug.h" : NO
Run-time dependency jack found: NO (tried pkgconfig)
Run-time dependency sndio found: NO (tried pkgconfig)
Run-time dependency spice-protocol found: YES 0.14.4
Run-time dependency spice-server found: YES 0.15.1
Library rt found: NO
Run-time dependency libiscsi found: NO (tried pkgconfig)
Run-time dependency libzstd found: YES 1.5.2
Run-time dependency virglrenderer found: NO (tried pkgconfig)
Run-time dependency blkio found: NO (tried pkgconfig)
Run-time dependency libcurl found: YES 7.86.0
Run-time dependency ncurses found: NO (tried pkgconfig)
Run-time dependency ncursesw found: YES 6.3.20211021
Has header "brlapi.h" : NO
Run-time dependency sdl2 found: YES 2.26.1
Run-time dependency sdl2_image found: YES 2.6.2
Library rados found: NO
Has header "rbd/librbd.h" : NO
Run-time dependency glusterfs-api found: NO (tried pkgconfig)
Run-time dependency libssh found: YES 0.10.4
Has header "bzlib.h" : YES
Library bz2 found: YES
Has header "lzfse.h" : NO
Has header "sys/soundcard.h" : NO
Has header "dsound.h" : YES
Run-time dependency epoxy found: YES 1.5.10
Has header "epoxy/egl.h" with dependency epoxy: NO
Run-time dependency gnutls found: YES 3.7.8
Run-time dependency gmp found: YES 6.2.1
Run-time dependency gtk+-3.0 found: YES 3.24.35
Run-time dependency gtk+-x11-3.0 found: NO (tried pkgconfig)
Run-time dependency vte-2.91 found: NO (tried pkgconfig)
Run-time dependency libpng found: YES 1.6.39
Run-time dependency libjpeg found: YES 2.1.4
Has header "sasl/sasl.h" : YES
Library sasl2 found: YES
Has header "security/pam_appl.h" : NO
Has header "snappy-c.h" : YES
Library snappy found: YES
Has header "lzo/lzo1x.h" : YES
Library lzo2 found: YES
Has header "numa.h" : NO
Library ibumad found: NO
Has header "rdma/rdma_cma.h" : NO
Library ibverbs found: NO
Run-time dependency xencontrol found: NO (tried pkgconfig)
Library xenstore found: NO
Library xenctrl found: NO
Library xendevicemodel found: NO
Library xenforeignmemory found: NO
Library xengnttab found: NO
Library xenevtchn found: NO
Library xentoolcore found: NO
Run-time dependency libcacard found: NO (tried pkgconfig)
Run-time dependency u2f-emu found: NO (tried pkgconfig)
Run-time dependency canokey-qemu found: NO (tried pkgconfig)
Run-time dependency libusbredirparser-0.5 found: YES 0.8.0
Run-time dependency libusb-1.0 found: YES 1.0.26
Run-time dependency libpmem found: NO (tried pkgconfig)
Run-time dependency libdaxctl found: NO (tried pkgconfig)
Run-time dependency libtasn1 found: YES 4.19.0
Run-time dependency libkeyutils found: NO (tried pkgconfig)
Checking for function "gettid" : NO
Run-time dependency libselinux found: NO (tried pkgconfig)
Run-time dependency fuse3 found: NO (tried pkgconfig)
Run-time dependency libbpf found: NO (tried pkgconfig)
Checking for function "pthread_fchdir_np" : NO
Has header "sys/epoll.h" : NO
Has header "linux/magic.h" : NO
Has header "valgrind/valgrind.h" : NO
Has header "linux/btrfs.h" : NO
Has header "libdrm/drm.h" : NO
Has header "pty.h" : NO
Has header "sys/disk.h" : NO
Has header "sys/ioccom.h" : NO
Has header "sys/kcov.h" : NO
Has header "afunix.h" : YES
Checking for function "close_range" : NO
Checking for function "accept4" : NO
Checking for function "clock_adjtime" : NO
Checking for function "dup3" : NO
Checking for function "fallocate" : NO
Checking for function "posix_fallocate" : NO
Checking for function "posix_memalign" : NO
Checking for function "_aligned_malloc" : YES
Checking for function "valloc" : NO
Checking for function "memalign" : NO
Checking for function "ppoll" : NO
Checking for function "preadv" : NO
Checking for function "pthread_fchdir_np" : NO (cached)
Checking for function "sendfile" : NO
Checking for function "setns" : NO
Checking for function "syncfs" : NO
Checking for function "sync_file_range" : NO
Checking for function "timerfd_create" : NO
Checking for function "copy_file_range" : NO
Checking for function "getifaddrs" : NO
Checking for function "openpty" with dependency -lutil: NO
Checking for function "strchrnul" : NO
Checking for function "system" : YES
Header "byteswap.h" has symbol "bswap_32" : NO
Header "sys/epoll.h" has symbol "epoll_create1" : NO
Header "linux/falloc.h" has symbol "FALLOC_FL_PUNCH_HOLE" : NO
Header "linux/falloc.h" has symbol "FALLOC_FL_ZERO_RANGE" : NO
Has header "linux/fiemap.h" : NO
Checking for function "getrandom" : NO
Header "sys/inotify.h" has symbol "inotify_init" : NO
Header "sys/inotify.h" has symbol "inotify_init1" : NO
Header "machine/bswap.h" has symbol "bswap32" : NO
Header "sys/prctl.h" has symbol "PR_SET_TIMERSLACK" : NO
Header "linux/rtnetlink.h" has symbol "IFLA_PROTO_DOWN" : NO
Header "sys/sysmacros.h" has symbol "makedev" : NO
Header "getopt.h" has symbol "optreset" : NO
Header "netinet/in.h" has symbol "IPPROTO_MPTCP" : NO
Header "sys/mount.h" has symbol "FSCONFIG_SET_FLAG" : NO
Checking whether type "struct sigevent" has member "sigev_notify_thread_id" : NO
Checking whether type "struct stat" has member "st_atim" : NO
Checking for type "struct iovec" : NO
Checking for type "struct utmpx" : NO
Checking for type "struct mmsghdr" : NO
Header "linux/vm_sockets.h" has symbol "AF_VSOCK" : NO
Has header "vscoordint.h" : NO
Checking if "_lock_file and _unlock_file" : links: YES
Program scripts/minikconf.py found: YES (C:/msys64/mingw64/bin/python.exe C:/msys64/home/Roberto/qemu/scripts/minikconf.py)
Configuring aarch64-softmmu-config-target.h using configuration
Configuring aarch64-softmmu-config-devices.mak with command
Reading depfile: C:/msys64/home/Roberto/qemu/build/meson-private/aarch64-softmmu-config-devices.mak.d
Configuring aarch64-softmmu-config-devices.h using configuration
Configuring alpha-softmmu-config-target.h using configuration
Configuring alpha-softmmu-config-devices.mak with command
Reading depfile: C:/msys64/home/Roberto/qemu/build/meson-private/alpha-softmmu-config-devices.mak.d
Configuring alpha-softmmu-config-devices.h using configuration
Configuring arm-softmmu-config-target.h using configuration
Configuring arm-softmmu-config-devices.mak with command
Reading depfile: C:/msys64/home/Roberto/qemu/build/meson-private/arm-softmmu-config-devices.mak.d
Configuring arm-softmmu-config-devices.h using configuration
Configuring avr-softmmu-config-target.h using configuration
Configuring avr-softmmu-config-devices.mak with command
Reading depfile: C:/msys64/home/Roberto/qemu/build/meson-private/avr-softmmu-config-devices.mak.d
Configuring avr-softmmu-config-devices.h using configuration
Configuring cris-softmmu-config-target.h using configuration
Configuring cris-softmmu-config-devices.mak with command
Reading depfile: C:/msys64/home/Roberto/qemu/build/meson-private/cris-softmmu-config-devices.mak.d
Configuring cris-softmmu-config-devices.h using configuration
Configuring hppa-softmmu-config-target.h using configuration
Configuring hppa-softmmu-config-devices.mak with command
Reading depfile: C:/msys64/home/Roberto/qemu/build/meson-private/hppa-softmmu-config-devices.mak.d
Configuring hppa-softmmu-config-devices.h using configuration
Configuring i386-softmmu-config-target.h using configuration
Configuring i386-softmmu-config-devices.mak with command
Reading depfile: C:/msys64/home/Roberto/qemu/build/meson-private/i386-softmmu-config-devices.mak.d
Configuring i386-softmmu-config-devices.h using configuration
Configuring loongarch64-softmmu-config-target.h using configuration
Configuring loongarch64-softmmu-config-devices.mak with command
Reading depfile: C:/msys64/home/Roberto/qemu/build/meson-private/loongarch64-softmmu-config-devices.mak.d
Configuring loongarch64-softmmu-config-devices.h using configuration
Configuring m68k-softmmu-config-target.h using configuration
Configuring m68k-softmmu-config-devices.mak with command
Reading depfile: C:/msys64/home/Roberto/qemu/build/meson-private/m68k-softmmu-config-devices.mak.d
Configuring m68k-softmmu-config-devices.h using configuration
Configuring microblaze-softmmu-config-target.h using configuration
Configuring microblaze-softmmu-config-devices.mak with command
Reading depfile: C:/msys64/home/Roberto/qemu/build/meson-private/microblaze-softmmu-config-devices.mak.d
Configuring microblaze-softmmu-config-devices.h using configuration
Configuring microblazeel-softmmu-config-target.h using configuration
Configuring microblazeel-softmmu-config-devices.mak with command
Reading depfile: C:/msys64/home/Roberto/qemu/build/meson-private/microblazeel-softmmu-config-devices.mak.d
Configuring microblazeel-softmmu-config-devices.h using configuration
Configuring mips-softmmu-config-target.h using configuration
Configuring mips-softmmu-config-devices.mak with command
Reading depfile: C:/msys64/home/Roberto/qemu/build/meson-private/mips-softmmu-config-devices.mak.d
Configuring mips-softmmu-config-devices.h using configuration
Configuring mips64-softmmu-config-target.h using configuration
Configuring mips64-softmmu-config-devices.mak with command
Reading depfile: C:/msys64/home/Roberto/qemu/build/meson-private/mips64-softmmu-config-devices.mak.d
Configuring mips64-softmmu-config-devices.h using configuration
Configuring mips64el-softmmu-config-target.h using configuration
Configuring mips64el-softmmu-config-devices.mak with command
Reading depfile: C:/msys64/home/Roberto/qemu/build/meson-private/mips64el-softmmu-config-devices.mak.d
Configuring mips64el-softmmu-config-devices.h using configuration
Configuring mipsel-softmmu-config-target.h using configuration
Configuring mipsel-softmmu-config-devices.mak with command
Reading depfile: C:/msys64/home/Roberto/qemu/build/meson-private/mipsel-softmmu-config-devices.mak.d
Configuring mipsel-softmmu-config-devices.h using configuration
Configuring nios2-softmmu-config-target.h using configuration
Configuring nios2-softmmu-config-devices.mak with command
Reading depfile: C:/msys64/home/Roberto/qemu/build/meson-private/nios2-softmmu-config-devices.mak.d
Configuring nios2-softmmu-config-devices.h using configuration
Configuring or1k-softmmu-config-target.h using configuration
Configuring or1k-softmmu-config-devices.mak with command
Reading depfile: C:/msys64/home/Roberto/qemu/build/meson-private/or1k-softmmu-config-devices.mak.d
Configuring or1k-softmmu-config-devices.h using configuration
Configuring ppc-softmmu-config-target.h using configuration
Configuring ppc-softmmu-config-devices.mak with command
Reading depfile: C:/msys64/home/Roberto/qemu/build/meson-private/ppc-softmmu-config-devices.mak.d
Configuring ppc-softmmu-config-devices.h using configuration
Configuring ppc64-softmmu-config-target.h using configuration
Configuring ppc64-softmmu-config-devices.mak with command
Reading depfile: C:/msys64/home/Roberto/qemu/build/meson-private/ppc64-softmmu-config-devices.mak.d
Configuring ppc64-softmmu-config-devices.h using configuration
Configuring riscv32-softmmu-config-target.h using configuration
Configuring riscv32-softmmu-config-devices.mak with command
Reading depfile: C:/msys64/home/Roberto/qemu/build/meson-private/riscv32-softmmu-config-devices.mak.d
Configuring riscv32-softmmu-config-devices.h using configuration
Configuring riscv64-softmmu-config-target.h using configuration
Configuring riscv64-softmmu-config-devices.mak with command
Reading depfile: C:/msys64/home/Roberto/qemu/build/meson-private/riscv64-softmmu-config-devices.mak.d
Configuring riscv64-softmmu-config-devices.h using configuration
Configuring rx-softmmu-config-target.h using configuration
Configuring rx-softmmu-config-devices.mak with command
Reading depfile: C:/msys64/home/Roberto/qemu/build/meson-private/rx-softmmu-config-devices.mak.d
Configuring rx-softmmu-config-devices.h using configuration
Configuring s390x-softmmu-config-target.h using configuration
Configuring s390x-softmmu-config-devices.mak with command
Reading depfile: C:/msys64/home/Roberto/qemu/build/meson-private/s390x-softmmu-config-devices.mak.d
Configuring s390x-softmmu-config-devices.h using configuration
Configuring sh4-softmmu-config-target.h using configuration
Configuring sh4-softmmu-config-devices.mak with command
Reading depfile: C:/msys64/home/Roberto/qemu/build/meson-private/sh4-softmmu-config-devices.mak.d
Configuring sh4-softmmu-config-devices.h using configuration
Configuring sh4eb-softmmu-config-target.h using configuration
Configuring sh4eb-softmmu-config-devices.mak with command
Reading depfile: C:/msys64/home/Roberto/qemu/build/meson-private/sh4eb-softmmu-config-devices.mak.d
Configuring sh4eb-softmmu-config-devices.h using configuration
Configuring sparc-softmmu-config-target.h using configuration
Configuring sparc-softmmu-config-devices.mak with command
Reading depfile: C:/msys64/home/Roberto/qemu/build/meson-private/sparc-softmmu-config-devices.mak.d
Configuring sparc-softmmu-config-devices.h using configuration
Configuring sparc64-softmmu-config-target.h using configuration
Configuring sparc64-softmmu-config-devices.mak with command
Reading depfile: C:/msys64/home/Roberto/qemu/build/meson-private/sparc64-softmmu-config-devices.mak.d
Configuring sparc64-softmmu-config-devices.h using configuration
Configuring tricore-softmmu-config-target.h using configuration
Configuring tricore-softmmu-config-devices.mak with command
Reading depfile: C:/msys64/home/Roberto/qemu/build/meson-private/tricore-softmmu-config-devices.mak.d
Configuring tricore-softmmu-config-devices.h using configuration
Configuring x86_64-softmmu-config-target.h using configuration
Configuring x86_64-softmmu-config-devices.mak with command
Reading depfile: C:/msys64/home/Roberto/qemu/build/meson-private/x86_64-softmmu-config-devices.mak.d
Configuring x86_64-softmmu-config-devices.h using configuration
Configuring xtensa-softmmu-config-target.h using configuration
Configuring xtensa-softmmu-config-devices.mak with command
Reading depfile: C:/msys64/home/Roberto/qemu/build/meson-private/xtensa-softmmu-config-devices.mak.d
Configuring xtensa-softmmu-config-devices.h using configuration
Configuring xtensaeb-softmmu-config-target.h using configuration
Configuring xtensaeb-softmmu-config-devices.mak with command
Reading depfile: C:/msys64/home/Roberto/qemu/build/meson-private/xtensaeb-softmmu-config-devices.mak.d
Configuring xtensaeb-softmmu-config-devices.h using configuration
Program scripts/make-config-poison.sh found: YES (sh C:/msys64/home/Roberto/qemu/scripts/make-config-poison.sh)
Run-time dependency capstone found: YES 4.0.2
Library fdt found: NO
Configuring config-host.h using configuration
Program scripts/hxtool found: YES (sh C:/msys64/home/Roberto/qemu/scripts/hxtool)
Program scripts/shaderinclude.pl found: YES (perl C:/msys64/home/Roberto/qemu/scripts/shaderinclude.pl)
Program scripts/qapi-gen.py found: YES (C:/msys64/mingw64/bin/python.exe C:/msys64/home/Roberto/qemu/scripts/qapi-gen.py)
Program scripts/qemu-version.sh found: YES (sh C:/msys64/home/Roberto/qemu/scripts/qemu-version.sh)
Program scripts/decodetree.py found: YES (C:/msys64/mingw64/bin/python.exe C:/msys64/home/Roberto/qemu/scripts/decodetree.py)
Program ../scripts/modules/module_block.py found: YES (C:/msys64/mingw64/bin/python.exe C:/msys64/home/Roberto/qemu/block/../scripts/modules/module_block.py)
Program ../scripts/block-coroutine-wrapper.py found: YES (C:/msys64/mingw64/bin/python.exe C:/msys64/home/Roberto/qemu/block/../scripts/block-coroutine-wrapper.
py)
Program scripts/modinfo-collect.py found: YES (C:/msys64/mingw64/bin/python.exe C:/msys64/home/Roberto/qemu/scripts/modinfo-collect.py)
Program scripts/modinfo-generate.py found: YES (C:/msys64/mingw64/bin/python.exe C:/msys64/home/Roberto/qemu/scripts/modinfo-generate.py)
Program nm found: YES
Program scripts/undefsym.py found: YES (C:/msys64/mingw64/bin/python.exe C:/msys64/home/Roberto/qemu/scripts/undefsym.py)
Program scripts/feature_to_c.sh found: YES (sh C:/msys64/home/Roberto/qemu/scripts/feature_to_c.sh)
Compiler for C supports link arguments -fstack-protector-all: YES
Compiler for C supports link arguments -fstack-protector-strong: YES
Compiler for C supports link arguments -Wl,--add-stdcall-alias: YES
Compiler for C supports link arguments -Wl,--enable-stdcall-fixup: YES
Library ole32 found: YES
Library oleaut32 found: YES
Library shlwapi found: YES
Library uuid found: YES
Library intl found: YES
Program wixl found: NO
Configuring 50-edk2-i386-secure.json using configuration
Configuring 50-edk2-x86_64-secure.json using configuration
Configuring 60-edk2-aarch64.json using configuration
Configuring 60-edk2-arm.json using configuration
Configuring 60-edk2-i386.json using configuration
Configuring 60-edk2-x86_64.json using configuration
Program qemu-keymap found: NO
Program sphinx-build found: YES (C:\msys64\mingw64\bin/sphinx-build.EXE)
../docs/meson.build:74: WARNING: Project targets '>=0.61.3' but uses feature deprecated since '0.60.0': install_subdir with empty directory. It worked by accide
nt and is buggy. Use install_emptydir instead.
Program diff found: YES (C:\msys64\usr\bin/diff.EXE)
Program dbus-daemon found: NO
Did not find CMake 'cmake'
Found CMake: NO
Run-time dependency gvnc-1.0 found: NO (tried pkgconfig and cmake)
Program initrd-stress.sh found: YES (sh C:/msys64/home/Roberto/qemu/tests/migration/initrd-stress.sh)
Program xgettext found: YES (C:\msys64\mingw64\bin/xgettext.EXE)
Program msgfmt found: YES (C:\msys64\mingw64\bin/msgfmt.EXE)
Program msginit found: YES (C:\msys64\mingw64\bin/msginit.EXE)
Program msgmerge found: YES (C:\msys64\mingw64\bin/msgmerge.EXE)
Program xgettext found: YES (C:\msys64\mingw64\bin/xgettext.EXE)
Program scripts/nsis.py found: YES (C:/msys64/mingw64/bin/python.exe C:/msys64/home/Roberto/qemu/scripts/nsis.py)
Build targets in project: 639
WARNING: Deprecated features used:
 * 0.60.0: {'install_subdir with empty directory'}

qemu 7.2.50

  Directories
    Install prefix               : C:/msys64/qemu
    BIOS directory               : share/
    firmware path                : share/qemu-firmware
    binary directory             : C:/msys64/qemu/.
    library directory            : C:/msys64/qemu/lib
    module directory             : lib/
    libexec directory            : C:/msys64/qemu/libexec
    include directory            : C:/msys64/qemu/include
    config directory             : C:/msys64/qemu/etc
    local state directory        : queried at runtime
    Doc directory                : C:/msys64/qemu/share/doc
    Build directory              : C:/msys64/home/xxx/qemu/build
    Source path                  : C:/msys64/home/xxx/qemu
    GIT submodules               : ui/keycodemapdb tests/fp/berkeley-testfloat-3 tests/fp/berkeley-softfloat-3 dtc

  Host binaries
    git                          : git
    make                         : make
    python                       : C:/msys64/mingw64/bin/python.exe (version: 3.10)
    sphinx-build                 : C:\msys64\mingw64\bin/sphinx-build.EXE
    gdb                          : /mingw64/bin/gdb-multiarch
    iasl                         : NO
    genisoimage                  :
    wixl                         : NO
    smbd                         : NO

  Configurable features
    Documentation                : YES
    system-mode emulation        : YES
    user-mode emulation          : NO
    block layer                  : YES
    Install blobs                : YES
    module support               : NO
    fuzzing support              : NO
    Audio drivers                : dsound sdl
    Trace backends               : log
    D-Bus display                : NO
    QOM debugging                : NO
    vhost-kernel support         : NO
    vhost-net support            : NO
    vhost-user support           : NO
    vhost-user-crypto support    : NO
    vhost-user-blk server support: NO
    vhost-vdpa support           : NO
    build guest agent            : YES

  Compilation
    host CPU                     : x86_64
    host endianness              : little
    C compiler                   : cc -m64 -mcx16
    Host C compiler              : cc -m64 -mcx16
    C++ compiler                 : c++ -m64 -mcx16
    CFLAGS                       : -O2 -g
    CXXFLAGS                     : -O2 -g
    QEMU_CFLAGS                  : -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fno-pie -no-pie -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -Wstrict-prot
otypes -Wredundant-decls -Wundef -Wwrite-strings -Wmissing-prototypes -fno-strict-aliasing -fno-common -fwrapv -Wold-style-declaration -Wold-style-definition -W
type-limits -Wformat-security -Wformat-y2k -Winit-self -Wignored-qualifiers -Wempty-body -Wnested-externs -Wendif-labels -Wexpansion-to-defined -Wimplicit-fallt
hrough=2 -Wno-missing-include-dirs -Wno-shift-negative-value -Wno-psabi -fstack-protector-strong
    QEMU_CXXFLAGS                : -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fno-pie -no-pie -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -Wundef -Wwri
te-strings -fno-strict-aliasing -fno-common -fwrapv -Wtype-limits -Wformat-security -Wformat-y2k -Winit-self -Wignored-qualifiers -Wempty-body -Wendif-labels -W
expansion-to-defined -Wimplicit-fallthrough=2 -Wno-missing-include-dirs -Wno-shift-negative-value -Wno-psabi -fstack-protector-strong
    QEMU_OBJCFLAGS               : -Wold-style-declaration -Wold-style-definition -Wtype-limits -Winit-self -Wempty-body -Wnested-externs -Wendif-labels -Wexpan
sion-to-defined -Wimplicit-fallthrough=2 -Wno-missing-include-dirs -Wno-shift-negative-value -Wno-psabi
    QEMU_LDFLAGS                 : -fstack-protector-strong -Wl,--no-seh -Wl,--nxcompat -Wl,--warn-common
    profiler                     : NO
    link-time optimization (LTO) : NO
    PIE                          : NO
    static build                 : NO
    malloc trim support          : NO
    membarrier                   : NO
    debug stack usage            : NO
    mutex debugging              : NO
    memory allocator             : system
    avx2 optimization            : YES
    avx512f optimization         : NO
    gprof enabled                : NO
    gcov                         : NO
    thread sanitizer             : NO
    CFI support                  : NO
    strip binaries               : NO
    sparse                       : NO
    mingw32 support              : YES

  Cross compilers
    x86_64                       : cc

  Targets and accelerators
    KVM support                  : NO
    HAX support                  : YES
    HVF support                  : NO
    WHPX support                 : YES
    NVMM support                 : NO
    Xen support                  : NO
    TCG support                  : YES
    TCG backend                  : native (x86_64)
    TCG plugins                  : NO
    TCG debug enabled            : NO
    target list                  : aarch64-softmmu alpha-softmmu arm-softmmu avr-softmmu cris-softmmu hppa-softmmu i386-softmmu loongarch64-softmmu m68k-softmmu
 microblaze-softmmu microblazeel-softmmu mips-softmmu mips64-softmmu mips64el-softmmu mipsel-softmmu nios2-softmmu or1k-softmmu ppc-softmmu ppc64-softmmu riscv3
2-softmmu riscv64-softmmu rx-softmmu s390x-softmmu sh4-softmmu sh4eb-softmmu sparc-softmmu sparc64-softmmu tricore-softmmu x86_64-softmmu xtensa-softmmu xtensae
b-softmmu
    default devices              : YES
    out of process emulation     : NO
    vfio-user server             : NO

  Block layer support
    coroutine backend            : win32
    coroutine pool               : YES
    Block whitelist (rw)         :
    Block whitelist (ro)         :
    Use block whitelist in tools : NO
    VirtFS support               : NO
    build virtiofs daemon        : NO
    Live block migration         : YES
    replication support          : YES
    bochs support                : YES
    cloop support                : YES
    dmg support                  : YES
    qcow v1 support              : YES
    vdi support                  : YES
    vvfat support                : YES
    qed support                  : YES
    parallels support            : YES
    FUSE exports                 : NO
    VDUSE block exports          : NO

  Crypto
    TLS priority                 : NORMAL
    GNUTLS support               : YES 3.7.8
      GNUTLS crypto              : YES
    libgcrypt                    : NO
    nettle                       : NO
    AF_ALG support               : NO
    rng-none                     : NO
    Linux keyring                : NO

  Dependencies
    SDL support                  : YES
    SDL image support            : YES 2.6.2
    GTK support                  : YES
    pixman                       : YES 0.42.2
    VTE support                  : NO
    slirp support                : YES 4.7.0
    libtasn1                     : YES 4.19.0
    PAM                          : NO
    iconv support                : YES
    curses support               : YES
    virgl support                : NO
    blkio support                : NO
    curl support                 : YES 7.86.0
    Multipath support            : NO
    PNG support                  : YES 1.6.39
    VNC support                  : YES
    VNC SASL support             : YES
    VNC JPEG support             : YES 2.1.4
    DirectSound support          : YES
    JACK support                 : NO
    brlapi support               : NO
    vde support                  : NO
    netmap support               : NO
    l2tpv3 support               : NO
    Linux AIO support            : NO
    Linux io_uring support       : NO
    ATTR/XATTR support           : NO
    RDMA support                 : NO
    PVRDMA support               : NO
    fdt support                  : internal
    libcap-ng support            : NO
    bpf support                  : NO
    spice protocol support       : YES 0.14.4
      spice server support       : YES 0.15.1
    rbd support                  : NO
    smartcard support            : NO
    U2F support                  : NO
    libusb                       : YES 1.0.26
    usb net redir                : YES 0.8.0
    OpenGL support (epoxy)       : NO
    GBM                          : NO
    libiscsi support             : NO
    libnfs support               : YES 5.0.2
    QGA VSS support              : YES
    seccomp support              : NO
    GlusterFS support            : NO
    TPM support                  : NO
    libssh support               : YES 0.10.4
    lzo support                  : YES
    snappy support               : YES
    bzip2 support                : YES
    lzfse support                : NO
    zstd support                 : YES 1.5.2
    NUMA host support            : NO
    capstone                     : YES 4.0.2
    libpmem support              : NO
    libdaxctl support            : NO
    libudev                      : NO
    FUSE lseek                   : NO
    selinux                      : NO

  User defined options
    Native files                 : config-meson.cross
    bindir                       :
    prefix                       : C:/msys64/qemu
    werror                       : true
    b_pie                        : false
    gtk                          : enabled
    qemu_suffix                  :
    sdl                          : enabled
    vfio_user_server             : disabled

Found ninja-1.11.1 at C:/msys64/mingw64/bin/ninja.exe
Running postconf script 'C:/msys64/mingw64/bin/python.exe C:/msys64/home/Roberto/qemu/scripts/symlink-install-tree.py'
--- stdout ---

--- stderr ---
error making symbolic link C:/msys64/qemu/share/trace-events-all
Traceback (most recent call last):
  File "C:\msys64\home\Roberto\qemu\scripts\symlink-install-tree.py", line 33, in <module>
    raise e
  File "C:\msys64\home\Roberto\qemu\scripts\symlink-install-tree.py", line 29, in <module>
    os.symlink(source, bundle_dest)
OSError: [WinError 1314] Il privilegio richiesto non appartiene al client: 'C:/msys64/home/Roberto/qemu/build/trace/trace-events-all' -> 'qemu-bundle/msys64/qem
u/share/trace-events-all'

Additional information

The line below ensures that proper tags are added to the issue. Please do not remove it. -->

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