MantisBT - CMake |
View Issue Details |
|
ID | Project | Category | View Status | Date Submitted | Last Update |
0013926 | CMake | CMake | public | 2013-02-15 15:23 | 2013-07-01 09:38 |
|
Reporter | Greg Sharp | |
Assigned To | Brad King | |
Priority | normal | Severity | minor | Reproducibility | always |
Status | closed | Resolution | fixed | |
Platform | OSX 10.7 | OS | | OS Version | |
Product Version | | |
Target Version | CMake 2.8.11 | Fixed in Version | CMake 2.8.11 | |
|
Summary | 0013926: CMake hangs on OSX |
Description | OSX 10.7
xcode 4.6 (4H127)
cmake-2.8.10.20130213-g7665b (built from source)
The cmake nightly successfully solves problem with finding QtWebKit framework on mac with newer xcode versions.
However, instead, cmake goes into an infinite loop when compiling using "make".
CMake CPU usage is 100%.
Here is where cmake goes into the infinite loop
-- Configuring SEM CLI module: DWIConvert
-- Configuring SEM CLI module: BRAINSCreateLabelMapFromProbabilityMaps
-- Enabling Slicer launcher option: --xterm
-- Enabling Slicer launcher option: --gdb
-- Configuring done
|
Steps To Reproduce | |
Additional Information | Cross list with related issues
http://www.na-mic.org/Bug/view.php?id=2957 [^] (Bug filed for this issue @ Slicer)
http://www.cmake.org/Bug/view.php?id=13765 [^] (OSX framework linking error)
|
Tags | No tags attached. |
Relationships | related to | 0013756 | closed | Brad King | Infinite loop when reconfiguring with different CMAKE_C_COMPILER |
|
Attached Files | dtruss.out (169,241) 2013-02-15 21:34 https://public.kitware.com/Bug/file/4644/dtruss.out |
|
Issue History |
Date Modified | Username | Field | Change |
2013-02-15 15:23 | Greg Sharp | New Issue | |
2013-02-15 15:31 | Jean-Christophe Fillion-Robin | Note Added: 0032299 | |
2013-02-15 16:21 | Bill Hoffman | Note Added: 0032300 | |
2013-02-15 19:19 | Christopher Mullins | Note Added: 0032301 | |
2013-02-15 21:34 | Greg Sharp | Note Added: 0032304 | |
2013-02-15 21:34 | Greg Sharp | File Added: dtruss.out | |
2013-02-15 21:43 | Jean-Christophe Fillion-Robin | Note Added: 0032305 | |
2013-02-15 21:44 | Jean-Christophe Fillion-Robin | Note Deleted: 0032305 | |
2013-02-17 11:43 | Jean-Christophe Fillion-Robin | Note Added: 0032319 | |
2013-02-17 11:44 | Jean-Christophe Fillion-Robin | Note Edited: 0032319 | bug_revision_view_page.php?bugnote_id=32319#r1038 |
2013-02-18 08:28 | Brad King | Note Added: 0032323 | |
2013-02-18 08:53 | Brad King | Note Added: 0032324 | |
2013-02-18 11:43 | Jean-Christophe Fillion-Robin | Note Added: 0032334 | |
2013-02-20 08:14 | Brad King | Note Added: 0032355 | |
2013-02-20 08:14 | Brad King | Assigned To | => Brad King |
2013-02-20 08:14 | Brad King | Status | new => resolved |
2013-02-20 08:14 | Brad King | Resolution | open => fixed |
2013-02-20 08:14 | Brad King | Fixed in Version | => CMake 2.8.11 |
2013-02-20 08:14 | Brad King | Target Version | => CMake 2.8.11 |
2013-02-20 08:14 | Brad King | Relationship added | related to 0013756 |
2013-07-01 09:38 | Robert Maynard | Note Added: 0033432 | |
2013-07-01 09:38 | Robert Maynard | Status | resolved => closed |
Notes |
|
(0032299)
|
Jean-Christophe Fillion-Robin
|
2013-02-15 15:31
|
|
Hi Greg,
Could you provide more details leading to the infinite loop ? From the description, it seems the loop happen at configuration time but your talk about build time loop : "cmake goes into an infinite loop when compiling using "make"" |
|
|
(0032300)
|
Bill Hoffman
|
2013-02-15 16:21
|
|
You could also run cmake --trace, it might give a clue as to where it is stuck. Also, you can run dtruss on the cmake process and see what it is doing. We need more information to help. |
|
|
(0032301)
|
Christopher Mullins
|
2013-02-15 19:19
|
|
|
|
(0032304)
|
Greg Sharp
|
2013-02-15 21:34
|
|
Hi, in the Slicer build, make launches cmake to configure slicer main executable. It is this child process which is infinite loop. I didn't have time yet to figure out how to pass the --trace flag into the child process. Maybe if I reconfigure the original cmake (which creates the Makefile) with this flag?
But I could do the dtrace thing. The output is attached. CMake sub-process has been running for 40 mins, so I guess it is in steady state.
I hope to make more complete description of how to reproduce soon. |
|
|
(0032319)
|
Jean-Christophe Fillion-Robin
|
2013-02-17 11:43
(edited on: 2013-02-17 11:44) |
|
|
|
(0032323)
|
Brad King
|
2013-02-18 08:28
|
|
Re 0013926:0032319: Is Slicer trying to change the compiler of an existing build tree? All the issues/changes in your summary affect that. |
|
|
(0032324)
|
Brad King
|
2013-02-18 08:53
|
|
Re 0013926:0032323, 0013926:0032319: The loop is also caused by "-DCMAKE_C_COMPILER=cc" in an already-configured tree where CMake has expanded "cc" to a full path already. |
|
|
(0032334)
|
Jean-Christophe Fillion-Robin
|
2013-02-18 11:43
|
|
|
|
(0032355)
|
Brad King
|
2013-02-20 08:14
|
|
|
|
(0033432)
|
Robert Maynard
|
2013-07-01 09:38
|
|
Closing resolved issues that have not been updated in more than 4 months. |
|