https://bugs.winehq.org/show_bug.cgi?id=57847
Bug ID: 57847 Summary: Cross-compiled Wine no longer installs a 'wine' loader binary Product: Wine Version: 10.1 Hardware: x86-64 OS: MacOS Status: UNCONFIRMED Severity: normal Priority: P2 Component: loader Assignee: wine-bugs@winehq.org Reporter: bshanks@codeweavers.com Regression SHA1: cb87d40cd4a8837826ea76efc91371ab09eb9d63
On ARM64 macOS, I cross-compile an x86_64 Wine by doing an ARM64 build (./configure), then an x86_64 build using those tools (./configure --enable-archs=i386,x86_64 --host=x86_64-apple-darwin --with-wine-tools=<path to ARM build dir> CC='clang -arch x86_64' CROSSCFLAGS='-g -O2 -march=core2 -mfpmath=sse').
Both builds succeed, but since cb87d40cd4a8837826ea76efc91371ab09eb9d63 ("makefiles: Create wine as a symlink to tools/wine/wine."), the x86_64 build directory contains an ARM64 'wine' binary (a symlink to the ARM64 tools/wine/wine). This of course is not usable with the x86_64 build. In addition, if I install the x86_64 build, there is no bin/wine binary present.