putting the temporary files in object dir works as well: -save-temps=obj # "-save-temps=obj" from the "cflags" > ./qemu/configure --target-list=riscv64-softmmu --enable-debug > --extra-cflags='-O0 -g3 -save-temps=obj' --prefix=/install/riscv-qemu
# build again without any problem > make -j 8 -- You received this bug notification because you are a member of qemu- devel-ml, which is subscribed to QEMU. https://bugs.launchpad.net/bugs/1813010 Title: Parallel builds fail (make -j >=2) when using --extra-cflags "--save- temps" Status in QEMU: Confirmed Bug description: specs: QEMU commit: 9f33051abce238ab43a23125e237aac8b0931b88 # of Cores: 8 Host kernel: Linux 4.19.16-1-lts Host type: x86_64 GNU/Linux Host distro: Archlinux Guest: we never get that far steps: # fresh copy of the latest commit > git clone https://git.qemu.org/git/qemu.git # separate build dir > mkdir build > cd build # sample configuration for riscv (this happens for other targets as well) > ../qemu/configure --target-list=riscv64-softmmu --enable-debug --extra-cflags='-O0 -g3 -save-temps' --prefix=/install/riscv-qemu # this will fail (see attached log file) > make -j 2 To manage notifications about this bug go to: https://bugs.launchpad.net/qemu/+bug/1813010/+subscriptions