https://bugs.winehq.org/show_bug.cgi?id=49179
Bug ID: 49179 Summary: winetest.exe fails to run on windows arm (surface rt / armv7) Product: Wine Version: 5.8 Hardware: x86 OS: Linux Status: NEW Severity: normal Priority: P2 Component: testcases Assignee: wine-bugs@winehq.org Reporter: austinenglish@gmail.com Distribution: ---
Created attachment 67196 --> https://bugs.winehq.org/attachment.cgi?id=67196 patch
Jacek was kind enough to cross compile (using llvm-mingw) an armv7 winetest binary for me.
I tried running that on my rooted Surface RT tablet (windows 32-bit armv7), and it immediately fails with an error dialog: The procedure entry point NtCurrentTeb could not be located in the dynamic link library C:\Users\User\Desktop\winetest.exe
<jacekc> it looks like NtCurrentTeb is not exported by windows ntdll. looking at windows headers, there is an inline version <jacekc> it should use _MoveFromCoprocessor. I don't know enough about arm to know how hard it is to support
Using an inline definition instead allows the tests to run. I'm attaching Jacek's patch that does that for reference.