Hi, I'm building ITK for linux using the CVS head of gccxml as of May 1.
It builds on x86 and amd64 but fails on several others including alpha and sparc. Full status here: https://buildd.debian.org/status/package.php?p=insighttoolkit The first error encountered is [ 37%] wrap_VXLNumericsJava.idx from cd /build/buildd-insighttoolkit_3.18.0-2-alpha-LID6Y4/insighttoolkit-3.18.0/Build/Wrapping/CSwig/VXLNumerics && /usr/bin/cableidx /build/buildd-insighttoolkit_3.18.0-2-alpha-LID6Y4/insighttoolkit-3.18.0/Build/Wrapping/CSwig/VXLNumerics/wrap_VXLNumericsJava.xml /build/buildd-insighttoolkit_3.18.0-2-alpha-LID6Y4/insighttoolkit-3.18.0/Build/Wrapping/CSwig/VXLNumerics/wrap_VXLNumericsJava.idx /usr/bin/cmake -E cmake_progress_report /build/buildd-insighttoolkit_3.18.0-2-alpha-LID6Y4/insighttoolkit-3.18.0/Build/CMakeFiles [ 37%] wrap_vnl_matrix.xml from cd /build/buildd-insighttoolkit_3.18.0-2-alpha-LID6Y4/insighttoolkit-3.18.0/Build/Wrapping/CSwig/VXLNumerics && /usr/bin/gccxml -fxml-start=_cable_ -fxml=/build/buildd-insighttoolkit_3.18.0-2-alpha-LID6Y4/insighttoolkit-3.18.0/Build/Wrapping/CSwig/VXLNumerics/wrap_vnl_matrix.xml --gccxml-gcc-options /build/buildd-insighttoolkit_3.18.0-2-alpha-LID6Y4/insighttoolkit-3.18.0/Build/Wrapping/CSwig/VXLNumerics/SwigInc.txt -DCSWIG -DCABLE_CONFIGURATION /build/buildd-insighttoolkit_3.18.0-2-alpha-LID6Y4/insighttoolkit-3.18.0/Wrapping/CSwig/VXLNumerics/wrap_vnl_matrix.cxx In file included from /usr/include/c++/4.4/complex:43, from /build/buildd-insighttoolkit_3.18.0-2-alpha-LID6Y4/insighttoolkit-3.18.0/Utilities/vxl/vcl/iso/vcl_complex.h:6, from /build/buildd-insighttoolkit_3.18.0-2-alpha-LID6Y4/insighttoolkit-3.18.0/Utilities/vxl/vcl/vcl_complex.h:62, from /build/buildd-insighttoolkit_3.18.0-2-alpha-LID6Y4/insighttoolkit-3.18.0/Wrapping/CSwig/VXLNumerics/wrap_vnl_matrix.cxx:17: /usr/include/c++/4.4/alpha-linux-gnu/bits/c++config.h:214: error: expected unqualified-id before 'namespace' The c++config.h file contents are: 206 // XXX GLIBCXX_ABI Deprecated 207 // Define if compatibility should be provided for -mlong-double-64 208 #define _GLIBCXX_LONG_DOUBLE_COMPAT 1 209 210 // Namespace associations for long double 128 mode. 211 #if defined _GLIBCXX_LONG_DOUBLE_COMPAT && defined __LONG_DOUBLE_128__ 212 namespace std 213 { 214 inline namespace __gnu_cxx_ldbl128 { } 215 } I tried compiling a simple program: #include <complex> int main(int ac, char* av[]) { return 0; } With gcc, it compiles on alpha. Using gccxml, I get the same error as shown above. Does gccxml need a tweak to handle this? (The hppa issue is different and likely can be addressed by reverting http://vxl.svn.sourceforge.net/viewvc/vxl?view=rev&revision=11383) Thanks, -Steve
signature.asc
Description: Digital signature
_______________________________________________ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Follow this link to subscribe/unsubscribe: http://www.gccxml.org/mailman/listinfo/gccxml