[LLVMbugs] [Bug 9301] New: Assertion failed: (Symbol->isUndefined() && "Cannot define a symbol twice!"), function EmitLabel, file MCELFStreamer.cpp, line 189.

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Wed Feb 23 09:57:38 PST 2011


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

           Summary: Assertion failed: (Symbol->isUndefined() && "Cannot
                    define a symbol twice!"), function EmitLabel, file
                    MCELFStreamer.cpp, line 189.
           Product: libraries
           Version: trunk
          Platform: PC
        OS/Version: FreeBSD
            Status: NEW
          Severity: normal
          Priority: P
         Component: Backend: X86
        AssignedTo: unassignedbugs at nondot.org
        ReportedBy: rdivacky at freebsd.org
                CC: llvmbugs at cs.uiuc.edu


on both amd64/i386

pes delta$ clang randomegd_readb.c
randomegd_readb.c:12:1: warning: control reaches end of non-void function
[-Wreturn-type]
}
^
Assertion failed: (Symbol->isUndefined() && "Cannot define a symbol twice!"),
function EmitLabel, file MCELFStreamer.cpp, line 189.
Stack dump:
0.      Program arguments: /usr/local/bin/clang -cc1 -triple
x86_64-unknown-freebsd8.1 -emit-obj -mrelax-all -disable-free -main-file-name
randomegd_readb.c -mrelocation-model static -mdisable-fp-elim -masm-verbose
-mconstructor-aliases -munwind-tables -target-cpu x86-64 -target-linker-version
2.15 -momit-leaf-frame-pointer -resource-dir /usr/local/bin/../lib/clang/2.9
-ferror-limit 19 -fmessage-length 152 -fgnu-runtime -fdiagnostics-show-option
-fcolor-diagnostics -o /tmp/cc-aU6fRp.o -x c randomegd_readb.c 
1.      <eof> parser at end of file
2.      Code generation
3.      Running pass 'Function Pass Manager' on module 'randomegd_readb.c'.
clang: error: unable to execute command: Abort trap: 6 (core dumped)
clang: error: clang frontend command failed due to signal 1 (use -v to see
invocation)

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