-
Notifications
You must be signed in to change notification settings - Fork 17
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Please add documenation for updating QEMU binaries #38
Comments
Ok I have made progress, mostly thanks to upgrading to Python 3.9.6. If I make more progress, I will work on putting this together in a nicer way. Building Embedded BinariesChecking you can apply the patchgit clone https://gitlab.com/qemu-project/qemu.git Look at the dates or SHAs for the patch you are trying to apply. The patches being the latest patch from alex . In my case this was May 19th, 2021.
In my case, I went with
Building QEMUDependenciesmacOS ? (tested on 11.4 (20F71)) Python 3.9.6Building 3.9.1 Python 3.9.1 (v3.9.1:1e5d33e9b9, Dec 7 2020, 12:10:52)
[Clang 6.0 (clang-600.0.57)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> import os
>>> os.uname().machine
'x86_64' 3.9.6 Python 3.9.6 (v3.9.6:db3ff76da1, Jun 28 2021, 11:14:58)
[Clang 12.0.5 (clang-1205.0.22.9)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> import os
>>> os.uname().machine
'arm64' SetupThe combination of the following versions of libraries has been built, but not tested. These should also be built in this order.
additionally, ninja, which we will copy the executable to our bin I used a custom directory for building out the dependencies, which may not be valid. export $BDIR=/tmp/qemuBuildDepends For each of the dependencies listed above (except glib), cd into their directory and run
a. for pkg-config, add
Notes:
ACVFM
|
I would like to help out by making PRs for keep the QEMU binaries up to date. I have been trying to no avail to build QEMU on a macOS M1 machine. Could someone help me fill out the steps to provide a guide for contributors?
Here is what I have been trying:
However, I have not been able to build QEMU. I must admit this is may be due to me trying to avoid using Homebrew to install the additional build requirements. I have been able to compile everything myself except for
glib
. But if Homebrew is what it takes, then I will go for it.The error I always hit when trying to build
glib
is when it tries to use its ownlibffi
subproject itself, instead of using thelibffi
I built:The text was updated successfully, but these errors were encountered: