[Wine] Re: How to recompile Wine on ARM

KenSharp wineforum-user at winehq.org
Tue Apr 26 19:28:55 CDT 2011


André H. wrote:
> ./configure --host=arm-linux-gnueabi --with-wine-tools=../wine-tools --without-freetype CFLAGS=" -mcpu=arm7tdmi" LDFLAGS=" -mcpu=arm7tdmi"


Adding -mcpu=arm7tdmi to CFLAGS and LDFLAGS creates a nice new (worrying) error:


Code:
ccache arm-linux-gnueabi-gcc -c -I/home/test/wine-git/dlls/user32 -I. -I/home/test/wine-git/include -I../../include  -D__WINESRC__ -D_USER32_ -D_WINABLE_ -D_REENTRANT -fPIC -Wall -pipe -fno-strength-reduce -fno-strict-aliasing -Wdeclaration-after-statement -Wstrict-prototypes -Wtype-limits -Wwrite-strings -Wpointer-arith -Wlogical-op  -g -O0 -mcpu=arm7tdmi  -o message.o /home/test/wine-git/dlls/user32/message.c
/home/test/wine-git/dlls/user32/message.c: In function ‘handle_internal_message’:
/home/test/wine-git/dlls/user32/message.c:1886:1: error: unrecognizable insn:
(insn 10 9 11 3 /home/test/wine-git/dlls/user32/message.c:1844 (set (reg:SI 166)
        (plus:SI (reg:SI 165)
            (const_int 2147483648 [0x80000000]))) -1 (nil))
/home/test/wine-git/dlls/user32/message.c:1886:1: internal compiler error: in extract_insn, at recog.c:2103
Please submit a full bug report,
with preprocessed source if appropriate.
See <file:///usr/share/doc/gcc-4.5/README.Bugs> for instructions.




Compiler broken?  :?


> $ arm-linux-gnueabi-gcc --version
> arm-linux-gnueabi-gcc (Ubuntu/Linaro 4.5.1-7ubuntu1) 4.5.1








More information about the wine-users mailing list