[LLVMbugs] [Bug 4147] New: llvm-ar rs and llvm-ranlib do not produce archive index

bugzilla-daemon at cs.uiuc.edu bugzilla-daemon at cs.uiuc.edu
Mon May 4 01:30:41 PDT 2009


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

           Summary: llvm-ar rs and llvm-ranlib do not produce archive index
           Product: tools
           Version: 2.5
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: blocker
          Priority: P2
         Component: llvm-ranlib
        AssignedTo: unassignedbugs at nondot.org
        ReportedBy: wagner at it.neclab.eu
                CC: llvmbugs at cs.uiuc.edu


Using LLVM-2.5 I have the problem not being able to link against llvm-ar
created libs, because the linker is missing the index:
> could not read symbols: Archive has no index; run ranlib to add one

However the library was created using 'llvm-ar rs'.

Manually creating the index using 'llvm-ranlib' does not help either.

If the library is created with 'llvm-ar r' only and 'llvm-ranlib' is used to
add the index later, the library file is not altered, size and content do not
change after calling ranlib.

'llvm-ranlib -verbose' does not print a table either.


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