-
Notifications
You must be signed in to change notification settings - Fork 394
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
windows-gnu target can't be emulated arm64 qemu via wine #1372
Comments
removed the >/dev/null redirect here gives ❯ cross build --target x86_64-pc-windows-gnu
[cross] warning: using older rustc `1.71.0 (8ede3aae2 2023-07-12)` for the target. Current active rustc on the host is `rustc 1.72.1 (d5c2e9c34 2023-09-13)`.
> Update with `rustup update --force-non-host stable-x86_64-unknown-linux-gnu`
assertion failed [result.value != EEXIST]: VmTracker attempted to allocate existing mapping
(ThreadContextVm.cpp:47 mmap)
0024:err:environ:run_wineboot failed to start wineboot c00000e5
0024:err:module:relocate_ntdll ntdll could not be mapped at preferred address (0x7f340000), expect trouble
wine: could not load kernel32.dll, status c0000135 |
updated to wine 8.0.2, same error message |
Hi @Emilgardis! I ran into this exact problem and my problem output matched the one in this issue. After updating cross to It seems like the permissions aren't setup correctly on drwxrwxrwx 2 root root 0 Dec 9 01:34 .wine-0
drwxrwxrwx 2 root root 0 Dec 9 01:34 home
drwxrwxrwx 4 root root 4096 Dec 9 01:34 wine However, running |
Update! Turns out it wasn't really an image issue but an issue of how my docker files were stored. The docker daemon |
Ah perfect @is-it-ayush ! I suppose |
That's true @Emilgardis! It does not work since the target defaults to
|
sorry, I should've specified, |
Just ran Running unittests src/main.rs (/target/x86_64-pc-windows-gnu/debug/deps/hello-world-80kcf46d9b0d8de5.exe)
0084:fixme:hid:handle_IRP_MN_QUERY_ID Unhandled type 00000005
0050:err:winediag:nodrv_CreateWindow Application tried to create a window, but no driver could be loaded.
0050:err:winediag:nodrv_CreateWindow L"The explorer process failed to start."
0050:err:systray:initialize_systray Could not create tray window
0084:fixme:hid:handle_IRP_MN_QUERY_ID Unhandled type 00000005
0084:fixme:hid:handle_IRP_MN_QUERY_ID Unhandled type 00000005
0084:fixme:hid:handle_IRP_MN_QUERY_ID Unhandled type 00000005
010c:err:winediag:ntlm_check_version ntlm_auth was not found. Make sure that ntlm_auth >= 3.0.25 is in your path. Usually, you can find it in the winbind package of your distribution.
010c:err:ntlm:ntlm_LsaApInitializePackage no NTLM support, expect problems
runing <x> tests
# ... test runs
test result: ok. <x> passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s |
are you on a aarch64/arm64 host? @is-it-ayush |
I'm on amd64 (running debian 12) host @Emilgardis! |
I see, this issue is specifically for hosts where emulation would be used to run |
Makes sense!! I think it's more of a wine issue than a cross issue. 😅 |
The `pc-solaris` target was made the default in <rust-lang/rust#82216> and the `sun-solaris` target was removed in <rust-lang/rust#118091>. Switch from `x86_64-sun-solaris` to `x86_64-pc-solaris` to reflect this. Additionally, disable tests for the Windows cross compile target since there is an error launching Wine. This may be <cross-rs/cross#1372>.
there's something wrong with wine through qemu.
Originally posted by @hex-developer in #1371 (comment)
The text was updated successfully, but these errors were encountered: