[ITK] [ITK-users] ITK compiling error with MinGW-w64: "too many sections"

nirhal nirhal at post.bgu.ac.il
Fri Sep 18 10:41:08 EDT 2015


Hi,

I'm trying to compile ITK 4.9 (from git) using MinGW-w64.
Most of compilation went OK, but at the end (93%) i'm getting this error:

C:/PROGRA~1/MINGW-~1/X86_64~1.0-P/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/5.2.
0/../../../../x86_64-w64-mingw32/bin/as.exe:
CMakeFiles\ITKIOTransformBase.dir\i
tkTransformFactoryBase.cxx.obj: too many sections (33245)
C:\Users\NirWin7\AppData\Local\Temp\cct05EGF.s: Assembler messages:
C:\Users\NirWin7\AppData\Local\Temp\cct05EGF.s: Fatal error: can't write
CMakeFi
les\ITKIOTransformBase.dir\itkTransformFactoryBase.cxx.obj: File too big
C:/PROGRA~1/MINGW-~1/X86_64~1.0-P/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/5.2.
0/../../../../x86_64-w64-mingw32/bin/as.exe:
CMakeFiles\ITKIOTransformBase.dir\i
tkTransformFactoryBase.cxx.obj: too many sections (33245)
C:\Users\NirWin7\AppData\Local\Temp\cct05EGF.s: Fatal error: can't close
CMakeFi
les\ITKIOTransformBase.dir\itkTransformFactoryBase.cxx.obj: File too big
Modules\IO\TransformBase\src\CMakeFiles\ITKIOTransformBase.dir\build.make:62:
re
cipe for target
'Modules/IO/TransformBase/src/CMakeFiles/ITKIOTransformBase.dir/
itkTransformFactoryBase.cxx.obj' failed
mingw32-make[2]: ***
[Modules/IO/TransformBase/src/CMakeFiles/ITKIOTransformBase
.dir/itkTransformFactoryBase.cxx.obj] Error 1
CMakeFiles\Makefile2:10850: recipe for target
'Modules/IO/TransformBase/src/CMak
eFiles/ITKIOTransformBase.dir/all' failed
mingw32-make[1]: ***
[Modules/IO/TransformBase/src/CMakeFiles/ITKIOTransformBase
.dir/all] Error 2
makefile:148: recipe for target 'all' failed
mingw32-make: *** [all] Error 2

What shuld i do?
Thanks.



--
View this message in context: http://itk-insight-users.2283740.n2.nabble.com/ITK-compiling-error-with-MinGW-w64-too-many-sections-tp7587861.html
Sent from the ITK Insight Users mailing list archive at Nabble.com.
_____________________________________
Powered by www.kitware.com

Visit other Kitware open-source projects at
http://www.kitware.com/opensource/opensource.html

Kitware offers ITK Training Courses, for more information visit:
http://www.kitware.com/products/protraining.php

Please keep messages on-topic and check the ITK FAQ at:
http://www.itk.org/Wiki/ITK_FAQ

Follow this link to subscribe/unsubscribe:
http://public.kitware.com/mailman/listinfo/insight-users


More information about the Community mailing list