[Bug 46626] UPlay fails to start : "Error at hooking API LoadStringA" ( UPlay's hooking engine can' t handle ENDBR32 instruction inserted at non-hotpatch API entries due to distro build environments '-fcf-protection')

wine-bugs at winehq.org wine-bugs at winehq.org
Sun Mar 24 00:35:30 CDT 2019


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

--- Comment #8 from Vlad Bespalov <vlad.botanic at gmail.com> ---
(In reply to Anastasius Focht from comment #6)
> The culprit is '-fcf-protection' which causes the insertion of ENDBR
> instruction in API entry code. If you use rpmbuild environment then it's
> active. If you build without rpmbuild using gcc defaults or own CFLAGS then
> it's not active.

Thanks!

I was able to reproduce the problem on top of the wine tree with
-fcf-protection compilation flag, and verified that proposed patch actually
"fixes" the problem.

Would it make sense to send the patch to wine-devel, or (given that it is
distro-specific) propose it as a patch to fedora`s wine-devel builds instead?

If neither is acceptable for now, I think it makes sense to propose the patch
for wine-staging. 8-)

Thanks for advice.

-- 
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