summary refs log tree commit diff stats
path: root/results/classifier/118/graphic/2510
diff options
context:
space:
mode:
Diffstat (limited to 'results/classifier/118/graphic/2510')
-rw-r--r--results/classifier/118/graphic/251075
1 files changed, 75 insertions, 0 deletions
diff --git a/results/classifier/118/graphic/2510 b/results/classifier/118/graphic/2510
new file mode 100644
index 000000000..ec0b4d3f3
--- /dev/null
+++ b/results/classifier/118/graphic/2510
@@ -0,0 +1,75 @@
+graphic: 0.993
+user-level: 0.978
+performance: 0.976
+x86: 0.973
+semantic: 0.964
+PID: 0.943
+device: 0.931
+mistranslation: 0.918
+peripherals: 0.904
+permissions: 0.901
+architecture: 0.875
+socket: 0.869
+vnc: 0.850
+debug: 0.827
+virtual: 0.826
+TCG: 0.815
+network: 0.803
+ppc: 0.803
+risc-v: 0.792
+files: 0.776
+arm: 0.758
+VMM: 0.750
+KVM: 0.745
+register: 0.734
+hypervisor: 0.692
+boot: 0.635
+kernel: 0.624
+i386: 0.572
+assembly: 0.411
+
+Cross compiling tools / qemu-img results in "ninja: no work to do"
+Description of problem:
+I have the following Dockerfile setting up a cross-compile environment for QEMU.
+I am trying to build qemu-img.exe only at the moment
+
+
+```
+FROM fedora as builder
+RUN --mount=type=cache,target=/var/cache \
+        dnf -v install --assumeyes strace gcc make mingw64-gcc mingw64-binutils python-setuptools meson mingw64-glib2-static mingw64-glib2 diffutils
+
+FROM builder as qemu-builder
+WORKDIR /src/qemu #assuming qemu source tree is already available at /src/qemu
+RUN
+RUN ./configure --cross-prefix=x86_64-w64-mingw32- --target-list='' --static
+RUN make V=1 tools
+```
+With either `make tools` or `make qemu-img.exe` I get
+
+```
+#10 0.265 changing dir to build for make "tools"...
+#10 0.267 make[1]: Entering directory '/src/qemu/build'
+#10 0.330 ninja: no work to do.
+#10 0.331 { \
+#10 0.331   echo 'ninja-targets = \'; \
+#10 0.331   /usr/bin/ninja -t targets all | sed 's/:.*//; $!s/$/ \\/'; \
+#10 0.331   echo 'build-files = \'; \
+#10 0.331   /usr/bin/ninja -t query build.ninja | sed -n '1,/^  input:/d; /^  outputs:/q; s/$/ \\/p'; \
+#10 0.331 } > Makefile.ninja.tmp && mv Makefile.ninja.tmp Makefile.ninja
+#10 0.363 /src/qemu/build/pyvenv/bin/meson introspect --targets --tests --benchmarks | /src/qemu/build/pyvenv/bin/python3 -B scripts/mtest2make.py > Makefile.mtest
+#10 0.634 make[1]: Nothing to be done for 'tools'.
+#10 0.634 make[1]: Leaving directory '/src/qemu/build'
+#10 DONE 0.6s
+```
+
+Following the info in `make help`, I tried `make qemu-img.o` which resulted in
+
+```
+cc    -c -o qemu-img.o qemu-img.c
+qemu-img.c:25:10: fatal error: qemu/osdep.h: No such file or directory
+   25 | #include "qemu/osdep.h"
+      |          ^~~~~~~~~~~~~~
+```
+Additional information:
+