[Bug 58567] New: Wine AARCH64 fails to launch on macOS
http://bugs.winehq.org/show_bug.cgi?id=58567 Bug ID: 58567 Summary: Wine AARCH64 fails to launch on macOS Product: Wine Version: 10.12 Hardware: aarch64 OS: MacOS Status: UNCONFIRMED Severity: normal Priority: P2 Component: wineserver Assignee: wine-bugs(a)winehq.org Reporter: computers57(a)hotmail.com As of 17fb31af617cfb65de411c352480d0751f9c14e9, attempting to build and run Wine built for the native aarch64 target doesn't work. I used the llvm-mingw compiler from https://github.com/mstorsjo/llvm-mingw , but I don't think the PE compilers are the issue. Attempting to run any Wine program results in the wine process crashing: attempting to debug the loader executable using macOS' lldb says that the file is a "Malformed Mach-o file". Removing the `-Wl,-segalign,0x1000,-pagezero_size,0x1000` sections does result in the executable being launchable, but results in an executable incapable of running a Wine environment: ```` % ./wine mine err:virtual:map_fixed_area out of memory for 0x7ffe0000-0x7ffe1000 err:virtual:allocate_virtual_memory out of memory for allocation, base 0x7ffe0000 size 00001000 err:virtual:virtual_alloc_first_teb wine: failed to map the shared user data: c0000017 ```` config flags: --without-pulse --without-gnutls --prefix=[~]/wineinstall --without-dbus --without-gphoto --without-v4l2 --without-sane --with-vulkan 'CFLAGS=-I/opt/local/include -Wno-enum-conversion -I/usr/local/include' 'LDFLAGS=-L/opt/local/lib -L/usr/local/lib -Xlinker -rpath -Xlinker [~]/wineinstall/lib -Xlinker -rpath -Xlinker /opt/local/lib -Xlinker -rpath -Xlinker /usr/local/lib' 'CPPFLAGS=-I/opt/local/include -Wno-enum-conversion' 'CXXFLAGS=-I/opt/local/include -Wno-enum-conversion -I/usr/local/include' --enable-archs=aarch64,arm64ec,x86_64,i386,arm -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=58567 Brendan Shanks <bshanks(a)codeweavers.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |bshanks(a)codeweavers.com --- Comment #1 from Brendan Shanks <bshanks(a)codeweavers.com> --- ARM64 Wine builds on macOS but currently does not work. There are several changes that are needed from Apple first: the ability to map USER_SHARED_DATA at 0x7ffe0000 and preserving the x18 register are the main ones. -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=58567 --- Comment #2 from C.W. Betts <computers57(a)hotmail.com> --- Excuse my ignorance, but could the virtual machine framework be used to work around those issues, or would the overhead not be worth it? -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=58567 tree-tacky-shawl(a)duck.com changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |tree-tacky-shawl(a)duck.com -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
participants (1)
-
WineHQ Bugzilla