[Bug 22540] New: CMake hangs when trying to detect and test MinGW compiler (gcc.exe & g++.exe)
http://bugs.winehq.org/show_bug.cgi?id=22540 Summary: CMake hangs when trying to detect and test MinGW compiler (gcc.exe & g++.exe) Product: Wine Version: 1.1.43 Platform: x86 OS/Version: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: -unknown AssignedTo: wine-bugs(a)winehq.org ReportedBy: nil094(a)yahoo.com CMake hangs when trying to detect a usable Compiler, preferable MinGW, assuming `-G "Unix Makefiles"' has been set as commandline argument. CMake is also consuming a significant amount of CPU. Excpected output when running cmake natively (example): $ cmake . -- The C compiler identification is GNU -- The CXX compiler identification is GNU -- Check for working C compiler: /usr/bin/gcc -- Check for working C compiler: /usr/bin/gcc -- works -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Check for working CXX compiler: /usr/bin/c++ -- Check for working CXX compiler: /usr/bin/c++ -- works -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Configuring done -- Generating done -- Build files have been written to: /home/user/somepath Actual Output: $ wine cmake . -G 'Unix Makefiles' -- The C compiler identification is GNU -- The CXX compiler identification is GNU -- Check for working C compiler: C:/MinGW/bin/gcc.exe (... nothing happens, just consuming CPU) MinGW is installed into C:\MinGW, CMake (latest version from cmake.org) is Installed into C:\CMake. The projectfile (CMakeLists.txt) is working properly, and I've tested the project successfully on Windows XP SP2, using exactly the same CMake version, creating projectfiles for MinGW, VisualStudio and SunStudio, so it's most certainly not the CMakeLists.txt who's causing the bug. -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=22540 --- Comment #1 from Sebastian <nil094(a)yahoo.com> 2010-05-01 01:54:08 --- Created an attachment (id=27643) --> (http://bugs.winehq.org/attachment.cgi?id=27643) Backtrace from winedbg. -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=22540 --- Comment #2 from Sebastian <nil094(a)yahoo.com> 2010-05-01 02:32:34 --- +relay output (WARNING: uncompressed around 294MB big!) since attachments can't be bigger than 1MB, it's uploaded elsewhere: http://filebin.ca/fucazq/relay.txt.7z -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=22540 --- Comment #3 from Austin English <austinenglish(a)gmail.com> 2010-05-01 15:15:31 --- Your log needs debugging symbols. -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=22540 --- Comment #4 from Sebastian <nil094(a)yahoo.com> 2010-05-01 19:00:32 --- (In reply to comment #3)
Your log needs debugging symbols.
from wine or cmake? -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=22540 --- Comment #5 from Vitaliy Margolen <vitaliy(a)kievinfo.com> 2010-05-01 21:03:09 --- (In reply to comment #4) Wine. -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=22540 --- Comment #6 from Sebastian <nil094(a)yahoo.com> 2010-05-02 12:29:47 --- Created an attachment (id=27671) --> (http://bugs.winehq.org/attachment.cgi?id=27671) Updated backtrace, using latest wine compiled as debugbuild. -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=22540 --- Comment #7 from Sebastian <nil094(a)yahoo.com> 2010-05-09 14:44:56 --- There is a "workaround" to get CMake to generate Makefiles for MinGW; Instead of using "Unix Makefiles" one has to use "MinGW Makefiles": wine cmake -G "MinGW Makefiles" $path_to_project # ... This command will create the Makefile correctly, and the project will build correctly. However, the generator "MinGW Makefiles" doesn't seem to be documented, and "Unix Makefiles" generates valid Makefiles for MinGW on Windows XP (and most likely on Vista and Win7 too). A sample project has been attached, which can be used to test the following: # will fail with the described behaviour wine cmake -G "Unix Makefiles" . # will create a Makefile wine cmake -G "MinGW Makefiles" . # build the project (It's just a helloworld application) wine make -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=22540 --- Comment #8 from Sebastian <nil094(a)yahoo.com> 2010-05-09 14:47:58 --- Created an attachment (id=27834) --> (http://bugs.winehq.org/attachment.cgi?id=27834) sample CMake project -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=22540 Sebastian <nil094(a)yahoo.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #27834|0 |1 is obsolete| | -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=22540 --- Comment #9 from Sebastian <nil094(a)yahoo.com> 2010-05-09 14:56:45 --- Created an attachment (id=27835) --> (http://bugs.winehq.org/attachment.cgi?id=27835) sample CMake Project -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=22540 --- Comment #10 from Sebastian <nil094(a)yahoo.com> 2010-08-02 23:58:44 --- Not sure why this bug hasn't been updated yet, but starting with 1.3*, cmake seems to work as expected on wine. -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=22540 Sebastian <nil094(a)yahoo.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution| |WORKSFORME --- Comment #11 from Sebastian <nil094(a)yahoo.com> 2010-08-02 23:59:15 --- setting to resolved/worksforme -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=22540 Dmitry Timoshkov <dmitry(a)codeweavers.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Resolution|WORKSFORME |FIXED --- Comment #12 from Dmitry Timoshkov <dmitry(a)codeweavers.com> 2010-08-03 00:16:04 --- Fixed then. -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=22540 Alexandre Julliard <julliard(a)winehq.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED --- Comment #13 from Alexandre Julliard <julliard(a)winehq.org> 2010-08-20 12:39:18 --- Closing bugs fixed in 1.3.1. -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
participants (1)
-
wine-bugs@winehq.org