[Bug 45199] Many applications and games fail to start/ crash after compiling wine with gcc 8.1.0 and -O2 (GOT/ PIC register load code now emitted at function entry, missing hotpatch signatures)
wine-bugs at winehq.org
wine-bugs at winehq.org
Tue Nov 6 00:25:25 CST 2018
https://bugs.winehq.org/show_bug.cgi?id=45199
Roman Kagan <rkagan at mail.ru> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |rkagan at mail.ru
--- Comment #58 from Roman Kagan <rkagan at mail.ru> ---
I'm still seeing patching failures from tcmalloc with WoT on my Fedora29 like
this:
https://forum.winehq.org/viewtopic.php?f=8&t=31272
AFAICS on Fedora wine libraries are built with -fcf-protection making gcc emit
endbr32 (endbr64 for 64bit) as the very first instruction of every function,
which confuses the perftools/tcmalloc patcher.
Per
https://github.com/gperftools/gperftools/blob/master/src/windows/patch_functions.cc,
the list of functions it patches is
in libc:
malloc [*]
free
realloc
calloc
operator new
operator new[]
operator delete
operator delete[]
_msize [*]
_expand
_calloc_crt
_free_base [*]
_free_dbg
in kernel32:
HeapAlloc [*]
HeapFree [*]
VirtualAllocEx [*]
VirtualFreeEx [*]
MapViewOfFileEx [*]
UnmapViewOfFile
LoadLibraryExW
FreeLibrary
[*] are those still lacking DECLSPEC_HOTPATCH as of 3.19.
Should I reopen this bug or file a new one?
--
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