[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 &lt;rpc.h&gt;<br>#include \
&lt;rpcndr.h&gt;<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 &lt;<a \
href="mailto:bshanks@codeweavers.com">bshanks@codeweavers.com</a>&gt; \
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> &gt; On Feb 10, \
2023, at 11:10 AM, Jason Millard &lt;<a href="mailto:jsm174@gmail.com" \
target="_blank">jsm174@gmail.com</a>&gt; wrote:<br> &gt; <br>
&gt; Hello. Thanks!<br>
&gt; <br>
&gt; `llvm-mingw` was a typo from my notes. Sorry about that.<br>
&gt; <br>
&gt; After examining paths, they looked the same, so I tried without the <br>
&gt; <br>
&gt; export LDFLAGS=&quot;-Wl,-rpath,/opt/X11/lib&quot; <br>
&gt; <br>
&gt; and that worked and I can now make it through configure!<br>
&gt; <br>
&gt; <br>
&gt; Now during the build, I get:<br>
&gt; <br>
&gt; dlls/ntdll/unix/dwarf.h:915:45: warning: taking the absolute value of unsigned \
type &#39;ULONG_PTR&#39; (aka &#39;unsigned long&#39;) has no effect \
[-Wabsolute-value]<br> &gt;              case DW_OP_abs:              stack[sp] = \
labs(stack[sp]); break;<br> &gt;                                                      \
^<br> &gt; dlls/ntdll/unix/dwarf.h:915:45: note: remove the call to &#39;labs&#39; \
since unsigned values cannot be negative<br> &gt;              case DW_OP_abs:        \
stack[sp] = labs(stack[sp]); break;<br> &gt;                                          \
^~~~<br> &gt; &lt;inline asm&gt;:305:2: error: conditional branch requires \
assembler-local label. &#39;.L__wine_syscall_dispatcher_return&#39; is external.<br> \
&gt;              cbnz w16, .L__wine_syscall_dispatcher_return<br> &gt;              \
^<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