> On Feb 10, 2023, at 11:10 AM, Jason Millard <jsm174@gmail.com> wrote:
>
> Hello. Thanks!
>
> `llvm-mingw` was a typo from my notes. Sorry about that.
>
> After examining paths, they looked the same, so I tried without the
>
> export LDFLAGS="-Wl,-rpath,/opt/X11/lib"
>
> and that worked and I can now make it through configure!
>
>
> Now during the build, I get:
>
> dlls/ntdll/unix/dwarf.h:915:45: warning: taking the absolute value of unsigned type 'ULONG_PTR' (aka 'unsigned long') has no effect [-Wabsolute-value]
> case DW_OP_abs: stack[sp] = labs(stack[sp]); break;
> ^
> dlls/ntdll/unix/dwarf.h:915:45: note: remove the call to 'labs' since unsigned values cannot be negative
> case DW_OP_abs: stack[sp] = labs(stack[sp]); break;
> ^~~~
> <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
> ^
Great, I just pushed an MR for that error: https://gitlab.winehq.org/wine/wine/-/merge_requests/2158
With that it should build, but otherwise ARM64 Wine completely does not work on macOS. But if you only need widl maybe that’s ok :)
Brendan