VTK fails to build optimized with gcc 3.2
This issue was created automatically from an original Mantis Issue. Further discussion may take place here.
I hit a compiler bug compiling a couples files in VTK with gcc 3.2.3 and BUILD_TYPE=Release
Can we put in a workaround for that? I've got a project that is still forced to use gcc 3.2 (other 3rd party libs).
[ 78%] Building CXX object Imaging/CMakeFiles/vtkImaging.dir/vtkImageEuclideanDistance.cxx.o /home/cjstimp/vtk/VTK/Imaging/vtkImageEuclideanDistance.cxx: In function `void vtkImageEuclideanDistanceInitialize(vtkImageEuclideanDistance*, vtkImageData*, T*, vtkImageData*, int*, double*) [with T = VTK_TT]': /home/cjstimp/vtk/VTK/Imaging/vtkImageEuclideanDistance.cxx:168: could not split insn (insn:TI 494 324 497 (set (reg:DF 24 rxmm3 [142]) (if_then_else:DF (ne (mem:DF (reg/v/f:DI 5 rdi [70]) [8 S8 A64]) (reg:DF 24 rxmm3 [142])) (reg/v:DF 23 rxmm2 [97]) (const_double:DF 0 [0x0] 0 [0x0] 0 [0x0]))) 647 {*sse_movdfcc_const0_3} (insn_list 624 (nil)) (expr_list:REG_EQUIV (mem:DF (reg/v/f:DI 4 rsi [91]) [8 S8 A64]) (nil))) /home/cjstimp/vtk/VTK/Imaging/vtkImageEuclideanDistance.cxx:168: Internal compiler error in final_scan_insn, at final.c:2622 Please submit a full bug report, with preprocessed source if appropriate. See URL:http://gcc.gnu.org/bugs.html for instructions. make[1]: *** [Imaging/CMakeFiles/vtkImaging.dir/vtkImageEuclideanDistance.cxx.o] Error 1