Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 471342

Summary: [ICE/4.5] sys-devel/gcc-4.5.4 media-libs/opencv-2.4.5 - .../work/opencv-2.4.5/modules/calib3d/src/stereosgbm.cpp:822:6: interner Compiler-Fehler: in build_polynomial_chrec, bei tree-chrec.h:143
Product: Gentoo Linux Reporter: Christian H. Kuhn <qno-gentoo>
Component: [OLD] Core systemAssignee: Gentoo Toolchain Maintainers <toolchain>
Status: RESOLVED DUPLICATE    
Severity: normal CC: dilfridge, kde
Priority: Normal    
Version: unspecified   
Hardware: AMD64   
OS: Linux   
Whiteboard: was: media-libs/opencv-2.4.5 - .../work/opencv-2.4.5/modules/calib3d/src/stereosgbm.cpp:822:6: interner Compiler-Fehler: in build_polynomial_chrec, bei tree-chrec.h:143
Package list:
Runtime testing required: ---
Attachments: emerge --info =media-libs/opencv-2.4.5
emerge -pqv =media-libs/opencv-2.4.5
build.log
environment
-save-temps output

Description Christian H. Kuhn 2013-05-26 15:02:10 UTC
Created attachment 349276 [details]
emerge --info =media-libs/opencv-2.4.5

