http://bugs.winehq.org/show_bug.cgi?id=58101
Bug ID: 58101 Summary: Experimental wow64 mode issue Wine Arm64 Product: Wine Version: 10.5 Hardware: aarch64 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: -unknown Assignee: wine-bugs@winehq.org Reporter: cdfrosty@gmail.com Distribution: ---
Created attachment 78360 --> http://bugs.winehq.org/attachment.cgi?id=78360 Experimental wow64 mode issue Wine Arm64 failing to load ntdll.dll
Now thanks to the hard work done on this issue report: https://bugs.winehq.org/show_bug.cgi?id=52715 I can now compile for Arm64
I just want to report that binaries that use the experimental wow64 mode will fail and fail to load L"\??\C:\windows\syswow64\ntdll.dll"
http://bugs.winehq.org/show_bug.cgi?id=58101
--- Comment #1 from Alexandre Julliard julliard@winehq.org --- You need to build the i386 arch, and then install a PE build of the FEX emulator into the prefix. Presumably this will be handled by packagers at some point.
http://bugs.winehq.org/show_bug.cgi?id=58101
--- Comment #2 from Corey Bruce cdfrosty@gmail.com --- (In reply to Alexandre Julliard from comment #1)
You need to build the i386 arch, and then install a PE build of the FEX emulator into the prefix. Presumably this will be handled by packagers at some point.
Ah okay so how do I do that? I've compiled FEX but I think I might be running into a pagesize issue there also
http://bugs.winehq.org/show_bug.cgi?id=58101
--- Comment #3 from Corey Bruce cdfrosty@gmail.com --- As a test could I copy the needed files from my PC and drop them in to where they are needed?
http://bugs.winehq.org/show_bug.cgi?id=58101
--- Comment #4 from Alexandre Julliard julliard@winehq.org --- You can copy the FEX dll (libwow64fex.dll) into the windows/system32 directory, and specify the dll name in the HKLM\Software\Microsoft\Wow64\x86 key.
Your Wine also needs to be built with i386 support, i.e. configure --enable-archs=aarch64,i386.
http://bugs.winehq.org/show_bug.cgi?id=58101
--- Comment #5 from Corey Bruce cdfrosty@gmail.com --- (In reply to Alexandre Julliard from comment #4)
You can copy the FEX dll (libwow64fex.dll) into the windows/system32 directory, and specify the dll name in the HKLM\Software\Microsoft\Wow64\x86 key.
Your Wine also needs to be built with i386 support, i.e. configure --enable-archs=aarch64,i386.
I would add that documentation into the readme for compiling wine for Arm64.
Alrighty so I got Wine compiled properly but I can't find proper documentation on how to compile Fex and get the dll files compiled, I found some documentation on their wiki page but I don't know if it's outdated or not since it's got different compiling instruction it doesn't recommend using
http://bugs.winehq.org/show_bug.cgi?id=58101
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |austinenglish@gmail.com
http://bugs.winehq.org/show_bug.cgi?id=58101
--- Comment #6 from Corey Bruce cdfrosty@gmail.com --- Currently I have the current git version of box64, I have copied wow64 and replaced the folder, compiled wine from git and added that dll file into the windows/system32 directory as well as added the registry key tho I have no idea if I did it right and getting a different error so that some progress.
http://bugs.winehq.org/show_bug.cgi?id=58101
--- Comment #7 from Corey Bruce cdfrosty@gmail.com --- Created attachment 78369 --> http://bugs.winehq.org/attachment.cgi?id=78369 Wine log 1
http://bugs.winehq.org/show_bug.cgi?id=58101
--- Comment #8 from Corey Bruce cdfrosty@gmail.com --- (In reply to Corey Bruce from comment #6)
Currently I have the current git version of box64, I have copied wow64 and replaced the folder, compiled wine from git and added that dll file into the windows/system32 directory as well as added the registry key tho I have no idea if I did it right and getting a different error so that some progress.
https://bugs.winehq.org/attachment.cgi?id=78369