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: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]
                CC: [email protected]


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.
_______________________________________________
LLVMbugs mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/llvmbugs

Reply via email to