[LLVMbugs] [Bug 4461] New: clang: duplicate asm symbol error when using -O1 -g

bugzilla-daemon at cs.uiuc.edu bugzilla-daemon at cs.uiuc.edu
Fri Jun 26 10:51:02 PDT 2009


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

           Summary: clang: duplicate asm symbol error when using -O1 -g
           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=3123)
 --> (http://llvm.org/bugs/attachment.cgi?id=3123)
reduced testcase

Compiling the attached preprocessed file fails:
$ clang -g testcase-min.i -c -O1
/tmp/cc-i6uVJr.s: Assembler messages:
/tmp/cc-i6uVJr.s:223: Error: symbol `.Linfo_begin1' is already defined
/tmp/cc-i6uVJr.s:253: Error: symbol `.Linfo_end1' is already defined
/tmp/cc-i6uVJr.s:364: Error: symbol `.Lpubnames_begin1' is already defined
/tmp/cc-i6uVJr.s:371: Error: symbol `.Lpubnames_end1' is already defined

It compiles fine at -O0 -g, and also at -O1 and -O2 without -g.


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