summary refs log tree commit diff stats
path: root/results/classifier/118/permissions/2592
diff options
context:
space:
mode:
authorChristian Krinitsin <mail@krinitsin.com>2025-06-16 16:59:00 +0000
committerChristian Krinitsin <mail@krinitsin.com>2025-06-16 16:59:33 +0000
commit9aba81d8eb048db908c94a3c40c25a5fde0caee6 (patch)
treeb765e7fb5e9a3c2143c68b0414e0055adb70e785 /results/classifier/118/permissions/2592
parentb89a938452613061c0f1f23e710281cf5c83cb29 (diff)
downloadqemu-analysis-9aba81d8eb048db908c94a3c40c25a5fde0caee6.tar.gz
qemu-analysis-9aba81d8eb048db908c94a3c40c25a5fde0caee6.zip
add 18th iteration of classifier
Diffstat (limited to 'results/classifier/118/permissions/2592')
-rw-r--r--results/classifier/118/permissions/259267
1 files changed, 67 insertions, 0 deletions
diff --git a/results/classifier/118/permissions/2592 b/results/classifier/118/permissions/2592
new file mode 100644
index 000000000..ca54710be
--- /dev/null
+++ b/results/classifier/118/permissions/2592
@@ -0,0 +1,67 @@
+permissions: 0.859
+semantic: 0.672
+graphic: 0.667
+architecture: 0.653
+device: 0.611
+performance: 0.577
+ppc: 0.557
+user-level: 0.534
+PID: 0.519
+files: 0.512
+mistranslation: 0.490
+TCG: 0.477
+network: 0.448
+socket: 0.434
+hypervisor: 0.431
+vnc: 0.426
+register: 0.403
+debug: 0.399
+risc-v: 0.356
+virtual: 0.341
+VMM: 0.319
+peripherals: 0.312
+boot: 0.287
+kernel: 0.254
+KVM: 0.218
+arm: 0.210
+i386: 0.192
+x86: 0.189
+assembly: 0.173
+
+qemu-aarch64 cannot properly support some python functions from the `time` module
+Description of problem:
+When a function is run in python (for example, `time.time()`), python returns the following error:
+```
+Traceback (most recent call last):
+  File "<string>", line 1, in <module>
+OSError: [Errno 0] Error
+```
+I am absolutely sure that this problem is related to `qemu-aarch64`, because the same python build works perfectly in aarch64 machine. In addition, python for arm architecture with `qemu-arm` does not have such a problem.
+Steps to reproduce:
+Note, this instruction specifies the stage of installation of that very python. But since it is compiled for Termux, you will have to use some scripts.
+1. Create a simple codespace environment.
+2. Run the following commands through the terminal:
+```
+git clone https://github.com/termux-pacman/glibc-packages
+cd glibc-packages
+./get-build-package.sh
+sudo mkdir /data
+sudo chown codespace /data
+sudo chgrp codespace /data
+sudo apt update
+sudo apt install patchelf
+./scripts/setup-cgct.sh
+```
+3. Run the following command. Note that the installation phase will start there. You should stop the script when the installation phase is complete.
+```
+./build-package.sh -I -w --library glibc gpkg/gobject-introspection
+```
+4. Install standard qemu via apt.
+5. Run the following command:
+```
+qemu-aarch64 /data/data/com.termux/files/usr/glibc/bin/python3.12 -c "import time; time.time()"
+```
+Additional information:
+- For some reason this error only occurs in the environment from GitHub. On my computer this error does not occur.
+ - Here is a log of one of the github actions, which shows an attempt to compile packages with python on different architectures - https://github.com/termux-pacman/glibc-packages/actions/runs/11023254502.  
+For reference, I use qemu for more flexible compilation of packages. And in github actions, qemu is installed here - https://github.com/termux-pacman/glibc-packages/blob/main/.github/workflows/build.yml#L35.