When compiling opencv 3.1 on 12.0-CURRENT #0 r312227 I'm getting this assertion fail: [ 57%] Building CXX object modules/imgproc/CMakeFiles/opencv_imgproc.dir/src/sumpixels.cpp.o cd /usr/ports/graphics/opencv3-core/work/opencv-3.1.0/modules/imgproc && /usr/bin/c++ -DCVAPI_EXPORTS -D__OPENCV_BUILD=1 -I/usr/ports/graphics/opencv3-core/work/opencv-3.1.0 -isystem /usr/local/include/eigen3 -isystem /usr/local/include/CL -I/usr/ports/graphics/opencv3-core/work/opencv-3.1.0/modules/imgproc/include -I/usr/ports/graphics/opencv3-core/work/opencv-3.1.0/modules/imgproc/src -I/usr/ports/graphics/opencv3-core/work/opencv-3.1.0/modules/imgproc -I/usr/ports/graphics/opencv3-core/work/opencv-3.1.0/modules/core/include -O2 -pipe -fstack-protector -isystem /usr/local/include -fno-strict-aliasing -std=c++11 -isystem /usr/local/include -fsigned-char -W -Werror=return-type -Werror=non-virtual-dtor -Werror=address -Werror=sequence-point -Wformat -Werror=format-security -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wundef -Winit-self -Wpointer-arith -Wshadow -Wsign-promo -Wno-narrowing -Wno-delete-non-virtual-dtor -Wno-unnamed-type-template-args -fdiagnostics-show-option -Wno-long-long -pthread -Qunused-arguments -fomit-frame-pointer -msse -msse2 -mno-avx -msse3 -mssse3 -mno-sse4.1 -mno-sse4.2 -ffunction-sections -fvisibility=hidden -fvisibility-inlines-hidden -O2 -pipe -fstack-protector -isystem /usr/local/include -fno-strict-aliasing -std=c++11 -isystem /usr/local/include -DNDEBUG -fPIC -o CMakeFiles/opencv_imgproc.dir/src/sumpixels.cpp.o -c /usr/ports/graphics/opencv3-core/work/opencv-3.1.0/modules/imgproc/src/sumpixels.cpp --- modules/imgproc/CMakeFiles/opencv_imgproc.dir/src/imgwarp.cpp.o --- Assertion failed: (NodeToMatch->getOpcode() != ISD::DELETED_NODE && "NodeToMatch was removed partway through selection"), function SelectCodeCommon, file /usr/src/contrib/llvm/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp, line 3387. c++: error: unable to execute command: Abort trap (core dumped) c++: error: clang frontend command failed due to signal (use -v to see invocation) FreeBSD clang version 3.9.1 (tags/RELEASE_391/final 289601) (based on LLVM 3.9.1) Target: x86_64-unknown-freebsd12.0 Thread model: posix InstalledDir: /usr/bin c++: note: diagnostic msg: PLEASE submit a bug report to https://bugs.freebsd.org/submit/ and include the crash backtrace, preprocessed source, and associated run script. c++: note: diagnostic msg: ********************
Created attachment 179295 [details] Error message ask to attache this file Error message ask to attache this file
Created attachment 179296 [details] Error message ask to attache this file Error message ask to attache this file
Created attachment 179298 [details] Patch to reproduce the error OpenCV 3.1 is not in the ports tree. This patch is a beta port of opencv3.1 to FreeBSD. To reproduce the bug apply this patch to ports tree and cd /usr/ports/graphics/opencv3-core && make
(In reply to otacilio.neto from comment #3) Sorry, this patch do not reproduce the error. I'm creating a new one.
Created attachment 179299 [details] Patch to reproduce the error OpenCV 3.1 is not in the ports tree. This patch is a beta port of opencv3.1 to FreeBSD. To reproduce the bug apply this patch to ports tree and cd /usr/ports/graphics/opencv3-core && make
This was already reported against OpenCV 3.2 in bug 215649. There is no definite fix from upstream yet, but I could probably apply a workaround. *** This bug has been marked as a duplicate of bug 215649 ***