https://bugs.winehq.org/show_bug.cgi?id=50858
Bug ID: 50858 Summary: Regression: Wine doesn't run executables reside in home directory Product: Wine Version: unspecified Hardware: x86-64 OS: Linux Status: NEW Severity: major Priority: P2 Component: ntdll Assignee: wine-bugs@winehq.org Reporter: zzhang@codeweavers.com Distribution: ---
$ cp ~/.wine/drive_c/windows/notepad.exe ~/Downloads/notepad.exe $ wine ~/Downloads/notepad.exe 0034:fixme:font:get_name_record_codepage encoding 20 not handled, platform 1. 0034:fixme:font:get_name_record_codepage encoding 20 not handled, platform 1. 0064:fixme:font:get_name_record_codepage encoding 20 not handled, platform 1. 0064:fixme:font:get_name_record_codepage encoding 20 not handled, platform 1. 006c:fixme:font:get_name_record_codepage encoding 20 not handled, platform 1. 006c:fixme:font:get_name_record_codepage encoding 20 not handled, platform 1. 002c:fixme:font:get_name_record_codepage encoding 20 not handled, platform 1. 002c:fixme:font:get_name_record_codepage encoding 20 not handled, platform 1. wine: failed to start L"/b"
$ which wine wine: aliased to ~/src/wine/wow64-build/wine
$ git bisect good 28fe84da45bea7de56539b50eac8ebcec54342de is the first bad commit commit 28fe84da45bea7de56539b50eac8ebcec54342de Author: Alexandre Julliard julliard@winehq.org Date: Wed Mar 24 10:53:53 2021 +0100
ntdll: Load the main image from the Unix side.
Signed-off-by: Alexandre Julliard julliard@winehq.org
dlls/ntdll/env.c | 79 +----------------------- dlls/ntdll/loader.c | 112 +++++++++++++--------------------- dlls/ntdll/unix/env.c | 70 +++++++++++++++++++-- dlls/ntdll/unix/file.c | 135 +++++++++++++++++++++++++++++++++++++++++ dlls/ntdll/unix/loader.c | 112 +++++++++++++++++++++++++++++++--- dlls/ntdll/unix/unix_private.h | 3 + 6 files changed, 349 insertions(+), 162 deletions(-)
Wine is built as WoW with 'cd wow64-build && ../configure -C CFLAGS="-g -Og" CROSSCFLAGS="-g -Og" --enable-win64 --enable-silent-rules && make && cd ../wow32-build && ../configure -C CFLAGS="-g -Og" CROSSCFLAGS="-g -Og" --with-wine64=../wow64-build --enable-silent-rules && make'