https://bugs.winehq.org/show_bug.cgi?id=47565
Bug ID: 47565 Summary: winetricks vcrun* verbs fail with Wine 4.12(+) Product: Wine Version: 4.12.1 Hardware: x86 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: -unknown Assignee: wine-bugs@winehq.org Reporter: bob.mt.wya@gmail.com Distribution: ---
Created attachment 64965 --> https://bugs.winehq.org/attachment.cgi?id=64965 winetricks vcrun2015 log
winetricks vcrun2015 verb fails with Wine 4.12.1 and works correctly with Wine 4.11 ...
Wine Git bisection regression test:
32fdffac424b51fbbbd89c02022b4269930bdd31 is the first bad commit commit 32fdffac424b51fbbbd89c02022b4269930bdd31 Author: Alexandre Julliard julliard@winehq.org Date: Wed Jun 26 12:41:22 2019 +0200
include: Implement some inline functions in C instead of assembly.
This way the same code can be used on all platforms.
Signed-off-by: Alexandre Julliard julliard@winehq.org
dlls/kernel32/kernel32.spec | 14 ++--- dlls/kernel32/process.c | 3 +- dlls/kernel32/thread.c | 122 +++----------------------------------------- dlls/ntdll/ntdll_misc.h | 5 -- include/winbase.h | 115 +++++++++++++---------------------------- 5 files changed, 49 insertions(+), 210 deletions(-)
Tested in a clean 32-bit WINEPREFIX.
Thread/issue reference(s) for other users able to reproduce this issue:
* https://github.com/Winetricks/winetricks/issues/1280 * https://forum.winehq.org/viewtopic.php?f=8&t=30883&p=123789#p123789
Both these users are on Arch Linux... I'm on Gentoo and using gcc 9.1.0...
So perhaps gcc-9.1.0 is "optimising" these C blocks? I'll test building Wine 4.12.1 with -O0 instead of -O2 ...