architecture: 0.331 socket: 0.326 device: 0.312 mistranslation: 0.265 boot: 0.258 graphic: 0.221 semantic: 0.215 vnc: 0.185 ppc: 0.180 PID: 0.176 kernel: 0.156 arm: 0.147 network: 0.146 register: 0.125 hypervisor: 0.106 performance: 0.104 user-level: 0.099 permissions: 0.096 peripherals: 0.088 debug: 0.083 assembly: 0.073 files: 0.068 x86: 0.059 risc-v: 0.055 VMM: 0.044 TCG: 0.041 virtual: 0.040 i386: 0.038 KVM: 0.031 Compilation fails with "ld: Error: unable to disambiguate: -no-pie (did you mean --no-pie ?)" It compiles until the end and then just: [6102/6103] Linking target qemu-system-alpha [6103/6103] Linking target qemu-system-aarch64 make[1]: Leaving directory '/home/t/.cache/kiss/proc/32129/build/qemu/build' make: *** [GNUmakefile:11: all] Error 2 Attached is the complete log including configure. I can't find why this is happening maybe I have a wrong version of a required library? Any ideas? This isn't silent: the log says: BUILD multiboot.img ld: Error: unable to disambiguate: -no-pie (did you mean --no-pie ?) Which version of QEMU are you trying to build? Does this happen with head-of-git ? I could not find This is how it is configured: ./configure \ --prefix=/usr \ --localstatedir=/var \ --sysconfdir=/etc \ --enable-debug-info \ --disable-gtk \ --disable-docs \ --enable-sdl \ --enable-kvm \ --enable-pie \ --enable-curses \ --disable-user \ --disable-linux-user \ --enable-system Version: 5.2.0 Also this: $ grep "\-no\-pie" configure # Check we support --no-pie first; we will need this for building ROMs. if compile_prog "-Werror -fno-pie" "-no-pie"; then LDFLAGS_NOPIE="-no-pie" Adding another hyphen is not helping either. I tried to comment out the whole block: #if compile_prog "-Werror -fno-pie" "-no-pie"; then # CFLAGS_NOPIE="-fno-pie" # LDFLAGS_NOPIE="-no-pie" #fi And it compiled and linked without any problem. This is already fixed in upstream QEMU in commit bbd2d5a8120771, which will be in 6.0 and 5.2.1.