http://bugs.winehq.org/show_bug.cgi?id=58469
Bug ID: 58469 Summary: wow64 pointer sizes wrong with gcc 14.2.1 Product: Wine Version: unspecified Hardware: x86-64 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: -unknown Assignee: wine-bugs@winehq.org Reporter: zlice@crtdrift.us Distribution: ---
Previously suspected this was a glibc bug but it seems more like gcc https://bugs.winehq.org/show_bug.cgi?id=54336
on wow64 (separate wine + wine-32bit runs fine), when trying to CreateProcess(), FOSE (fallout [3] script extender - fose_launcher.exe) fails to CreateProcess() for Fallout3.exe with the error message
Assertion failed in .\main.cpp (149): Launching Fallout failed (code = 00000057 (87))
this is ERROR_INVALID_PARAMETER which stems from
https://gitlab.winehq.org/wine/wine/-/blob/master/dlls/ntdll/unix/sync.c?ref...
not having the expected `attr->Length != sizeof(*attr)` and returning the ERROR_INVALID_PARAMETER code
Removing that line allows things to run fine. I'm not sure if there is something compiler side that could help that, or if it there should be a be cast somewhere (at least in the case of wow64)
possibly related bug : https://bugs.winehq.org/show_bug.cgi?id=56776