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: [email protected]
        ReportedBy: [email protected]
                CC: [email protected]


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.
_______________________________________________
LLVMbugs mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/llvmbugs

Reply via email to