[Bug 38780] AArch64 platforms: register X18 (TEB) must remain reserved for Wine to run 64-bit ARM Windows applications ( Distro aarch64 toolchains need '-ffixed-x18' default, loader/libc/userland )

wine-bugs at winehq.org wine-bugs at winehq.org
Sat Apr 27 14:26:38 CDT 2019


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

--- Comment #23 from Martin Storsjö <martin at martin.st> ---
Created attachment 64286
  --> https://bugs.winehq.org/attachment.cgi?id=64286
Patchset for practically working around the issue

As a full compiler based workaround isn't available yet (and isn't entirely
trivial, and in addition to implementing it, could be controversial to be
accepted upstream - it has been discussed upstream in llvm at
http://lists.llvm.org/pipermail/llvm-dev/2019-April/131978.html), I'd suggest
adding the attached patchset to Wine Staging at least.

Both patches have been sent to the list before, but haven't been picked up back
then.

The first patch is correct and shouldn't have any drawbacks, and is a partial
solution (but probably wasn't picked up as it isn't a full solution). The
second patch is less clean but an effective workaround for what remains to be
fixed after the first patch. (The third patch is just regenerating configure.)

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