https://llvm.org/bugs/show_bug.cgi?id=26392
Bug ID: 26392 Summary: Polly requires additional linkages on darwin Product: Polly Version: unspecified Hardware: Macintosh OS: MacOS X Status: NEW Severity: normal Priority: P Component: Other Assignee: polly-...@googlegroups.com Reporter: howarth.mailing.li...@gmail.com CC: llvm-bugs@lists.llvm.org Classification: Unclassified The Polly shared library requires additional linkages on darwin. The current linkage in lib/CMakeLists.txt is limited to.... if (BUILD_SHARED_LIBS) target_link_libraries(Polly LLVMSupport LLVMCore LLVMScalarOpts LLVMInstCombine LLVMTransformUtils LLVMAnalysis LLVMipo LLVMMC ) link_directories( ${LLVM_LIBRARY_DIR} ) endif() However darwin requires the additional linkages of... LLVMBitReader LLVMMCParser LLVMObject LLVMProfileData LLVMTarget LLVMVectorize as the darwin requires all of the weak undefined symbols in a library to be resolved when linking it against an executable (unless -Wl,-undefined,dynamic_lookup is used to override the default behavior of -Wl,-undefined,error). -- You are receiving this mail because: You are on the CC list for the bug.
_______________________________________________ llvm-bugs mailing list llvm-bugs@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs