https://bugs.winehq.org/show_bug.cgi?id=47027
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- Fixed by SHA1| |8f732c66ab37b54c30d63c74f78 | |22ba1d4f04996 Component|user32 |build-env Status|NEW |RESOLVED Resolution|--- |FIXED
--- Comment #14 from Anastasius Focht focht@gmx.net --- Hello folks,
this is now fixed by following commits:
* https://source.winehq.org/git/wine.git/commitdiff/8f732c66ab37b54c30d63c74f7... ("makefiles: Build with -fno-PIC on i386.")
* https://source.winehq.org/git/wine.git/commitdiff/8039941c52758113955d376bd7... ("makefiles: Also pass -fPIC flag when linking.")
Thanks Zebediah and Alexandre.
I as explained earlier, madCodeHook v3+ engine is quite sophisticated. There is no need for DECLSPEC_HOTPATCH - only the GOT/PIC register load code in entry had to go.
--- snip --- Process Information PID: 85 EXE: C:\Program Files (x86)\Origin\Origin.exe STARTED: Wed, May 01 2019 12:45:59 AM WARN 12:45:59 AM (0) 66 IGOTelemetry.cpp: 77 Unable to retrieve telemetry prod id WARN 12:45:59 AM (0) 66 IGOTelemetry.cpp: 87 Unable to retrieve telemetry timestamp WARN 12:45:59 AM (12) 66 DllMain.cpp: 2243 isIGOSharedMemoryNew=1 WARN 12:45:59 AM (0) 66 DllMain.cpp: 2256 Creating IGO Mutex INFO 12:45:59 AM (20) 66 DllMain.cpp: 2335 Info Display: disabled INFO 12:45:59 AM (0) 66 DllMain.cpp: 2340 32-bit DLL Process attach - 9 WARN 12:45:59 AM (13) 66 DllMain.cpp: 2366 forceAPIHooking = true INFO 12:45:59 AM (0) 66 DllMain.cpp: 2393 parent process name: originthinsetupinternal.exe (size 27) INFO 12:45:59 AM (407) 66 mhook.cpp: 442 TrampolineAlloc: for 7E3648E0 (DoDragDrop) between 00000001 and FE2E48E0 INFO 12:45:59 AM (1) 66 mhook.cpp: 192 mhooks: BlockAlloc: Allocated block at 7F000000 as 282 trampolines INFO 12:45:59 AM (0) 66 mhook.cpp: 442 TrampolineAlloc: for 7E6885A0 (SetFocus) between 00000001 and FE6085A0 INFO 12:45:59 AM (0) 66 mhook.cpp: 442 TrampolineAlloc: for 7E688440 (SetForegroundWindow) between 00000001 and FE608440 INFO 12:45:59 AM (0) 66 mhook.cpp: 442 TrampolineAlloc: for 7E6E8900 (BringWindowToTop) between 00000001 and FE668900 INFO 12:45:59 AM (0) 66 mhook.cpp: 442 TrampolineAlloc: for 7E6E90B0 (SwitchToThisWindow) between 00000001 and FE6690B0 INFO 12:45:59 AM (0) 66 mhook.cpp: 442 TrampolineAlloc: for 7E6E8F20 (ShowWindowAsync) between 00000001 and FE668F20 INFO 12:45:59 AM (0) 66 mhook.cpp: 442 TrampolineAlloc: for 7E6E8FC0 (ShowWindow) between 00000001 and FE668FC0 INFO 12:45:59 AM (0) 66 mhook.cpp: 442 TrampolineAlloc: for 7E6E7F80 (SetWindowPos) between 00000001 and FE667F80 INFO 12:45:59 AM (0) 66 mhook.cpp: 442 TrampolineAlloc: for 7E6884B0 (SetActiveWindow) between 00000001 and FE6084B0 INFO 12:45:59 AM (1) 66 mhook.cpp: 442 TrampolineAlloc: for 7B449B60 (CreateFileW) between 00000001 and FB3C9B60 --- snip ---
$ wine --version wine-4.7-66-g8039941c52
Regards