[LLVMbugs] [Bug 4418] New: JIT broken on MingW for available_externally functions.

bugzilla-daemon at cs.uiuc.edu bugzilla-daemon at cs.uiuc.edu
Fri Jun 19 15:11:04 PDT 2009


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

           Summary: JIT broken on MingW for available_externally functions.
           Product: new-bugs
           Version: unspecified
          Platform: PC
        OS/Version: Windows XP
            Status: NEW
          Severity: normal
          Priority: P2
         Component: new bugs
        AssignedTo: unassignedbugs at nondot.org
        ReportedBy: jlerouge at apple.com
                CC: llvmbugs at cs.uiuc.edu


The following C code does not work with the JIT anymore on MingW, since rev
72619.

$ cat t.c                                                                       
#include <stdio.h>                                                              

int main() {                                                                    
    return getchar();                                                           
}               

$ llvm-gcc -c -emit-llvm -o t.bc t.c  
$ lli t.bc                                                                      
Assertion failed: Addr && "Code generation didn't add function to GlobalAddress
table!", file                                                                   
c:/cygwin/home/jlerouge/buildbot/llvm-test-fixed-src/lib/ExecutionEngine/JIT/JIT.cpp,
line 603        

An explanation / discussion was started on the LLVM commit:
http://lists.cs.uiuc.edu/pipermail/llvm-commits/Week-of-Mon-20090601/078411.html

Thanks,
Julien


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