Arm64EC

Questions about Wine on Linux
Post Reply
longwu
Newbie
Newbie
Posts: 2
Joined: Sun Apr 07, 2024 7:44 pm

Arm64EC

Post by longwu »

How to compile a Wine that supports arm64ec on Linux with aarch64 architecture
KenSharp
Level 4
Level 4
Posts: 122
Joined: Mon Jul 13, 2009 8:52 pm

Re: Arm64EC

Post by KenSharp »

How much time did you spend searching for an answer?
longwu
Newbie
Newbie
Posts: 2
Joined: Sun Apr 07, 2024 7:44 pm

Re: Arm64EC

Post by longwu »

I attempted to compile a Wine that supports arm64 ec using clang-18 on Ubuntu22.04, but encountered an error during compilation:
make: *** [Makefile:8915: dlls/crtdll/arm64ec-windows/math.o] Error 1
make: *** Waiting for unfinished jobs....
<inline asm>:10:8: error: unknown token in expression
10 | pushq %rsi
| ^
<inline asm>:10:8: error: invalid operand
10 | pushq %rsi
| ^
<inline asm>:11:2: error: unknown directive
11 | .seh_pushreg %rsi
| ^
<inline asm>:12:8: error: unknown token in expression
12 | pushq %rdi
| ^
<inline asm>:12:8: error: invalid operand
12 | pushq %rdi
| ^
<inline asm>:13:2: error: unknown directive
13 | .seh_pushreg %rdi
| ^
<inline asm>:15:7: error: unknown token in expression
15 | movq %rcx, %rdi
| ^
<inline asm>:15:7: error: invalid operand
15 | movq %rcx, %rdi
| ^
<inline asm>:16:7: error: unknown token in expression
16 | movq %rdx, %rsi
| ^
<inline asm>:16:7: error: invalid operand
16 | movq %rdx, %rsi
| ^
<inline asm>:17:6: error: unknown token in expression
17 | mov %rdi, %r9
| ^
<inline asm>:17:6: error: invalid operand
17 | mov %rdi, %r9
| ^
<inline asm>:18:6: error: unknown token in expression
18 | sub %rsi, %r9
| ^
<inline asm>:18:6: error: invalid operand
18 | sub %rsi, %r9
| ^
<inline asm>:19:6: error: unknown token in expression
19 | cmp %r8, %r9
| ^
<inline asm>:19:6: error: invalid operand
19 | cmp %r8, %r9
| ^
<inline asm>:20:2: error: unrecognized instruction mnemonic, did you mean: b, bl, br?
20 | jb copy_bwd
| ^
<inline asm>:21:10: error: unknown token in expression
21 | cmp $4, %r8
| ^
<inline asm>:21:10: error: invalid operand
21 | cmp $4, %r8
| ^
fatal error: too many errors emitted, stopping now [-ferror-limit=]
20 errors generated.
make: *** [Makefile:9044: dlls/crtdll/arm64ec-windows/string.o] Error 1
Post Reply