[LLVMbugs] [Bug 8210] New: Turning on debugging (-g) breaks compilation of even trivial programs

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Thu Sep 23 00:18:45 PDT 2010


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: unassignedclangbugs at nondot.org
        ReportedBy: salimma at fedoraproject.org
                CC: llvmbugs at cs.uiuc.edu


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.



More information about the llvm-bugs mailing list