[LLVMbugs] [Bug 14286] New: hello-world codegen fails: EmitRawText called on MCStreamer unsupported [powerpc-darwin8]

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Wed Nov 7 14:29:20 PST 2012


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

             Bug #: 14286
           Summary: hello-world codegen fails: EmitRawText called on
                    MCStreamer unsupported [powerpc-darwin8]
           Product: new-bugs
           Version: trunk
          Platform: Macintosh
        OS/Version: MacOS X
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: new bugs
        AssignedTo: unassignedbugs at nondot.org
        ReportedBy: fang at csl.cornell.edu
                CC: llvmbugs at cs.uiuc.edu
    Classification: Unclassified


[fangism:~/temp/clang] fang% make hello.o
~/local/src/LLVM-svn/gcc40-cmake-build/bin/clang++  -c hello.cc -o hello.o
EmitRawText called on an MCStreamer that doesn't support it,  something must
not be fully mc'ized
Stack dump:
0.    Program arguments:
/Volumes/Isolde/builds/LLVM/gcc40-cmake-build/bin/clang-3.1 -cc1 -triple
powerpc-apple-macosx10.4.0 -emit-obj -mrelax-all -disable-free -main-file-name
hello.cc -pic-level 2 -mdisable-fp-elim -masm-verbose -target-cpu ppc
-coverage-file /Users/fang/temp/clang/hello.o -resource-dir
/Volumes/Isolde/builds/LLVM/gcc40-cmake-build/bin/../lib/clang/3.2
-fmodule-cache-path /var/tmp/clang-module-cache -fdeprecated-macro
-fdebug-compilation-dir /Users/fang/temp/clang -ferror-limit 19
-fmessage-length 80 -mstackrealign -fblocks -fblocks-runtime-optional
-fobjc-runtime=macosx-10.4.0 -fobjc-default-synthesize-properties
-fcxx-exceptions -fexceptions -fdiagnostics-show-option -fcolor-diagnostics -o
hello.o -x c++ hello.cc 
1.    <eof> parser at end of file
2.    Code generation
3.    Running pass 'Function Pass Manager' on module 'hello.cc'.
clang-3: error: unable to execute command: Trace/BPT trap
clang-3: error: clang frontend command failed due to signal (use -v to see
invocation)
clang version 3.2 (trunk)
Target: powerpc-apple-darwin8.11.0
Thread model: posix
clang-3: note: diagnostic msg: PLEASE submit a bug report to
http://llvm.org/bugs/ and include the crash backtrace, preprocessed source, and
associated run script.
clang-3: note: diagnostic msg: 
********************

PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT:
Preprocessed source(s) and associated run script(s) are located at:
clang-3: note: diagnostic msg: /tmp/hello-MBXpuH.cpp
clang-3: note: diagnostic msg: /tmp/hello-MBXpuH.sh
clang-3: note: diagnostic msg: 

********************
make: *** [hello.o] Error 254


hello.cc:
#include <iostream>

int
main(int argc, char* argv[]) {
    std::cout << "Hello, world!" << std::endl;
    int x = 0;
    int y = x+2;
    std::cout << "y = " << y << std::endl;
    return 0;
}

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