From mboxrd@z Thu Jan 1 00:00:00 1970 From: Adolf Belka To: development@lists.ipfire.org Subject: Re: Problem with trying to build qemu-9.0.2 - it requires dtc for all architectures Date: Tue, 03 Sep 2024 15:25:47 +0200 Message-ID: <8f85d745-666f-48f4-abc2-497d2601b0a9@ipfire.org> In-Reply-To: <0DDFA6E0-9323-43EA-8DD9-BB06A9728452@ipfire.org> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============3988836621085085987==" List-Id: --===============3988836621085085987== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Hi Michael, On 03/09/2024 09:24, Michael Tremer wrote: > Hello Adolf, >=20 > Yes, you can make those changes. >=20 > dtc is the device tree compiler and it should be quick to build. We just di= dn=E2=80=99t do that since we didn=E2=80=99t have any use for it apart from a= arch64. >=20 > Move it wherever you want. It should not have any further dependencies. We = can build it for all architectures. I did that and qemu found libfdt but then said that it was too old and that a= min of 1.5.1 was required but the updated version of dtc I had built was ver= sion 1.7.1 It looks like qemu can correctly detect the presence of libfdt but not the ve= rsion number. I have raised this as an issue in the qemu gitlab site. Version 9.0.0 still had the dtc subproject included in the source tarball, so= I am currently building that and have left the IPFire dtc where it was for t= he moment. This will still update qemu by 11 version numbers. I will wait to see what response I get back from the qemu team for updating t= o 9.0.2 Regards, Adolf. >=20 > -Michael >=20 >> On 2 Sep 2024, at 19:46, Adolf Belka wrote: >> >> Hi All, >> >> I am trying to do an update of the qemu package. >> >> It is failing for a missing fdt library which it says is required by targe= ts x86_64-softmmu, aarch64-softmmu and riscv64-softmmu. >> >> The previous version that we currently have, 8.1.2 has a bundled dtc which= includes the fdt library. That has been removed, probably with the change to= the 9.x branch as it is not in 9.0.2 >> >> We have the dtc package in make but it is after qemu. >> >> I could move it to before qemu, however I also note that the dtc package i= s specified only for aarch64 but if we need to have the above softmmu targets= specified then qemu is requiring the fdt library for all our architectures. >> >> Before I move dtc and change it to be for all architectures, I just want t= o flag this up and confirm that it is the right thing to do. >> >> Regards, >> >> Adolf. >> >=20 --===============3988836621085085987==--