Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Compilation error of v5.4.0 with GCC-13.2.0 - CastXML problem? #4911

Closed
pavelToman opened this issue Oct 29, 2024 · 15 comments
Closed

Compilation error of v5.4.0 with GCC-13.2.0 - CastXML problem? #4911

pavelToman opened this issue Oct 29, 2024 · 15 comments
Labels
type:Bug Inconsistencies or issues which will cause an incorrect result under some or all circumstances

Comments

@pavelToman
Copy link

pavelToman commented Oct 29, 2024

Description

Hello! I am working for University Gent (UGent) and I am trying to install ITK 5.4.0 on our HPC to provide it to our researchers.
We are using EasyBuild to build and install all the software.

There is a problem with compilation of ITK 5.4.0, while ITK 5.3.0 can be build and install.

Steps to Reproduce

Configure (cmake) command seems ok, but it failed on make step:

cmake
-DCMAKE_INSTALL_PREFIX=/software/ITK/5.4.0-foss-2023b
-DCMAKE_BUILD_TYPE=Release
-DCMAKE_POSITION_INDEPENDENT_CODE=ON
-DCMAKE_VERBOSE_MAKEFILE=ON
-DCMAKE_FIND_USE_PACKAGE_REGISTRY=OFF
-DPYTHON_EXECUTABLE=/software/Python/3.11.5-GCCcore-13.2.0/bin/python
-DPython3_EXECUTABLE=/software/Python/3.11.5-GCCcore-13.2.0/bin/python
-DBUILD_SHARED_LIBS=ON
-DBUILD_TESTING=OFF
-DModule_ITKReview=ON
-DModule_ITKVtkGlue=ON
-DModule_SimpleITKFilters=ON
-DITK_WRAP_PYTHON:BOOL=ON
-DPython_EXECUTABLE=/software/Python/3.11.5-GCCcore-13.2.0/bin/python
-DSWIG_EXECUTABLE=$EBROOTSWIG/bin/swig
-DSWIG_DIR=$EBROOTSWIG
-DPY_SITE_PACKAGES_PATH=/software/ITK/5.4.0-foss-2023b/lib/python3.11/site-packages
-DITK_USE_SYSTEM_CASTXML=ON
-DITK_USE_SYSTEM_DOUBLECONVERSION=ON
-DITK_USE_SYSTEM_EIGEN=ON
-DITK_USE_SYSTEM_EXPAT=ON
-DITK_USE_SYSTEM_FFTW=ON
-DITK_USE_SYSTEM_HDF5=ON
-DITK_USE_SYSTEM_JPEG=ON
-DITK_USE_SYSTEM_PNG=ON
-DITK_USE_SYSTEM_SWIG=ON
-DITK_USE_SYSTEM_TIFF=ON
-DITK_USE_SYSTEM_ZLIB=ON
/tmp/vsc47063/easybuild/build/ITK/5.4.0/foss-2023b/ITK-5.4.0/
-> exit 0

