[LLVMbugs] [Bug 998] NEW: llvm-ld infinite loop on bc archive

bugzilla-daemon at cs.uiuc.edu bugzilla-daemon at cs.uiuc.edu
Fri Nov 10 12:45:12 PST 2006


           Summary: llvm-ld infinite loop on bc archive
           Product: tools
           Version: trunk
          Platform: All
        OS/Version: Linux
            Status: NEW
          Severity: major
          Priority: P2
         Component: llvm-ld
        AssignedTo: unassignedbugs at nondot.org
        ReportedBy: scottm at aero.org

llvm-ld can (and did) go into an infinite loop while processing a bytecode 
archive. Cleaned up the loop in LinkArchive.cpp -- it shouldn't be an infinite 
loop. The code should have implemented a loop that keeps processing this 
archive until the set of undefined symbols doesn't change.

Also, bytecode archives improperly get fed to the native linker. At least Linux 
bitches about malformed archives when this happens, YMMV.

------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.

More information about the llvm-bugs mailing list