AndreRH / hangover

Hangover runs simple Win32 applications on arm64 Linux
GNU Lesser General Public License v2.1
1.26k stars 92 forks source link

I use hangover on aarch64 cpu cannot run any X86-windows programs #80

Closed acbbghhgf closed 1 year ago

acbbghhgf commented 3 years ago

I come into contact with the wine project, the project found a hangover is used for windows applications on the platform to run on ARM native X86 platform, and feel very practical, and decided to try to see if the previous windows can be transferred to the current application The ARM platform continues to run. However, after I worked so hard to compile it. Running windows programs always report errors.

root@greatwall-GW-001M1A-FTF:~# /home/greatwall/wine/hangover/hangover-demo2/build/wine-host/loader/wine /home/greatwall/wine/hangover/hangover-demo2/build/qemu/x86_64-windows-user/qemu-x86_64.exe.so a.exe wine: created the configuration directory '/root/.wine' 0048:err:ole:StdMarshalImpl_MarshalInterface Failed to create ifstub, hres=0x80004002 0048:err:ole:CoMarshalInterface Failed to marshal the interface {6d5140c1-7436-11ce-8034-00aa006009fa}, hr 0x80004002 0048:err:ole:get_local_server_stream Failed: 80004002 0050:err:ole:StdMarshalImpl_MarshalInterface Failed to create ifstub, hres=0x80004002 0050:err:ole:CoMarshalInterface Failed to marshal the interface {6d5140c1-7436-11ce-8034-00aa006009fa}, hr 0x80004002 0050:err:ole:get_local_server_stream Failed: 80004002 0040:fixme:mshtml:load_gecko Wine Gecko is not supported on this architecture. 00a8:err:virtual:virtual_setup_exception stack overflow 1408 bytes in thread 00a8 addr 0x7bc4be10 stack 0x9a0a80 (0x9a0000-0x9a1000-0xaa0000) 007c:err:service:process_send_command service protocol error - failed to read pipe r = 0 count = 0! 002c:err:setupapi:SetupDiInstallDevice Failed to start service L"winebus" for device L"ROOT\\WINE\\WINEBUS", error 1053. 00c8:err:ntoskrnl:ZwLoadDriver failed to create driver L"\\Registry\\Machine\\System\\CurrentControlSet\\Services\\wineusb": c0000142 002c:err:setupapi:SetupDiInstallDevice Failed to start service L"wineusb" for device L"ROOT\\WINE\\WINEUSB", error 1114. wine: configuration in L"/root/.wine" has been updated. Failed to load "a.exe", last error 126.

root@greatwall-GW-001M1A-FTF:~# /home/greatwall/wine/hangover/hangover-demo2/build/wine-host/loader/wine /home/greatwall/wine/hangover/hangover-demo2/build/qemu/x86_64-windows-user/qemu-x86_64.exe.so /home/greatwall/wechat.exe 0074:err:ntoskrnl:ZwLoadDriver failed to create driver L"\\Registry\\Machine\\System\\CurrentControlSet\\Services\\wineusb": c0000142 003c:fixme:service:scmdatabase_autostart_services Auto-start service L"wineusb" failed to start: 1114 0024:err:secur32:SECUR32_initSchannelSP TLS library not found, SSL connections will fail 0024:err:qemu:block_address_space __wine_RtlSetFirewallHeap not found, expect problems. Could not reserve address for main image, expect trouble later 32 bit environment set up, Large Address Aware: NO. 0024:fixme:qemu_module:import_dll No implementation for kernel32.dll.K32GetWsChangesEx imported from L"C:\\windows\\system32\\PSAPI.DLL", setting to 0x7fb2ac2bed 0024:fixme:qemu_module:import_dll No implementation for ucrtbase.dll.erf imported from L"C:\\windows\\system32\\gdiplus.dll", setting to 0x7fb2ac2bed 0024:fixme:qemu_module:import_dll No implementation for ucrtbase.dll.fmax imported from L"C:\\windows\\system32\\gdiplus.dll", setting to 0x7fb2ac2bed 0024:fixme:qemu_module:import_dll No implementation for ucrtbase.dll.fmin imported from L"C:\\windows\\system32\\gdiplus.dll", setting to 0x7fb2ac2bed 0024:fixme:qemu_ntdll:qemu_RtlAddVectoredExceptionHandler Unverified! 0024:err:virtual:virtual_setup_exception stack overflow 1456 bytes in thread 0024 addr 0x7bc4be10 stack 0x120a50 (0x120000-0x121000-0x220000) root@greatwall-GW-001M1A-FTF:~# 0078:err:virtual:virtual_setup_exception stack overflow 1280 bytes in thread 0078 addr 0x7bc54494 stack 0xac0b00 (0xac0000-0xac1000-0xbc0000)

The self-built windows example program and WeChat windows version are running here, and they can’t run.

Everyone, I feel that there is a problem with my compilation configuration, but I am not sure what exactly is it. Can you tell me? what should I do?

acbbghhgf commented 3 years ago

append: The version information of each part contained in the project I compiled is as follows:

AndreRH commented 3 years ago

Please retry with hangover 0.5.15

AndreRH commented 1 year ago

irrelevant with new Hangover approach