Hello,
Some WrapITK builds are producing the following error:
"../../Generators/GccXML/gccxml/bin/gccxml" "-fxml-start=_cable_"
"-fxml=/playpen/blowekamp/MacOSX-WrapITK/ITK-build/Wrapping/Modules/ITKFiniteDifference/itkDenseFiniteDifferenceImageFilter.xml"
"--gccxml-gcc-options"
"/playpen/blowekamp/MacOSX-WrapITK/ITK-build/Wrapping/Modules/ITKFiniteDifference/gcc_xml.inc"
"-DCSWIG" "-DCABLE_CONFIGURATION" "-DITK_MANUAL_INSTANTIATION"
"/playpen/blowekamp/MacOSX-WrapITK/ITK-build/Wrapping/Modules/ITKFiniteDifference/itkDenseFiniteDifferenceImageFilter.cxx"
Error: Could not run
/playpen/blowekamp/MacOSX-WrapITK/ITK-build/Wrapping/Generators/GccXML/gccxml/bin/gccxml_cc1plus:
Argument list too long
The likely problem is in the file gcc_xml.inc, which is over 400kb is size
exceeding the 256kb ARG_MAX limit.
Now the systems that don't seem to be reporting this error have enabled
ITK_USE_CCACHE. To here is the difference in the command:
if(ITK_USE_CCACHE)
add_custom_command(
OUTPUT ${xml_file}
COMMAND "${CCACHE_EXECUTABLE}" "${GCCXML}"
-c
-fxml-start=_cable_
-o ${xml_file}
${CONFIG_GCCXML_INC_CONTENTS}
-DCSWIG
-DCABLE_CONFIGURATION
-DITK_MANUAL_INSTANTIATION
${cxx_file}
DEPENDS ${GCCXML} ${cxx_file}
)
else(ITK_USE_CCACHE)
add_custom_command(
OUTPUT ${xml_file}
COMMAND ${GCCXML}
-fxml-start=_cable_
-fxml=${xml_file}
--gccxml-gcc-options ${gccxml_inc_file}
-DCSWIG
-DCABLE_CONFIGURATION
-DITK_MANUAL_INSTANTIATION
${cxx_file}
DEPENDS ${GCCXML} ${cxx_file} ${gccxml_inc_file}
)
endif(ITK_USE_CCACHE)
I am not sure what the solution to this problem is. But I think it's a lower
priority for the release, so I am mostly posting to recored what I know, and
see if there is an obvious solution to some one else.
Brad
========================================================
Bradley Lowekamp
Medical Science and Computing for
Office of High Performance Computing and Communications
National Library of Medicine
[email protected]
_______________________________________________
Powered by www.kitware.com
Visit other Kitware open-source projects at
http://www.kitware.com/opensource/opensource.html
Kitware offers ITK Training Courses, for more information visit:
http://kitware.com/products/protraining.php
Please keep messages on-topic and check the ITK FAQ at:
http://www.itk.org/Wiki/ITK_FAQ
Follow this link to subscribe/unsubscribe:
http://www.itk.org/mailman/listinfo/insight-developers