[LLVMbugs] [Bug 8797] New: llvm-ld doesn't recognize dynamic library type

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Thu Dec 16 02:20:09 PST 2010


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

           Summary: llvm-ld doesn't recognize dynamic library type
           Product: tools
           Version: trunk
          Platform: Macintosh
        OS/Version: MacOS X
            Status: NEW
          Severity: normal
          Priority: P
         Component: llvm-ld
        AssignedTo: unassignedbugs at nondot.org
        ReportedBy: theintensity at gmail.com
                CC: llvmbugs at cs.uiuc.edu


On OSX 10.6.5, when running llvm-ld with the linking option -lprofile_rt (to
link the profiling dynamic library located at lib/libprofile_rt.dylib) it
cannot load the library. llvm-ld is searching the correct path, but does not
recognize the libprofile_rt.dylib as a valid library to load. Any simple
program can be used to demonstrate the issue, run something like:

llvm-ld -native -L<install dir>/lib -lprofile_rt <some bitcode file> -o <some
output>

This works on other platforms.

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