https://bugs.winehq.org/show_bug.cgi?id=38859
Bug ID: 38859 Summary: CMake hangs when detecting msvc10 compiler Product: Wine Version: 1.7.46 Hardware: x86-64 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: -unknown Assignee: wine-bugs@winehq.org Reporter: xantares09@hotmail.com Distribution: ---
Created attachment 51786 --> https://bugs.winehq.org/attachment.cgi?id=51786 winedbg backtrace
I'm trying to use microsoft compiler along with cmake (vc2010express+cmake from winetricks) and it hangs configuring an hello world project. It succeeds the second time the build is run, or as long as the wineserver process is alive, ie if killed, it will fail another time.
Actual output:
cmake -G "NMake Makefiles" -DCMAKE_BUILD_TYPE=Release .
-- The C compiler identification is MSVC 16.0.30319.1 -- The CXX compiler identification is MSVC 16.0.30319.1 -- Check for working C compiler: C:/Program Files/Microsoft Visual Studio 10.0/VC/bin/cl.exe
CMake hangs here, but it should output the rest: -- Check for working C compiler: C:/Program Files/Microsoft Visual Studio 10.0/VC/bin/cl.exe -- works -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Check for working CXX compiler: C:/Program Files/Microsoft Visual Studio 10.0/VC/bin/cl.exe -- Check for working CXX compiler: C:/Program Files/Microsoft Visual Studio 10.0/VC/bin/cl.exe -- works -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Detecting CXX compile features -- Detecting CXX compile features - done -- Configuring done -- Generating done -- Build files have been written to: Z:/home/xantares/projects/msvc-wine
I use these install/build scripts for you to reproduce the problem: https://github.com/xantares/msvc-wine