[CMake] CMake still broken post-2.8.1

Phil Smith phil at voltage.com
Mon Oct 24 17:42:21 EDT 2011


Attached. ZTOOL is a wrapper for CMake, because we're cross-compiling with a two-stage compiler and have various other requirements.

We do a bunch of CMAKE -E commands before the cmake -DCMAKE_TOOLCHAIN_FILE:string="%~dp0\zosport.cmake" -G"Unix Makefiles" .\

Hope this makes some sense...

From: David Cole [mailto:david.cole at kitware.com]
Sent: Monday, October 24, 2011 5:04 PM
To: Phil Smith
Cc: cmake at cmake.org
Subject: Re: [CMake] CMake still broken post-2.8.1

Run "cmake --trace" and redirect the voluminous output to a file.

Inspect it for what's unusual and report back with that.

Or, if the file is not too large (I think 40k is our mailing list limit), just send the whole thing along with a reply.

If it is really large, and you want us to look at it, you can try sending the whole thing directly to me via email, or post it somewhere online where everybody can look at it.


HTH,
David

On Mon, Oct 24, 2011 at 4:29 PM, Phil Smith <phil at voltage.com<mailto:phil at voltage.com>> wrote:
A while ago, when 2.8.2 came out, I installed it and found that it hung processing our CMakeLists.txt. There doesn't seem to be any debugging ability in the code, so we went back to 2.8.1. Today I decided to try the latest & greatest (2.8.6): same result. This seems...bad.

It works fine with 2.8.1; with 2.8.2 and later, it hangs before it even says:
-- The C compiler identification is unknown

With some brutally crude MESSAGE statements, I've determined that it hangs in CMakeDetermineCCompiler.cmake, on the line:
CMAKE_DETERMINE_COMPILER_ID(C CFLAGS CMakeCCompilerId.c)

But I don't know what that line is doing (I mean, I can guess, but it looks like it's going into some primitive and never coming back).

I don't have Windows debugging tools (or skills). Suggestions?
--
...phsiii

Phil Smith III
phil at voltage.com<mailto:phil at voltage.com>
Voltage Security, Inc.
www.voltage.com<http://www.voltage.com>


--

Powered by www.kitware.com<http://www.kitware.com>

Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ

Follow this link to subscribe/unsubscribe:
http://www.cmake.org/mailman/listinfo/cmake

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.cmake.org/pipermail/cmake/attachments/20111024/d6e31521/attachment-0001.htm>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: cmaketrace.txt
URL: <http://www.cmake.org/pipermail/cmake/attachments/20111024/d6e31521/attachment-0001.txt>


More information about the CMake mailing list