qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: MSYS2 and libfdt


From: Stefan Weil
Subject: Re: MSYS2 and libfdt
Date: Thu, 19 Jan 2023 09:55:00 +0100
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:102.0) Gecko/20100101 Thunderbird/102.6.1

Am 19.01.23 um 09:14 schrieb Thomas Huth:


 Hi all,

in some spare minutes, I started playing with a patch to try to remove the dtc submodule from the QEMU git repository - according to https://repology.org/project/dtc/versions our supported build platforms should now all provide the minimum required version.

However, I'm hitting a problem with Windows / MSYS2 in the CI jobs: The libfdt is packaged as part of the dtc package there:

 https://packages.msys2.org/package/dtc

... meaning that it is added with a usr/include and usr/lib path prefix instead of mingw64/include and mingw64/lib like other packages are using (see e.g. https://packages.msys2.org/package/mingw-w64-x86_64-zlib?repo=mingw64). Thus the compiler does not find the library there. Also there does not seem to be a difference between a i686 (32-bit) and x86_64 (64-bit) variant available here? Does anybody know how libfdt is supposed to be used with MSYS2 ?

 Thomas


Hi Thomas,

"dtc" is not the right package for cross builds. We'd require mingw-w64-i686-dtc and mingw-w64-x86_64-dtc packages for the QEMU build, but those packages are currently not provided by MSYS2.

See https://packages.msys2.org/search?t=binpkg&q=zlib for the zlib packages and related cross build packages.

Stefan





reply via email to

[Prev in Thread] Current Thread [Next in Thread]