[LLVMbugs] [Bug 12442] New: missing shared library dep in MCJIT

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Mon Apr 2 17:41:06 PDT 2012


http://llvm.org/bugs/show_bug.cgi?id=12442

             Bug #: 12442
           Summary: missing shared library dep in MCJIT
           Product: Build scripts
           Version: trunk
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P
         Component: cmake
        AssignedTo: unassignedbugs at nondot.org
        ReportedBy: fang at csl.cornell.edu
                CC: llvmbugs at cs.uiuc.edu
    Classification: Unclassified


Linking CXX shared library ../../libLLVMMCJIT.dylib
ld: Undefined symbols:
__ZN4llvm16JITMemoryManager23CreateDefaultMemManagerEv
/usr/libexec/gcc/powerpc-apple-darwin8/4.0.1/libtool: internal link edit
command failed
make[2]: *** [lib/libLLVMMCJIT.dylib] Error 1

Fix: (one-line patch)
append:
target_link_libraries( LLVMMCJIT LLVMJIT )

to lib/ExecutionEngine/MCJIT/CMakeLists.txt

-- 
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.



More information about the llvm-bugs mailing list