diff options
Diffstat (limited to 'results/classifier/zero-shot/105/socket/1904')
| -rw-r--r-- | results/classifier/zero-shot/105/socket/1904 | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/results/classifier/zero-shot/105/socket/1904 b/results/classifier/zero-shot/105/socket/1904 new file mode 100644 index 000000000..70500cd6a --- /dev/null +++ b/results/classifier/zero-shot/105/socket/1904 @@ -0,0 +1,29 @@ +socket: 0.915 +device: 0.852 +graphic: 0.757 +vnc: 0.673 +network: 0.672 +instruction: 0.624 +semantic: 0.535 +other: 0.307 +mistranslation: 0.213 +boot: 0.199 +assembly: 0.090 +KVM: 0.055 + +Windows LTO build fails +Description of problem: +LTO likes to delete `win32_close_exception_handler` which causes an error when linking +``` +[2736/5786] Linking target qemu-system-avr.exe +FAILED: qemu-system-avr.exe +"cc" "-m64" "-mcx16" @qemu-system-avr.exe.rsp +`win32_close_exception_handler' referenced in section `.xdata' of C:\msys64\tmp\cceRwR4N.ltrans59.ltrans.o: defined in discarded section `.text' of libqemuutil.a.p/util_oslib-win32.c.obj (symbol from plugin) +collect2.exe: error: ld returned 1 exit status +``` +Steps to reproduce: +1. `./configure --enable-lto` +2. `make` +Additional information: +Looks like the offending commit is d89f30b4df13dfe389a4d6cf8a30b2f87c4c166e "win32: wrap socket close() with an exception handler". +Undoing the commit or marking the exception handler as `__attribute__ ((noinline, used))` both appear to fix the issue. |