[LLVMbugs] [Bug 8768] New: clang++ fails to generate large object files

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Fri Dec 10 00:40:46 PST 2010


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

           Summary: clang++ fails to generate large object files
           Product: clang
           Version: trunk
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: C++
        AssignedTo: unassignedclangbugs at nondot.org
        ReportedBy: alwe.maindargent at gmail.com
                CC: llvmbugs at cs.uiuc.edu, dgregor at apple.com


The following files (preprocessed) fails to compile with clang++ -O0, -O1 (in
fact, clang++  doesn't give any error, but the resulting file is incorrect,
objdump -D does not reveal any symbol). (I can provide the raw source if
needed).

However, it compiles fine with -O2 or -Os option. I guess it is related to the
size of the generated code (gcc-4.5.1 in -O0 generate a 44M object file). It
worked at some point near 2.8, so there is some regression at some point.

clang++ --version

clang version 2.9 (trunk 121365)
Target: x86_64-unknown-linux-gnu
Thread model: posix

Regards,

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