summaryrefslogtreecommitdiffstats
path: root/results/classifier/118/none/984516
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/none/984516
parentb89a938452613061c0f1f23e710281cf5c83cb29 (diff)
downloademulator-bug-study-9aba81d8eb048db908c94a3c40c25a5fde0caee6.tar.gz
emulator-bug-study-9aba81d8eb048db908c94a3c40c25a5fde0caee6.zip
add 18th iteration of classifier
Diffstat (limited to 'results/classifier/118/none/984516')
-rw-r--r--results/classifier/118/none/98451699
1 files changed, 99 insertions, 0 deletions
diff --git a/results/classifier/118/none/984516 b/results/classifier/118/none/984516
new file mode 100644
index 00000000..890fdb61
--- /dev/null
+++ b/results/classifier/118/none/984516
@@ -0,0 +1,99 @@
+peripherals: 0.667
+graphic: 0.616
+semantic: 0.599
+permissions: 0.588
+files: 0.567
+architecture: 0.544
+device: 0.537
+virtual: 0.525
+performance: 0.495
+PID: 0.491
+user-level: 0.485
+register: 0.468
+network: 0.466
+hypervisor: 0.461
+risc-v: 0.460
+TCG: 0.455
+arm: 0.453
+debug: 0.452
+ppc: 0.431
+mistranslation: 0.427
+socket: 0.426
+vnc: 0.416
+assembly: 0.396
+boot: 0.357
+VMM: 0.352
+x86: 0.337
+KVM: 0.334
+kernel: 0.334
+i386: 0.261
+
+should use sdl-config for static build not pkg-config
+
+In the configure script when a user wants to compile a static QEMU and enable SDL support (i.e. ./configure --static --enable-sdl):
+
+pkg-config does not have an option "--static-libs". For correct results (to find the static archive libSDL.a) you need to use sdl-config --static-libs.
+
+
+This is how I get it to work for me anyway:
+
+
+diff --git a/configure b/configure
+index 2d62d12..3de4c9b 100755
+--- a/configure
++++ b/configure
+@@ -1548,7 +1548,7 @@ int main( void ) { return SDL_Init (SDL_INIT_VIDEO); }
+ EOF
+ sdl_cflags=`$sdlconfig --cflags 2> /dev/null`
+ if test "$static" = "yes" ; then
+- sdl_libs=`$sdlconfig --static-libs 2>/dev/null`
++ sdl_libs=`${SDL_CONFIG-${cross_prefix}sdl-config} --static-libs`
+ else
+ sdl_libs=`$sdlconfig --libs 2> /dev/null`
+ fi
+
+Sorry, I stripped out the "2>/dev/null" when I was debugging and forgot to add it back in:
+
+
+diff --git a/configure b/configure
+index 2d62d12..3de4c9b 100755
+--- a/configure
++++ b/configure
+@@ -1548,7 +1548,7 @@ int main( void ) { return SDL_Init (SDL_INIT_VIDEO); }
+ EOF
+ sdl_cflags=`$sdlconfig --cflags 2> /dev/null`
+ if test "$static" = "yes" ; then
+- sdl_libs=`$sdlconfig --static-libs 2>/dev/null`
++ sdl_libs=`${SDL_CONFIG-${cross_prefix}sdl-config} --static-libs 2>/dev/null`
+ else
+ sdl_libs=`$sdlconfig --libs 2> /dev/null`
+ fi
+
+
+pkg-config supports --static, and QEMU uses it.
+
+Please try whether
+
+ pkg-config --libs --static sdl
+
+gives the correct flags with your distribution. If not, that distribution is buggy.
+
+you are correct, can we switch the parameter from "--static-libs" to "--libs --static" ?
+
+diff --git a/configure b/configure
+index 2d62d12..b0cedd2 100755
+--- a/configure
++++ b/configure
+@@ -1548,7 +1548,7 @@ int main( void ) { return SDL_Init (SDL_INIT_VIDEO); }
+ EOF
+ sdl_cflags=`$sdlconfig --cflags 2> /dev/null`
+ if test "$static" = "yes" ; then
+- sdl_libs=`$sdlconfig --static-libs 2>/dev/null`
++ sdl_libs=`$sdlconfig --libs --static 2>/dev/null`
+ else
+ sdl_libs=`$sdlconfig --libs 2> /dev/null`
+ fi
+
+Finally fixed here:
+http://git.qemu.org/?p=qemu.git;a=commitdiff;h=5f37e6d4a7b22ccf1bb8fa4
+