http://llvm.org/bugs/show_bug.cgi?id=8375
Summary: Symbol is undefined when LLVM built by CMake
Product: libraries
Version: trunk
Platform: PC
OS/Version: Linux
Status: NEW
Severity: normal
Priority: P
Component: System Library
AssignedTo: [email protected]
ReportedBy: [email protected]
CC: [email protected]
I built LLVM from trunk using CMake and everything went all well.
Next, I successfully built dragonegg from trunk.
Then, re-building dragonegg itself using dragonegg plugin ended up with the
error:
cc1plus: error: Cannot load plugin ./dragonegg.so
/usr/lib/libLLVMSystem.so: undefined symbol: pthread_mutex_trylock
Should llvm/lib/System/CMakeLists.txt have the lines like
if( HAVE_LIBPTHREAD )
target_link_libraries(LLVMSystem pthread)
endif( HAVE_LIBPTHREAD )
?
--
Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
_______________________________________________
LLVMbugs mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/llvmbugs