1- We can't build softmmu-* targets with --static flag, here is a
1+ ~~ We can't build softmmu-* targets with --static flag, here is a
22[ thread] ( https://lists.gnu.org/archive/html/qemu-devel/2011-11/msg02878.html )
33from QEMU mailing list that shows why (and I have experienced more or
44less the same - qemu would just not build and complain about missing
@@ -8,21 +8,21 @@ found this
88[ Debian wiki page] ( https://wiki.debian.org/RISC-V#Manual_qemu-user_installation )
99that talks about static qemu-riscv binaries,
1010and they only mention linux-user target (not softmmu, and we need the
11- latter). So maybe it is just not possible to build softmmu targets with
12- static flag : unamused : ? But suppose rminnich knows what he is doing.
11+ latter).~~ Turns out it is still possible to do so (why - no idea, but it
12+ works and thank QEMU for that)
1313
14- - Current build is useless, as it is for running programs in
15- linux-user mode .
14+ - A * -linux-user target is for running programs in user mode, for
15+ example, it will run an example from test/usermode/data .
1616
1717The origial PR failed because device loader was not found. However, it
1818used a flag --without-default-devices, or something like that, which
1919could just disable that device.
2020
21- - : x : Try removing that flag.
21+ - [x] Try removing that flag. (Worked)
2222
2323Also anyway need to update QEMU to version 5.1.0, so all the builds
2424should be executed with that version.
2525
26- Also I thought that using softmmut-* target requries that we also copy
26+ I thought that using softmmut-* target requries that we also copy
2727the qemu-img binary to usr/bin, but now seems like that is not a
2828requirement with --static flag.
0 commit comments