http://bugs.winehq.org/show_bug.cgi?id=31729
Bug #: 31729 Summary: cl.exe: stack overflow with certain long command lines Product: Wine Version: 1.5.13 Platform: x86 OS/Version: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: -unknown AssignedTo: wine-bugs@winehq.org ReportedBy: bjj4@charter.net Classification: Unclassified
Created attachment 41726 --> http://bugs.winehq.org/attachment.cgi?id=41726 Annotated console log of working and failing cases
cl.exe version 13.10.4035, Microsoft's C compiler from Windows DDK 3790.1830, crashes with certain long command lines when run under cmd.exe. But some other, even longer, command lines work fine, and cl.exe seems to work fine without cmd.exe. See the attached console log.
This Windows DDK can be downloaded from http://download.microsoft.com/download/9/0/f/90f019ac-8243-48d3-91cf-81fc409.... However, the installer crashes under wine. I've had to copy over the compiler and its associated dlls from an installation on Windows.
I'm using the latest wine (1.5.13) from the official repositories on Ubuntu 12.04 LTS, x64.
This problem was found when using nmake to build a large project. Unfortunately, nmake always launches the compiler via cmd.exe, so bypassing cmd.exe isn't an option. I haven't tried any other versions of cl.exe.
The same build works perfectly using wine 1.3.5 on SLES10 (kernel 2.6.16.46-0.12-xen.)