[prev in list] [next in list] [prev in thread] [next in thread]
List: wine-devel
Subject: Re: Compiling issues on macOS after 7.20 on ARM
From: Jason Millard <jsm174 () gmail ! com>
Date: 2023-02-10 19:31:08
Message-ID: CA+_6=+CiaoS3UNoLArJv-FmtjUui2EqtOya37_Wr66TEuXOpSg () mail ! gmail ! com
[Download RAW message or body]
[Attachment #2 (multipart/alternative)]
Wow! That did the trick!!!
Thank you again so much!!
/*** Autogenerated by WIDL 8.0 from
/Users/jmillard/vpinball/standalone/inc/vpinmame/VPinMAME.idl - Do not edit
***/
#ifdef _WIN32
#ifndef __REQUIRED_RPCNDR_H_VERSION__
#define __REQUIRED_RPCNDR_H_VERSION__ 475
#endif
#include <rpc.h>
#include <rpcndr.h>
#endif
On Fri, Feb 10, 2023 at 2:15 PM Brendan Shanks <bshanks@codeweavers.com>
wrote:
>
> > 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
[Attachment #5 (text/html)]
<div dir="ltr">Wow! That did the trick!!! <div><br></div><div>Thank you again so \
much!!<div><br></div><div>/*** Autogenerated by WIDL 8.0 from \
/Users/jmillard/vpinball/standalone/inc/vpinmame/VPinMAME.idl - Do not edit \
***/<br><br>#ifdef _WIN32<br>#ifndef __REQUIRED_RPCNDR_H_VERSION__<br>#define \
__REQUIRED_RPCNDR_H_VERSION__ 475<br>#endif<br>#include <rpc.h><br>#include \
<rpcndr.h><br>#endif<br></div><div><br></div><div><br></div><div><br></div></div></div><br><div \
class="gmail_quote"><div dir="ltr" class="gmail_attr">On Fri, Feb 10, 2023 at 2:15 PM \
Brendan Shanks <<a \
href="mailto:bshanks@codeweavers.com">bshanks@codeweavers.com</a>> \
wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px \
0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><br> > On Feb 10, \
2023, at 11:10 AM, Jason Millard <<a href="mailto:jsm174@gmail.com" \
target="_blank">jsm174@gmail.com</a>> wrote:<br> > <br>
> Hello. Thanks!<br>
> <br>
> `llvm-mingw` was a typo from my notes. Sorry about that.<br>
> <br>
> After examining paths, they looked the same, so I tried without the <br>
> <br>
> export LDFLAGS="-Wl,-rpath,/opt/X11/lib" <br>
> <br>
> and that worked and I can now make it through configure!<br>
> <br>
> <br>
> Now during the build, I get:<br>
> <br>
> 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]<br> > case DW_OP_abs: stack[sp] = \
labs(stack[sp]); break;<br> > \
^<br> > dlls/ntdll/unix/dwarf.h:915:45: note: remove the call to 'labs' \
since unsigned values cannot be negative<br> > case DW_OP_abs: \
stack[sp] = labs(stack[sp]); break;<br> > \
^~~~<br> > <inline asm>:305:2: error: conditional branch requires \
assembler-local label. '.L__wine_syscall_dispatcher_return' is external.<br> \
> cbnz w16, .L__wine_syscall_dispatcher_return<br> > \
^<br> <br>
Great, I just pushed an MR for that error: <a \
href="https://gitlab.winehq.org/wine/wine/-/merge_requests/2158" rel="noreferrer" \
target="_blank">https://gitlab.winehq.org/wine/wine/-/merge_requests/2158</a><br> \
<br> 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 :)<br> <br>
Brendan</blockquote></div>
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic