http://bugs.winehq.org/show_bug.cgi?id=35335
Bug ID: 35335 Summary: MSVC 2013 C compiler (cl.exe) fails/crashes Product: Wine Version: 1.7.10 Hardware: x86 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: -unknown Assignee: wine-bugs@winehq.org Reporter: wine@martin.st Classification: Unclassified
Created attachment 47131 --> http://bugs.winehq.org/attachment.cgi?id=47131 Backtrace of crash when run with WINEDEBUG=+all
After fixing http://bugs.winehq.org/show_bug.cgi?id=35176, the MSVC 2012 C compiler now seems to work just fine in wine (1.7.10), but the 2013 version doesn't work properly.
When running the compiler normally (e.g. "wine cl.exe -c test.c") on a file that doesn't include any header files, it succeeds, but if including any standard headers, it will fail saying e.g.:
\vc\include\stdint.h(6) : fatal error C1083: Cannot open include file: 'crtdefs.h': No such file or directory
Likewise it can sometimes say that the C source file itself (test.c) isn't found:
c1 : fatal error C1083: Cannot open source file: 'test.c': No such file or directory
This error itself seems to be a red herring (all the files it looks for do exist), because if cl.exe is run with WINEDEBUG=+all, it crashes (even in the case where it previously ran just fine, with a .c file that doesn't include anything).
http://bugs.winehq.org/show_bug.cgi?id=35335
--- Comment #1 from Martin Storsjö wine@martin.st --- The fact that it crashed when run with WINEDEBUG=+all seemed to be the real red herring here (MSVC 2012, which otherwise runs just fine in wine, also crashes if run with WINEDEBUG=+all).
One patch that actually solves the issue is http://source.winehq.org/patches/data/104559.
http://bugs.winehq.org/show_bug.cgi?id=35335
Martin Storsjö wine@martin.st changed:
What |Removed |Added ---------------------------------------------------------------------------- Fixed by SHA1| |114444ca9cc1f855febfd6ae9c2 | |8cc8b69172f31 Status|UNCONFIRMED |RESOLVED Resolution|--- |FIXED
--- Comment #2 from Martin Storsjö wine@martin.st --- This is now fixed in the latest git version (post 1.7.18), by commit 114444ca9cc1f855febfd6ae9c28cc8b69172f31.
https://bugs.winehq.org/show_bug.cgi?id=35335
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #3 from Alexandre Julliard julliard@winehq.org --- Closing bugs fixed in 1.7.19.
https://bugs.winehq.org/show_bug.cgi?id=35335
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |focht@gmx.net Component|-unknown |ntdll