[Bug 33349] Use Thumb binaries on ARM?

WineHQ Bugzilla wine-bugs at winehq.org
Sat Aug 1 13:59:07 CDT 2020


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

--- Comment #8 from Austin English <austinenglish at gmail.com> ---
Created attachment 67856
  --> https://bugs.winehq.org/attachment.cgi?id=67856
wip thumb

I tried changing -marm to -mthumb. Compiling then fails with:
<inline asm>:6:2: error: target does not support ARM mode

removing that line from dlls/rcprt4/ndr_stubles.c and dlls/vcomp/main.c. It
then fails with
<inline asm>:15:2: error: predicated instructions must be in IT block
         subeq SP, SP, #4

Adding -mimplicit-it=thumb gets past that. I also added -Wignored-attributes to
ignore a flood of:
../../include/msvcrt/stdio.h:451:19: warning: 'pcs' calling convention is not
supported for this target [-Wignored-attributes]

That then builds with llvm-mingw-20200526 / gcc 8.3.0.

However, it crashes on start:
austin at PrawnOS:~/wine-git-mingw$ ./wine cmd
002c:err:seh:raise_exception Unhandled exception code c000001d flags 0 addr
0x7fc39fe0
0024:err:seh:raise_exception Unhandled exception code c000001d flags 0 addr
0x7fc39fe0

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