[LLVMbugs] [Bug 2193] New: compiling X86ISelDAGToDAG. cpp with llvm-g++ -O3 exhausts memory

bugzilla-daemon at cs.uiuc.edu bugzilla-daemon at cs.uiuc.edu
Fri Apr 4 13:58:07 PDT 2008


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

           Summary: compiling X86ISelDAGToDAG.cpp with llvm-g++ -O3 exhausts
                    memory
           Product: new-bugs
           Version: unspecified
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: new bugs
        AssignedTo: unassignedbugs at nondot.org
        ReportedBy: edwintorok at gmail.com
                CC: llvmbugs at cs.uiuc.edu


Created an attachment (id=1566)
 --> (http://llvm.org/bugs/attachment.cgi?id=1566)
bzip2 packed preprocessed file

I tried to compile llvm with llvm-g++ itself.

I got a message that cc1plus was killed while building X86ISelDAGToDAG.cpp.
It looks like it used up all the memory+swap and the OOM killer killed it.

>From dmesg:
Out of memory: kill process 19266 (llvm-g++) score 225056 or a child
Killed process 19271 (cc1plus)

g++-4.3 can compile this at -O3 although it takes several minutes to do so:
$ g++-4.3 -O3 prep.i
$ llvm-g++ -O3 prep.i
.... it gets killed


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