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

           Summary: Turning on debugging (-g) breaks compilation of even
                    trivial programs
           Product: clang
           Version: 2.7
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: -New Bugs
        AssignedTo: [email protected]
        ReportedBy: [email protected]
                CC: [email protected]


Created an attachment (id=5517)
 --> (http://llvm.org/bugs/attachment.cgi?id=5517)
Result of clang -g hello.c

A simple Hello World program, if compiled as such:

clang -g hello.c

fails with
/tmp/cc-c0rr9j.s: Assembler messages:
/tmp/cc-c0rr9j.s:450: Fatal error: duplicate .debug_line sections
clang: error: assembler command failed with exit code 1 (use -v to see
invocation)

Verbose output attached. This is on Fedora 14 beta, with LLVM and Clang
compiled with GCC 4.5.1. Will try to reproduce this on Fedora 13 (GCC 4.4.3)
when I get back from travelling.

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