[LLVMdev] Possible LLVM or DragonEgg bug

sabaliauskas g. (gs5g08) gs5g08 at ecs.soton.ac.uk
Wed Feb 16 17:27:12 PST 2011


I have downloaded and compiled the latest versions of LLVM and DragonEgg from SVN, but I still seem to get this same problem. I am using 64-bit Linux OS  maybe the fix was only for 32-bit OS'es?
________________________________________
From: llvmdev-bounces at cs.uiuc.edu [llvmdev-bounces at cs.uiuc.edu] On Behalf Of Duncan Sands [baldrick at free.fr]
Sent: Wednesday, February 16, 2011 5:14 PM
To: llvmdev at cs.uiuc.edu
Subject: Re: [LLVMdev] Possible LLVM or DragonEgg bug

This is hopefully fixed in the latest version of dragonegg.  Thanks for
reporting it!

Ciao, Duncan.

On 15/02/11 20:54, sabaliauskas g. (gs5g08) wrote:
> I'm getting the following error when compiling OpenCV 2.0 with OpenMP and SSE intrinsics enabled  with GCC+DragonEgg(newest SVN version):
>
> /usr/lib64/ccache/c++     -Wall -Wno-long-long -pthread -ffunction-sections -D_GLIBCXX_PARALLEL -fopenmp -D__STDC_CONSTANT_MACROS -fplugin=/home/John/Documents/Project/DragonEgg/dragonegg/dragonegg.so -O3 -DNDEBUG  -fomit-frame-pointer -O3 -ffast-math -mmmx -msse -msse2 -msse3 -DNDEBUG         CMakeFiles/createsamples.dir/createsamples.o  -o ../../bin/opencv_createsamples -rdynamic ../../lib/libcxcore.so.2.0.0 ../../lib/libcv.so.2.0.0 ../../lib/libcvhaartraining.a ../../lib/libhighgui.so.2.0.0 ../../lib/libcv.so.2.0.0 ../../lib/libcxcore.so.2.0.0 ../../3rdparty/lib/libopencv_lapack.a ../../3rdparty/lib/libzlib.a ../../3rdparty/lib/libflann.a -ldl -lm -lpthread -lrt -lgomp -Wl,-rpath,/home/Gytis/Documents/Project/OpenCV/new2/OpenCV-2.0.0/bin/lib:
> ../../lib/libcv.so.2.0.0: undefined reference to `_mm_cvtsd_si32(double __vector)'
> collect2: ld returned 1 exit status
>
> As I understand the linker can not find intrinsic SSE2 function  "_mm_cvtsd_si32"  while trying to link "opencv_createsamples" executable to "libcv.so.2.0.0".
>
> If compiled with the same setup but with OpenMP disabled(i.e. no "-fopenmp" flag) compilation succeeds with no errors.
>
> I would be very grateful if any body could tell me the cause of this problem or at least give me some hints where to start looking for it.
>
>
> _______________________________________________
> LLVM Developers mailing list
> LLVMdev at cs.uiuc.edu         http://llvm.cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev

_______________________________________________
LLVM Developers mailing list
LLVMdev at cs.uiuc.edu         http://llvm.cs.uiuc.edu
http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev




More information about the llvm-dev mailing list