Steve, Luis,Splitting ImageToImageFilterB into smaller modules seems to be the way to go in ITK v3. The attached patch should help!
Fortunately, the wrapping in ITK v4 produces less code than the wrapping in ITK v3 – more than 2 times less — so we shouldn't have to do that.
Gaëtan
Attachment:
patch
Description: Binary data
Le 9 févr. 11 à 03:10, Luis Ibanez a écrit :
Hi Steve, It looks like we need to split the ImageToImageFilterB module into smaller pieces. Most likely, adding an ImageToImageFilterC module... Gaetan: Any suggestions ? Luis ------------------------------------On Tue, Feb 8, 2011 at 8:37 PM, Steve M. Robbins <steve@sumost.ca> wrote:Hi, The Debian build of ITK 3.20.0 fails to build on the powerpc build daemon [1] with the diagnostic:[ 23%] Building CXX object Wrapping/WrapITK/Modules/Base/CMakeFiles/ _BasePython.dir/wrap_itkImageToImageFilterBPython.o cd /build/buildd-insighttoolkit_3.20.0-6-powerpc-m2NGDH/ insighttoolkit-3.20.0/obj-powerpc-linux-gnu/Wrapping/WrapITK/ Modules/Base && /usr/bin/g++ -D_BasePython_EXPORTS -DSWIG_GLOBAL - Wno-deprecated -Wno-deprecated -ftemplate-depth-50 -Wall -Wno- deprecated -w -ftemplate-depth-50 -Wall -Wno-deprecated -O3 - DNDEBUG -fPIC -I/build/buildd-insighttoolkit_3.20.0-6-powerpc- m2NGDH/insighttoolkit-3.20.0/Code/Review/Statistics -I/build/buildd- insighttoolkit_3.20.0-6-powerpc-m2NGDH/insighttoolkit-3.20.0/Code/ Review -I/build/buildd-insighttoolkit_3.20.0-6-powerpc-m2NGDH/ insighttoolkit-3.20.0/obj-powerpc-linux-gnu/Utilities/vxl/core -I/ build/buildd-insighttoolkit_3.20.0-6-powerpc-m2NGDH/ insighttoolkit-3.20.0/obj-powerpc-linux-gnu/Utilities/vxl/vcl -I/ build/buildd-insighttoolkit_3.20.0-6-powerpc-m2NGDH/ insighttoolkit-3.20.0/obj-powerpc-linux-gnu/Utilities/vxl/v3p/ netlib -I/build/buildd-insighttoolkit_3.20.0-6-powerpc-m2NGDH/ insighttoolkit-3.20.0/Utilities/vxl/core -I/build/buildd- insighttoolkit_3.20.0-6-powerpc-m2NGDH/insighttoolkit-3.20.0/ Utilities/vxl/vcl -I/build/buildd-insighttoolkit_3.20.0-6-powerpc- m2NGDH/insighttoolkit-3.20.0/Utilities/vxl/v3p/netlib -I/build/ buildd-insighttoolkit_3.20.0-6-powerpc-m2NGDH/insighttoolkit-3.20.0/ Utilities -I/build/buildd-insighttoolkit_3.20.0-6-powerpc-m2NGDH/ insighttoolkit-3.20.0/obj-powerpc-linux-gnu/Utilities -I/build/ buildd-insighttoolkit_3.20.0-6-powerpc-m2NGDH/insighttoolkit-3.20.0/ Utilities/itkExtHdrs -I/build/buildd-insighttoolkit_3.20.0-6- powerpc-m2NGDH/insighttoolkit-3.20.0/Utilities/nifti/znzlib -I/ build/buildd-insighttoolkit_3.20.0-6-powerpc-m2NGDH/ insighttoolkit-3.20.0/Utilities/nifti/niftilib -I/build/buildd- insighttoolkit_3.20.0-6-powerpc-m2NGDH/insighttoolkit-3.20.0/ Utilities/expat -I/build/buildd-insighttoolkit_3.20.0-6-powerpc- m2NGDH/insighttoolkit-3.20.0/obj-powerpc-linux-gnu/Utilities/expat - I/build/buildd-insighttoolkit_3.20.0-6-powerpc-m2NGDH/ insighttoolkit-3.20.0/obj-powerpc-linux-gnu/Utilities/DICOMParser - I/build/buildd-insighttoolkit_3.20.0-6-powerpc-m2NGDH/ insighttoolkit-3.20.0/Utilities/DICOMParser -I/build/buildd- insighttoolkit_3.20.0-6-powerpc-m2NGDH/insighttoolkit-3.20.0/obj- powerpc-linux-gnu/Utilities/NrrdIO -I/build/buildd- insighttoolkit_3.20.0-6-powerpc-m2NGDH/insighttoolkit-3.20.0/ Utilities/NrrdIO -I/build/buildd-insighttoolkit_3.20.0-6-powerpc- m2NGDH/insighttoolkit-3.20.0/Utilities/MetaIO -I/build/buildd- insighttoolkit_3.20.0-6-powerpc-m2NGDH/insighttoolkit-3.20.0/Code/ SpatialObject -I/build/buildd-insighttoolkit_3.20.0-6-powerpc- m2NGDH/insighttoolkit-3.20.0/Code/Numerics/NeuralNetworks -I/build/ buildd-insighttoolkit_3.20.0-6-powerpc-m2NGDH/insighttoolkit-3.20.0/ Code/Numerics/FEM -I/build/buildd-insighttoolkit_3.20.0-6-powerpc- m2NGDH/insighttoolkit-3.20.0/Code/IO -I/build/buildd- insighttoolkit_3.20.0-6-powerpc-m2NGDH/insighttoolkit-3.20.0/Code/ Numerics -I/build/buildd-insighttoolkit_3.20.0-6-powerpc-m2NGDH/ insighttoolkit-3.20.0/Code/Common -I/build/buildd- insighttoolkit_3.20.0-6-powerpc-m2NGDH/insighttoolkit-3.20.0/Code/ BasicFilters -I/build/buildd-insighttoolkit_3.20.0-6-powerpc-m2NGDH/ insighttoolkit-3.20.0/Code/Algorithms -I/build/buildd- insighttoolkit_3.20.0-6-powerpc-m2NGDH/insighttoolkit-3.20.0/obj- powerpc-linux-gnu -I/usr/include/gdcm-2.0 -I/usr/include/vtk-5.4 -I/ usr/lib/openmpi/include -I/usr/lib/openmpi/include/openmpi -I/usr/ include/tcl8.5 -I/usr/include/python2.6 -I/usr/lib/jvm/default-java/ include -I/usr/include/libxml2 -I/usr/include/freetype2 -I/usr/lib/ jvm/java-6-openjdk/include -I/build/buildd-insighttoolkit_3.20.0-6- powerpc-m2NGDH/insighttoolkit-3.20.0/Wrapping/WrapITK/Modules/ Base -o CMakeFiles/_BasePython.dir/ wrap_itkImageToImageFilterBPython.o -c /build/buildd- insighttoolkit_3.20.0-6-powerpc-m2NGDH/insighttoolkit-3.20.0/obj- powerpc-linux-gnu/Wrapping/WrapITK/Modules/Base/ wrap_itkImageToImageFilterBPython.cxx/tmp/cchG87Lf.s: Assembler messages:/tmp/cchG87Lf.s:2649452: Error: operand out of range (0x0000000000008008 is not between 0xffffffffffff8000 and 0x0000000000007fff) /tmp/cchG87Lf.s:2649474: Error: operand out of range (0x0000000000008004 is not between 0xffffffffffff8000 and 0x0000000000007fff)[ ... repeated dozens of times ... ]Google suggests [2] this is a symptom of some table overflowing. Any suggestions on how to work around this?[1] https://buildd.debian.org/fetch.cgi?pkg=insighttoolkit&arch=powerpc&ver=3.20.0-6&stamp=1297198904&file=log&as=raw [2] https://bugzilla.redhat.com/show_bug.cgi?id=427700 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28904 Thanks, -Steve -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (GNU/Linux) iD8DBQFNUe/I0i2bPSHbMcURAuZ7AJ9vrX0i86w26ZDEKghmMv92TvCJwgCfccsN oebyk9LVJ3Qd/MAevtRamG8= =WeIv -----END PGP SIGNATURE----- _______________________________________________ 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.html 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_______________________________________________ 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.html 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
-- Gaëtan Lehmann Biologie du Développement et de la Reproduction INRA de Jouy-en-Josas (France) tel: +33 1 34 65 29 66 fax: 01 34 65 29 09 http://voxel.jouy.inra.fr http://www.itk.org http://www.mandriva.org http://www.bepo.fr
Attachment:
PGP.sig
Description: =?ISO-8859-1?Q?Ceci_est_une_signature_=E9lectronique_PGP?=