[cmake-developers] Weird build error against libc++ on OS X 10.7 (cutting at 1024 characters)

Brad King brad.king at kitware.com
Tue Jun 24 14:21:37 EDT 2014


On 06/24/2014 08:31 AM, Mojca Miklavec wrote:
> /path/to/cmake-3.0.0/Bootstrap.cmk/cmake -E cmake_link_script
> CMakeFiles/CMakeLib.dir/link.txt --verbose=1
> 
> isn't outputting the whole command, but cutting it in the middle instead.

The lines are read here:

 http://cmake.org/gitweb?p=cmake.git;a=blob;f=Source/cmcmd.cxx;hb=v3.0.0#l988

using the GetLineFromStream helper:

 http://cmake.org/gitweb?p=cmake.git;a=blob;f=Source/kwsys/SystemTools.cxx;hb=v3.0.0#l4157

Note the buffer size is 1024.  Something must go wrong with the
stream state to make it look like EOL or EOF to this code.

-Brad




More information about the cmake-developers mailing list