summary refs log tree commit diff stats
path: root/gitlab/issues_text/target_missing/host_missing/accel_missing/2799
diff options
context:
space:
mode:
authorChristian Krinitsin <mail@krinitsin.com>2025-05-30 16:52:07 +0200
committerChristian Krinitsin <mail@krinitsin.com>2025-05-30 16:52:17 +0200
commit9260319e7411ff8281700a532caa436f40120ec4 (patch)
tree2f6bfe5f3458dd49d328d3a9eb508595450adec0 /gitlab/issues_text/target_missing/host_missing/accel_missing/2799
parent225caa38269323af1bfc2daadff5ec8bd930747f (diff)
downloadqemu-analysis-9260319e7411ff8281700a532caa436f40120ec4.tar.gz
qemu-analysis-9260319e7411ff8281700a532caa436f40120ec4.zip
gitlab scraper: download in toml and text format
Diffstat (limited to 'gitlab/issues_text/target_missing/host_missing/accel_missing/2799')
-rw-r--r--gitlab/issues_text/target_missing/host_missing/accel_missing/279941
1 files changed, 41 insertions, 0 deletions
diff --git a/gitlab/issues_text/target_missing/host_missing/accel_missing/2799 b/gitlab/issues_text/target_missing/host_missing/accel_missing/2799
new file mode 100644
index 000000000..4f82daa7d
--- /dev/null
+++ b/gitlab/issues_text/target_missing/host_missing/accel_missing/2799
@@ -0,0 +1,41 @@
+compile failure for linux-user when host libc defines "struct sched_attr" in its sched.h
+Description of problem:
+When I tried to build commit 871af84d the build process stopped in  [3306/9698] Compiling C object libqemu...-linux-user.a.p/linux-user_syscall.c.o
+
+Here is the error log:
+
+```
+../linux-user/syscall.c:364:8: error: redefinition of 'struct sched_attr'
+  364 | struct sched_attr {
+      |        ^~~~~~~~~~
+In file included from /usr/include/bits/sched.h:63,
+                 from /usr/include/sched.h:43,
+                 from /usr/include/pthread.h:22,
+                 from /usr/include/glib-2.0/glib/deprecated/gthread.h:126,
+                 from /usr/include/glib-2.0/glib.h:115,
+                 from /home/fred/qemu-git/src/qemu/include/glib-compat.h:32,
+                 from /home/fred/qemu-git/src/qemu/include/qemu/osdep.h:161,
+                 from ../linux-user/syscall.c:20:
+/usr/include/linux/sched/types.h:98:8: note: originally defined here
+   98 | struct sched_attr {
+      |        ^~~~~~~~~~
+```
+Steps to reproduce:
+1. Grab commit 871af84d 
+2. Use this configure command line: 
+
+```
+--prefix=/usr \
+    --sysconfdir=/etc \
+    --localstatedir=/var \
+    --libexecdir=/usr/lib/qemu \
+    --smbd=/usr/bin/smbd \
+    --enable-modules \
+    --enable-sdl \
+    --disable-werror \
+    "${@:2}"
+```
+
+3. Launch ninja and wait.
+Additional information:
+