emerge -uND world stops while compiling media-libs/opencv-2.4.5.
Comment 1 Christian H. Kuhn 2013-05-26 15:03:03 UTC
Created attachment 349278 [details]
emerge -pqv =media-libs/opencv-2.4.5
Comment 2 Christian H. Kuhn 2013-05-26 15:03:59 UTC
Created attachment 349280 [details]
build.log
Comment 3 Christian H. Kuhn 2013-05-26 15:04:24 UTC
Created attachment 349282 [details]
environment
Comment 4 Agostino Sarubbo gentoo-dev 2013-05-26 15:30:22 UTC
Please attach an english build log
Comment 5 Jeroen Roovers (RETIRED) gentoo-dev 2013-05-26 16:10:23 UTC
(In reply to Agostino Sarubbo from comment #4)
> Please attach an english build log

We decided a while ago that we wouldn't enforce that.
Comment 6 Jeroen Roovers (RETIRED) gentoo-dev 2013-05-26 16:10:43 UTC
Also, I'm pretty sure Andreas can read German.
Comment 7 Andreas K. Hüttel archtester gentoo-dev 2013-05-26 17:16:11 UTC
[ 42%] [32mBuilding CXX object modules/calib3d/CMakeFiles/opencv_calib3d.dir/src/stereosgbm.cpp.o
[0mcd /var/tmp/portage/media-libs/opencv-2.4.5/work/opencv-2.4.5_build/modules/calib3d && /usr/bin/x86_64-pc-linux-gnu-g++  -DCVAPI_EXPORTS -DHAVE_CVCONFIG_H -DHAVE_QT -DHAVE_QT_OPENGL -Dopencv_calib3d_EXPORTS  -DNDEBUG -O2 -pipe    -W -Wall -Werror=return-type -Werror=address -Werror=sequence-point -Wformat -Werror=format-security -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wundef -Winit-self -Wpointer-arith -Wshadow -Wsign-promo -Wno-narrowing -Wno-delete-non-virtual-dtor -Wno-unnamed-type-template-args -fdiagnostics-show-option -Wno-long-long -pthread -ffunction-sections -fPIC -I/var/tmp/portage/media-libs/opencv-2.4.5/work/opencv-2.4.5/modules/features2d/include -I/var/tmp/portage/media-libs/opencv-2.4.5/work/opencv-2.4.5/modules/highgui/include -I/var/tmp/portage/media-libs/opencv-2.4.5/work/opencv-2.4.5/modules/flann/include -I/var/tmp/portage/media-libs/opencv-2.4.5/work/opencv-2.4.5/modules/imgproc/include -I/var/tmp/portage/media-libs/opencv-2.4.5/work/opencv-2.4.5/modules/core/include -I/var/tmp/portage/media-libs/opencv-2.4.5/work/opencv-2.4.5_build/modules/calib3d -I/var/tmp/portage/media-libs/opencv-2.4.5/work/opencv-2.4.5/modules/calib3d/src -I/var/tmp/portage/media-libs/opencv-2.4.5/work/opencv-2.4.5/modules/calib3d/include -I/var/tmp/portage/media-libs/opencv-2.4.5/work/opencv-2.4.5_build    -o CMakeFiles/opencv_calib3d.dir/src/stereosgbm.cpp.o -c /var/tmp/portage/media-libs/opencv-2.4.5/work/opencv-2.4.5/modules/calib3d/src/stereosgbm.cpp
cc1plus: Warnung: Kommandozeilenoption "-Wmissing-prototypes" ist gültig für Ada/C/ObjC, aber nicht für C++
cc1plus: Warnung: Kommandozeilenoption "-Wstrict-prototypes" ist gültig für Ada/C/ObjC, aber nicht für C++
/var/tmp/portage/media-libs/opencv-2.4.5/work/opencv-2.4.5/modules/calib3d/src/stereosgbm.cpp: In Elementfunktion »virtual void cv::StereoSGBM::operator()(const cv::_InputArray&, const cv::_InputArray&, const cv::_OutputArray&)«:
/var/tmp/portage/media-libs/opencv-2.4.5/work/opencv-2.4.5/modules/calib3d/src/stereosgbm.cpp:822:6: interner Compiler-Fehler: in build_polynomial_chrec, bei tree-chrec.h:143

interner Compiler-Fehler = interal compiler error
Comment 8 Andreas K. Hüttel archtester gentoo-dev 2013-05-26 17:22:24 UTC
Christian, 

1) since debugging GCC problems is tricky, we'll need more info here. Please
- run the emerge until it fails, 
- then manually chdir into the directory where the last, failed command was called, 
- and re-run that last command (from the build log) manually, adding the option -save-temps to the compilation command
- attach the preprocessed file (*.i*) that results

2) do you also get that bug when you use gcc-4.6? I see that you have it installed...
Comment 9 Kacper Kowalik (Xarthisius) (RETIRED) gentoo-dev 2013-05-26 17:43:53 UTC

*** This bug has been marked as a duplicate of bug 427598 ***
Comment 10 Christian H. Kuhn 2013-05-26 17:52:31 UTC
Created attachment 349290 [details]
-save-temps output

station /var/tmp/portage/media-libs/opencv-2.4.5/work/opencv-2.4.5_build/modules/calib3d # /usr/bin/x86_64-pc-linux-gnu-g++  -DCVAPI_EXPORTS -DHAVE_CVCONFIG_H -DHAVE_QT -DHAVE_QT_OPENGL -Dopencv_calib3d_EXPORTS  -DNDEBUG -O2 -pipe    -W -Wall -Werror=return-type -Werror=address -Werror=sequence-point -Wformat -Werror=format-security -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wundef -Winit-self -Wpointer-arith -Wshadow -Wsign-promo -Wno-narrowing -Wno-delete-non-virtual-dtor -Wno-unnamed-type-template-args -fdiagnostics-show-option -Wno-long-long -pthread -ffunction-sections -fPIC -I/var/tmp/portage/media-libs/opencv-2.4.5/work/opencv-2.4.5/modules/features2d/include -I/var/tmp/portage/media-libs/opencv-2.4.5/work/opencv-2.4.5/modules/highgui/include -I/var/tmp/portage/media-libs/opencv-2.4.5/work/opencv-2.4.5/modules/flann/include -I/var/tmp/portage/media-libs/opencv-2.4.5/work/opencv-2.4.5/modules/imgproc/include -I/var/tmp/portage/media-libs/opencv-2.4.5/work/opencv-2.4.5/modules/core/include -I/var/tmp/portage/media-libs/opencv-2.4.5/work/opencv-2.4.5_build/modules/calib3d -I/var/tmp/portage/media-libs/opencv-2.4.5/work/opencv-2.4.5/modules/calib3d/src -I/var/tmp/portage/media-libs/opencv-2.4.5/work/opencv-2.4.5/modules/calib3d/include -I/var/tmp/portage/media-libs/opencv-2.4.5/work/opencv-2.4.5_build    -o CMakeFiles/opencv_calib3d.dir/src/p3p.cpp.o -c /var/tmp/portage/media-libs/opencv-2.4.5/work/opencv-2.4.5/modules/calib3d/src/p3p.cpp -save-temps
x86_64-pc-linux-gnu-g++: Warnung: -pipe ignoriert, da -save-temps angegeben
cc1plus: Warnung: Kommandozeilenoption "-Wmissing-prototypes" ist gültig für Ada/C/ObjC, aber nicht für C++
cc1plus: Warnung: Kommandozeilenoption "-Wstrict-prototypes" ist gültig für Ada/C/ObjC, aber nicht für C++
cc1plus: Warnung: nicht erkannte Kommandozeilenoption »-Wno-unnamed-type-template-args«
cc1plus: Warnung: nicht erkannte Kommandozeilenoption »-Wno-delete-non-virtual-dtor«
cc1plus: Warnung: nicht erkannte Kommandozeilenoption »-Wno-narrowing«
cc1plus: Warnung: Kommandozeilenoption "-Wmissing-prototypes" ist gültig für Ada/C/ObjC, aber nicht für C++
cc1plus: Warnung: Kommandozeilenoption "-Wstrict-prototypes" ist gültig für Ada/C/ObjC, aber nicht für C++
cc1plus: Warnung: nicht erkannte Kommandozeilenoption »-Wno-unnamed-type-template-args«
cc1plus: Warnung: nicht erkannte Kommandozeilenoption »-Wno-delete-non-virtual-dtor«
cc1plus: Warnung: nicht erkannte Kommandozeilenoption »-Wno-narrowing«
Comment 11 Christian H. Kuhn 2013-05-26 17:53:00 UTC
gcc-4.6.3 works fine.