https://bugs.winehq.org/show_bug.cgi?id=49270
Bug ID: 49270 Summary: armv7l mingw build broken Product: Wine Version: 5.9 Hardware: arm OS: Linux Status: NEW Keywords: download, source Severity: normal Priority: P2 Component: -unknown Assignee: wine-bugs@winehq.org Reporter: austinenglish@gmail.com Distribution: Debian
Building on armv7 (assuming toolchain targets armv7, not armv6k, see bug 49191) without mingw works.
If mingw is used (I used llvm-mingw), configure picks it up fine. There are a lot of warnings: "warning: 'pcs' calling convention is not supported for this target [-Wignored-attributes]"
but the build itself seems to (mostly) work. If the patch for bug 49179 is applied, winetest.exe will run on windows surface rt.
However, there are two (related) build failures, in
dlls/rpcrt4/ndr_stubless.cross.o: armv7-w64-mingw32-clang -c -o ndr_stubless.cross.o ndr_stubless.c -I. -I../../include -I../../include/msvcrt -D__WINESRC__ \ -D_RPCRT4_ -DMSWMSG -D_UCRT -DWINE_CROSS_PE -Wall -target armv7-w64-mingw32 -fno-strict-aliasing \ -Wdeclaration-after-statement -Wempty-body -Wignored-qualifiers -Wno-pragma-pack \ -Wstrict-prototypes -Wtype-limits -Wvla -Wwrite-strings -Wpointer-arith \ -Wno-incompatible-library-redeclaration -Wno-ignored-attributes <inline asm>:6:2: error: target does not support ARM mode .arm ^ <inline asm>:15:2: error: predicated instructions must be in IT block subeq SP, SP, #4 ^ 2 errors generated.
and dlls/vcomp/main.cross.o: armv7-w64-mingw32-clang -c -o main.cross.o main.c -I. -I../../include -I../../include/msvcrt -D__WINESRC__ -D_UCRT \ -DWINE_CROSS_PE -Wall -target armv7-w64-mingw32 -fno-strict-aliasing -Wdeclaration-after-statement \ -Wempty-body -Wignored-qualifiers -Wno-pragma-pack -Wstrict-prototypes -Wtype-limits -Wvla \ -Wwrite-strings -Wpointer-arith -Wno-incompatible-library-redeclaration -Wno-ignored-attributes <inline asm>:6:2: error: target does not support ARM mode .arm ^ <inline asm>:15:2: error: predicated instructions must be in IT block subeq SP, SP, #4 ^ 2 errors generated.
From some quick searching, it looks like we may need to either change the
target, or use thumb2 assembly instead.
https://bugs.winehq.org/show_bug.cgi?id=49270
André H. nerv@dawncrow.de changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |nerv@dawncrow.de
--- Comment #1 from André H. nerv@dawncrow.de --- (In reply to Austin English from comment #0)
From some quick searching, it looks like we may need to either change the target, or use thumb2 assembly instead.
First one would be that, because clang seems to be forced to thumb2?
(In reply to Austin English from comment #0)
<inline asm>:6:2: error: target does not support ARM mode .arm
Second one would be bug 33349