https://bugs.winehq.org/show_bug.cgi?id=56359
--- Comment #7 from BugSeeker rikul@inbox.ru --- Patch perfectly worked. Thank you!
Following your advise the latest wine was built with minGw compiler, and I confirm that the problem does NOT exist there.
Attached is the backtrace of notepad with cross-compiled wine and the debug info for some modules could not be found., e.g. ntdll ( 0 0x006fffffca5de1 in ntdll (+0x55de1) (0000000000000000) ).
Is that expected behavior?