View Issue Details Jump to Notes ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0006778VTK(No Category)public2008-04-09 13:422012-06-19 22:04
ReporterClinton Stimpson 
Assigned ToDavid Partyka 
PrioritynormalSeverityminorReproducibilityalways
StatusclosedResolutionwon't fix 
PlatformOSOS Version
Product Version 
Target VersionFixed in Version 
Summary0006778: VTK fails to build optimized with gcc 3.2
Description
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
TagsNo tags attached.
Project
Type
Attached Filespatch file icon gcc32.patch [^] (769 bytes) 2008-04-09 13:42 [Show Content]

 Relationships

  Notes
(0023627)
David Partyka (developer)
2010-11-30 23:00

You can always adjust the optimization level from ccmake/cmake-gui by tweaking CMAKE_CXX_FLAGS and CMAKE_C_FLAGS. Personally I disagree with CMake's default setting of -O3.

 Issue History
Date Modified Username Field Change
2008-04-09 13:42 Clinton Stimpson New Issue
2008-04-09 13:42 Clinton Stimpson File Added: gcc32.patch
2010-11-30 23:00 David Partyka Note Added: 0023627
2010-11-30 23:00 David Partyka Status backlog => @80@
2010-11-30 23:00 David Partyka Resolution open => won't fix
2010-11-30 23:00 David Partyka Assigned To => David Partyka
2011-06-16 13:11 Zack Galbreath Category => (No Category)
2012-06-19 22:04 Clinton Stimpson Status customer review => closed


Copyright © 2000 - 2018 MantisBT Team