https://bugs.winehq.org/show_bug.cgi?id=56483
Bug ID: 56483 Summary: ShellExecute changes in Wine 9.5 broke 64-bit Winelib loading in WoW64 builds Product: Wine Version: 9.5 Hardware: x86-64 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: shell32 Assignee: wine-bugs@winehq.org Reporter: mail@robbertvanderhelm.nl Distribution: ---
After commit 85d029e3b01f6dd35a86cc07796af982d66e4a03 (https://github.com/wine-mirror/wine/commit/85d029e3b01f6dd35a86cc07796af982d66e4a03), Wine builds configured with `--with-wine64` can no longer find and execute Winelib binaries built with `winegcc`. This now results in the following error instead:
Application could not be started, or no application associated with the specified file. ShellExecuteEx failed: File not found.
- Running the Winelib `.so` binary explicitly with `wine64` still works - Running it with `wine`, or using the shell script generated by winebuild does not.
https://bugs.winehq.org/show_bug.cgi?id=56483
Robbert van der Helm mail@robbertvanderhelm.nl changed:
What |Removed |Added ---------------------------------------------------------------------------- Regression SHA1| |85d029e3b01f6dd35a86cc07796 | |af982d66e4a03
https://bugs.winehq.org/show_bug.cgi?id=56483
yshuiv7@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |yshuiv7@gmail.com
--- Comment #1 from yshuiv7@gmail.com --- I think this is because FindExecutable does not consider `.so` as a valid extension for program.
I added a commit to fix that in https://gitlab.winehq.org/wine/wine/-/merge_requests/5400
https://bugs.winehq.org/show_bug.cgi?id=56483
Ilya ilya77105@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |ilya77105@gmail.com
--- Comment #2 from Ilya ilya77105@gmail.com --- Can also confirm this bug. I played with winelib and figured out this pattern: 1. Wine without wow64. If app built with -m32 key, then wrapper script correctly starts the app.
2. Wine without wow64. If app built with -m64 key or without any keys, then wrapper script fails. Deep inside Wine logs there is "wrong ELF class: ELFCLASS64" error. Can be reproduced with `WINEDEBUG=warn+all wine a.out.so 2>&1 >/dev/null | grep "dlopen"` However, resulting .so file can be run with wine64.
3. Wine with wow64. App can't be built with -m32 anymore (winegcc fails for some header). However, with -m64 keys or without any keys app correctly builds, and wrapper script works (maybe because wine executable is symlinked to wine64 in wow64 Wine build).
https://bugs.winehq.org/show_bug.cgi?id=56483
Neko-san nekoNexus@protonmail.ch changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |nekoNexus@protonmail.ch
https://bugs.winehq.org/show_bug.cgi?id=56483
Ken Sharp imwellcushtymelike@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |regression
https://bugs.winehq.org/show_bug.cgi?id=56483
Fell fell@fellr.net changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |fell@fellr.net
https://bugs.winehq.org/show_bug.cgi?id=56483
Ken Sharp imwellcushtymelike@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |download, source
--- Comment #3 from Ken Sharp imwellcushtymelike@gmail.com --- This is still an issue after the merge https://gitlab.winehq.org/wine/wine/-/merge_requests/5400 ?
https://bugs.winehq.org/show_bug.cgi?id=56483
--- Comment #4 from Ken Sharp imwellcushtymelike@gmail.com --- I realise that wasn't a clear question:
Is this still an issue after the merge?
https://bugs.winehq.org/show_bug.cgi?id=56483
Robbert van der Helm mail@robbertvanderhelm.nl changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution|--- |FIXED
--- Comment #5 from Robbert van der Helm mail@robbertvanderhelm.nl --- With #5400 being merged this now seems to work again as intended!
https://bugs.winehq.org/show_bug.cgi?id=56483
Ken Sharp imwellcushtymelike@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Fixed by SHA1| |9bd7fab471eb60f07f59947af0f | |ef3254644a8ae
https://bugs.winehq.org/show_bug.cgi?id=56483
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #6 from Alexandre Julliard julliard@winehq.org --- Closing bugs fixed in 9.9.