[LLVMbugs] [Bug 8465] New: llvm-ld -link-as-library creates invalid/unreadable code

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Tue Oct 26 00:48:30 PDT 2010


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

           Summary: llvm-ld -link-as-library creates invalid/unreadable
                    code
           Product: new-bugs
           Version: 2.8
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: new bugs
        AssignedTo: unassignedbugs at nondot.org
        ReportedBy: martin.nowack at inf.tu-dresden.de
                CC: llvmbugs at cs.uiuc.edu


Created an attachment (id=5667)
 --> (http://llvm.org/bugs/attachment.cgi?id=5667)
input file for llvm-ld

Using llvm-ld to link input files as library produces an invalid bc file.
This file can't be read again by any llvm tool (e.g. opt, llvm-ld, llvm-dis,
...).
There is a stack overflow while reading the input file (even bugpoint crashes
in that case).


llvm-ld -link-as-library stl.bc -o ./tmp.bc

Thanks for help.

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