hw/ppc/vof.c:1033: undefined reference to `fdt_get_max_phandle' in qemu-6.1.1, qemu-6.2.0 Description of problem: Compilation of the source code of 6.1.1 and 6.2.0 fails in the qemu-system-ppc target ath the linking stage. Specifically the error in both cases is usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: libqemu-ppc-softmmu.fa.p/hw_ppc_vof.c.o: in function `vof_build_dt': /home/silviu/qemu-work/qemu-6.1.1/build/../hw/ppc/vof.c:1033: undefined reference to `fdt_get_max_phandle' (same error for 6.2.0) This system has qemu-5.2.0 installed, which is the default for Funtoo currently. There were no compilation errors with 5.2.0. gcc is version 9.2.0 Steps to reproduce: 1. download qemu-6.1.1.tar.xz/qemu-6.2.0.tar.xz and uncompress 2. configure 3. make[error.txt](/uploads/c9a987870eff85e586ddb29a113f64a7/error.txt) Additional information: the final part of the build log attached as text