LC_ALL=C make -j 8
-> exit 2
Part of the error:

  Building C object Modules/ThirdParty/NrrdIO/src/NrrdIO/CMakeFiles/ITKNrrdIO.dir/accessors.c.o
  cd /tmp/vsc47063/easybuild/build/ITK/5.4.0/foss-2023b/easybuild_obj/Modules/ThirdParty/NrrdIO/src/NrrdIO && /apps/gent/
  RHEL8/cascadelake-ib/software/GCCcore/13.2.0/bin/gcc -DITKNrrdIO_EXPORTS -DTEEM_BUILD -DTEEM_DIO=0 -DTEEM_QNANHIBIT=1 -
  DTEEM_ZLIB=1 -I/tmp/vsc47063/easybuild/build/ITK/5.4.0/foss-2023b/easybuild_obj/Modules/ThirdParty/ZLIB/src -I/apps/gen
  t/RHEL8/cascadelake-ib/software/zlib/1.2.13-GCCcore-13.2.0/include -I/tmp/vsc47063/easybuild/build/ITK/5.4.0/foss-2023b
  /easybuild_obj/Modules/ThirdParty/NrrdIO/src/NrrdIO -I/tmp/vsc47063/easybuild/build/ITK/5.4.0/foss-2023b/ITK-5.4.0/Modu
  les/ThirdParty/NrrdIO/src/NrrdIO -O2 -ftree-vectorize -march=native -fno-math-errno -fPIC -std=c++17   -w -fno-strict-a
  liasing -O3 -DNDEBUG -fPIC -MD -MT Modules/ThirdParty/NrrdIO/src/NrrdIO/CMakeFiles/ITKNrrdIO.dir/accessors.c.o -MF CMak
  eFiles/ITKNrrdIO.dir/accessors.c.o.d -o CMakeFiles/ITKNrrdIO.dir/accessors.c.o -c /tmp/vsc47063/easybuild/build/ITK/5.4
  .0/foss-2023b/ITK-5.4.0/Modules/ThirdParty/NrrdIO/src/NrrdIO/accessors.c
  In file included from In file included from /tmp/vsc47063/easybuild/build/ITK/5.4.0/foss-2023b/easybuild_obj/Wrapping/c
  astxml_inputs/itkPyImageFilter.cxx:1:
      In file included from /tmp/vsc47063/easybuild/build/ITK/5.4.0/foss-2023b/ITK-5.4.0/Modules/Core/Common/include/itkComma
  nd.h:21:
  In file included from /tmp/vsc47063/easybuild/build/ITK/5.4.0/foss-2023b/ITK-5.4.0/Modules/Core/Common/include/itkObjec
  t.h:31:
  In file included from /tmp/vsc47063/easybuild/build/ITK/5.4.0/foss-2023b/ITK-5.4.0/Modules/Core/Common/include/itkLight
  Object.h:21:
  In file included from /tmp/vsc47063/easybuild/build/ITK/5.4.0/foss-2023b/ITK-5.4.0/Modules/Core/Common/include/itkMacro
  .h:47:
  In file included from /kyukon/home/apps/RHEL8/cascadelake-ib/software/GCCcore/13.2.0/bin/../lib/gcc/x86_64-pc-linux-gnu
  /13.2.0/../../../../include/c++/13.2.0/string:42:
  In file included from /kyukon/home/apps/RHEL8/cascadelake-ib/software/GCCcore/13.2.0/bin/../lib/gcc/x86_64-pc-linux-gnu
  /13.2.0/../../../../include/c++/13.2.0/bits/char_traits.h:42:
  In file included from /kyukon/home/apps/RHEL8/cascadelake-ib/software/GCCcore/13.2.0/bin/../lib/gcc/x86_64-pc-linux-gnu
  /13.2.0/../../../../include/c++/13.2.0/bits/postypes.h:40:
  In file included from /kyukon/home/apps/RHEL8/cascadelake-ib/software/GCCcore/13.2.0/bin/../lib/gcc/x86_64-pc-linux-gnu
  /13.2.0/../../../../include/c++/13.2.0/cwchar:44:
  In file included from /usr/include/wchar.h:30:
  /usr/include/bits/floatn.h:86:20: error: typedef redefinition with different types ('__float128' vs 'struct __castxml_F
  loat128_s')
  /tmp/vsc47063/easybuild/build/ITK/5.4.0/foss-2023b/easybuild_obj/Wrapping/castxml_inputs/itkPyCommand.cxx:1:
  In file included from /tmp/vsc47063/easybuild/build/ITK/5.4.0/foss-2023b/ITK-5.4.0/Modules/Core/Common/include/itkComma
  nd.h:21:
  In file included from    86 | typedef __float128 _Float128;
  ...
  In file included from /kyukon/home/apps/RHEL8/cascadelake-ib/software/GCCcore/13.2.0/bin/../lib/gcc/x86_64-pc-linux-gnu
  /13.2.0/../../../../include/c++/13.2.0/cwchar:44:
  In file included from /usr/include/wchar.h:30:
  /usr/include/bits/floatn.h:86:20: error: typedef redefinition with different types ('__float128' vs 'struct __castxml_Float128_s')
  :472:   19: note: expanded from macro '_Float128'
  86  472 | #define _Float128 __castxml_Float128
      |                   ^
  <built-in>:478:124: note: previous definition is here
  478 | typedef struct __castxml_Float128_s {   __float128 x;   operator __float128() const;   __castxml_Float128_s(__float128); } __castxml_Float128;
      |                                                                                                                            ^
  | typedef __float128 _Float128;
  ...
  In file included from /usr/include/wchar.h:30:
  In file included from /usr/include/bits/floatn.h:119:
  /usr/include/bits/floatn-common.h:214:15: error: typedef redefinition with different types ('float' vs 'struct __castxml_Float32_s')
  28
      |                   ^
  <built-in>214 | typedef float _Float32;
      |               ^
  <built-in>:478:124: note: previous definition is here
  :  468:18: note: expanded from macro '_Float32'
  478 | typedef struct __castxml_Float128_s {   __float128 x;   operator __float128() const;   __castxml_Float128_s(__float128); } __castxml_Float128;
      |                                                                                                                            ^
  468 | #define _Float32 __castxml_Float32
      |                  ^
  <built-in>:474:107: note: previous definition is here
  474 | typedef struct __castxml_Float32_In file included from s {   float x;   operator float() const;   __castxml_Float32_s(float); } __castxml_Float32;
  In file included from /usr/include/wchar.h:30:
  In file included from /usr/include/bits/floatn.h:119:
  /usr/include/bits/floatn-common.h:214:15: error: typedef redefinition with different types ('float' vs 'struct __castxml_Float32_s')
  251  214 | typedef float _Float32;
      |               ^
  <built-in> | typedef double _Float64;
      |                ^
  <built-in>:468:18: note: expanded from macro '_Float32'
  :470:18: note: expanded from macro '_Float64'
  468 | #define _Float32 __castxml_Float32
      |                  ^
  <built-in>470 | #define _Float64 __castxml_Float64
      |                  ^
  <built-in>:474:107: note: previous definition is here
  :  476:110: note: previous definition is here
  474  476 | typedef struct __castxml_Float64_s {   double x;   operator double() const;   __castxml_Float64_s(double); } __castxml_Float64;
      |                                                                                                              ^
  | typedeIn file included from f struct __castxml_Float32_s {   float x;   operator float() const;   __castxml_Float32_s(float); } __castxml_Float32;

Whole log with errors is there: https://raw.githubusercontent.com/vscentrum/vsc-software-stack/refs/heads/wip/357_Synthcity/2023b_v0.2.11_new/monai-2023b-full/log2.txt

Versions

ITK 5.4.0

Environment

RHEL 8.8, 4.18.0-477.43.1.el8_8.x86_64
GCC 13.2.0 + FlexiBLAS + FFTW + ScaLAPACK + OpenMPI
('CMake', '3.27.6'),
('Bison', '3.8.2'),
('Eigen', '3.4.0'),
('SWIG', '4.1.1'),
('Perl', '5.38.0'),
('git', '2.42.0'),
('Python', '3.11.5'),
('double-conversion', '3.3.0'),
('expat', '2.5.0'),
('HDF5', '1.14.3'),
('libjpeg-turbo', '3.0.1'),
('libpng', '1.6.40'),
('LibTIFF', '4.6.0'),
('VTK', '9.3.0'),
('zlib', '1.2.13'),
('CastXML', '0.6.5'),

Additional Information

For me it seems similar to this problem you already fix:
d027586#diff-e7b9b1d2d1251e3340d02c7aae095ff229a0490fad2ff108c71eadc011961deeR25

@pavelToman pavelToman added the type:Bug Inconsistencies or issues which will cause an incorrect result under some or all circumstances label Oct 29, 2024
Copy link

Thank you for contributing an issue! 🙏

Welcome to the ITK community! 🤗👋☀️

We are glad you are here and appreciate your contribution. Please keep in mind our community participation guidelines. 📜
Also, please check existing open issues and consider discussion on the ITK Discourse. 📖

This is an automatic message. Allow for time for the ITK community to be able to read the issue and comment on it.

@dzenanz
Copy link
Member

dzenanz commented Oct 29, 2024

Why not try the latest CastXML then? Or the bundled one, by setting -DITK_USE_SYSTEM_CASTXML=OFF?

@thewtex
Copy link
Member

thewtex commented Oct 29, 2024

('CastXML', '0.6.5'),

Hi @pavelToman , does upgrading to CastXML 0.6.8 address the issue?

@pavelToman
Copy link
Author

pavelToman commented Oct 30, 2024

I let it build with bundled one - but it use precompiled binaries (not ideal for our system). And with bundled CastXML the errors are the same. So I try to replace it by CastXML builded on our system.
I let the version be the same as the bundled one - thought it fits best for ITK 5.4.0. But I can try to build another version of CastXML and use it.

@pavelToman
Copy link
Author

pavelToman commented Oct 30, 2024

I build CastXML 0.6.8 and use it as dependency of ITK 5.4.0, but the errors during make step are the same

@thewtex
Copy link
Member

thewtex commented Oct 30, 2024

@pavelToman thanks for the follow-up. To help identify the issue, do you get the same error:

  • With EasyBuild on Ubuntu 24.04 (also has GCC 13.2, but I have not had issues although I have not used EasyBuild)
  • With a build on the same system outside EasyBuild

@pavelToman
Copy link
Author

pavelToman commented Nov 26, 2024

We have RHEL 8/9 on our HPC clusters not Ubuntu. Also I am unable to build it outside the EasyBuild on HPC clusters.

I have tried few more things:

  • add SWIG-4.2.1 as a dependency builded by EB.
  • add CXXFLAGS/CFLAGS (-U_Float128,...) to not GCC use these Floats.
    This not fix my issue.
    Only thing that fix it was to delete -DITK_WRAP_PYTHON:BOOL=ON. After this ITK was built/installed, but it lacks python module I need.

There are some fails in configure step:

Details - configure

-- Performing Test C_HAS_WARNING-Wno-uninitialized - Failed
-- Performing Test C_HAS_WARNING-Wno-unused-parameter - Failed
-- Performing Test C_HAS_WARNING-Wall - Failed
-- Performing Test C_HAS_WARNING-Wno-long-double - Failed
-- Performing Test C_HAS_WARNING-Wcast-align - Failed
-- Performing Test C_HAS_WARNING-Wdisabled-optimization - Failed
-- Performing Test C_HAS_WARNING-Wextra - Failed
-- Performing Test C_HAS_WARNING-Wformat_2 - Failed
-- Performing Test C_HAS_WARNING-Winvalid-pch - Failed
-- Performing Test C_HAS_WARNING-Wno-format-nonliteral - Failed
-- Performing Test C_HAS_WARNING-Wpointer-arith - Failed
-- Performing Test C_HAS_WARNING-Wshadow - Failed
-- Performing Test C_HAS_WARNING-Wunused - Failed
-- Performing Test C_HAS_WARNING-Wwrite-strings - Failed
-- Performing Test C_HAS_WARNING-Wno-strict-overflow - Failed
-- Performing Test CXX_HAS_WARNING-Wno-long-double - Failed
-- Performing Test CXX_HAS_WARNING-Wno-undefined-var-template - Failed
-- Performing Test C_HAS_WARNING-mtune_generic - Failed
-- Performing Test C_HAS_WARNING-march_corei7 - Failed
-- Performing Test CXX_HAS_DISABLE_OPTIMIZATION_FLAG - Failed
-- Performing Test VXL_HAS_DBGHELP_H - Failed
-- Performing Test VXL_HAS_ALIGNED_MALLOC - Failed
-- Performing Test VXL_HAS_MINGW_ALIGNED_MALLOC - Failed
-- Performing Test VXL_HAS_POSIX_MEMALIGN - Failed
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Failed
-- Performing Test GDCM_HAVE_WCHAR_IFSTREAM - Failed
-- Performing Test Iconv_IS_BUILT_IN - Failed
-- Check size of __int64 - failed
-- Performing Test H5_HAVE___TM_GMTOFF - Failed
-- Performing Test H5_HAVE_STRUCT_TIMEZONE - Failed
-- Performing Test H5_HAVE_STRUCT_VIDEOCONFIG - Failed
-- Performing Test H5_HAVE_STRUCT_TEXT_INFO - Failed
-- Check size of _Quad - failed

Whole make error about Float128 Float32 Float64 Float32x Float64x:

Details - make

[ 22%] Generating ../../../castxml_inputs/itkPyCommand.xml
cd /tmp/vsc47063/easybuild/build/ITK/5.4.0/foss-2023b/easybuild_obj/Wrapping/Generators/Python/PyUtils && ../../CastXML/castxml/bin/castxml -o /tmp/vsc47063/easybuild/build/ITK/5.4.0/foss-2023b/easybuild_obj/Wrapping/castxml_inputs/itkPyCommand.xml --castxml-gccxml --castxml-start wrapping --castxml-cc-gnu "(" /apps/gent/RHEL8/cascadelake-ib/software/GCCcore/13.2.0/bin/g++ -O2 -ftree-vectorize -fno-math-errno -U_Float128 -U_Float32 -U_Float64 -U_Float32x -U_Float64x -Wall -Wcast-align -Wdisabled-optimization -Wextra -Wformat=2 -Winvalid-pch -Wno-format-nonliteral -Wpointer-arith -Wshadow -Wunused -Wwrite-strings -Wno-strict-overflow -Wno-deprecated -Wno-invalid-offsetof -Woverloaded-virtual -Wctad-maybe-unsupported -Wstrict-null-sentinel -fno-sized-deallocation -msse2 -fno-sized-deallocation -msse2 -std=c++17 ")" -w -c @/tmp/vsc47063/easybuild/build/ITK/5.4.0/foss-2023b/easybuild_obj/Wrapping/castxml_inputs/.castxml.inc /tmp/vsc47063/easybuild/build/ITK/5.4.0/foss-2023b/easybuild_obj/Wrapping/castxml_inputs/itkPyCommand.cxx
[ 23%] Building CXX object Modules/ThirdParty/VNL/src/vxl/core/vnl/CMakeFiles/itkvnl.dir/Templates/vnl_diag_matrix_fixed+double.allsizes-.cxx.o
cd /tmp/vsc47063/easybuild/build/ITK/5.4.0/foss-2023b/easybuild_obj/Modules/ThirdParty/VNL/src/vxl/core/vnl && /apps/gent/RHEL8/cascadelake-ib/software/GCCcore/13.2.0/bin/g++ -DVXL_WARN_DEPRECATED -DVXL_WARN_DEPRECATED_ONCE -Ditkvnl_EXPORTS -I/tmp/vsc47063/easybuild/build/ITK/5.4.0/foss-2023b/ITK-5.4.0/Modules/ThirdParty/VNL/src/vxl/v3p/netlib -I/tmp/vsc47063/easybuild/build/ITK/5.4.0/foss-2023b/ITK-5.4.0/Modules/ThirdParty/VNL/src/vxl/vcl -I/tmp/vsc47063/easybuild/build/ITK/5.4.0/foss-2023b/ITK-5.4.0/Modules/ThirdParty/VNL/src/vxl/core -I/tmp/vsc47063/easybuild/build/ITK/5.4.0/foss-2023b/easybuild_obj/Modules/ThirdParty/VNL/src/vxl/v3p/netlib -I/tmp/vsc47063/easybuild/build/ITK/5.4.0/foss-2023b/easybuild_obj/Modules/ThirdParty/VNL/src/vxl/vcl -I/tmp/vsc47063/easybuild/build/ITK/5.4.0/foss-2023b/easybuild_obj/Modules/ThirdParty/VNL/src/vxl/core -I/tmp/vsc47063/easybuild/build/ITK/5.4.0/foss-2023b/ITK-5.4.0/Modules/ThirdParty/VNL/src/vxl/core/vnl -I/tmp/vsc47063/easybuild/build/ITK/5.4.0/foss-2023b/easybuild_obj/Modules/ThirdParty/VNL/src/vxl/core/vnl -O2 -ftree-vectorize -march=native -fno-math-errno -U_Float128 -U_Float32 -U_Float64 -U_Float32x -U_Float64x -mtune=generic -march=corei7 -Wall -Wcast-align -Wdisabled-optimization -Wextra -Wformat=2 -Winvalid-pch -Wno-format-nonliteral -Wpointer-arith -Wshadow -Wunused -Wwrite-strings -Wno-strict-overflow -Wno-deprecated -Wno-invalid-offsetof -Woverloaded-virtual -Wctad-maybe-unsupported -Wstrict-null-sentinel -fno-sized-deallocation -msse2 -w -O3 -DNDEBUG -std=c++17 -fPIC -MD -MT Modules/ThirdParty/VNL/src/vxl/core/vnl/CMakeFiles/itkvnl.dir/Templates/vnl_diag_matrix_fixed+double.allsizes-.cxx.o -MF CMakeFiles/itkvnl.dir/Templates/vnl_diag_matrix_fixed+double.allsizes-.cxx.o.d -o CMakeFiles/itkvnl.dir/Templates/vnl_diag_matrix_fixed+double.allsizes-.cxx.o -c /tmp/vsc47063/easybuild/build/ITK/5.4.0/foss-2023b/ITK-5.4.0/Modules/ThirdParty/VNL/src/vxl/core/vnl/Templates/vnl_diag_matrix_fixed+double.allsizes-.cxx
In file included from /tmp/vsc47063/easybuild/build/ITK/5.4.0/foss-2023b/easybuild_obj/Wrapping/castxml_inputs/itkPyCommand.cxx:1:
In file included from /tmp/vsc47063/easybuild/build/ITK/5.4.0/foss-2023b/ITK-5.4.0/Modules/Core/Common/include/itkCommand.h:21:
In file included from /tmp/vsc47063/easybuild/build/ITK/5.4.0/foss-2023b/ITK-5.4.0/Modules/Core/Common/include/itkObject.h:31:
In file included from /tmp/vsc47063/easybuild/build/ITK/5.4.0/foss-2023b/ITK-5.4.0/Modules/Core/Common/include/itkLightObject.h:21:
In file included from /tmp/vsc47063/easybuild/build/ITK/5.4.0/foss-2023b/ITK-5.4.0/Modules/Core/Common/include/itkMacro.h:47:
In file included from /kyukon/home/apps/RHEL8/cascadelake-ib/software/GCCcore/13.2.0/bin/../lib/gcc/x86_64-pc-linux-gnu/13.2.0/../../../../include/c++/13.2.0/string:42:
In file included from /kyukon/home/apps/RHEL8/cascadelake-ib/software/GCCcore/13.2.0/bin/../lib/gcc/x86_64-pc-linux-gnu/13.2.0/../../../../include/c++/13.2.0/bits/char_traits.h:42:
In file included from /kyukon/home/apps/RHEL8/cascadelake-ib/software/GCCcore/13.2.0/bin/../lib/gcc/x86_64-pc-linux-gnu/13.2.0/../../../../include/c++/13.2.0/bits/postypes.h:40:
In file included from /kyukon/home/apps/RHEL8/cascadelake-ib/software/GCCcore/13.2.0/bin/../lib/gcc/x86_64-pc-linux-gnu/13.2.0/../../../../include/c++/13.2.0/cwchar:44:
In file included from /usr/include/wchar.h:30:
/usr/include/bits/floatn.h:86:20: error: typedef redefinition with different types ('__float128' vs 'struct __castxml_Float128_s')
86 | typedef __float128 _Float128;
| ^
:470:19: note: expanded from macro '_Float128'
470 | #define _Float128 __castxml_Float128
| ^
:476:124: note: previous definition is here
476 | typedef struct __castxml_Float128_s { __float128 x; operator __float128() const; __castxml_Float128_s(__float128); } __castxml_Float128;
| ^
In file included from /tmp/vsc47063/easybuild/build/ITK/5.4.0/foss-2023b/easybuild_obj/Wrapping/castxml_inputs/itkPyCommand.cxx:1:
In file included from /tmp/vsc47063/easybuild/build/ITK/5.4.0/foss-2023b/ITK-5.4.0/Modules/Core/Common/include/itkCommand.h:21:
In file included from /tmp/vsc47063/easybuild/build/ITK/5.4.0/foss-2023b/ITK-5.4.0/Modules/Core/Common/include/itkObject.h:31:
In file included from /tmp/vsc47063/easybuild/build/ITK/5.4.0/foss-2023b/ITK-5.4.0/Modules/Core/Common/include/itkLightObject.h:21:
In file included from /tmp/vsc47063/easybuild/build/ITK/5.4.0/foss-2023b/ITK-5.4.0/Modules/Core/Common/include/itkMacro.h:47:
In file included from /kyukon/home/apps/RHEL8/cascadelake-ib/software/GCCcore/13.2.0/bin/../lib/gcc/x86_64-pc-linux-gnu/13.2.0/../../../../include/c++/13.2.0/string:42:
In file included from /kyukon/home/apps/RHEL8/cascadelake-ib/software/GCCcore/13.2.0/bin/../lib/gcc/x86_64-pc-linux-gnu/13.2.0/../../../../include/c++/13.2.0/bits/char_traits.h:42:
In file included from /kyukon/home/apps/RHEL8/cascadelake-ib/software/GCCcore/13.2.0/bin/../lib/gcc/x86_64-pc-linux-gnu/13.2.0/../../../../include/c++/13.2.0/bits/postypes.h:40:
In file included from /kyukon/home/apps/RHEL8/cascadelake-ib/software/GCCcore/13.2.0/bin/../lib/gcc/x86_64-pc-linux-gnu/13.2.0/../../../../include/c++/13.2.0/cwchar:44:
In file included from /usr/include/wchar.h:30:
In file included from /usr/include/bits/floatn.h:119:
/usr/include/bits/floatn-common.h:214:15: error: typedef redefinition with different types ('float' vs 'struct __castxml_Float32_s')
214 | typedef float _Float32;
| ^
:466:18: note: expanded from macro '_Float32'
466 | #define _Float32 __castxml_Float32
| ^
:472:107: note: previous definition is here
472 | typedef struct __castxml_Float32_s { float x; operator float() const; __castxml_Float32_s(float); } __castxml_Float32;
| ^
In file included from /tmp/vsc47063/easybuild/build/ITK/5.4.0/foss-2023b/easybuild_obj/Wrapping/castxml_inputs/itkPyCommand.cxx:1:
In file included from /tmp/vsc47063/easybuild/build/ITK/5.4.0/foss-2023b/ITK-5.4.0/Modules/Core/Common/include/itkCommand.h:21:
In file included from /tmp/vsc47063/easybuild/build/ITK/5.4.0/foss-2023b/ITK-5.4.0/Modules/Core/Common/include/itkObject.h:31:
In file included from /tmp/vsc47063/easybuild/build/ITK/5.4.0/foss-2023b/ITK-5.4.0/Modules/Core/Common/include/itkLightObject.h:21:
In file included from /tmp/vsc47063/easybuild/build/ITK/5.4.0/foss-2023b/ITK-5.4.0/Modules/Core/Common/include/itkMacro.h:47:
In file included from /kyukon/home/apps/RHEL8/cascadelake-ib/software/GCCcore/13.2.0/bin/../lib/gcc/x86_64-pc-linux-gnu/13.2.0/../../../../include/c++/13.2.0/string:42:
In file included from /kyukon/home/apps/RHEL8/cascadelake-ib/software/GCCcore/13.2.0/bin/../lib/gcc/x86_64-pc-linux-gnu/13.2.0/../../../../include/c++/13.2.0/bits/char_traits.h:42:
In file included from /kyukon/home/apps/RHEL8/cascadelake-ib/software/GCCcore/13.2.0/bin/../lib/gcc/x86_64-pc-linux-gnu/13.2.0/../../../../include/c++/13.2.0/bits/postypes.h:40:
In file included from /kyukon/home/apps/RHEL8/cascadelake-ib/software/GCCcore/13.2.0/bin/../lib/gcc/x86_64-pc-linux-gnu/13.2.0/../../../../include/c++/13.2.0/cwchar:44:
In file included from /usr/include/wchar.h:30:
In file included from /usr/include/bits/floatn.h:119:
/usr/include/bits/floatn-common.h:251:16: error: typedef redefinition with different types ('double' vs 'struct __castxml_Float64_s')
251 | typedef double _Float64;
| ^
:468:18: note: expanded from macro '_Float64'
468 | #define _Float64 __castxml_Float64
| ^
:474:110: note: previous definition is here
474 | typedef struct __castxml_Float64_s { double x; operator double() const; __castxml_Float64_s(double); } __castxml_Float64;
| ^
In file included from /tmp/vsc47063/easybuild/build/ITK/5.4.0/foss-2023b/easybuild_obj/Wrapping/castxml_inputs/itkPyCommand.cxx:1:
In file included from /tmp/vsc47063/easybuild/build/ITK/5.4.0/foss-2023b/ITK-5.4.0/Modules/Core/Common/include/itkCommand.h:21:
In file included from /tmp/vsc47063/easybuild/build/ITK/5.4.0/foss-2023b/ITK-5.4.0/Modules/Core/Common/include/itkObject.h:31:
In file included from /tmp/vsc47063/easybuild/build/ITK/5.4.0/foss-2023b/ITK-5.4.0/Modules/Core/Common/include/itkLightObject.h:21:
In file included from /tmp/vsc47063/easybuild/build/ITK/5.4.0/foss-2023b/ITK-5.4.0/Modules/Core/Common/include/itkMacro.h:47:
In file included from /kyukon/home/apps/RHEL8/cascadelake-ib/software/GCCcore/13.2.0/bin/../lib/gcc/x86_64-pc-linux-gnu/13.2.0/../../../../include/c++/13.2.0/string:42:
In file included from /kyukon/home/apps/RHEL8/cascadelake-ib/software/GCCcore/13.2.0/bin/../lib/gcc/x86_64-pc-linux-gnu/13.2.0/../../../../include/c++/13.2.0/bits/char_traits.h:42:
In file included from /kyukon/home/apps/RHEL8/cascadelake-ib/software/GCCcore/13.2.0/bin/../lib/gcc/x86_64-pc-linux-gnu/13.2.0/../../../../include/c++/13.2.0/bits/postypes.h:40:
In file included from /kyukon/home/apps/RHEL8/cascadelake-ib/software/GCCcore/13.2.0/bin/../lib/gcc/x86_64-pc-linux-gnu/13.2.0/../../../../include/c++/13.2.0/cwchar:44:
In file included from /usr/include/wchar.h:30:
In file included from /usr/include/bits/floatn.h:119:
/usr/include/bits/floatn-common.h:268:16: error: typedef redefinition with different types ('double' vs 'struct __castxml_Float32x_s')
268 | typedef double _Float32x;
| ^
:467:19: note: expanded from macro '_Float32x'
467 | #define _Float32x __castxml_Float32x
| ^
:473:112: note: previous definition is here
473 | typedef struct __castxml_Float32x_s { double x; operator double() const; __castxml_Float32x_s(double); } __castxml_Float32x;
| ^
In file included from /tmp/vsc47063/easybuild/build/ITK/5.4.0/foss-2023b/easybuild_obj/Wrapping/castxml_inputs/itkPyCommand.cxx:1:
In file included from /tmp/vsc47063/easybuild/build/ITK/5.4.0/foss-2023b/ITK-5.4.0/Modules/Core/Common/include/itkCommand.h:21:
In file included from /tmp/vsc47063/easybuild/build/ITK/5.4.0/foss-2023b/ITK-5.4.0/Modules/Core/Common/include/itkObject.h:31:
In file included from /tmp/vsc47063/easybuild/build/ITK/5.4.0/foss-2023b/ITK-5.4.0/Modules/Core/Common/include/itkLightObject.h:21:
In file included from /tmp/vsc47063/easybuild/build/ITK/5.4.0/foss-2023b/ITK-5.4.0/Modules/Core/Common/include/itkMacro.h:47:
In file included from /kyukon/home/apps/RHEL8/cascadelake-ib/software/GCCcore/13.2.0/bin/../lib/gcc/x86_64-pc-linux-gnu/13.2.0/../../../../include/c++/13.2.0/string:42:
In file included from /kyukon/home/apps/RHEL8/cascadelake-ib/software/GCCcore/13.2.0/bin/../lib/gcc/x86_64-pc-linux-gnu/13.2.0/../../../../include/c++/13.2.0/bits/char_traits.h:42:
In file included from /kyukon/home/apps/RHEL8/cascadelake-ib/software/GCCcore/13.2.0/bin/../lib/gcc/x86_64-pc-linux-gnu/13.2.0/../../../../include/c++/13.2.0/bits/postypes.h:40:
In file included from /kyukon/home/apps/RHEL8/cascadelake-ib/software/GCCcore/13.2.0/bin/../lib/gcc/x86_64-pc-linux-gnu/13.2.0/../../../../include/c++/13.2.0/cwchar:44:
In file included from /usr/include/wchar.h:30:
In file included from /usr/include/bits/floatn.h:119:
/usr/include/bits/floatn-common.h:285:21: error: typedef redefinition with different types ('long double' vs 'struct __castxml_Float64x_s')
285 | typedef long double _Float64x;
| ^
:469:19: note: expanded from macro '_Float64x'
469 | #define _Float64x __castxml_Float64x
| ^
:475:127: note: previous definition is here
475 | typedef struct __castxml_Float64x_s { long double x; operator long double() const; __castxml_Float64x_s(long double); } __castxml_Float64x;
| ^
[ 23%] Building CXX object Modules/ThirdParty/GDCM/src/gdcm/Source/DataStructureAndEncodingDefinition/CMakeFiles/gdcmDSED.dir/strict_gdcmItem.cxx.o
cd /tmp/vsc47063/easybuild/build/ITK/5.4.0/foss-2023b/easybuild_obj/Modules/ThirdParty/GDCM/src/gdcm/Source/DataStructureAndEncodingDefinition && /apps/gent/RHEL8/cascadelake-ib/software/GCCcore/13.2.0/bin/g++ -DgdcmDSED_EXPORTS -DGDCM_OVERRIDE_BROKEN_IMPLEMENTATION -Dgdcm_ns=gdcmstrict -I/tmp/vsc47063/easybuild/build/ITK/5.4.0/foss-2023b/easybuild_obj/Modules/ThirdParty/Expat/src/expat -I/tmp/vsc47063/easybuild/build/ITK/5.4.0/foss-2023b/ITK-5.4.0/Modules/ThirdParty/Expat/src/expat -I/tmp/vsc47063/easybuild/build/ITK/5.4.0/foss-2023b/easybuild_obj/Modules/ThirdParty/ZLIB/src -I/tmp/vsc47063/easybuild/build/ITK/5.4.0/foss-2023b/easybuild_obj/Modules/ThirdParty/ZLIB/src/itkzlib-ng -I/tmp/vsc47063/easybuild/build/ITK/5.4.0/foss-2023b/ITK-5.4.0/Modules/ThirdParty/ZLIB/src -I/tmp/vsc47063/easybuild/build/ITK/5.4.0/foss-2023b/easybuild_obj/Modules/ThirdParty/GDCM -I/tmp/vsc47063/easybuild/build/ITK/5.4.0/foss-2023b/easybuild_obj/Modules/ThirdParty/GDCM/src/gdcm/Source/Common -I/tmp/vsc47063/easybuild/build/ITK/5.4.0/foss-2023b/ITK-5.4.0/Modules/ThirdParty/GDCM/src/gdcm/Source/MediaStorageAndFileFormat -I/tmp/vsc47063/easybuild/build/ITK/5.4.0/foss-2023b/ITK-5.4.0/Modules/ThirdParty/GDCM/src/gdcm/Source/DataDictionary -I/tmp/vsc47063/easybuild/build/ITK/5.4.0/foss-2023b/ITK-5.4.0/Modules/ThirdParty/GDCM/src/gdcm/Source/Common -I/tmp/vsc47063/easybuild/build/ITK/5.4.0/foss-2023b/ITK-5.4.0/Modules/ThirdParty/GDCM/src/gdcm/Source/InformationObjectDefinition -I/tmp/vsc47063/easybuild/build/ITK/5.4.0/foss-2023b/ITK-5.4.0/Modules/ThirdParty/GDCM/src/gdcm/Source/MessageExchangeDefinition -I/tmp/vsc47063/easybuild/build/ITK/5.4.0/foss-2023b/ITK-5.4.0/Modules/ThirdParty/GDCM/src/gdcm/Source/DataStructureAndEncodingDefinition -I/tmp/vsc47063/easybuild/build/ITK/5.4.0/foss-2023b/ITK-5.4.0/Modules/ThirdParty/GDCM/src/gdcm/Utilities -I/tmp/vsc47063/easybuild/build/ITK/5.4.0/foss-2023b/ITK-5.4.0/Modules/ThirdParty/ZLIB/src/itkzlib-ng -O2 -ftree-vectorize -march=native -fno-math-errno -U_Float128 -U_Float32 -U_Float64 -U_Float32x -U_Float64x -mtune=generic -march=corei7 -Wall -Wcast-align -Wdisabled-optimization -Wextra -Wformat=2 -Winvalid-pch -Wno-format-nonliteral -Wpointer-arith -Wshadow -Wunused -Wwrite-strings -Wno-strict-overflow -Wno-deprecated -Wno-invalid-offsetof -Woverloaded-virtual -Wctad-maybe-unsupported -Wstrict-null-sentinel -fno-sized-deallocation -msse2 -w -fno-ipa-cp-clone -O3 -DNDEBUG -std=c++17 -fPIC -MD -MT Modules/ThirdParty/GDCM/src/gdcm/Source/DataStructureAndEncodingDefinition/CMakeFiles/gdcmDSED.dir/strict_gdcmItem.cxx.o -MF CMakeFiles/gdcmDSED.dir/strict_gdcmItem.cxx.o.d -o CMakeFiles/gdcmDSED.dir/strict_gdcmItem.cxx.o -c /tmp/vsc47063/easybuild/build/ITK/5.4.0/foss-2023b/easybuild_obj/Modules/ThirdParty/GDCM/src/gdcm/Source/DataStructureAndEncodingDefinition/strict_gdcmItem.cxx
[ 23%] Building CXX object Modules/ThirdParty/GDCM/src/gdcm/Source/DataStructureAndEncodingDefinition/CMakeFiles/gdcmDSED.dir/strict_gdcmMediaStorage.cxx.o
cd /tmp/vsc47063/easybuild/build/ITK/5.4.0/foss-2023b/easybuild_obj/Modules/ThirdParty/GDCM/src/gdcm/Source/DataStructureAndEncodingDefinition && /apps/gent/RHEL8/cascadelake-ib/software/GCCcore/13.2.0/bin/g++ -DgdcmDSED_EXPORTS -DGDCM_OVERRIDE_BROKEN_IMPLEMENTATION -Dgdcm_ns=gdcmstrict -I/tmp/vsc47063/easybuild/build/ITK/5.4.0/foss-2023b/easybuild_obj/Modules/ThirdParty/Expat/src/expat -I/tmp/vsc47063/easybuild/build/ITK/5.4.0/foss-2023b/ITK-5.4.0/Modules/ThirdParty/Expat/src/expat -I/tmp/vsc47063/easybuild/build/ITK/5.4.0/foss-2023b/easybuild_obj/Modules/ThirdParty/ZLIB/src -I/tmp/vsc47063/easybuild/build/ITK/5.4.0/foss-2023b/easybuild_obj/Modules/ThirdParty/ZLIB/src/itkzlib-ng -I/tmp/vsc47063/easybuild/build/ITK/5.4.0/foss-2023b/ITK-5.4.0/Modules/ThirdParty/ZLIB/src -I/tmp/vsc47063/easybuild/build/ITK/5.4.0/foss-2023b/easybuild_obj/Modules/ThirdParty/GDCM -I/tmp/vsc47063/easybuild/build/ITK/5.4.0/foss-2023b/easybuild_obj/Modules/ThirdParty/GDCM/src/gdcm/Source/Common -I/tmp/vsc47063/easybuild/build/ITK/5.4.0/foss-2023b/ITK-5.4.0/Modules/ThirdParty/GDCM/src/gdcm/Source/MediaStorageAndFileFormat -I/tmp/vsc47063/easybuild/build/ITK/5.4.0/foss-2023b/ITK-5.4.0/Modules/ThirdParty/GDCM/src/gdcm/Source/DataDictionary -I/tmp/vsc47063/easybuild/build/ITK/5.4.0/foss-2023b/ITK-5.4.0/Modules/ThirdParty/GDCM/src/gdcm/Source/Common -I/tmp/vsc47063/easybuild/build/ITK/5.4.0/foss-2023b/ITK-5.4.0/Modules/ThirdParty/GDCM/src/gdcm/Source/InformationObjectDefinition -I/tmp/vsc47063/easybuild/build/ITK/5.4.0/foss-2023b/ITK-5.4.0/Modules/ThirdParty/GDCM/src/gdcm/Source/MessageExchangeDefinition -I/tmp/vsc47063/easybuild/build/ITK/5.4.0/foss-2023b/ITK-5.4.0/Modules/ThirdParty/GDCM/src/gdcm/Source/DataStructureAndEncodingDefinition -I/tmp/vsc47063/easybuild/build/ITK/5.4.0/foss-2023b/ITK-5.4.0/Modules/ThirdParty/GDCM/src/gdcm/Utilities -I/tmp/vsc47063/easybuild/build/ITK/5.4.0/foss-2023b/ITK-5.4.0/Modules/ThirdParty/ZLIB/src/itkzlib-ng -O2 -ftree-vectorize -march=native -fno-math-errno -U_Float128 -U_Float32 -U_Float64 -U_Float32x -U_Float64x -mtune=generic -march=corei7 -Wall -Wcast-align -Wdisabled-optimization -Wextra -Wformat=2 -Winvalid-pch -Wno-format-nonliteral -Wpointer-arith -Wshadow -Wunused -Wwrite-strings -Wno-strict-overflow -Wno-deprecated -Wno-invalid-offsetof -Woverloaded-virtual -Wctad-maybe-unsupported -Wstrict-null-sentinel -fno-sized-deallocation -msse2 -w -fno-ipa-cp-clone -O3 -DNDEBUG -std=c++17 -fPIC -MD -MT Modules/ThirdParty/GDCM/src/gdcm/Source/DataStructureAndEncodingDefinition/CMakeFiles/gdcmDSED.dir/strict_gdcmMediaStorage.cxx.o -MF CMakeFiles/gdcmDSED.dir/strict_gdcmMediaStorage.cxx.o.d -o CMakeFiles/gdcmDSED.dir/strict_gdcmMediaStorage.cxx.o -c /tmp/vsc47063/easybuild/build/ITK/5.4.0/foss-2023b/easybuild_obj/Modules/ThirdParty/GDCM/src/gdcm/Source/DataStructureAndEncodingDefinition/strict_gdcmMediaStorage.cxx
[ 23%] Building CXX object Modules/ThirdParty/GDCM/src/gdcm/Source/DataStructureAndEncodingDefinition/CMakeFiles/gdcmDSED.dir/strict_gdcmPrivateTag.cxx.o
cd /tmp/vsc47063/easybuild/build/ITK/5.4.0/foss-2023b/easybuild_obj/Modules/ThirdParty/GDCM/src/gdcm/Source/DataStructureAndEncodingDefinition && /apps/gent/RHEL8/cascadelake-ib/software/GCCcore/13.2.0/bin/g++ -DgdcmDSED_EXPORTS -DGDCM_OVERRIDE_BROKEN_IMPLEMENTATION -Dgdcm_ns=gdcmstrict -I/tmp/vsc47063/easybuild/build/ITK/5.4.0/foss-2023b/easybuild_obj/Modules/ThirdParty/Expat/src/expat -I/tmp/vsc47063/easybuild/build/ITK/5.4.0/foss-2023b/ITK-5.4.0/Modules/ThirdParty/Expat/src/expat -I/tmp/vsc47063/easybuild/build/ITK/5.4.0/foss-2023b/easybuild_obj/Modules/ThirdParty/ZLIB/src -I/tmp/vsc47063/easybuild/build/ITK/5.4.0/foss-2023b/easybuild_obj/Modules/ThirdParty/ZLIB/src/itkzlib-ng -I/tmp/vsc47063/easybuild/build/ITK/5.4.0/foss-2023b/ITK-5.4.0/Modules/ThirdParty/ZLIB/src -I/tmp/vsc47063/easybuild/build/ITK/5.4.0/foss-2023b/easybuild_obj/Modules/ThirdParty/GDCM -I/tmp/vsc47063/easybuild/build/ITK/5.4.0/foss-2023b/easybuild_obj/Modules/ThirdParty/GDCM/src/gdcm/Source/Common -I/tmp/vsc47063/easybuild/build/ITK/5.4.0/foss-2023b/ITK-5.4.0/Modules/ThirdParty/GDCM/src/gdcm/Source/MediaStorageAndFileFormat -I/tmp/vsc47063/easybuild/build/ITK/5.4.0/foss-2023b/ITK-5.4.0/Modules/ThirdParty/GDCM/src/gdcm/Source/DataDictionary -I/tmp/vsc47063/easybuild/build/ITK/5.4.0/foss-2023b/ITK-5.4.0/Modules/ThirdParty/GDCM/src/gdcm/Source/Common -I/tmp/vsc47063/easybuild/build/ITK/5.4.0/foss-2023b/ITK-5.4.0/Modules/ThirdParty/GDCM/src/gdcm/Source/InformationObjectDefinition -I/tmp/vsc47063/easybuild/build/ITK/5.4.0/foss-2023b/ITK-5.4.0/Modules/ThirdParty/GDCM/src/gdcm/Source/MessageExchangeDefinition -I/tmp/vsc47063/easybuild/build/ITK/5.4.0/foss-2023b/ITK-5.4.0/Modules/ThirdParty/GDCM/src/gdcm/Source/DataStructureAndEncodingDefinition -I/tmp/vsc47063/easybuild/build/ITK/5.4.0/foss-2023b/ITK-5.4.0/Modules/ThirdParty/GDCM/src/gdcm/Utilities -I/tmp/vsc47063/easybuild/build/ITK/5.4.0/foss-2023b/ITK-5.4.0/Modules/ThirdParty/ZLIB/src/itkzlib-ng -O2 -ftree-vectorize -march=native -fno-math-errno -U_Float128 -U_Float32 -U_Float64 -U_Float32x -U_Float64x -mtune=generic -march=corei7 -Wall -Wcast-align -Wdisabled-optimization -Wextra -Wformat=2 -Winvalid-pch -Wno-format-nonliteral -Wpointer-arith -Wshadow -Wunused -Wwrite-strings -Wno-strict-overflow -Wno-deprecated -Wno-invalid-offsetof -Woverloaded-virtual -Wctad-maybe-unsupported -Wstrict-null-sentinel -fno-sized-deallocation -msse2 -w -fno-ipa-cp-clone -O3 -DNDEBUG -std=c++17 -fPIC -MD -MT Modules/ThirdParty/GDCM/src/gdcm/Source/DataStructureAndEncodingDefinition/CMakeFiles/gdcmDSED.dir/strict_gdcmPrivateTag.cxx.o -MF CMakeFiles/gdcmDSED.dir/strict_gdcmPrivateTag.cxx.o.d -o CMakeFiles/gdcmDSED.dir/strict_gdcmPrivateTag.cxx.o -c /tmp/vsc47063/easybuild/build/ITK/5.4.0/foss-2023b/easybuild_obj/Modules/ThirdParty/GDCM/src/gdcm/Source/DataStructureAndEncodingDefinition/strict_gdcmPrivateTag.cxx
[ 23%] Building CXX object Modules/ThirdParty/VNL/src/vxl/core/vnl/CMakeFiles/itkvnl.dir/Templates/vnl_diag_matrix_fixed+float.allsizes-.cxx.o
cd /tmp/vsc47063/easybuild/build/ITK/5.4.0/foss-2023b/easybuild_obj/Modules/ThirdParty/VNL/src/vxl/core/vnl && /apps/gent/RHEL8/cascadelake-ib/software/GCCcore/13.2.0/bin/g++ -DVXL_WARN_DEPRECATED -DVXL_WARN_DEPRECATED_ONCE -Ditkvnl_EXPORTS -I/tmp/vsc47063/easybuild/build/ITK/5.4.0/foss-2023b/ITK-5.4.0/Modules/ThirdParty/VNL/src/vxl/v3p/netlib -I/tmp/vsc47063/easybuild/build/ITK/5.4.0/foss-2023b/ITK-5.4.0/Modules/ThirdParty/VNL/src/vxl/vcl -I/tmp/vsc47063/easybuild/build/ITK/5.4.0/foss-2023b/ITK-5.4.0/Modules/ThirdParty/VNL/src/vxl/core -I/tmp/vsc47063/easybuild/build/ITK/5.4.0/foss-2023b/easybuild_obj/Modules/ThirdParty/VNL/src/vxl/v3p/netlib -I/tmp/vsc47063/easybuild/build/ITK/5.4.0/foss-2023b/easybuild_obj/Modules/ThirdParty/VNL/src/vxl/vcl -I/tmp/vsc47063/easybuild/build/ITK/5.4.0/foss-2023b/easybuild_obj/Modules/ThirdParty/VNL/src/vxl/core -I/tmp/vsc47063/easybuild/build/ITK/5.4.0/foss-2023b/ITK-5.4.0/Modules/ThirdParty/VNL/src/vxl/core/vnl -I/tmp/vsc47063/easybuild/build/ITK/5.4.0/foss-2023b/easybuild_obj/Modules/ThirdParty/VNL/src/vxl/core/vnl -O2 -ftree-vectorize -march=native -fno-math-errno -U_Float128 -U_Float32 -U_Float64 -U_Float32x -U_Float64x -mtune=generic -march=corei7 -Wall -Wcast-align -Wdisabled-optimization -Wextra -Wformat=2 -Winvalid-pch -Wno-format-nonliteral -Wpointer-arith -Wshadow -Wunused -Wwrite-strings -Wno-strict-overflow -Wno-deprecated -Wno-invalid-offsetof -Woverloaded-virtual -Wctad-maybe-unsupported -Wstrict-null-sentinel -fno-sized-deallocation -msse2 -w -O3 -DNDEBUG -std=c++17 -fPIC -MD -MT Modules/ThirdParty/VNL/src/vxl/core/vnl/CMakeFiles/itkvnl.dir/Templates/vnl_diag_matrix_fixed+float.allsizes-.cxx.o -MF CMakeFiles/itkvnl.dir/Templates/vnl_diag_matrix_fixed+float.allsizes-.cxx.o.d -o CMakeFiles/itkvnl.dir/Templates/vnl_diag_matrix_fixed+float.allsizes-.cxx.o -c /tmp/vsc47063/easybuild/build/ITK/5.4.0/foss-2023b/ITK-5.4.0/Modules/ThirdParty/VNL/src/vxl/core/vnl/Templates/vnl_diag_matrix_fixed+float.allsizes-.cxx
[ 23%] Building CXX object Modules/ThirdParty/GDCM/src/gdcm/Source/DataStructureAndEncodingDefinition/CMakeFiles/gdcmDSED.dir/strict_gdcmReader.cxx.o
cd /tmp/vsc47063/easybuild/build/ITK/5.4.0/foss-2023b/easybuild_obj/Modules/ThirdParty/GDCM/src/gdcm/Source/DataStructureAndEncodingDefinition && /apps/gent/RHEL8/cascadelake-ib/software/GCCcore/13.2.0/bin/g++ -DgdcmDSED_EXPORTS -DGDCM_OVERRIDE_BROKEN_IMPLEMENTATION -Dgdcm_ns=gdcmstrict -I/tmp/vsc47063/easybuild/build/ITK/5.4.0/foss-2023b/easybuild_obj/Modules/ThirdParty/Expat/src/expat -I/tmp/vsc47063/easybuild/build/ITK/5.4.0/foss-2023b/ITK-5.4.0/Modules/ThirdParty/Expat/src/expat -I/tmp/vsc47063/easybuild/build/ITK/5.4.0/foss-2023b/easybuild_obj/Modules/ThirdParty/ZLIB/src -I/tmp/vsc47063/easybuild/build/ITK/5.4.0/foss-2023b/easybuild_obj/Modules/ThirdParty/ZLIB/src/itkzlib-ng -I/tmp/vsc47063/easybuild/build/ITK/5.4.0/foss-2023b/ITK-5.4.0/Modules/ThirdParty/ZLIB/src -I/tmp/vsc47063/easybuild/build/ITK/5.4.0/foss-2023b/easybuild_obj/Modules/ThirdParty/GDCM -I/tmp/vsc47063/easybuild/build/ITK/5.4.0/foss-2023b/easybuild_obj/Modules/ThirdParty/GDCM/src/gdcm/Source/Common -I/tmp/vsc47063/easybuild/build/ITK/5.4.0/foss-2023b/ITK-5.4.0/Modules/ThirdParty/GDCM/src/gdcm/Source/MediaStorageAndFileFormat -I/tmp/vsc47063/easybuild/build/ITK/5.4.0/foss-2023b/ITK-5.4.0/Modules/ThirdParty/GDCM/src/gdcm/Source/DataDictionary -I/tmp/vsc47063/easybuild/build/ITK/5.4.0/foss-2023b/ITK-5.4.0/Modules/ThirdParty/GDCM/src/gdcm/Source/Common -I/tmp/vsc47063/easybuild/build/ITK/5.4.0/foss-2023b/ITK-5.4.0/Modules/ThirdParty/GDCM/src/gdcm/Source/InformationObjectDefinition -I/tmp/vsc47063/easybuild/build/ITK/5.4.0/foss-2023b/ITK-5.4.0/Modules/ThirdParty/GDCM/src/gdcm/Source/MessageExchangeDefinition -I/tmp/vsc47063/easybuild/build/ITK/5.4.0/foss-2023b/ITK-5.4.0/Modules/ThirdParty/GDCM/src/gdcm/Source/DataStructureAndEncodingDefinition -I/tmp/vsc47063/easybuild/build/ITK/5.4.0/foss-2023b/ITK-5.4.0/Modules/ThirdParty/GDCM/src/gdcm/Utilities -I/tmp/vsc47063/easybuild/build/ITK/5.4.0/foss-2023b/ITK-5.4.0/Modules/ThirdParty/ZLIB/src/itkzlib-ng -O2 -ftree-vectorize -march=native -fno-math-errno -U_Float128 -U_Float32 -U_Float64 -U_Float32x -U_Float64x -mtune=generic -march=corei7 -Wall -Wcast-align -Wdisabled-optimization -Wextra -Wformat=2 -Winvalid-pch -Wno-format-nonliteral -Wpointer-arith -Wshadow -Wunused -Wwrite-strings -Wno-strict-overflow -Wno-deprecated -Wno-invalid-offsetof -Woverloaded-virtual -Wctad-maybe-unsupported -Wstrict-null-sentinel -fno-sized-deallocation -msse2 -w -fno-ipa-cp-clone -O3 -DNDEBUG -std=c++17 -fPIC -MD -MT Modules/ThirdParty/GDCM/src/gdcm/Source/DataStructureAndEncodingDefinition/CMakeFiles/gdcmDSED.dir/strict_gdcmReader.cxx.o -MF CMakeFiles/gdcmDSED.dir/strict_gdcmReader.cxx.o.d -o CMakeFiles/gdcmDSED.dir/strict_gdcmReader.cxx.o -c /tmp/vsc47063/easybuild/build/ITK/5.4.0/foss-2023b/easybuild_obj/Modules/ThirdParty/GDCM/src/gdcm/Source/DataStructureAndEncodingDefinition/strict_gdcmReader.cxx
[ 23%] Building CXX object Modules/ThirdParty/VNL/src/vxl/core/vnl/CMakeFiles/itkvnl.dir/Templates/vnl_file_matrix+double-.cxx.o
cd /tmp/vsc47063/easybuild/build/ITK/5.4.0/foss-2023b/easybuild_obj/Modules/ThirdParty/VNL/src/vxl/core/vnl && /apps/gent/RHEL8/cascadelake-ib/software/GCCcore/13.2.0/bin/g++ -DVXL_WARN_DEPRECATED -DVXL_WARN_DEPRECATED_ONCE -Ditkvnl_EXPORTS -I/tmp/vsc47063/easybuild/build/ITK/5.4.0/foss-2023b/ITK-5.4.0/Modules/ThirdParty/VNL/src/vxl/v3p/netlib -I/tmp/vsc47063/easybuild/build/ITK/5.4.0/foss-2023b/ITK-5.4.0/Modules/ThirdParty/VNL/src/vxl/vcl -I/tmp/vsc47063/easybuild/build/ITK/5.4.0/foss-2023b/ITK-5.4.0/Modules/ThirdParty/VNL/src/vxl/core -I/tmp/vsc47063/easybuild/build/ITK/5.4.0/foss-2023b/easybuild_obj/Modules/ThirdParty/VNL/src/vxl/v3p/netlib -I/tmp/vsc47063/easybuild/build/ITK/5.4.0/foss-2023b/easybuild_obj/Modules/ThirdParty/VNL/src/vxl/vcl -I/tmp/vsc47063/easybuild/build/ITK/5.4.0/foss-2023b/easybuild_obj/Modules/ThirdParty/VNL/src/vxl/core -I/tmp/vsc47063/easybuild/build/ITK/5.4.0/foss-2023b/ITK-5.4.0/Modules/ThirdParty/VNL/src/vxl/core/vnl -I/tmp/vsc47063/easybuild/build/ITK/5.4.0/foss-2023b/easybuild_obj/Modules/ThirdParty/VNL/src/vxl/core/vnl -O2 -ftree-vectorize -march=native -fno-math-errno -U_Float128 -U_Float32 -U_Float64 -U_Float32x -U_Float64x -mtune=generic -march=corei7 -Wall -Wcast-align -Wdisabled-optimization -Wextra -Wformat=2 -Winvalid-pch -Wno-format-nonliteral -Wpointer-arith -Wshadow -Wunused -Wwrite-strings -Wno-strict-overflow -Wno-deprecated -Wno-invalid-offsetof -Woverloaded-virtual -Wctad-maybe-unsupported -Wstrict-null-sentinel -fno-sized-deallocation -msse2 -w -O3 -DNDEBUG -std=c++17 -fPIC -MD -MT Modules/ThirdParty/VNL/src/vxl/core/vnl/CMakeFiles/itkvnl.dir/Templates/vnl_file_matrix+double-.cxx.o -MF CMakeFiles/itkvnl.dir/Templates/vnl_file_matrix+double-.cxx.o.d -o CMakeFiles/itkvnl.dir/Templates/vnl_file_matrix+double-.cxx.o -c /tmp/vsc47063/easybuild/build/ITK/5.4.0/foss-2023b/ITK-5.4.0/Modules/ThirdParty/VNL/src/vxl/core/vnl/Templates/vnl_file_matrix+double-.cxx
[ 23%] Building CXX object Modules/ThirdParty/GDCM/src/gdcm/Source/DataStructureAndEncodingDefinition/CMakeFiles/gdcmDSED.dir/strict_gdcmSequenceOfFragments.cxx.o
cd /tmp/vsc47063/easybuild/build/ITK/5.4.0/foss-2023b/easybuild_obj/Modules/ThirdParty/GDCM/src/gdcm/Source/DataStructureAndEncodingDefinition && /apps/gent/RHEL8/cascadelake-ib/software/GCCcore/13.2.0/bin/g++ -DgdcmDSED_EXPORTS -DGDCM_OVERRIDE_BROKEN_IMPLEMENTATION -Dgdcm_ns=gdcmstrict -I/tmp/vsc47063/easybuild/build/ITK/5.4.0/foss-2023b/easybuild_obj/Modules/ThirdParty/Expat/src/expat -I/tmp/vsc47063/easybuild/build/ITK/5.4.0/foss-2023b/ITK-5.4.0/Modules/ThirdParty/Expat/src/expat -I/tmp/vsc47063/easybuild/build/ITK/5.4.0/foss-2023b/easybuild_obj/Modules/ThirdParty/ZLIB/src -I/tmp/vsc47063/easybuild/build/ITK/5.4.0/foss-2023b/easybuild_obj/Modules/ThirdParty/ZLIB/src/itkzlib-ng -I/tmp/vsc47063/easybuild/build/ITK/5.4.0/foss-2023b/ITK-5.4.0/Modules/ThirdParty/ZLIB/src -I/tmp/vsc47063/easybuild/build/ITK/5.4.0/foss-2023b/easybuild_obj/Modules/ThirdParty/GDCM -I/tmp/vsc47063/easybuild/build/ITK/5.4.0/foss-2023b/easybuild_obj/Modules/ThirdParty/GDCM/src/gdcm/Source/Common -I/tmp/vsc47063/easybuild/build/ITK/5.4.0/foss-2023b/ITK-5.4.0/Modules/ThirdParty/GDCM/src/gdcm/Source/MediaStorageAndFileFormat -I/tmp/vsc47063/easybuild/build/ITK/5.4.0/foss-2023b/ITK-5.4.0/Modules/ThirdParty/GDCM/src/gdcm/Source/DataDictionary -I/tmp/vsc47063/easybuild/build/ITK/5.4.0/foss-2023b/ITK-5.4.0/Modules/ThirdParty/GDCM/src/gdcm/Source/Common -I/tmp/vsc47063/easybuild/build/ITK/5.4.0/foss-2023b/ITK-5.4.0/Modules/ThirdParty/GDCM/src/gdcm/Source/InformationObjectDefinition -I/tmp/vsc47063/easybuild/build/ITK/5.4.0/foss-2023b/ITK-5.4.0/Modules/ThirdParty/GDCM/src/gdcm/Source/MessageExchangeDefinition -I/tmp/vsc47063/easybuild/build/ITK/5.4.0/foss-2023b/ITK-5.4.0/Modules/ThirdParty/GDCM/src/gdcm/Source/DataStructureAndEncodingDefinition -I/tmp/vsc47063/easybuild/build/ITK/5.4.0/foss-2023b/ITK-5.4.0/Modules/ThirdParty/GDCM/src/gdcm/Utilities -I/tmp/vsc47063/easybuild/build/ITK/5.4.0/foss-2023b/ITK-5.4.0/Modules/ThirdParty/ZLIB/src/itkzlib-ng -O2 -ftree-vectorize -march=native -fno-math-errno -U_Float128 -U_Float32 -U_Float64 -U_Float32x -U_Float64x -mtune=generic -march=corei7 -Wall -Wcast-align -Wdisabled-optimization -Wextra -Wformat=2 -Winvalid-pch -Wno-format-nonliteral -Wpointer-arith -Wshadow -Wunused -Wwrite-strings -Wno-strict-overflow -Wno-deprecated -Wno-invalid-offsetof -Woverloaded-virtual -Wctad-maybe-unsupported -Wstrict-null-sentinel -fno-sized-deallocation -msse2 -w -fno-ipa-cp-clone -O3 -DNDEBUG -std=c++17 -fPIC -MD -MT Modules/ThirdParty/GDCM/src/gdcm/Source/DataStructureAndEncodingDefinition/CMakeFiles/gdcmDSED.dir/strict_gdcmSequenceOfFragments.cxx.o -MF CMakeFiles/gdcmDSED.dir/strict_gdcmSequenceOfFragments.cxx.o.d -o CMakeFiles/gdcmDSED.dir/strict_gdcmSequenceOfFragments.cxx.o -c /tmp/vsc47063/easybuild/build/ITK/5.4.0/foss-2023b/easybuild_obj/Modules/ThirdParty/GDCM/src/gdcm/Source/DataStructureAndEncodingDefinition/strict_gdcmSequenceOfFragments.cxx
[ 23%] Generating ../../../castxml_inputs/itkPyImageFilter.xml
cd /tmp/vsc47063/easybuild/build/ITK/5.4.0/foss-2023b/easybuild_obj/Wrapping/Generators/Python/PyUtils && ../../CastXML/castxml/bin/castxml -o /tmp/vsc47063/easybuild/build/ITK/5.4.0/foss-2023b/easybuild_obj/Wrapping/castxml_inputs/itkPyImageFilter.xml --castxml-gccxml --castxml-start wrapping --castxml-cc-gnu "(" /apps/gent/RHEL8/cascadelake-ib/software/GCCcore/13.2.0/bin/g++ -O2 -ftree-vectorize -fno-math-errno -U_Float128 -U_Float32 -U_Float64 -U_Float32x -U_Float64x -Wall -Wcast-align -Wdisabled-optimization -Wextra -Wformat=2 -Winvalid-pch -Wno-format-nonliteral -Wpointer-arith -Wshadow -Wunused -Wwrite-strings -Wno-strict-overflow -Wno-deprecated -Wno-invalid-offsetof -Woverloaded-virtual -Wctad-maybe-unsupported -Wstrict-null-sentinel -fno-sized-deallocation -msse2 -fno-sized-deallocation -msse2 -std=c++17 ")" -w -c @/tmp/vsc47063/easybuild/build/ITK/5.4.0/foss-2023b/easybuild_obj/Wrapping/castxml_inputs/.castxml.inc /tmp/vsc47063/easybuild/build/ITK/5.4.0/foss-2023b/easybuild_obj/Wrapping/castxml_inputs/itkPyImageFilter.cxx
[ 23%] Building CXX object Modules/ThirdParty/VNL/src/vxl/core/vnl/CMakeFiles/itkvnl.dir/Templates/vnl_file_matrix+float-.cxx.o
cd /tmp/vsc47063/easybuild/build/ITK/5.4.0/foss-2023b/easybuild_obj/Modules/ThirdParty/VNL/src/vxl/core/vnl && /apps/gent/RHEL8/cascadelake-ib/software/GCCcore/13.2.0/bin/g++ -DVXL_WARN_DEPRECATED -DVXL_WARN_DEPRECATED_ONCE -Ditkvnl_EXPORTS -I/tmp/vsc47063/easybuild/build/ITK/5.4.0/foss-2023b/ITK-5.4.0/Modules/ThirdParty/VNL/src/vxl/v3p/netlib -I/tmp/vsc47063/easybuild/build/ITK/5.4.0/foss-2023b/ITK-5.4.0/Modules/ThirdParty/VNL/src/vxl/vcl -I/tmp/vsc47063/easybuild/build/ITK/5.4.0/foss-2023b/ITK-5.4.0/Modules/ThirdParty/VNL/src/vxl/core -I/tmp/vsc47063/easybuild/build/ITK/5.4.0/foss-2023b/easybuild_obj/Modules/ThirdParty/VNL/src/vxl/v3p/netlib -I/tmp/vsc47063/easybuild/build/ITK/5.4.0/foss-2023b/easybuild_obj/Modules/ThirdParty/VNL/src/vxl/vcl -I/tmp/vsc47063/easybuild/build/ITK/5.4.0/foss-2023b/easybuild_obj/Modules/ThirdParty/VNL/src/vxl/core -I/tmp/vsc47063/easybuild/build/ITK/5.4.0/foss-2023b/ITK-5.4.0/Modules/ThirdParty/VNL/src/vxl/core/vnl -I/tmp/vsc47063/easybuild/build/ITK/5.4.0/foss-2023b/easybuild_obj/Modules/ThirdParty/VNL/src/vxl/core/vnl -O2 -ftree-vectorize -march=native -fno-math-errno -U_Float128 -U_Float32 -U_Float64 -U_Float32x -U_Float64x -mtune=generic -march=corei7 -Wall -Wcast-align -Wdisabled-optimization -Wextra -Wformat=2 -Winvalid-pch -Wno-format-nonliteral -Wpointer-arith -Wshadow -Wunused -Wwrite-strings -Wno-strict-overflow -Wno-deprecated -Wno-invalid-offsetof -Woverloaded-virtual -Wctad-maybe-unsupported -Wstrict-null-sentinel -fno-sized-deallocation -msse2 -w -O3 -DNDEBUG -std=c++17 -fPIC -MD -MT Modules/ThirdParty/VNL/src/vxl/core/vnl/CMakeFiles/itkvnl.dir/Templates/vnl_file_matrix+float-.cxx.o -MF CMakeFiles/itkvnl.dir/Templates/vnl_file_matrix+float-.cxx.o.d -o CMakeFiles/itkvnl.dir/Templates/vnl_file_matrix+float-.cxx.o -c /tmp/vsc47063/easybuild/build/ITK/5.4.0/foss-2023b/ITK-5.4.0/Modules/ThirdParty/VNL/src/vxl/core/vnl/Templates/vnl_file_matrix+float-.cxx
make -f Wrapping/Modules/ITKCommon/CMakeFiles/ITKCommonCastXML.dir/build.make Wrapping/Modules/ITKCommon/CMakeFiles/ITKCommonCastXML.dir/depend
make[2]: Entering directory '/tmp/vsc47063/easybuild/build/ITK/5.4.0/foss-2023b/easybuild_obj'
cd /tmp/vsc47063/easybuild/build/ITK/5.4.0/foss-2023b/easybuild_obj && /kyukon/home/apps/RHEL8/cascadelake-ib/software/CMake/3.27.6-GCCcore-13.2.0/bin/cmake -E cmake_depends "Unix Makefiles" /tmp/vsc47063/easybuild/build/ITK/5.4.0/foss-2023b/ITK-5.4.0 /tmp/vsc47063/easybuild/build/ITK/5.4.0/foss-2023b/ITK-5.4.0/Modules/Core/Common/wrapping /tmp/vsc47063/easybuild/build/ITK/5.4.0/foss-2023b/easybuild_obj /tmp/vsc47063/easybuild/build/ITK/5.4.0/foss-2023b/easybuild_obj/Wrapping/Modules/ITKCommon /tmp/vsc47063/easybuild/build/ITK/5.4.0/foss-2023b/easybuild_obj/Wrapping/Modules/ITKCommon/CMakeFiles/ITKCommonCastXML.dir/DependInfo.cmake "--color="
In file included from /tmp/vsc47063/easybuild/build/ITK/5.4.0/foss-2023b/easybuild_obj/Wrapping/castxml_inputs/itkPyImageFilter.cxx:1:
In file included from /tmp/vsc47063/easybuild/build/ITK/5.4.0/foss-2023b/ITK-5.4.0/Modules/Core/Common/include/itkCommand.h:21:
In file included from /tmp/vsc47063/easybuild/build/ITK/5.4.0/foss-2023b/ITK-5.4.0/Modules/Core/Common/include/itkObject.h:31:
In file included from /tmp/vsc47063/easybuild/build/ITK/5.4.0/foss-2023b/ITK-5.4.0/Modules/Core/Common/include/itkLightObject.h:21:
In file included from /tmp/vsc47063/easybuild/build/ITK/5.4.0/foss-2023b/ITK-5.4.0/Modules/Core/Common/include/itkMacro.h:47:
In file included from /kyukon/home/apps/RHEL8/cascadelake-ib/software/GCCcore/13.2.0/bin/../lib/gcc/x86_64-pc-linux-gnu/13.2.0/../../../../include/c++/13.2.0/string:42:
In file included from /kyukon/home/apps/RHEL8/cascadelake-ib/software/GCCcore/13.2.0/bin/../lib/gcc/x86_64-pc-linux-gnu/13.2.0/../../../../include/c++/13.2.0/bits/char_traits.h:42:
In file included from /kyukon/home/apps/RHEL8/cascadelake-ib/software/GCCcore/13.2.0/bin/../lib/gcc/x86_64-pc-linux-gnu/13.2.0/../../../../include/c++/13.2.0/bits/postypes.h:40:
In file included from /kyukon/home/apps/RHEL8/cascadelake-ib/software/GCCcore/13.2.0/bin/../lib/gcc/x86_64-pc-linux-gnu/13.2.0/../../../../include/c++/13.2.0/cwchar:44:
In file included from /usr/include/wchar.h:30:
/usr/include/bits/floatn.h:86:20: error: typedef redefinition with different types ('__float128' vs 'struct __castxml_Float128_s')
86 | typedef __float128 _Float128;
| ^
:470:19: note: expanded from macro '_Float128'
470 | #define _Float128 __castxml_Float128
| ^
:476:124: note: previous definition is here
476 | typedef struct __castxml_Float128_s { __float128 x; operator __float128() const; __castxml_Float128_s(__float128); } __castxml_Float128;
| ^
In file included from /tmp/vsc47063/easybuild/build/ITK/5.4.0/foss-2023b/easybuild_obj/Wrapping/castxml_inputs/itkPyImageFilter.cxx:1:
In file included from /tmp/vsc47063/easybuild/build/ITK/5.4.0/foss-2023b/ITK-5.4.0/Modules/Core/Common/include/itkCommand.h:21:
In file included from /tmp/vsc47063/easybuild/build/ITK/5.4.0/foss-2023b/ITK-5.4.0/Modules/Core/Common/include/itkObject.h:31:
In file included from /tmp/vsc47063/easybuild/build/ITK/5.4.0/foss-2023b/ITK-5.4.0/Modules/Core/Common/include/itkLightObject.h:21:
In file included from /tmp/vsc47063/easybuild/build/ITK/5.4.0/foss-2023b/ITK-5.4.0/Modules/Core/Common/include/itkMacro.h:47:
In file included from /kyukon/home/apps/RHEL8/cascadelake-ib/software/GCCcore/13.2.0/bin/../lib/gcc/x86_64-pc-linux-gnu/13.2.0/../../../../include/c++/13.2.0/string:42:
In file included from /kyukon/home/apps/RHEL8/cascadelake-ib/software/GCCcore/13.2.0/bin/../lib/gcc/x86_64-pc-linux-gnu/13.2.0/../../../../include/c++/13.2.0/bits/char_traits.h:42:
In file included from /kyukon/home/apps/RHEL8/cascadelake-ib/software/GCCcore/13.2.0/bin/../lib/gcc/x86_64-pc-linux-gnu/13.2.0/../../../../include/c++/13.2.0/bits/postypes.h:40:
In file included from /kyukon/home/apps/RHEL8/cascadelake-ib/software/GCCcore/13.2.0/bin/../lib/gcc/x86_64-pc-linux-gnu/13.2.0/../../../../include/c++/13.2.0/cwchar:44:
In file included from /usr/include/wchar.h:30:
In file included from /usr/include/bits/floatn.h:119:
/usr/include/bits/floatn-common.h:214:15: error: typedef redefinition with different types ('float' vs 'struct __castxml_Float32_s')
214 | typedef float _Float32;
| ^
:466:18: note: expanded from macro '_Float32'
466 | #define _Float32 __castxml_Float32
| ^
:472:107: note: previous definition is here
472 | typedef struct __castxml_Float32_s { float x; operator float() const; __castxml_Float32_s(float); } __castxml_Float32;
| ^
In file included from /tmp/vsc47063/easybuild/build/ITK/5.4.0/foss-2023b/easybuild_obj/Wrapping/castxml_inputs/itkPyImageFilter.cxx:1:
In file included from /tmp/vsc47063/easybuild/build/ITK/5.4.0/foss-2023b/ITK-5.4.0/Modules/Core/Common/include/itkCommand.h:21:
In file included from /tmp/vsc47063/easybuild/build/ITK/5.4.0/foss-2023b/ITK-5.4.0/Modules/Core/Common/include/itkObject.h:31:
In file included from /tmp/vsc47063/easybuild/build/ITK/5.4.0/foss-2023b/ITK-5.4.0/Modules/Core/Common/include/itkLightObject.h:21:
In file included from /tmp/vsc47063/easybuild/build/ITK/5.4.0/foss-2023b/ITK-5.4.0/Modules/Core/Common/include/itkMacro.h:47:
In file included from /kyukon/home/apps/RHEL8/cascadelake-ib/software/GCCcore/13.2.0/bin/../lib/gcc/x86_64-pc-linux-gnu/13.2.0/../../../../include/c++/13.2.0/string:42:
In file included from /kyukon/home/apps/RHEL8/cascadelake-ib/software/GCCcore/13.2.0/bin/../lib/gcc/x86_64-pc-linux-gnu/13.2.0/../../../../include/c++/13.2.0/bits/char_traits.h:42:
In file included from /kyukon/home/apps/RHEL8/cascadelake-ib/software/GCCcore/13.2.0/bin/../lib/gcc/x86_64-pc-linux-gnu/13.2.0/../../../../include/c++/13.2.0/bits/postypes.h:40:
In file included from /kyukon/home/apps/RHEL8/cascadelake-ib/software/GCCcore/13.2.0/bin/../lib/gcc/x86_64-pc-linux-gnu/13.2.0/../../../../include/c++/13.2.0/cwchar:44:
In file included from /usr/include/wchar.h:30:
In file included from /usr/include/bits/floatn.h:119:
/usr/include/bits/floatn-common.h:251:16: error: typedef redefinition with different types ('double' vs 'struct __castxml_Float64_s')
251 | typedef double _Float64;
| ^
:468:18: note: expanded from macro '_Float64'
468 | #define _Float64 __castxml_Float64
| ^
:474:110: note: previous definition is here
474 | typedef struct __castxml_Float64_s { double x; operator double() const; __castxml_Float64_s(double); } __castxml_Float64;
| ^
In file included from /tmp/vsc47063/easybuild/build/ITK/5.4.0/foss-2023b/easybuild_obj/Wrapping/castxml_inputs/itkPyImageFilter.cxx:1:
In file included from /tmp/vsc47063/easybuild/build/ITK/5.4.0/foss-2023b/ITK-5.4.0/Modules/Core/Common/include/itkCommand.h:21:
In file included from /tmp/vsc47063/easybuild/build/ITK/5.4.0/foss-2023b/ITK-5.4.0/Modules/Core/Common/include/itkObject.h:31:
In file included from /tmp/vsc47063/easybuild/build/ITK/5.4.0/foss-2023b/ITK-5.4.0/Modules/Core/Common/include/itkLightObject.h:21:
In file included from /tmp/vsc47063/easybuild/build/ITK/5.4.0/foss-2023b/ITK-5.4.0/Modules/Core/Common/include/itkMacro.h:47:
In file included from /kyukon/home/apps/RHEL8/cascadelake-ib/software/GCCcore/13.2.0/bin/../lib/gcc/x86_64-pc-linux-gnu/13.2.0/../../../../include/c++/13.2.0/string:42:
In file included from /kyukon/home/apps/RHEL8/cascadelake-ib/software/GCCcore/13.2.0/bin/../lib/gcc/x86_64-pc-linux-gnu/13.2.0/../../../../include/c++/13.2.0/bits/char_traits.h:42:
In file included from /kyukon/home/apps/RHEL8/cascadelake-ib/software/GCCcore/13.2.0/bin/../lib/gcc/x86_64-pc-linux-gnu/13.2.0/../../../../include/c++/13.2.0/bits/postypes.h:40:
In file included from /kyukon/home/apps/RHEL8/cascadelake-ib/software/GCCcore/13.2.0/bin/../lib/gcc/x86_64-pc-linux-gnu/13.2.0/../../../../include/c++/13.2.0/cwchar:44:
In file included from /usr/include/wchar.h:30:
In file included from /usr/include/bits/floatn.h:119:
/usr/include/bits/floatn-common.h:268:16: error: typedef redefinition with different types ('double' vs 'struct __castxml_Float32x_s')
268 | typedef double _Float32x;
| ^
:467:19: note: expanded from macro '_Float32x'
467 | #define _Float32x __castxml_Float32x
| ^
:473:112: note: previous definition is here
473 | typedef struct __castxml_Float32x_s { double x; operator double() const; __castxml_Float32x_s(double); } __castxml_Float32x;
| ^
In file included from /tmp/vsc47063/easybuild/build/ITK/5.4.0/foss-2023b/easybuild_obj/Wrapping/castxml_inputs/itkPyImageFilter.cxx:1:
In file included from /tmp/vsc47063/easybuild/build/ITK/5.4.0/foss-2023b/ITK-5.4.0/Modules/Core/Common/include/itkCommand.h:21:
In file included from /tmp/vsc47063/easybuild/build/ITK/5.4.0/foss-2023b/ITK-5.4.0/Modules/Core/Common/include/itkObject.h:31:
In file included from /tmp/vsc47063/easybuild/build/ITK/5.4.0/foss-2023b/ITK-5.4.0/Modules/Core/Common/include/itkLightObject.h:21:
In file included from /tmp/vsc47063/easybuild/build/ITK/5.4.0/foss-2023b/ITK-5.4.0/Modules/Core/Common/include/itkMacro.h:47:
In file included from /kyukon/home/apps/RHEL8/cascadelake-ib/software/GCCcore/13.2.0/bin/../lib/gcc/x86_64-pc-linux-gnu/13.2.0/../../../../include/c++/13.2.0/string:42:
In file included from /kyukon/home/apps/RHEL8/cascadelake-ib/software/GCCcore/13.2.0/bin/../lib/gcc/x86_64-pc-linux-gnu/13.2.0/../../../../include/c++/13.2.0/bits/char_traits.h:42:
In file included from /kyukon/home/apps/RHEL8/cascadelake-ib/software/GCCcore/13.2.0/bin/../lib/gcc/x86_64-pc-linux-gnu/13.2.0/../../../../include/c++/13.2.0/bits/postypes.h:40:
In file included from /kyukon/home/apps/RHEL8/cascadelake-ib/software/GCCcore/13.2.0/bin/../lib/gcc/x86_64-pc-linux-gnu/13.2.0/../../../../include/c++/13.2.0/cwchar:44:
In file included from /usr/include/wchar.h:30:
In file included from /usr/include/bits/floatn.h:119:
/usr/include/bits/floatn-common.h:285:21: error: typedef redefinition with different types ('long double' vs 'struct __castxml_Float64x_s')
285 | typedef long double _Float64x;
| ^
:469:19: note: expanded from macro '_Float64x'
469 | #define _Float64x __castxml_Float64x
| ^
:475:127: note: previous definition is here
475 | typedef struct __castxml_Float64x_s { long double x; operator long double() const; __castxml_Float64x_s(long double); } __castxml_Float64x;
| ^
[ 23%] Building CXX object Modules/ThirdParty/GDCM/src/gdcm/Source/DataStructureAndEncodingDefinition/CMakeFiles/gdcmDSED.dir/strict_gdcmSequenceOfItems.cxx.o
cd /tmp/vsc47063/easybuild/build/ITK/5.4.0/foss-2023b/easybuild_obj/Modules/ThirdParty/GDCM/src/gdcm/Source/DataStructureAndEncodingDefinition && /apps/gent/RHEL8/cascadelake-ib/software/GCCcore/13.2.0/bin/g++ -DgdcmDSED_EXPORTS -DGDCM_OVERRIDE_BROKEN_IMPLEMENTATION -Dgdcm_ns=gdcmstrict -I/tmp/vsc47063/easybuild/build/ITK/5.4.0/foss-2023b/easybuild_obj/Modules/ThirdParty/Expat/src/expat -I/tmp/vsc47063/easybuild/build/ITK/5.4.0/foss-2023b/ITK-5.4.0/Modules/ThirdParty/Expat/src/expat -I/tmp/vsc47063/easybuild/build/ITK/5.4.0/foss-2023b/easybuild_obj/Modules/ThirdParty/ZLIB/src -I/tmp/vsc47063/easybuild/build/ITK/5.4.0/foss-2023b/easybuild_obj/Modules/ThirdParty/ZLIB/src/itkzlib-ng -I/tmp/vsc47063/easybuild/build/ITK/5.4.0/foss-2023b/ITK-5.4.0/Modules/ThirdParty/ZLIB/src -I/tmp/vsc47063/easybuild/build/ITK/5.4.0/foss-2023b/easybuild_obj/Modules/ThirdParty/GDCM -I/tmp/vsc47063/easybuild/build/ITK/5.4.0/foss-2023b/easybuild_obj/Modules/ThirdParty/GDCM/src/gdcm/Source/Common -I/tmp/vsc47063/easybuild/build/ITK/5.4.0/foss-2023b/ITK-5.4.0/Modules/ThirdParty/GDCM/src/gdcm/Source/MediaStorageAndFileFormat -I/tmp/vsc47063/easybuild/build/ITK/5.4.0/foss-2023b/ITK-5.4.0/Modules/ThirdParty/GDCM/src/gdcm/Source/DataDictionary -I/tmp/vsc47063/easybuild/build/ITK/5.4.0/foss-2023b/ITK-5.4.0/Modules/ThirdParty/GDCM/src/gdcm/Source/Common -I/tmp/vsc47063/easybuild/build/ITK/5.4.0/foss-2023b/ITK-5.4.0/Modules/ThirdParty/GDCM/src/gdcm/Source/InformationObjectDefinition -I/tmp/vsc47063/easybuild/build/ITK/5.4.0/foss-2023b/ITK-5.4.0/Modules/ThirdParty/GDCM/src/gdcm/Source/MessageExchangeDefinition -I/tmp/vsc47063/easybuild/build/ITK/5.4.0/foss-2023b/ITK-5.4.0/Modules/ThirdParty/GDCM/src/gdcm/Source/DataStructureAndEncodingDefinition -I/tmp/vsc47063/easybuild/build/ITK/5.4.0/foss-2023b/ITK-5.4.0/Modules/ThirdParty/GDCM/src/gdcm/Utilities -I/tmp/vsc47063/easybuild/build/ITK/5.4.0/foss-2023b/ITK-5.4.0/Modules/ThirdParty/ZLIB/src/itkzlib-ng -O2 -ftree-vectorize -march=native -fno-math-errno -U_Float128 -U_Float32 -U_Float64 -U_Float32x -U_Float64x -mtune=generic -march=corei7 -Wall -Wcast-align -Wdisabled-optimization -Wextra -Wformat=2 -Winvalid-pch -Wno-format-nonliteral -Wpointer-arith -Wshadow -Wunused -Wwrite-strings -Wno-strict-overflow -Wno-deprecated -Wno-invalid-offsetof -Woverloaded-virtual -Wctad-maybe-unsupported -Wstrict-null-sentinel -fno-sized-deallocation -msse2 -w -fno-ipa-cp-clone -O3 -DNDEBUG -std=c++17 -fPIC -MD -MT Modules/ThirdParty/GDCM/src/gdcm/Source/DataStructureAndEncodingDefinition/CMakeFiles/gdcmDSED.dir/strict_gdcmSequenceOfItems.cxx.o -MF CMakeFiles/gdcmDSED.dir/strict_gdcmSequenceOfItems.cxx.o.d -o CMakeFiles/gdcmDSED.dir/strict_gdcmSequenceOfItems.cxx.o -c /tmp/vsc47063/easybuild/build/ITK/5.4.0/foss-2023b/easybuild_obj/Modules/ThirdParty/GDCM/src/gdcm/Source/DataStructureAndEncodingDefinition/strict_gdcmSequenceOfItems.cxx
make[2]: Leaving directory '/tmp/vsc47063/easybuild/build/ITK/5.4.0/foss-2023b/easybuild_obj'
make -f Wrapping/Modules/ITKCommon/CMakeFiles/ITKCommonCastXML.dir/build.make Wrapping/Modules/ITKCommon/CMakeFiles/ITKCommonCastXML.dir/build
make[2]: Entering directory '/tmp/vsc47063/easybuild/build/ITK/5.4.0/foss-2023b/easybuild_obj'
[ 23%] Generating ../../castxml_inputs/itkFixedArray.xml
cd /tmp/vsc47063/easybuild/build/ITK/5.4.0/foss-2023b/easybuild_obj/Wrapping/Modules/ITKCommon && ../../Generators/CastXML/castxml/bin/castxml -o /tmp/vsc47063/easybuild/build/ITK/5.4.0/foss-2023b/easybuild_obj/Wrapping/castxml_inputs/itkFixedArray.xml --castxml-gccxml --castxml-start wrapping --castxml-cc-gnu "(" /apps/gent/RHEL8/cascadelake-ib/software/GCCcore/13.2.0/bin/g++ -O2 -ftree-vectorize -fno-math-errno -U_Float128 -U_Float32 -U_Float64 -U_Float32x -U_Float64x -Wall -Wcast-align -Wdisabled-optimization -Wextra -Wformat=2 -Winvalid-pch -Wno-format-nonliteral -Wpointer-arith -Wshadow -Wunused -Wwrite-strings -Wno-strict-overflow -Wno-deprecated -Wno-invalid-offsetof -Woverloaded-virtual -Wctad-maybe-unsupported -Wstrict-null-sentinel -fno-sized-deallocation -msse2 -fno-sized-deallocation -msse2 -std=c++17 ")" -w -c @/tmp/vsc47063/easybuild/build/ITK/5.4.0/foss-2023b/easybuild_obj/Wrapping/castxml_inputs/.castxml.inc /tmp/vsc47063/easybuild/build/ITK/5.4.0/foss-2023b/easybuild_obj/Wrapping/castxml_inputs/itkFixedArray.cxx
In file included from /tmp/vsc47063/easybuild/build/ITK/5.4.0/foss-2023b/easybuild_obj/Wrapping/castxml_inputs/itkFixedArray.cxx:1:
In file included from /tmp/vsc47063/easybuild/build/ITK/5.4.0/foss-2023b/ITK-5.4.0/Modules/Core/Common/include/itkCommand.h:21:
In file included from /tmp/vsc47063/easybuild/build/ITK/5.4.0/foss-2023b/ITK-5.4.0/Modules/Core/Common/include/itkObject.h:31:
In file included from /tmp/vsc47063/easybuild/build/ITK/5.4.0/foss-2023b/ITK-5.4.0/Modules/Core/Common/include/itkLightObject.h:21:
In file included from /tmp/vsc47063/easybuild/build/ITK/5.4.0/foss-2023b/ITK-5.4.0/Modules/Core/Common/include/itkMacro.h:47:
In file included from /kyukon/home/apps/RHEL8/cascadelake-ib/software/GCCcore/13.2.0/bin/../lib/gcc/x86_64-pc-linux-gnu/13.2.0/../../../../include/c++/13.2.0/string:42:
In file included from /kyukon/home/apps/RHEL8/cascadelake-ib/software/GCCcore/13.2.0/bin/../lib/gcc/x86_64-pc-linux-gnu/13.2.0/../../../../include/c++/13.2.0/bits/char_traits.h:42:
In file included from /kyukon/home/apps/RHEL8/cascadelake-ib/software/GCCcore/13.2.0/bin/../lib/gcc/x86_64-pc-linux-gnu/13.2.0/../../../../include/c++/13.2.0/bits/postypes.h:40:
In file included from /kyukon/home/apps/RHEL8/cascadelake-ib/software/GCCcore/13.2.0/bin/../lib/gcc/x86_64-pc-linux-gnu/13.2.0/../../../../include/c++/13.2.0/cwchar:44:
In file included from /usr/include/wchar.h:30:
/usr/include/bits/floatn.h:86:20: error: typedef redefinition with different types ('__float128' vs 'struct __castxml_Float128_s')
86 | typedef __float128 _Float128;
| ^
:470:19: note: expanded from macro '_Float128'
470 | #define _Float128 __castxml_Float128
| ^
:476:124: note: previous definition is here
476 | typedef struct __castxml_Float128_s { __float128 x; operator __float128() const; __castxml_Float128_s(__float128); } __castxml_Float128;
| ^
In file included from /tmp/vsc47063/easybuild/build/ITK/5.4.0/foss-2023b/easybuild_obj/Wrapping/castxml_inputs/itkFixedArray.cxx:1:
In file included from /tmp/vsc47063/easybuild/build/ITK/5.4.0/foss-2023b/ITK-5.4.0/Modules/Core/Common/include/itkCommand.h:21:
In file included from /tmp/vsc47063/easybuild/build/ITK/5.4.0/foss-2023b/ITK-5.4.0/Modules/Core/Common/include/itkObject.h:31:
In file included from /tmp/vsc47063/easybuild/build/ITK/5.4.0/foss-2023b/ITK-5.4.0/Modules/Core/Common/include/itkLightObject.h:21:
In file included from /tmp/vsc47063/easybuild/build/ITK/5.4.0/foss-2023b/ITK-5.4.0/Modules/Core/Common/include/itkMacro.h:47:
In file included from /kyukon/home/apps/RHEL8/cascadelake-ib/software/GCCcore/13.2.0/bin/../lib/gcc/x86_64-pc-linux-gnu/13.2.0/../../../../include/c++/13.2.0/string:42:
In file included from /kyukon/home/apps/RHEL8/cascadelake-ib/software/GCCcore/13.2.0/bin/../lib/gcc/x86_64-pc-linux-gnu/13.2.0/../../../../include/c++/13.2.0/bits/char_traits.h:42:
In file included from /kyukon/home/apps/RHEL8/cascadelake-ib/software/GCCcore/13.2.0/bin/../lib/gcc/x86_64-pc-linux-gnu/13.2.0/../../../../include/c++/13.2.0/bits/postypes.h:40:
In file included from /kyukon/home/apps/RHEL8/cascadelake-ib/software/GCCcore/13.2.0/bin/../lib/gcc/x86_64-pc-linux-gnu/13.2.0/../../../../include/c++/13.2.0/cwchar:44:
In file included from /usr/include/wchar.h:30:
In file included from /usr/include/bits/floatn.h:119:
/usr/include/bits/floatn-common.h:214:15: error: typedef redefinition with different types ('float' vs 'struct __castxml_Float32_s')
214 | typedef float _Float32;
| ^
:466:18: note: expanded from macro '_Float32'
466 | #define _Float32 __castxml_Float32
| ^
:472:107: note: previous definition is here
472 | typedef struct __castxml_Float32_s { float x; operator float() const; __castxml_Float32_s(float); } __castxml_Float32;
| ^
In file included from /tmp/vsc47063/easybuild/build/ITK/5.4.0/foss-2023b/easybuild_obj/Wrapping/castxml_inputs/itkFixedArray.cxx:1:
In file included from /tmp/vsc47063/easybuild/build/ITK/5.4.0/foss-2023b/ITK-5.4.0/Modules/Core/Common/include/itkCommand.h:21:
In file included from /tmp/vsc47063/easybuild/build/ITK/5.4.0/foss-2023b/ITK-5.4.0/Modules/Core/Common/include/itkObject.h:31:
In file included from /tmp/vsc47063/easybuild/build/ITK/5.4.0/foss-2023b/ITK-5.4.0/Modules/Core/Common/include/itkLightObject.h:21:
In file included from /tmp/vsc47063/easybuild/build/ITK/5.4.0/foss-2023b/ITK-5.4.0/Modules/Core/Common/include/itkMacro.h:47:
In file included from /kyukon/home/apps/RHEL8/cascadelake-ib/software/GCCcore/13.2.0/bin/../lib/gcc/x86_64-pc-linux-gnu/13.2.0/../../../../include/c++/13.2.0/string:42:
In file included from /kyukon/home/apps/RHEL8/cascadelake-ib/software/GCCcore/13.2.0/bin/../lib/gcc/x86_64-pc-linux-gnu/13.2.0/../../../../include/c++/13.2.0/bits/char_traits.h:42:
In file included from /kyukon/home/apps/RHEL8/cascadelake-ib/software/GCCcore/13.2.0/bin/../lib/gcc/x86_64-pc-linux-gnu/13.2.0/../../../../include/c++/13.2.0/bits/postypes.h:40:
In file included from /kyukon/home/apps/RHEL8/cascadelake-ib/software/GCCcore/13.2.0/bin/../lib/gcc/x86_64-pc-linux-gnu/13.2.0/../../../../include/c++/13.2.0/cwchar:44:
In file included from /usr/include/wchar.h:30:
In file included from /usr/include/bits/floatn.h:119:
/usr/include/bits/floatn-common.h:251:16: error: typedef redefinition with different types ('double' vs 'struct __castxml_Float64_s')
251 | typedef double _Float64;
| ^
:468:18: note: expanded from macro '_Float64'
468 | #define _Float64 __castxml_Float64
| ^
:474:110: note: previous definition is here
474 | typedef struct __castxml_Float64_s { double x; operator double() const; __castxml_Float64_s(double); } __castxml_Float64;
| ^
In file included from /tmp/vsc47063/easybuild/build/ITK/5.4.0/foss-2023b/easybuild_obj/Wrapping/castxml_inputs/itkFixedArray.cxx:1:
In file included from /tmp/vsc47063/easybuild/build/ITK/5.4.0/foss-2023b/ITK-5.4.0/Modules/Core/Common/include/itkCommand.h:21:
In file included from /tmp/vsc47063/easybuild/build/ITK/5.4.0/foss-2023b/ITK-5.4.0/Modules/Core/Common/include/itkObject.h:31:
In file included from /tmp/vsc47063/easybuild/build/ITK/5.4.0/foss-2023b/ITK-5.4.0/Modules/Core/Common/include/itkLightObject.h:21:
In file included from /tmp/vsc47063/easybuild/build/ITK/5.4.0/foss-2023b/ITK-5.4.0/Modules/Core/Common/include/itkMacro.h:47:
In file included from /kyukon/home/apps/RHEL8/cascadelake-ib/software/GCCcore/13.2.0/bin/../lib/gcc/x86_64-pc-linux-gnu/13.2.0/../../../../include/c++/13.2.0/string:42:
In file included from /kyukon/home/apps/RHEL8/cascadelake-ib/software/GCCcore/13.2.0/bin/../lib/gcc/x86_64-pc-linux-gnu/13.2.0/../../../../include/c++/13.2.0/bits/char_traits.h:42:
In file included from /kyukon/home/apps/RHEL8/cascadelake-ib/software/GCCcore/13.2.0/bin/../lib/gcc/x86_64-pc-linux-gnu/13.2.0/../../../../include/c++/13.2.0/bits/postypes.h:40:
In file included from /kyukon/home/apps/RHEL8/cascadelake-ib/software/GCCcore/13.2.0/bin/../lib/gcc/x86_64-pc-linux-gnu/13.2.0/../../../../include/c++/13.2.0/cwchar:44:
In file included from /usr/include/wchar.h:30:
In file included from /usr/include/bits/floatn.h:119:
/usr/include/bits/floatn-common.h:268:16: error: typedef redefinition with different types ('double' vs 'struct __castxml_Float32x_s')
268 | typedef double _Float32x;
| ^
:467:19: note: expanded from macro '_Float32x'
467 | #define _Float32x __castxml_Float32x
| ^
:473:112: note: previous definition is here
473 | typedef struct __castxml_Float32x_s { double x; operator double() const; __castxml_Float32x_s(double); } __castxml_Float32x;
| ^
In file included from /tmp/vsc47063/easybuild/build/ITK/5.4.0/foss-2023b/easybuild_obj/Wrapping/castxml_inputs/itkFixedArray.cxx:1:
In file included from /tmp/vsc47063/easybuild/build/ITK/5.4.0/foss-2023b/ITK-5.4.0/Modules/Core/Common/include/itkCommand.h:21:
In file included from /tmp/vsc47063/easybuild/build/ITK/5.4.0/foss-2023b/ITK-5.4.0/Modules/Core/Common/include/itkObject.h:31:
In file included from /tmp/vsc47063/easybuild/build/ITK/5.4.0/foss-2023b/ITK-5.4.0/Modules/Core/Common/include/itkLightObject.h:21:
In file included from /tmp/vsc47063/easybuild/build/ITK/5.4.0/foss-2023b/ITK-5.4.0/Modules/Core/Common/include/itkMacro.h:47:
In file included from /kyukon/home/apps/RHEL8/cascadelake-ib/software/GCCcore/13.2.0/bin/../lib/gcc/x86_64-pc-linux-gnu/13.2.0/../../../../include/c++/13.2.0/string:42:
In file included from /kyukon/home/apps/RHEL8/cascadelake-ib/software/GCCcore/13.2.0/bin/../lib/gcc/x86_64-pc-linux-gnu/13.2.0/../../../../include/c++/13.2.0/bits/char_traits.h:42:
In file included from /kyukon/home/apps/RHEL8/cascadelake-ib/software/GCCcore/13.2.0/bin/../lib/gcc/x86_64-pc-linux-gnu/13.2.0/../../../../include/c++/13.2.0/bits/postypes.h:40:
In file included from /kyukon/home/apps/RHEL8/cascadelake-ib/software/GCCcore/13.2.0/bin/../lib/gcc/x86_64-pc-linux-gnu/13.2.0/../../../../include/c++/13.2.0/cwchar:44:
In file included from /usr/include/wchar.h:30:
In file included from /usr/include/bits/floatn.h:119:
/usr/include/bits/floatn-common.h:285:21: error: typedef redefinition with different types ('long double' vs 'struct __castxml_Float64x_s')
285 | typedef long double _Float64x;
| ^
:469:19: note: expanded from macro '_Float64x'
469 | #define _Float64x __castxml_Float64x
| ^
:475:127: note: previous definition is here
475 | typedef struct __castxml_Float64x_s { long double x; operator long double() const; __castxml_Float64x_s(long double); } __castxml_Float64x;
| ^
[ 23%] Generating ../../castxml_inputs/itkVector.xml
cd /tmp/vsc47063/easybuild/build/ITK/5.4.0/foss-2023b/easybuild_obj/Wrapping/Modules/ITKCommon && ../../Generators/CastXML/castxml/bin/castxml -o /tmp/vsc47063/easybuild/build/ITK/5.4.0/foss-2023b/easybuild_obj/Wrapping/castxml_inputs/itkVector.xml --castxml-gccxml --castxml-start wrapping --castxml-cc-gnu "(" /apps/gent/RHEL8/cascadelake-ib/software/GCCcore/13.2.0/bin/g++ -O2 -ftree-vectorize -fno-math-errno -U_Float128 -U_Float32 -U_Float64 -U_Float32x -U_Float64x -Wall -Wcast-align -Wdisabled-optimization -Wextra -Wformat=2 -Winvalid-pch -Wno-format-nonliteral -Wpointer-arith -Wshadow -Wunused -Wwrite-strings -Wno-strict-overflow -Wno-deprecated -Wno-invalid-offsetof -Woverloaded-virtual -Wctad-maybe-unsupported -Wstrict-null-sentinel -fno-sized-deallocation -msse2 -fno-sized-deallocation -msse2 -std=c++17 ")" -w -c @/tmp/vsc47063/easybuild/build/ITK/5.4.0/foss-2023b/easybuild_obj/Wrapping/castxml_inputs/.castxml.inc /tmp/vsc47063/easybuild/build/ITK/5.4.0/foss-2023b/easybuild_obj/Wrapping/castxml_inputs/itkVector.cxx
[ 23%] Building CXX object Modules/ThirdParty/VNL/src/vxl/core/vnl/CMakeFiles/itkvnl.dir/Templates/vnl_file_matrix+long_double-.cxx.o
cd /tmp/vsc47063/easybuild/build/ITK/5.4.0/foss-2023b/easybuild_obj/Modules/ThirdParty/VNL/src/vxl/core/vnl && /apps/gent/RHEL8/cascadelake-ib/software/GCCcore/13.2.0/bin/g++ -DVXL_WARN_DEPRECATED -DVXL_WARN_DEPRECATED_ONCE -Ditkvnl_EXPORTS -I/tmp/vsc47063/easybuild/build/ITK/5.4.0/foss-2023b/ITK-5.4.0/Modules/ThirdParty/VNL/src/vxl/v3p/netlib -I/tmp/vsc47063/easybuild/build/ITK/5.4.0/foss-2023b/ITK-5.4.0/Modules/ThirdParty/VNL/src/vxl/vcl -I/tmp/vsc47063/easybuild/build/ITK/5.4.0/foss-2023b/ITK-5.4.0/Modules/ThirdParty/VNL/src/vxl/core -I/tmp/vsc47063/easybuild/build/ITK/5.4.0/foss-2023b/easybuild_obj/Modules/ThirdParty/VNL/src/vxl/v3p/netlib -I/tmp/vsc47063/easybuild/build/ITK/5.4.0/foss-2023b/easybuild_obj/Modules/ThirdParty/VNL/src/vxl/vcl -I/tmp/vsc47063/easybuild/build/ITK/5.4.0/foss-2023b/easybuild_obj/Modules/ThirdParty/VNL/src/vxl/core -I/tmp/vsc47063/easybuild/build/ITK/5.4.0/foss-2023b/ITK-5.4.0/Modules/ThirdParty/VNL/src/vxl/core/vnl -I/tmp/vsc47063/easybuild/build/ITK/5.4.0/foss-2023b/easybuild_obj/Modules/ThirdParty/VNL/src/vxl/core/vnl -O2 -ftree-vectorize -march=native -fno-math-errno -U_Float128 -U_Float32 -U_Float64 -U_Float32x -U_Float64x -mtune=generic -march=corei7 -Wall -Wcast-align -Wdisabled-optimization -Wextra -Wformat=2 -Winvalid-pch -Wno-format-nonliteral -Wpointer-arith -Wshadow -Wunused -Wwrite-strings -Wno-strict-overflow -Wno-deprecated -Wno-invalid-offsetof -Woverloaded-virtual -Wctad-maybe-unsupported -Wstrict-null-sentinel -fno-sized-deallocation -msse2 -w -O3 -DNDEBUG -std=c++17 -fPIC -MD -MT Modules/ThirdParty/VNL/src/vxl/core/vnl/CMakeFiles/itkvnl.dir/Templates/vnl_file_matrix+long_double-.cxx.o -MF CMakeFiles/itkvnl.dir/Templates/vnl_file_matrix+long_double-.cxx.o.d -o CMakeFiles/itkvnl.dir/Templates/vnl_file_matrix+long_double-.cxx.o -c /tmp/vsc47063/easybuild/build/ITK/5.4.0/foss-2023b/ITK-5.4.0/Modules/ThirdParty/VNL/src/vxl/core/vnl/Templates/vnl_file_matrix+long_double-.cxx
5 errors generated.
make[2]: *** [Wrapping/Generators/Python/PyUtils/CMakeFiles/ITKPyUtilsCastXML.dir/build.make:78: Wrapping/castxml_inputs/itkPyCommand.xml] Error 1
make[2]: *** Waiting for unfinished jobs....
[ 23%] Building CXX object Modules/ThirdParty/VNL/src/vxl/core/vnl/CMakeFiles/itkvnl.dir/Templates/vnl_file_matrix+vnl_rational-.cxx.o
In file included from /tmp/vsc47063/easybuild/build/ITK/5.4.0/foss-2023b/easybuild_obj/Wrapping/castxml_inputs/itkVector.cxx:1:
In file included from /tmp/vsc47063/easybuild/build/ITK/5.4.0/foss-2023b/ITK-5.4.0/Modules/Core/Common/include/itkCommand.h:21:
In file included from /tmp/vsc47063/easybuild/build/ITK/5.4.0/foss-2023b/ITK-5.4.0/Modules/Core/Common/include/itkObject.h:31:
In file included from /tmp/vsc47063/easybuild/build/ITK/5.4.0/foss-2023b/ITK-5.4.0/Modules/Core/Common/include/itkLightObject.h:21:
In file included from /tmp/vsc47063/easybuild/build/ITK/5.4.0/foss-2023b/ITK-5.4.0/Modules/Core/Common/include/itkMacro.h:47:
In file included from /kyukon/home/apps/RHEL8/cascadelake-ib/software/GCCcore/13.2.0/bin/../lib/gcc/x86_64-pc-linux-gnu/13.2.0/../../../../include/c++/13.2.0/string:42:
In file included from /kyukon/home/apps/RHEL8/cascadelake-ib/software/GCCcore/13.2.0/bin/../lib/gcc/x86_64-pc-linux-gnu/13.2.0/../../../../include/c++/13.2.0/bits/char_traits.h:42:
In file included from /kyukon/home/apps/RHEL8/cascadelake-ib/software/GCCcore/13.2.0/bin/../lib/gcc/x86_64-pc-linux-gnu/13.2.0/../../../../include/c++/13.2.0/bits/postypes.h:40:
In file included from /kyukon/home/apps/RHEL8/cascadelake-ib/software/GCCcore/13.2.0/bin/../lib/gcc/x86_64-pc-linux-gnu/13.2.0/../../../../include/c++/13.2.0/cwchar:44:
In file included from /usr/include/wchar.h:30:
/usr/include/bits/floatn.h:86:20: error: typedef redefinition with different types ('__float128' vs 'struct __castxml_Float128_s')
86 | typedef __float128 _Float128;
| ^
:470:19: note: expanded from macro '_Float128'
470 | #define _Float128 __castxml_Float128
| ^
:476:124: note: previous definition is here
476 | typedef struct __castxml_Float128_s { __flocd /tmp/vsc47063/easybuild/build/ITK/5.4.0/foss-2023b/easybuild_obj/Modules/ThirdParty/VNL/src/vxl/core/vnl && /apps/gent/RHEL8/cascadelake-ib/software/GCCcore/13.2.0/bin/g++ -DVXL_WARN_DEPRECATED -DVXL_WARN_DEPRECATED_ONCE -Ditkvnl_EXPORTS -I/tmp/vsc47063/easybuild/build/ITK/5.4.0/foss-2023b/ITK-5.4.0/Modules/ThirdParty/VNL/src/vxl/v3p/netlib -I/tmp/vsc47063/easybuild/build/ITK/5.4.0/foss-2023b/ITK-5.4.0/Modules/ThirdParty/VNL/src/vxl/vcl -I/tmp/vsc47063/easybuild/build/ITK/5.4.0/foss-2023b/ITK-5.4.0/Modules/ThirdParty/VNL/src/vxl/core -I/tmp/vsc47063/easybuild/build/ITK/5.4.0/foss-2023b/easybuild_obj/Modules/ThirdParty/VNL/src/vxl/v3p/netlib -I/tmp/vsc47063/easybuild/build/ITK/5.4.0/foss-2023b/easybuild_obj/Modules/ThirdParty/VNL/src/vxl/vcl -I/tmp/vsc47063/easybuild/build/ITK/5.4.0/foss-2023b/easybuild_obj/Modules/ThirdParty/VNL/src/vxl/core -I/tmp/vsc47063/easybuild/build/ITK/5.4.0/foss-2023b/ITK-5.4.0/Modules/ThirdParty/VNL/src/vxl/core/vnl -I/tmp/vsc47063/easybuild/build/ITK/5.4.0/foss-2023b/easybuild_obj/Modules/ThirdParty/VNL/src/vxl/core/vnl -O2 -ftree-vectorize -march=native -fno-math-errno -U_Float128 -U_Float32 -U_Float64 -U_Float32x -U_Float64x -mtune=generic -march=corei7 -Wall -Wcast-align -Wdisabled-optimization -Wextra -Wformat=2 -Winvalid-pch -Wno-format-nonliteral -Wpointer-arith -Wshadow -Wunused -Wwrite-strings -Wno-strict-overflow -Wno-deprecated -Wno-invalid-offsetof -Woverloaded-virtual -Wctad-maybe-unsupported -Wstrict-null-sentinel -fno-sized-deallocation -msse2 -w -O3 -DNDEBUG -std=c++17 -fPIC -MD -MT Modules/ThirdParty/VNL/src/vxl/core/vnl/CMakeFiles/itkvnl.dir/Templates/vnl_file_matrix+vnl_rational-.cxx.o -MF CMakeFiles/itkvnl.dir/Templates/vnl_file_matrix+vnl_rational-.cxx.o.d -o CMakeFiles/itkvnl.dir/Templates/vnl_file_matrix+vnl_rational-.cxx.o -c /tmp/vsc47063/easybuild/build/ITK/5.4.0/foss-2023b/ITK-5.4.0/Modules/ThirdParty/VNL/src/vxl/core/vnl/Templates/vnl_file_matrix+vnl_rational-.cxx
at128 x; operator __float128() const; __castxml_Float128_s(__float128); } __castxml_Float128;
| ^
In file included from /tmp/vsc47063/easybuild/build/ITK/5.4.0/foss-2023b/easybuild_obj/Wrapping/castxml_inputs/itkVector.cxx:1:
In file included from /tmp/vsc47063/easybuild/build/ITK/5.4.0/foss-2023b/ITK-5.4.0/Modules/Core/Common/include/itkCommand.h:21:
In file included from /tmp/vsc47063/easybuild/build/ITK/5.4.0/foss-2023b/ITK-5.4.0/Modules/Core/Common/include/itkObject.h:31:
In file included from /tmp/vsc47063/easybuild/build/ITK/5.4.0/foss-2023b/ITK-5.4.0/Modules/Core/Common/include/itkLightObject.h:21:
In file included from /tmp/vsc47063/easybuild/build/ITK/5.4.0/foss-2023b/ITK-5.4.0/Modules/Core/Common/include/itkMacro.h:47:
In file included from /kyukon/home/apps/RHEL8/cascadelake-ib/software/GCCcore/13.2.0/bin/../lib/gcc/x86_64-pc-linux-gnu/13.2.0/../../../../include/c++/13.2.0/string:42:
In file included from /kyukon/home/apps/RHEL8/cascadelake-ib/software/GCCcore/13.2.0/bin/../lib/gcc/x86_64-pc-linux-gnu/13.2.0/../../../../include/c++/13.2.0/bits/char_traits.h:42:
In file included from /kyukon/home/apps/RHEL8/cascadelake-ib/software/GCCcore/13.2.0/bin/../lib/gcc/x86_64-pc-linux-gnu/13.2.0/../../../../include/c++/13.2.0/bits/postypes.h:40:
In file included from /kyukon/home/apps/RHEL8/cascadelake-ib/software/GCCcore/13.2.0/bin/../lib/gcc/x86_64-pc-linux-gnu/13.2.0/../../../../include/c++/13.2.0/cwchar:44:
In file included from /usr/include/wchar.h:30:
In file included from /usr/include/bits/floatn.h:119:
/usr/include/bits/floatn-common.h:214:15: error: typedef redefinition with different types ('float' vs 'struct __castxml_Float32_s')
214 | typedef float _Float32;
| ^
:466:18: note: expanded from macro '_Float32'
466 | #define _Float32 __castxml_Float32
| ^
:472:107: note: previous definition is here
472 | typedef struct __castxml_Float32_s { float x; operator float() const; __castxml_Float32_s(float); } __castxml_Float32;
| ^
In file included from /tmp/vsc47063/easybuild/build/ITK/5.4.0/foss-2023b/easybuild_obj/Wrapping/castxml_inputs/itkVector.cxx:1:
In file included from /tmp/vsc47063/easybuild/build/ITK/5.4.0/foss-2023b/ITK-5.4.0/Modules/Core/Common/include/itkCommand.h:21:
In file included from /tmp/vsc47063/easybuild/build/ITK/5.4.0/foss-2023b/ITK-5.4.0/Modules/Core/Common/include/itkObject.h:31:
In file included from /tmp/vsc47063/easybuild/build/ITK/5.4.0/foss-2023b/ITK-5.4.0/Modules/Core/Common/include/itkLightObject.h:21:
In file included from /tmp/vsc47063/easybuild/build/ITK/5.4.0/foss-2023b/ITK-5.4.0/Modules/Core/Common/include/itkMacro.h:47:
In file included from /kyukon/home/apps/RHEL8/cascadelake-ib/software/GCCcore/13.2.0/bin/../lib/gcc/x86_64-pc-linux-gnu/13.2.0/../../../../include/c++/13.2.0/string:42:
In file included from /kyukon/home/apps/RHEL8/cascadelake-ib/software/GCCcore/13.2.0/bin/../lib/gcc/x86_64-pc-linux-gnu/13.2.0/../../../../include/c++/13.2.0/bits/char_traits.h:42:
In file included from /kyukon/home/apps/RHEL8/cascadelake-ib/software/GCCcore/13.2.0/bin/../lib/gcc/x86_64-pc-linux-gnu/13.2.0/../../../../include/c++/13.2.0/bits/postypes.h:40:
In file included from /kyukon/home/apps/RHEL8/cascadelake-ib/software/GCCcore/13.2.0/bin/../lib/gcc/x86_64-pc-linux-gnu/13.2.0/../../../../include/c++/13.2.0/cwchar:44:
In file included from /usr/include/wchar.h:30:
In file included from /usr/include/bits/floatn.h:119:
/usr/include/bits/floatn-common.h:251:16: error: typedef redefinition with different types ('double' vs 'struct __castxml_Float64_s')
251 | typedef double _Float64;
| ^
:468:18: note: expanded from macro '_Float64'
468 | #define _Float64 __castxml_Float64
| ^
:474:110: note: previous definition is here
474 | typedef struct __castxml_Float64_s { double x; operator double() const; __castxml_Float64_s(double); } __castxml_Float64;
| ^
In file included from /tmp/vsc47063/easybuild/build/ITK/5.4.0/foss-2023b/easybuild_obj/Wrapping/castxml_inputs/itkVector.cxx:1:
In file included from /tmp/vsc47063/easybuild/build/ITK/5.4.0/foss-2023b/ITK-5.4.0/Modules/Core/Common/include/itkCommand.h:21:
In file included from /tmp/vsc47063/easybuild/build/ITK/5.4.0/foss-2023b/ITK-5.4.0/Modules/Core/Common/include/itkObject.h:31:
In file included from /tmp/vsc47063/easybuild/build/ITK/5.4.0/foss-2023b/ITK-5.4.0/Modules/Core/Common/include/itkLightObject.h:21:
In file included from /tmp/vsc47063/easybuild/build/ITK/5.4.0/foss-2023b/ITK-5.4.0/Modules/Core/Common/include/itkMacro.h:47:
In file included from /kyukon/home/apps/RHEL8/cascadelake-ib/software/GCCcore/13.2.0/bin/../lib/gcc/x86_64-pc-linux-gnu/13.2.0/../../../../include/c++/13.2.0/string:42:
In file included from /kyukon/home/apps/RHEL8/cascadelake-ib/software/GCCcore/13.2.0/bin/../lib/gcc/x86_64-pc-linux-gnu/13.2.0/../../../../include/c++/13.2.0/bits/char_traits.h:42:
In file included from /kyukon/home/apps/RHEL8/cascadelake-ib/software/GCCcore/13.2.0/bin/../lib/gcc/x86_64-pc-linux-gnu/13.2.0/../../../../include/c++/13.2.0/bits/postypes.h:40:
In file included from /kyukon/home/apps/RHEL8/cascadelake-ib/software/GCCcore/13.2.0/bin/../lib/gcc/x86_64-pc-linux-gnu/13.2.0/../../../../include/c++/13.2.0/cwchar:44:
In file included from /usr/include/wchar.h:30:
In file included from /usr/include/bits/floatn.h:119:
/usr/include/bits/floatn-common.h:268:16: error: typedef redefinition with different types ('double' vs 'struct __castxml_Float32x_s')
268 | typedef double _Float32x;
| ^
:467:19: note: expanded from macro '_Float32x'
467 | #define _Float32x __castxml_Float32x
| ^
:473:112: note: previous definition is here
473 | typedef struct __castxml_Float32x_s { double x; operator double() const; __castxml_Float32x_s(double); } __castxml_Float32x;
| ^
In file included from /tmp/vsc47063/easybuild/build/ITK/5.4.0/foss-2023b/easybuild_obj/Wrapping/castxml_inputs/itkVector.cxx:1:
In file included from /tmp/vsc47063/easybuild/build/ITK/5.4.0/foss-2023b/ITK-5.4.0/Modules/Core/Common/include/itkCommand.h:21:
In file included from /tmp/vsc47063/easybuild/build/ITK/5.4.0/foss-2023b/ITK-5.4.0/Modules/Core/Common/include/itkObject.h:31:
In file included from /tmp/vsc47063/easybuild/build/ITK/5.4.0/foss-2023b/ITK-5.4.0/Modules/Core/Common/include/itkLightObject.h:21:
In file included from /tmp/vsc47063/easybuild/build/ITK/5.4.0/foss-2023b/ITK-5.4.0/Modules/Core/Common/include/itkMacro.h:47:
In file included from /kyukon/home/apps/RHEL8/cascadelake-ib/software/GCCcore/13.2.0/bin/../lib/gcc/x86_64-pc-linux-gnu/13.2.0/../../../../include/c++/13.2.0/string:42:
In file included from /kyukon/home/apps/RHEL8/cascadelake-ib/software/GCCcore/13.2.0/bin/../lib/gcc/x86_64-pc-linux-gnu/13.2.0/../../../../include/c++/13.2.0/bits/char_traits.h:42:
In file included from /kyukon/home/apps/RHEL8/cascadelake-ib/software/GCCcore/13.2.0/bin/../lib/gcc/x86_64-pc-linux-gnu/13.2.0/../../../../include/c++/13.2.0/bits/postypes.h:40:
In file included from /kyukon/home/apps/RHEL8/cascadelake-ib/software/GCCcore/13.2.0/bin/../lib/gcc/x86_64-pc-linux-gnu/13.2.0/../../../../include/c++/13.2.0/cwchar:44:
In file included from /usr/include/wchar.h:30:
In file included from /usr/include/bits/floatn.h:119:
/usr/include/bits/floatn-common.h:285:21: error: typedef redefinition with different types ('long double' vs 'struct __castxml_Float64x_s')
285 | typedef long double _Float64x;
| ^
:469:19: note: expanded from macro '_Float64x'
469 | #define _Float64x __castxml_Float64x
| ^
:475:127: note: previous definition is here
475 | typedef struct __castxml_Float64x_s { long double x; operator long double() const; __castxml_Float64x_s(long double); } __castxml_Float64x;
|

@pavelToman
Copy link
Author

Since the non-system CastXML does not work, I tried to build/install CastXML-0.6.8 either with cstd c++11 and gnu++14 to avoid this https://github.com/CastXML/CastXML/blob/v0.6.8/src/RunClang.cxx#L443, but there is still the same error.

@dzenanz
Copy link
Member

dzenanz commented Nov 26, 2024

@bradking do you have some suggestions?

@bradking
Copy link
Member

@pavelToman against what version of LLVM/Clang are you building CastXML?

@pavelToman
Copy link
Author

pavelToman commented Nov 27, 2024

The version of Clang is 17.0.6. I have already try to change GCC std to c++11, c++14, gnu++11 and gnu++14, when building CastXML, but nothing from this helps.

@bradking
Copy link
Member

CastXML is being told to simulate GCC 13, which has builtin _Float## types. Since its internal LLVM/Clang doesn't have those types, CastXML approximates them. This was needed for issue CastXML/CastXML#251 after glibc commit 3e5760fcb4 taught glibc 2.37 and above to expect GCC 13+ to have builtin _Float## types.

The error occurs in glibc's /usr/include/bits/floatn-common.h because RHEL 8.8 has an older glibc version and does not backport the change from glibc 2.37. Somehow the gcc-toolset-13 package's g++ 13.3.1, which has builtin _Float## types too, manages to tolerate the duplicates in glibc's headers. CastXML's internal LLVM/Clang doesn't tolerate them since the conflict comes from CastXML's approximation of the builtin _Float## types.

In summary, CastXML's fix for gcc 13+ with glibc 2.37+ breaks its support for gcc 13+ with glibc < 2.37. I need to think about how to deal with this.

@bradking
Copy link
Member

CastXML/CastXML#271 fixes this by reading bits/floatn-common.h and checking whether or not it contains the pre-2.37 condition.

I've released CastXML 0.6.9 with the fix.

@bradking
Copy link
Member

During this investigation I found another problem with simulating GCC 13 on RHEL that I'd meant to fix too. See CastXML/CastXML#272.

I've released CastXML 0.6.10 for that.

@pavelToman
Copy link
Author

Great!
It seems you fix it, thank you very much!
I build and use CastXML-0.6.10 and the Floats errors are gone 👍

@dzenanz dzenanz closed this as completed Nov 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type:Bug Inconsistencies or issues which will cause an incorrect result under some or all circumstances
Projects
None yet
Development

No branches or pull requests

4 participants