FS#56233 - [opencv] cannot use on older x86-64 CPUs without SSE3

Attached to Project: Arch Linux
Opened by Dimitar Popov (dimitarp) - Saturday, 04 November 2017, 10:25 GMT
Last edited by Antonio Rojas (arojas) - Sunday, 05 November 2017, 19:06 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To Ray Rashif (schivmeister)
Antonio Rojas (arojas)
Architecture x86_64
Severity High
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 1
Private No

Details

Description:

The current x86-64 version (3.3.1-1) of the opencv package is compiled with the default CMake options, which require SSE3 during runtime. Even though almost every x86-64 CPU out there supports SSE3, it is not part of the original x86-64 spec. Therefore, opencv cannot run on some older x86-64 CPUs (e.g. Opteron before stepping E4).

Additional info:
* package version(s): 3.3.1-1
* config and/or log files etc.


Steps to reproduce:

$ opencv_version

******************************************************************
* FATAL ERROR: *
* This OpenCV build doesn't support current CPU/HW configuration *
* *
* Use OPENCV_DUMP_CONFIG=1 environment variable for details *
******************************************************************

Required baseline features:
SSE - OK
SSE2 - OK
SSE3 - NOT AVAILABLE
OpenCV Error: Assertion failed (Missing support for required CPU baseline features. Check OpenCV build configuration and required CPU/HW setup.) in initialize, file /build/opencv/src/opencv-3.3.1/modules/core/src/system.cpp, line 543
terminate called after throwing an instance of 'cv::Exception'
what(): /build/opencv/src/opencv-3.3.1/modules/core/src/system.cpp:543: error: (-215) Missing support for required CPU baseline features. Check OpenCV build configuration and required CPU/HW setup. in function initialize

Aborted (core dumped)
This task depends upon

Closed by  Antonio Rojas (arojas)
Sunday, 05 November 2017, 19:06 GMT
Reason for closing:  Fixed
Additional comments about closing:  opencv 3.3.1-2
Comment by Antonio Rojas (arojas) - Saturday, 04 November 2017, 21:56 GMT
Please test 3.3.1-2
Comment by Dimitar Popov (dimitarp) - Sunday, 05 November 2017, 18:47 GMT
Thanks, version 3.3.1-2 is working fine. Should I report an upstream bug?
Comment by Antonio Rojas (arojas) - Sunday, 05 November 2017, 19:05 GMT
No, this is working as intended by upstream

Loading...