26 янв. 2015 г. 13:05 пользователь "Stuart Henderson" <[email protected]> написал: > > On 2015/01/24 03:56, Vadim Zhukov wrote: > > CVSROOT: /cvs > > Module name: ports > > Changes by: [email protected] 2015/01/24 03:56:43 > > > > Modified files: > > graphics/opencv: Makefile distinfo > > graphics/opencv/patches: patch-CMakeLists_txt > > patch-apps_haartraining_CMakeLists_txt > > patch-cmake_OpenCVFindLibsVideo_cmake > > graphics/opencv/pkg: PLIST-docs PLIST-java PLIST-main > > > > Log message: > > Update OpenCV to 2.4.10, mostly from Rafael Sadowski (MAINTAINER). > > > > This switches the whole package to PIC (from PIE) due to problems with > > inline assembly and build system specifics. Since OpenCV is used mostly > > as a library, this shouldn't be a big problem. > > > > This is broken on i386. > > /usr/obj/ports/opencv-2.4.10/opencv-2.4.10/modules/core/src/system.cpp: In function 'void __static_initialization_and_destruction_0(int, int)': > /usr/obj/ports/opencv-2.4.10/opencv-2.4.10/modules/core/src/system.cpp:280: error: can't find a register in class 'BREG' while reloading 'asm' > > Please be more careful with commits everyone. We are close to lock. > If you break things you _might not have chance to fix them_. > If in doubt, don't commit!
Shouldn't be, I specially verified build there - got the same error first time, and this error was gone with switching to -fPIC... I'll recheck in the evening, and revert if there will be no quick fix. -- Vadim Zhukov
