compile wine8.0.1 error happened

Questions about Wine on macOS.
Locked
xuanwenchao
Newbie
Newbie
Posts: 2
Joined: Tue Jun 20, 2023 2:00 am

compile wine8.0.1 error happened

Post by xuanwenchao »

It was show error after running make in the wine-8.0.1 directory:

<inline asm>:305:2: error: conditional branch requires assembler-local label. '.L__wine_syscall_dispatcher_return' is external.
cbnz w16, .L__wine_syscall_dispatcher_return
^
2 warnings and 1 error generated.
make: *** [dlls/ntdll/unix/signal_arm64.o] Error 1


MacBookPro Apple M1 Pro 13.3.1 (22E261)

thanks for your help
Gcenx
Level 6
Level 6
Posts: 709
Joined: Mon Dec 25, 2017 12:11 pm

Re: compile wine8.0.1 error happened

Post by Gcenx »

If you really want an arm64 wine build maybe try 8.10 or head.

Just remember an arm64 build one wine will only support running arm64 windows binaries, if you want to run windows x86 binaires you’d need to build for x86_64.

Alternatively wait for brew to bump the wine-devel/wine-staging casks to wine-8.10 as I’d pushed those today
will30uk
Newbie
Newbie
Posts: 3
Joined: Sat Aug 19, 2023 6:03 pm

Re: compile wine8.0.1 error happened

Post by will30uk »

Might need to run this command if not already using

./configure CC="clang" CXX="clang++" --enable-win64
Gcenx
Level 6
Level 6
Posts: 709
Joined: Mon Dec 25, 2017 12:11 pm

Re: compile wine8.0.1 error happened

Post by Gcenx »

will30uk wrote: Sun Aug 20, 2023 11:14 am Might need to run this command if not already using

./configure CC="clang" CXX="clang++" --enable-win64
The problem OP was having was due to trying to compile for arm64, what you’ve provided won’t change this.

There’s also no need to set CC & CXX from Mac OSX 10.9 onward unless your trying to use something other than Xcode.
Locked