Internal compiler error in directx.cpp on Mac OS X 10.6 (gcc 4.2.1) (Bug #3467)


Added by Andy Maloney about 11 years ago. Updated over 9 years ago.


Status:Open Start date:2013-12-29
Priority:Low Due date:
Assignee:Roman Donchenko % Done:

0%

Category:build/install
Target version:3.1
Affected version:branch 'master' (3.0-dev) Operating System:Mac OSX
Difficulty: HW Platform:x64
Pull request:

Description

Using gcc on Mac OS X 10.6.8: i686-apple-darwin10-gcc-4.2.1 (GCC) 4.2.1 (Apple Inc. build 5666) (dot 3)

Configured using:

cmake \
 -DWITH_OPENGL=ON  \
 -DWITH_1394=OFF \
 -DWITH_OPENEXR=OFF \
 -DWITH_OPENNI=OFF \
 -DWITH_PVAPI=OFF \
 -DWITH_GIGEAPI=OFF \
 -DWITH_V4L=OFF \
 -DWITH_UNICAP=OFF \
 -DWITH_DSHOW=OFF \
 -DWITH_XIMEA=OFF \
 -DWITH_XINE=OFF \
 -DBUILD_opencv_apps=OFF \
 -DBUILD_opencv_highgui=OFF \
 -DBUILD_opencv_legacy=OFF \
 -DBUILD_opencv_nonfree=OFF \
 -DBUILD_opencv_java=OFF \
 -DBUILD_opencv_video=OFF \
 -DBUILD_opencv_videostab=OFF \
 -DBUILD_DOCS=OFF \
 -DBUILD_PERF_TESTS=OFF \
 -DBUILD_TESTS=OFF \
 -DBUILD_FAT_JAVA_LIB=OFF

Building results in an internal compiler error:

/.../opencv/opencv-git/modules/core/src/directx.cpp: In function ‘int cv::directx::getTypeFromD3DFORMAT(int)’:
/.../opencv/opencv-git/modules/core/src/directx.cpp:176: internal compiler error: Segmentation fault
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://developer.apple.com/bugreporter> for instructions.
make[2]: *** [modules/core/CMakeFiles/opencv_core.dir/src/directx.cpp.o] Error 1
make[2]: *** Waiting for unfinished jobs....
make[1]: *** [modules/core/CMakeFiles/opencv_core.dir/all] Error 2

It's possible this is related somehow to Bug #3466 (compilation warnings with pragmas) since all this function should be doing is calling CV_ErrorNoReturn().


Associated revisions

Revision 2f4c11b5
Added by Vadim Pisarevsky over 10 years ago

Merge pull request #3467 from Dikay900:fix_gpu_surf_perf_test_cpu_part

History

Updated by Anna Kogan about 11 years ago

  • Assignee changed from Vadim Pisarevsky to Roman Donchenko
  • Status changed from New to Open

Updated by Maksim Shabunin almost 10 years ago

  • Priority changed from Normal to Low
  • Category changed from core to build/install
  • Target version set to 3.1

Updated by Maksim Shabunin over 9 years ago

Issue has been transferred to GitHub: https://github.com/Itseez/opencv/issues/4674

Also available in: Atom PDF