[Bug 49270] New: armv7l mingw build broken
WineHQ Bugzilla
wine-bugs at winehq.org
Thu May 28 03:47:16 CDT 2020
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 at winehq.org
Reporter: austinenglish at 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.
--
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