https://bugs.winehq.org/show_bug.cgi?id=53600
Bug ID: 53600 Summary: Cannot run any program (wine: could not exec the wine loader) Product: Wine Version: 7.16 Hardware: aarch64 OS: Linux Status: UNCONFIRMED Severity: blocker Priority: P2 Component: -unknown Assignee: wine-bugs@winehq.org Reporter: gerdya04@gmail.com Distribution: ---
I did compile latest sources according to https://wiki.winehq.org/Building_Wine
configure --enable-win64 (all dependencies ok except vulkan) make -j8
when trying to run any program i am getting the following error:
gerdya@Surfi:~/projects/wine/buildwin64$ ./wine64 notepad wine: could not exec the wine loader
OS: Ubuntu 22.04 LTS (aarch64) Kernel: 5.15.57.1-microsoft-standard-WSL2
Let me know if you need more details.
https://bugs.winehq.org/show_bug.cgi?id=53600
Gerdya gerdya04@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |gerdya04@gmail.com
https://bugs.winehq.org/show_bug.cgi?id=53600
Olivier F. R. Dierick o.dierick@piezo-forte.be changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |o.dierick@piezo-forte.be
--- Comment #1 from Olivier F. R. Dierick o.dierick@piezo-forte.be --- (In reply to Gerdya from comment #0)
configure --enable-win64 (all dependencies ok except vulkan) make -j8
Hello,
Unfortunately, it's more complicated than that.
You have to build both win64 and win32 architectures.
Read the section titled 'Shared WoW64' for instructions, in the same Wiki document.
Regards.
https://bugs.winehq.org/show_bug.cgi?id=53600
--- Comment #2 from Gerdya gerdya04@gmail.com --- Hi Olivier,
thanks for the reply!
Perhaps I was not clear, I only want to run 64 bit programs - so WoW64 has no relevance for my use-case.
The compilation page clearly says:
"If you're on a 64-bit system, all you need to do to build a 64-bit wine is pass --enable-win64 to the configure script when you run the above commands:
../wine-source/configure --enable-win64
The problem is that by itself, that build will only run applications compiled for 64-bit Windows. Since the vast majority of Windows applications are 32-bit, you very likely want to follow the WoW64 instructions below."
Thing is, I cannot run any programs 64bit or not.
Are you implying that the compilation Wiki is wrong and I have to create a WoW64 build in order to run anything?
https://bugs.winehq.org/show_bug.cgi?id=53600
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |austinenglish@gmail.com
https://bugs.winehq.org/show_bug.cgi?id=53600
Olivier F. R. Dierick o.dierick@piezo-forte.be changed:
What |Removed |Added ---------------------------------------------------------------------------- Severity|blocker |normal Keywords| |win64 Summary|Cannot run any program |Cannot run 64-bit programs |(wine: could not exec the |with pure 64-bit build |wine loader) |(wine64: could not exec the | |wine loader)
--- Comment #3 from Olivier F. R. Dierick o.dierick@piezo-forte.be --- Hello,
(In reply to Gerdya from comment #2)
Perhaps I was not clear, I only want to run 64 bit programs - so WoW64 has
I thought you meant to run 'any program' (also 32-bit). I'm adjusting the bug title/fields to reflect that.
Are you implying that the compilation Wiki is wrong and I have to create a WoW64 build in order to run anything?
No. If you wanted to also run 32-bit programs you would have to.
I don't know the support policy of pure 64-bit wine builds.
Please, attach a normal (=without WINEDEBUG) terminal output. Instructions to get a log can be found there: https://wiki.winehq.org/FAQ#get_log
Regards.
https://bugs.winehq.org/show_bug.cgi?id=53600
--- Comment #4 from Gerdya gerdya04@gmail.com --- Hello
in the meantime i did a few more builds. Overall i have
1) configure --enable-win64 2) configure 3) configure CC=clang
All builds complete successfully.
I am testing all builds with an ARM64 Windows Application: ioquake (which is an open source quake engine)
1) ./wine64 '/home/gerdya/.wine/drive_c/Program Files/ioq/ioquake3.arm64.exe output->wine: could not open the wine loader
2) ./wine '/home/gerdya/.wine/drive_c/Program Files/ioq/ioquake3.arm64.exe ->app starts but fails to initialize OpenGL and terminates
3) ./wine '/home/gerdya/.wine/drive_c/Program Files/ioq/ioquake3.arm64.exe ->works perfectly. (still has a mouse problem, but this is likely related to my setup - WSL2 + WSLG and of course low framerate due to SW renderer)
Not sure, what this all means, but option 3 gave me the intended functionality - despite everything is 64 bit.
https://bugs.winehq.org/show_bug.cgi?id=53600
--- Comment #5 from Alexandre Julliard julliard@winehq.org --- There's no WoW 32-bit support on ARM64, so --enable-win64 doesn't do anything, and there's no wine64 loader. Arguably configure should report an error in that case.
https://bugs.winehq.org/show_bug.cgi?id=53600
André H. nerv@dawncrow.de changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |nerv@dawncrow.de
https://bugs.winehq.org/show_bug.cgi?id=53600
Ken Sharp imwellcushtymelike@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |download, source
https://bugs.winehq.org/show_bug.cgi?id=53600
Neko-san nekoNexus@protonmail.ch changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |nekoNexus@protonmail.ch