summary refs log tree commit diff stats
path: root/results/classifier/zero-shot/105/instruction/1414
diff options
context:
space:
mode:
authorChristian Krinitsin <mail@krinitsin.com>2025-07-03 19:39:53 +0200
committerChristian Krinitsin <mail@krinitsin.com>2025-07-03 19:39:53 +0200
commitdee4dcba78baf712cab403d47d9db319ab7f95d6 (patch)
tree418478faf06786701a56268672f73d6b0b4eb239 /results/classifier/zero-shot/105/instruction/1414
parent4d9e26c0333abd39bdbd039dcdb30ed429c475ba (diff)
downloadqemu-analysis-dee4dcba78baf712cab403d47d9db319ab7f95d6.tar.gz
qemu-analysis-dee4dcba78baf712cab403d47d9db319ab7f95d6.zip
restructure results
Diffstat (limited to 'results/classifier/zero-shot/105/instruction/1414')
-rw-r--r--results/classifier/zero-shot/105/instruction/141433
1 files changed, 33 insertions, 0 deletions
diff --git a/results/classifier/zero-shot/105/instruction/1414 b/results/classifier/zero-shot/105/instruction/1414
new file mode 100644
index 000000000..9f0ea54f6
--- /dev/null
+++ b/results/classifier/zero-shot/105/instruction/1414
@@ -0,0 +1,33 @@
+instruction: 0.800
+device: 0.716
+graphic: 0.703
+semantic: 0.637
+vnc: 0.575
+network: 0.562
+other: 0.555
+assembly: 0.517
+socket: 0.493
+boot: 0.429
+mistranslation: 0.346
+KVM: 0.327
+
+Configure script fix for glib version
+Description of problem:
+Script "configure" uses "pkg-config" directly, at line 2420: https://gitlab.com/qemu-project/qemu/-/blob/f9f0e6173e1d570847930abfe2b4560c7b6a964a/configure#L2420
+
+Because of it, GLIB_VERSION in "config-host.mak" can be taken from host system, under some circumstances (if PKG_CONFIG_PATH is not defined).
+
+In case of cross-compilation, "**$pkg_config**" should be used instead of "pkg-config", to use pkg-config from cross-compilation toolchain and to take GLIB_VERSION of cross-compiled glib (as it is **correctly used at line 1476**: https://gitlab.com/qemu-project/qemu/-/blob/f9f0e6173e1d570847930abfe2b4560c7b6a964a/configure#L1476 ).
+Steps to reproduce:
+1. Do not define PKG_CONFIG_PATH environment variable, use PKG_CONFIG variable instead.
+2. Try to ./configure with cross-compiled glib.
+3. GLIB_VERSION in config-host.mak will be from host glib.
+Additional information:
+Change lihe 2420:<br>
+https://gitlab.com/qemu-project/qemu/-/blob/f9f0e6173e1d570847930abfe2b4560c7b6a964a/configure#L2420
+<br>
+echo "GLIB_VERSION=$(**pkg-config** --modversion glib-2.0)" >> $config_host_mak
+<br>to:<br>
+echo "GLIB_VERSION=$(**\$pkg_config** --modversion glib-2.0)" >> $config_host_mak
+
+P.s. Sorry for posting the patch here, GitLab requires signing with a key to push the commit, it's too complicated to post 2-bytes fix.