id = 822 title = "hw/ppc/vof.c:1033: undefined reference to `fdt_get_max_phandle' in qemu-6.1.1, qemu-6.2.0" state = "closed" created_at = "2022-01-16T14:53:23.015Z" closed_at = "2022-01-28T16:59:34.058Z" labels = ["target: ppc", "workflow::In Progress"] url = "https://gitlab.com/qemu-project/qemu/-/issues/822" host-os = "Funtoo Linux 1.4" host-arch = "x86_64" qemu-version = "6.2.0, 6.1.1" guest-os = "n/a" guest-arch = "n/a" description = """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""" 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 = """the final part of the build log attached as text"""