Bug 81742 - c++: internal compiler error: Segmentation fault (program cc1plus)
Summary: c++: internal compiler error: Segmentation fault (program cc1plus)
Status: RESOLVED INVALID
Alias: None
Product: gcc
Classification: Unclassified
Component: c++ (show other bugs)
Version: 4.9.0
: P3 normal
Target Milestone: ---
Assignee: Not yet assigned to anyone
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-08-06 19:10 UTC by Mary
Modified: 2017-10-19 10:01 UTC (History)
2 users (show)

See Also:
Host:
Target:
Build:
Known to work:
Known to fail:
Last reconfirmed: 2017-08-07 00:00:00


Attachments
build file (1.70 KB, text/plain)
2017-08-06 19:10 UTC, Mary
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Mary 2017-08-06 19:10:39 UTC
Created attachment 41940 [details]
build file

I was following the directions on the web page below. I selected Python3 and opencv-3.0.0 and opencv_contrib-3.0.0. (I tried opencv-3.2.0 also, but I got a different error, so I went back to 3.0.0. The 3.2.0 error was regarding a #pragma that wasn't recognized.) I have executed the procedure that this web page explains before (2 months ago) and it worked without problems.

http://www.pyimagesearch.com/2015/10/26/how-to-install-opencv-3-on-raspbian-jessie/

///////////////////////////////////////////////////////
///// Errors as reported in Terminal Window:
///////////////////////////////////////////////////////

 62%] Built target example_tracking_tracker
[ 62%] Built target example_tracking_benchmark
[ 62%] Building CXX object modules/tracking/CMakeFiles/opencv_test_tracking.dir/test/test_main.cpp.o
[ 63%] Built target opencv_perf_tracking

c++: internal compiler error: Segmentation fault (program cc1plus)
Please submit a full bug report,
with preprocessed source if appropriate.
See <file:///usr/share/doc/gcc-4.9/README.Bugs> for instructions.
modules/tracking/CMakeFiles/opencv_test_tracking.dir/build.make:62: recipe for target 'modules/tracking/CMakeFiles/opencv_test_tracking.dir/test/test_main.cpp.o' failed
make[2]: *** [modules/tracking/CMakeFiles/opencv_test_tracking.dir/test/test_main.cpp.o] Error 4
CMakeFiles/Makefile2:7813: recipe for target 'modules/tracking/CMakeFiles/opencv_test_tracking.dir/all' failed
make[1]: *** [modules/tracking/CMakeFiles/opencv_test_tracking.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....
[ 63%] Built target example_ximgproc_seeds
Makefile:149: recipe for target 'all' failed
make: *** [all] Error 2
(cv) pi@raspberrypi:~/opencv-3.0.0/build $
Comment 1 Jakub Jelinek 2017-08-07 06:52:59 UTC
GCC 4.9 is not supported anymore.
If you can reproduce it with a newer compiler, we need preprocessed source and g++ command line options with which it can be reproduced, see http://gcc.gnu.org/bugs.html for details.
Comment 2 Paolo Carlini 2017-10-19 10:01:24 UTC
Feedback not forthcoming.