[Bug 52736] Argentum 20 RPG Launcher has graphical glitches when compiled with -O2

WineHQ Bugzilla wine-bugs at winehq.org
Sun Mar 27 14:11:20 CDT 2022


https://bugs.winehq.org/show_bug.cgi?id=52736

Zebediah Figura <z.figura12 at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |z.figura12 at gmail.com

--- Comment #7 from Zebediah Figura <z.figura12 at gmail.com> ---
(In reply to Fabian Maurer from comment #5)
> > Does it help if you add DECLSPEC_HOTPATCH to these methods enstead?
> 
> Doesn't help, no.
> On a side note, I thought DECLSPEC_HOTPATCH wasn't needed anymore due to
> -fno-PIC?

Not exactly. Many applications tried to patch the first few bytes of a
function, using engines that could recognize many different x86 instructions
but couldn't handle GOT loads, and so would be fixed by either one. But some
applications choked on GOT loads past the first five bytes (so they really do
need -fno-PIC), and some applications really do expect the verbatim hotpatch
prefix (so they really do need DECLSPEC_HOTPATCH).

-- 
Do not reply to this email, post in Bugzilla using the
above URL to reply.
You are receiving this mail because:
You are watching all bug changes.



More information about the wine-bugs mailing list