diff options
Diffstat (limited to 'results/classifier/zero-shot/118/graphic/1295')
| -rw-r--r-- | results/classifier/zero-shot/118/graphic/1295 | 57 |
1 files changed, 57 insertions, 0 deletions
diff --git a/results/classifier/zero-shot/118/graphic/1295 b/results/classifier/zero-shot/118/graphic/1295 new file mode 100644 index 00000000..04317d1a --- /dev/null +++ b/results/classifier/zero-shot/118/graphic/1295 @@ -0,0 +1,57 @@ +graphic: 0.892 +x86: 0.769 +performance: 0.662 +architecture: 0.646 +semantic: 0.606 +ppc: 0.555 +PID: 0.536 +device: 0.534 +user-level: 0.492 +permissions: 0.470 +files: 0.466 +kernel: 0.439 +register: 0.376 +debug: 0.374 +TCG: 0.342 +VMM: 0.338 +peripherals: 0.296 +vnc: 0.294 +i386: 0.286 +assembly: 0.253 +arm: 0.250 +hypervisor: 0.243 +mistranslation: 0.228 +risc-v: 0.210 +network: 0.201 +socket: 0.197 +virtual: 0.185 +KVM: 0.171 +boot: 0.150 + +configure script can fail if compiler flag `-Wunused-parameter` is enabled +Description of problem: +`configure` fails with an error message: + +``` +ERROR: SafeStack is only supported by the coroutine backend ucontext +``` +Steps to reproduce: +1. Run `./configure --cross-prefix=x86_64-w64-mingw32- --disable-werror --extra-cflags=-Wunused-parameter` +Additional information: +Last part of `config.log`: + +``` +x86_64-w64-mingw32-gcc -m64 -mcx16 -I/mingw64/include -Wunused-parameter -fno-pie -mthreads -std=gnu11 -Wall -fno-pie -no-pie -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -Wstrict-prototypes -Wredundant-decls -Wundef -Wwrite-strings -Wmissing-prototypes -fno-strict-aliasing -fno-common -fwrapv -Wold-style-declaration -Wold-style-definition -Wtype-limits -Wformat-security -Wformat-y2k -Winit-self -Wignored-qualifiers -Wempty-body -Wnested-externs -Wendif-labels -Wexpansion-to-defined -Wimplicit-fallthrough=2 -Wno-missing-include-dirs -Wno-shift-negative-value -Wno-psabi -Werror -o config-temp/qemu-conf.exe config-temp/qemu-conf.c -L/mingw64/lib -no-pie +config-temp/qemu-conf.c: In function ‘main’: +config-temp/qemu-conf.c:1:14: error: unused parameter ‘argc’ [-Werror=unused-parameter] + 1 | int main(int argc, char *argv[]) + | ~~~~^~~~ +config-temp/qemu-conf.c:1:26: error: unused parameter ‘argv’ [-Werror=unused-parameter] + 1 | int main(int argc, char *argv[]) + | ~~~~~~^~~~~~ +cc1: all warnings being treated as errors +``` + +The configure script fails because it tries to compile small C programs with a main function which is declared with arguments `argc` and `argv` although those arguments are unused. + +Using the same compiler flag for a native build (`./configure --disable-werror --extra-cflags=-Wunused-parameter`) shows the same errors in `config.log`, but surprisingly does not fail. |
