Build fails on Ubuntu 14.04 32-bit (core module) (Bug #4145)


Added by Tomasz Pietruszka about 10 years ago. Updated about 10 years ago.


Status:Done Start date:2015-01-22
Priority:Normal Due date:
Assignee:- % Done:

0%

Category:build/install
Target version:3.0
Affected version:branch 'master' (3.0-dev) Operating System:Linux
Difficulty: HW Platform:x86
Pull request:

Description

3.0.0-beta compiles fine, current master branch - does not.
seems to be broken since https://github.com/Itseez/opencv/commit/21a9a17478646ef36861da3dce93cc84848ffd37#diff-887b974b63ed743a694deb09156ac941

gcc version: 4.8.2
Should I provide more details on the architecture used?

error message:

/home/user/workspace/opencv/modules/core/src/system.cpp: In static member function ‘static cv::HWFeatures cv::HWFeatures::initialize()’:
/home/user/workspace/opencv/modules/core/src/system.cpp:306:14: error: inconsistent operand constraints in an ‘asm’
             );
              ^
make[2]: *** [modules/core/CMakeFiles/opencv_core.dir/src/system.cpp.o] Error 1
make[1]: *** [modules/core/CMakeFiles/opencv_core.dir/all] Error 2

History

Updated by Tomasz Pietruszka about 10 years ago

  • Assignee deleted (Roman Donchenko)

Updated by Tomasz Pietruszka about 10 years ago

My understanding is that a bugfix in 2.x exists: https://github.com/Itseez/opencv/commit/ea50be0529c248961e1b66293f8a9e4b807294a6
but it is not 100% clear for me how to solve all conflicts (when cherry-picking)

Updated by Steven Puttemans about 10 years ago

I just build the 3.0 current master branch with the following command

cmake -D CMAKE_BUILD_TYPE=DEBUG -D CMAKE_INSTALL_PREFIX=/usr/local -D WITH_CUBLAS=ON -D WITH_CUFFT=ON -D WITH_EIGEN=ON -D WITH_OPENGL=ON -D WITH_QT=ON -D WITH_TBB=ON -D BUILD_DOCS=ON -D BUILD_EXAMPLES=ON -D BUILD_TESTS=ON -D CUDA_ARCH_BIN="3.0" ..

and all ran perfectly fine up till 100%. This makes me conclude that there is no bug, could you try latest branch again in a clean folder?

Updated by Steven Puttemans about 10 years ago

BTW, reopen if error persists!

  • Status changed from New to Cancelled

Updated by Tomasz Pietruszka about 10 years ago

  • Status changed from Cancelled to Done

Also available in: Atom PDF