[LLVMbugs] [Bug 697] NEW: Linker chokes on global constant packed

bugzilla-daemon at cs.uiuc.edu bugzilla-daemon at cs.uiuc.edu
Thu Jan 19 15:14:02 PST 2006


http://llvm.cs.uiuc.edu/bugs/show_bug.cgi?id=697

           Summary: Linker chokes on global constant packed
           Product: tools
           Version: trunk
          Platform: Macintosh
        OS/Version: MacOS X
            Status: NEW
          Severity: normal
          Priority: P2
         Component: llvm-ld
        AssignedTo: rspencer at x10sys.com
        ReportedBy: bocchino at uiuc.edu


When I try to link this program

 ModuleID = '<stdin>'
target endian = big
target pointersize = 32
target triple = "powerpc-apple-darwin7.7.0"
deplibs = [ "c", "crtend" ]
%source = global <4 x int> < int 0, int 1, int 2, int 3 >

implementation   ; Functions:

int %main() {
entry:
        ret int 0
}

with the runtime library using llvm-ld, I get this error message:

/Users/bocchino/llvm-checkin/src/lib/Linker/LinkModules.cpp:327: failed assertion `0 && "Unknown 
type of derived type constant value!"'



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