Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
opencv-pushbot opened this issue Jul 27, 2015 · 0 comments
Closed

Comments

@opencv-pushbot
Copy link
Contributor

Transferred from http://code.opencv.org/issues/3467

|| Andy Maloney on 2013-12-29 16:32
|| Priority: Low
|| Affected: branch 'master' (3.0-dev)
|| Category: build/install
|| Tracker: Bug
|| Difficulty: 
|| PR: 
|| Platform: x64 / Mac OSX

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

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:
<pre>
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
</pre>

Building results in an internal compiler error:
<pre>
/.../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
</pre>

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()*.

History

Anna Kogan on 2014-01-13 09:26
-   Assignee changed from Vadim Pisarevsky to Roman Donchenko
-   Status changed from New to Open
Maksim Shabunin on 2015-04-29 08:54
-   Target version set to 3.1
-   Priority changed from Normal to Low
-   Category changed from core to build/install
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants